aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ScreenshotBox.scss
diff options
context:
space:
mode:
authorBob Zeleznik <zzzman@gmail.com>2020-03-19 12:04:32 -0400
committerBob Zeleznik <zzzman@gmail.com>2020-03-19 12:04:32 -0400
commit85a67ff30d86fa51b4534f717d3857aa23b732d1 (patch)
tree02c0cb1311669878acc18a28907cbf055dcc9282 /src/client/views/nodes/ScreenshotBox.scss
parent1693e9daf1657c1fc45afa3fa14f0a0df0e01e13 (diff)
added screen capture doc
Diffstat (limited to 'src/client/views/nodes/ScreenshotBox.scss')
-rw-r--r--src/client/views/nodes/ScreenshotBox.scss46
1 files changed, 46 insertions, 0 deletions
diff --git a/src/client/views/nodes/ScreenshotBox.scss b/src/client/views/nodes/ScreenshotBox.scss
new file mode 100644
index 000000000..4aaccb472
--- /dev/null
+++ b/src/client/views/nodes/ScreenshotBox.scss
@@ -0,0 +1,46 @@
+.screenshotBox {
+ pointer-events: all;
+ transform-origin: top left;
+ background: white;
+ color: black;
+ // .screenshotBox-viewer {
+ // 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
+ // }
+ // .inkingCanvas-paths-markers {
+ // opacity : 0.4; // we shouldn't have to do this, but since chrome crawls to a halt with z-index unset in videoBox-content, this is a workaround
+ // }
+}
+
+.screenshotBox-content, .screenshotBox-content-interactive, .screenshotBox-cont-fullScreen {
+ width: 100%;
+ z-index: -1; // 0; // logically this should be 0 (or unset) which would give us transparent brush strokes over videos. However, this makes Chrome crawl to a halt
+ position: absolute;
+}
+
+.screenshotBox-content, .screenshotBox-content-interactive, .screenshotBox-content-fullScreen {
+ height: Auto;
+}
+
+.screenshotBox-content-interactive, .screenshotBox-content-fullScreen {
+ pointer-events: all;
+}
+
+.screenshotBox-snapshot{
+ color : white;
+ top :25px;
+ right : 25px;
+ position: absolute;
+ background-color:rgba(50, 50, 50, 0.2);
+ transform-origin: left top;
+ pointer-events:all;
+}
+
+.screenshotBox-recorder{
+ color : white;
+ top :25px;
+ right : 50px;
+ position: absolute;
+ background-color:rgba(50, 50, 50, 0.2);
+ transform-origin: left top;
+ pointer-events:all;
+}