aboutsummaryrefslogtreecommitdiff
path: root/src/client/views/nodes/ScreenshotBox.scss
blob: 6fb5ea7b3365d532f208ef50888d068fe1492ca4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.screenshotBox {
    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
    // }
}

#CANCAN {
    canvas {
        width:100% !important;
        height: 100% !important;
    }
}

.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-uiButtons {
    background:dimgray;
    border: orange solid 1px;
    position: absolute;
    right: 25;
    top: 0;
    width:25;
    height: 25;
    .screenshotBox-snapshot{
        color : white;
        top :0px;
        right : 5px;
        position: absolute;
        background-color:rgba(50, 50, 50, 0.2);
        transform-origin: left top;
        pointer-events:all;
    }

    .screenshotBox-recorder{
        color : white;
        top :0px;
        left: 5px;
        position: absolute;
        background-color:rgba(50, 50, 50, 0.2);
        transform-origin: left top;
        pointer-events:all;
    }
}