aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/pdf/PDFViewer.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-01-18 16:48:57 -0500
committerbobzel <zzzman@gmail.com>2021-01-18 16:48:57 -0500
commit90c8fe926efa245f256c7e0a496beaecf0572294 (patch)
tree3d69b1109434a2402e21f3ada6566edb9f820bc2 /src/client/views/pdf/PDFViewer.scss
parentc94a8d93ea7373af54355b5c47bf14a021cf4563 (diff)
factored out marque selection code for WebBox and PDFBox into MarqueeAnnotator.
Diffstat (limited to 'src/client/views/pdf/PDFViewer.scss')
-rw-r--r--src/client/views/pdf/PDFViewer.scss16
1 files changed, 3 insertions, 13 deletions
diff --git a/src/client/views/pdf/PDFViewer.scss b/src/client/views/pdf/PDFViewer.scss
index 0ecb4dba4..d17b2b5ef 100644
--- a/src/client/views/pdf/PDFViewer.scss
+++ b/src/client/views/pdf/PDFViewer.scss
@@ -34,6 +34,8 @@
border: unset;
}
.pdfViewerDash-text-selected {
+ position: relative;
+ z-index: -1;
.textLayer{
pointer-events: all;
user-select: text;
@@ -46,12 +48,6 @@
}
}
- .pdfViewerDash-dragAnnotationBox {
- position:absolute;
- background-color: transparent;
- opacity: 0.1;
- }
-
.pdfViewerDash-overlay, .pdfViewerDash-overlay-inking {
transform-origin: left top;
position: absolute;
@@ -83,11 +79,6 @@
width: 100%;
pointer-events: none;
mix-blend-mode: multiply; // bcz: makes text fuzzy!
-
- .pdfViewerDash-annotationBox {
- position: absolute;
- background-color: rgba(245, 230, 95, 0.616);
- }
}
.pdfViewerDash-waiting {
width: 70%;
@@ -102,5 +93,4 @@
.pdfViewerDash-interactive {
pointer-events: all;
-}
- \ No newline at end of file
+} \ No newline at end of file