diff options
| author | Bob Zeleznik <zzzman@gmail.com> | 2020-07-27 00:32:50 -0400 |
|---|---|---|
| committer | Bob Zeleznik <zzzman@gmail.com> | 2020-07-27 00:32:50 -0400 |
| commit | 49fcb0f6613344fb62db618c0b466c6155c20eb0 (patch) | |
| tree | b8a682f0f1c7b0c594e31dbd364bcd3184e11e3c /src/client/views/nodes/WebBox.scss | |
| parent | a904a5fd2d33fd4783a45b3411c9309cc25ad0fd (diff) | |
extended pdfviewer interactions to WebBox's.
Diffstat (limited to 'src/client/views/nodes/WebBox.scss')
| -rw-r--r-- | src/client/views/nodes/WebBox.scss | 21 |
1 files changed, 18 insertions, 3 deletions
diff --git a/src/client/views/nodes/WebBox.scss b/src/client/views/nodes/WebBox.scss index 4b2f3cc1a..f5c8745e7 100644 --- a/src/client/views/nodes/WebBox.scss +++ b/src/client/views/nodes/WebBox.scss @@ -5,6 +5,24 @@ height:100%; position: relative; display: flex; + + .pdfViewerDash-dragAnnotationBox { + position:absolute; + background-color: transparent; + opacity: 0.1; + } + .webBox-annotationLayer { + position: absolute; + transform-origin: left top; + top: 0; + width: 100%; + pointer-events: none; + mix-blend-mode: multiply; // bcz: makes text fuzzy! + } + .webBox-annotationBox { + position: absolute; + background-color: rgba(245, 230, 95, 0.616); + } .webBox-container, .webBox-container-dragging { transform-origin: top left; width: 100%; @@ -46,9 +64,6 @@ top: 0; left: 0; overflow: auto; - .webBox-innerContent { - width:100%; - } } div.webBox-outerContent::-webkit-scrollbar-thumb { display:none; |
