aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/WebBox.scss
diff options
context:
space:
mode:
authoranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-28 21:11:31 -0500
committeranika-ahluwalia <anika.ahluwalia@gmail.com>2020-07-28 21:11:31 -0500
commit82fc9c937fbe1edd7f7360eb7f99a38d002b9787 (patch)
tree864d6c9195d336ec7e689872c359103c29117803 /src/client/views/nodes/WebBox.scss
parent155407d902bac7a82a83ba2f60f05a6fddb0d6e6 (diff)
parente3ead6afe43ce24caf58382bcb5fad294750dfa4 (diff)
merge
Diffstat (limited to 'src/client/views/nodes/WebBox.scss')
-rw-r--r--src/client/views/nodes/WebBox.scss23
1 files changed, 19 insertions, 4 deletions
diff --git a/src/client/views/nodes/WebBox.scss b/src/client/views/nodes/WebBox.scss
index 4b2f3cc1a..875142169 100644
--- a/src/client/views/nodes/WebBox.scss
+++ b/src/client/views/nodes/WebBox.scss
@@ -5,7 +5,25 @@
height:100%;
position: relative;
display: flex;
- .webBox-container, .webBox-container-dragging {
+
+ .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 {
transform-origin: top left;
width: 100%;
height: 100%;
@@ -46,9 +64,6 @@
top: 0;
left: 0;
overflow: auto;
- .webBox-innerContent {
- width:100%;
- }
}
div.webBox-outerContent::-webkit-scrollbar-thumb {
display:none;