From 861363c59997db5cde1b96786b156b64630465d7 Mon Sep 17 00:00:00 2001 From: bobzel Date: Wed, 10 Feb 2021 10:35:34 -0500 Subject: fixed some z-index issues with lightbox and typing new notes + videobox zooming zindex --- src/client/views/LightboxView.scss | 2 +- src/client/views/PreviewCursor.scss | 1 + src/client/views/collections/CollectionMenu.scss | 6 +++--- src/client/views/nodes/VideoBox.scss | 5 +++++ src/client/views/nodes/VideoBox.tsx | 2 +- src/client/views/nodes/WebBox.scss | 2 +- src/client/views/nodes/formattedText/FormattedTextBox.tsx | 3 ++- src/client/views/search/SearchBox.scss | 2 +- 8 files changed, 15 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/client/views/LightboxView.scss b/src/client/views/LightboxView.scss index 9847966bf..35f11b699 100644 --- a/src/client/views/LightboxView.scss +++ b/src/client/views/LightboxView.scss @@ -4,7 +4,7 @@ width: 100%; height: 100%; background: #000000bb; - z-index: 10000; + z-index: 1000; .lightboxView-contents { position: absolute; } diff --git a/src/client/views/PreviewCursor.scss b/src/client/views/PreviewCursor.scss index d384fd284..de9bd69c4 100644 --- a/src/client/views/PreviewCursor.scss +++ b/src/client/views/PreviewCursor.scss @@ -7,4 +7,5 @@ left:0; pointer-events: none; opacity: 1; + z-index: 1001; } \ No newline at end of file diff --git a/src/client/views/collections/CollectionMenu.scss b/src/client/views/collections/CollectionMenu.scss index 180eaba4e..47adb6a1c 100644 --- a/src/client/views/collections/CollectionMenu.scss +++ b/src/client/views/collections/CollectionMenu.scss @@ -6,7 +6,7 @@ display: inline-flex; width: 100%; opacity: 0.9; - z-index: 9001; + z-index: 901; transition: top .5s; background: #323232; color: white; @@ -30,7 +30,7 @@ height: 32px; border-bottom: .5px solid rgb(180, 180, 180); overflow: visible; - z-index: 9001; + z-index: 901; border: unset; .collectionViewBaseChrome { @@ -325,7 +325,7 @@ .webBox-urlEditor { position: relative; opacity: 0.9; - z-index: 9001; + z-index: 901; transition: top .5s; .urlEditor { diff --git a/src/client/views/nodes/VideoBox.scss b/src/client/views/nodes/VideoBox.scss index b9123587b..dd8d77603 100644 --- a/src/client/views/nodes/VideoBox.scss +++ b/src/client/views/nodes/VideoBox.scss @@ -13,6 +13,11 @@ .collectionStackedTimeline { background: beige; } + .videoBox-stackPanel { + z-index: -1; + width: 100%; + position: absolute; + } } .videoBox-content-YouTube, .videoBox-content-YouTube-fullScreen, diff --git a/src/client/views/nodes/VideoBox.tsx b/src/client/views/nodes/VideoBox.tsx index 324861573..a821eb7c2 100644 --- a/src/client/views/nodes/VideoBox.tsx +++ b/src/client/views/nodes/VideoBox.tsx @@ -489,7 +489,7 @@ export class VideoBox extends ViewBoxAnnotatableComponent this.player!.currentTime = this.layoutDoc._currentTimecode = time; timelineHeight = () => this.props.PanelHeight() * (100 - this.heightPercent) / 100; @computed get renderTimeline() { - return
+ return