aboutsummaryrefslogtreecommitdiff
path: root/styles/editor.css
blob: 8848b6ac54dd0de0a84b12c4993caf648cca9c48 (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
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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
.appGridWrapper {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.appGrid {
	display: grid;
	grid-template-columns: 240px 1fr;
	grid-template-rows: auto 1fr 210px;
	overflow: hidden;
}

.appGrid header {
	grid-row: 1;
	grid-column: 1/3;
}

.appGrid .settings {
	grid-column: 1;
	grid-row: 2;
	background-color: var(--c400);
}

.appGrid .viewer {
	grid-column: 2;
	grid-row: 2;
	background-color: var(--c200);
}

.appGrid .tools {
	grid-column: 1;
	grid-row: 3;
	background-color: var(--c300);
}

.appGrid .timeline {
	grid-column: 2;
	grid-row: 3;
	background-color: var(--c100);
}

.appGrid .viewer {
	display: grid;
	grid-template-rows: 1fr 80px;
}

.appGrid .viewer .player {
	margin: 16px;
	margin-bottom: 0px;
	line-height: 0;
}

.appGrid .viewer .player .outer {
	border: 8px solid var(--piss);
	border-radius: 8px;
}

.appGrid .viewer .player {
	--aspect-ratio-h: 16;
	--aspect-ratio-v: 9;
}

.appGrid .viewer .player .outer {
	aspect-ratio: 16 / 9;
	max-width: 100%;
	max-height: 100%;
	width: 100%;
}

.appGrid .viewer .controls {
	position: relative;
}

.appGrid .viewer .controls .abscenter {
	margin-left: 24px;
}

.appGrid .viewer .controls .r0 {
	margin-right: 16px;
}

.appGrid .viewer .controls .MuiFab-root.playPause {
	background-color: var(--blue);
}

.appGrid .viewer .controls .MuiFab-root {
	color: var(--fg);
}

.appGrid .viewer .controls .MuiFab-root:not(.playPause) {
	background-color: var(--transparent);
	box-shadow: none;
	margin: 4px;
}

.appGrid .timeline .frames {
	height: 100%;
}

.appGrid .timeline .frames .frame {
	background-color: transparent;
	margin-top: 28px;
	height: 100%;
	width: 4px;
	display: inline-block;
	border-radius: 2px 2px 0 0;
	position: relative;
	overflow: visible;
}

.appGrid .timeline .frames .frame .timecode {
	display: none;
}

.appGrid .timeline .frames .frame .keyframeWrapper {
	line-height: 0;
	top: 16px;
	z-index: 999;

}

.appGrid .timeline .frames .frame:nth-child(30n) {
	background-color: var(--c300);
}

.appGrid .timeline .frames .frame:nth-child(30n) .timecode {
	color: var(--c700);
	font-weight: 500;
	line-height: 1;
	display: inline-block;
	top: -16px;
}

.appGrid .timeline {
	overflow-y: hidden;
	overflow-x: scroll;
	white-space: nowrap;
}