From 90c8fe926efa245f256c7e0a496beaecf0572294 Mon Sep 17 00:00:00 2001 From: bobzel Date: Mon, 18 Jan 2021 16:48:57 -0500 Subject: factored out marque selection code for WebBox and PDFBox into MarqueeAnnotator. --- src/client/views/pdf/PDFViewer.scss | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'src/client/views/pdf/PDFViewer.scss') 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 -- cgit v1.2.3-70-g09d2