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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
|
.mini-viewer{
cursor: grab;
position: absolute;
right: 10;
top: 10;
opacity: 0.1;
transition: all 0.4s;
color: white;
}
.videoBox {
transform-origin: top left;
width: 100%;
height: 100%;
position: relative;
.videoBox-viewer {
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
}
.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
}
.collectionStackedTimeline {
background: beige;
}
.videoBox-stackPanel {
z-index: -1;
width: 100%;
position: absolute;
}
}
.videoBox-content-YouTube, .videoBox-content-YouTube-fullScreen,
.videoBox-content, .videoBox-content-interactive, .videoBox-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;
}
.videoBox-content, .videoBox-content-interactive, .videoBox-content-fullScreen {
height: Auto;
}
.videoBox-content-YouTube, .videoBox-content-YouTube-fullScreen {
height: 100%;
}
// .videoBox-content-interactive, .videoBox-content-fullScreen, .videoBox-content-YouTube-fullScreen {
// pointer-events: all;
// }
.videoBox-time{
color : white;
top :25px;
left : 25px;
position: absolute;
background-color: rgba(50, 50, 50, 0.2);
transform-origin: left top;
pointer-events:all;
}
.videoBox-snapshot{
color : white;
top :25px;
right : 25px;
position: absolute;
background-color:rgba(50, 50, 50, 0.2);
transform-origin: left top;
pointer-events:all;
cursor: default;
}
.videoBox-timelineButton {
position: absolute;
display: flex;
align-items: center;
z-index: 1010;
bottom: 5px;
right: 5px;
color: white;
cursor: pointer;
background: dimgrey;
width: 20px;
height: 20px;
}
.videoBox-play {
width: 25px;
height: 20px;
bottom: 25px;
left : 25px;
position: absolute;
color : white;
background-color: rgba(50, 50, 50, 0.2);
border-radius: 4px;
text-align: center;
transform-origin: left bottom;
pointer-events:all;
}
.videoBox-full {
width: 25px;
height: 20px;
bottom: 25px;
right : 25px;
position: absolute;
color : white;
background-color: rgba(50, 50, 50, 0.2);
border-radius: 4px;
text-align: center;
transform-origin: right bottom;
pointer-events:all;
}
|