aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.scss
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-06-28 23:58:14 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-06-28 23:58:14 -0500
commit73739906ef1c6317f626a6a4d92f207869144a23 (patch)
treecc2fb26c0f3715ae218a8b52014ddf8275e0a0b3 /src/client/views/pdf/PDFViewer.scss
parent9f7d5a2fd3fca855ed51f4f4178966106ccdbefe (diff)
parent29f9cedd937697c56ce3b400931b26c82a23721d (diff)
Merge branch 'master' of https://github.com/browngraphicslab/Dash-Web into anika_schema_view
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