aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.scss
diff options
context:
space:
mode:
authorusodhi <61431818+usodhi@users.noreply.github.com>2020-06-29 17:00:41 +0530
committerusodhi <61431818+usodhi@users.noreply.github.com>2020-06-29 17:00:41 +0530
commit9c0a250fd412c46861f72d8bb7cc5535b101c0fa (patch)
treeff24809b94f06b3fb12ce47dbd94e14cdc615baa /src/client/views/pdf/PDFViewer.scss
parent6ad7fac6342204bc489ef49cb3ba8f450bfa3824 (diff)
parent29f9cedd937697c56ce3b400931b26c82a23721d (diff)
merge conflicts resolved
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
-rw-r--r--src/client/views/pdf/PDFViewer.scss24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss
index affffc44e..86c73bfee 100644
--- a/src/client/views/pdf/PDFViewer.scss
+++ b/src/client/views/pdf/PDFViewer.scss
@@ -1,5 +1,5 @@
-.pdfViewer, .pdfViewer-interactive {
+.pdfViewerDash, .pdfViewerDash-interactive {
width: 100%;
height: 100%;
position: absolute;
@@ -12,14 +12,14 @@
// transform-origin: top left;
// }
.textLayer {
-
+ opacity: unset;
mix-blend-mode: multiply;// bcz: makes text fuzzy!
span {
padding-right: 5px;
padding-bottom: 4px;
}
}
- .textLayer ::selection { background: yellow; } // should match the backgroundColor in createAnnotation()
+ .textLayer ::selection { background: #ACCEF7; } // should match the backgroundColor in createAnnotation()
.textLayer .highlight {
background-color: yellow;
}
@@ -31,26 +31,26 @@
position: relative;
border: unset;
}
- .pdfViewer-text-selected {
+ .pdfViewerDash-text-selected {
.textLayer{
pointer-events: all;
user-select: text;
}
}
- .pdfViewer-text {
+ .pdfViewerDash-text {
transform-origin: top left;
.textLayer {
will-change: transform;
}
}
- .pdfViewer-dragAnnotationBox {
+ .pdfViewerDash-dragAnnotationBox {
position:absolute;
background-color: transparent;
opacity: 0.1;
}
- .pdfViewer-overlay, .pdfViewer-overlay-inking {
+ .pdfViewerDash-overlay, .pdfViewerDash-overlay-inking {
transform-origin: left top;
position: absolute;
top: 0px;
@@ -58,11 +58,11 @@
display: inline-block;
width:100%;
}
- .pdfViewer-overlay {
+ .pdfViewerDash-overlay {
pointer-events: none;
}
- .pdfViewer-annotationLayer {
+ .pdfViewerDash-annotationLayer {
position: absolute;
transform-origin: left top;
top: 0;
@@ -70,12 +70,12 @@
pointer-events: none;
mix-blend-mode: multiply; // bcz: makes text fuzzy!
- .pdfViewer-annotationBox {
+ .pdfViewerDash-annotationBox {
position: absolute;
background-color: rgba(245, 230, 95, 0.616);
}
}
- .pdfViewer-waiting {
+ .pdfViewerDash-waiting {
width: 70%;
height: 70%;
margin : 15%;
@@ -86,7 +86,7 @@
}
}
-.pdfViewer-interactive {
+.pdfViewerDash-interactive {
pointer-events: all;
}
\ No newline at end of file