aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/VideoBox.scss
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2021-09-27 14:40:30 -0400
committerbobzel <zzzman@gmail.com>2021-09-27 14:40:30 -0400
commit6547bbc949b8333fc1dd86e11ecda5d98ae4a8d9 (patch)
tree317594efd0ddba018eb3f345bbf81dd8e32d85aa /src/client/views/nodes/VideoBox.scss
parentb3c6f5c4abb93c6178bb3d90aa68fad86e690097 (diff)
parenteb529611c97c9936577697b829c50b4ca0736c6e (diff)
Merge branch 'master' into temporalmedia-mehek
Diffstat (limited to 'src/client/views/nodes/VideoBox.scss')
-rw-r--r--src/client/views/nodes/VideoBox.scss15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/client/views/nodes/VideoBox.scss b/src/client/views/nodes/VideoBox.scss
index cdd36eb3b..4871599b8 100644
--- a/src/client/views/nodes/VideoBox.scss
+++ b/src/client/views/nodes/VideoBox.scss
@@ -14,6 +14,9 @@
height: 100%;
position: relative;
.videoBox-viewer {
+ display:flex;
+ flex-direction: column;
+ height: 100%;
border-radius: inherit;
opacity: 0.99; // hack! overcomes some kind of Chrome weirdness where buttons (e.g., snapshot) disappear at some point as the video is resized larger
}
@@ -26,7 +29,17 @@
.videoBox-stackPanel {
z-index: -1;
width: 100%;
- position: absolute;
+ position: relative;
+ }
+
+ .videoBox-annotationLayer {
+ position: relative;
+ transform-origin: left top;
+ top: 0;
+ width: 100%;
+ pointer-events: none;
+ mix-blend-mode: multiply; // bcz: makes text fuzzy!
+ overflow: hidden;
}
}