|
9 | 9 | min-height: 297px; |
10 | 10 | } |
11 | 11 |
|
12 | | -.videoError { |
| 12 | +.video-error { |
13 | 13 | display: block; |
14 | 14 | background-color: #999; |
15 | 15 | width: 100%; |
|
19 | 19 | padding: 12px; |
20 | 20 | } |
21 | 21 |
|
22 | | -#videoError { |
| 22 | +#video-error { |
23 | 23 | display: none; |
24 | 24 | } |
25 | 25 |
|
26 | | -#captionTitle { |
| 26 | +#caption-title { |
27 | 27 | padding-top: 4px; |
28 | 28 | padding-bottom: 4px; |
29 | 29 | min-height: 32px; |
30 | 30 | } |
31 | 31 |
|
32 | | -#textCaptionEntry { |
| 32 | +#text-caption-entry { |
33 | 33 | text-align: center; |
34 | 34 | } |
35 | 35 |
|
36 | | -#textCaptionEntry.playing { |
| 36 | +#text-caption-entry.playing { |
37 | 37 | background-color: var(--pod-background-dark); |
38 | 38 | color: white; |
39 | 39 | } |
40 | 40 |
|
41 | | -.shortcutKey { |
| 41 | +.shortcut-key { |
42 | 42 | display: inline-block; |
43 | 43 | border: 2px solid #222; |
44 | 44 | border-radius: 6px; |
|
50 | 50 | text-align: center; |
51 | 51 | } |
52 | 52 |
|
53 | | -.shortcutKey svg { |
| 53 | +.shortcut-key svg { |
54 | 54 | transform: translateY(-2px); |
55 | 55 | } |
56 | 56 |
|
57 | 57 | /* the list of captions */ |
58 | | -.gray_no_video { |
| 58 | +.gray-no-video { |
59 | 59 | display: flex; |
60 | 60 | flex-wrap: wrap; |
61 | 61 | border-top: 1px solid #e1e1e1; |
62 | 62 | } |
63 | 63 |
|
64 | | -.videoSection { |
| 64 | +.video-section { |
65 | 65 | float: left; |
66 | 66 | min-height: 425px; |
67 | 67 | width: 49%; |
68 | 68 | padding: 24px 0; |
69 | 69 | padding-right: 24px; |
70 | 70 | } |
71 | 71 |
|
72 | | -.caption_content { |
| 72 | +.caption-content-div { |
73 | 73 | border-left: 1px solid #e1e1e1; |
74 | 74 | display: inline-block; |
75 | 75 | width: 49%; |
76 | 76 | } |
77 | 77 |
|
78 | | -.caption_content .caption_title { |
| 78 | +.caption-content-div .caption_title { |
79 | 79 | display: flex; |
80 | 80 | position: relative; |
81 | 81 | } |
82 | 82 |
|
83 | | -.caption_content svg { |
| 83 | +.caption-content-div svg { |
84 | 84 | width: 20px; |
85 | 85 | color: var(--secondary); |
86 | 86 | margin-left: 4px; |
87 | 87 | } |
88 | 88 |
|
89 | | -.caption_content .caption_title svg:hover + .help_text { |
| 89 | +.caption-content-div .caption_title svg:hover + .help_text { |
90 | 90 | display: block; |
91 | 91 | } |
92 | 92 |
|
93 | | -.caption_content .help_text { |
| 93 | +.caption-content-div .help_text { |
94 | 94 | display: none; |
95 | 95 | position: absolute; |
96 | 96 | background: var(--pod-primary); |
|
104 | 104 | line-height: 1.4; |
105 | 105 | } |
106 | 106 |
|
107 | | -.captions_editor { |
| 107 | +.captions-editor { |
108 | 108 | height: 470px; |
109 | 109 | overflow-y: auto; |
110 | 110 | } |
111 | 111 |
|
112 | | -#newCaptionsEditor { |
| 112 | +#new-captions-editor { |
113 | 113 | margin-bottom: 6px; |
114 | 114 | } |
115 | 115 |
|
116 | | -.newEditorBlock { |
| 116 | +.new-editor-block { |
117 | 117 | border-bottom: 1px solid #e1e1e1; |
118 | | - padding: 8px; |
| 118 | + padding: 16px 8px; |
119 | 119 | transition: 0.2s; |
120 | 120 | } |
121 | 121 |
|
122 | | -.newEditorBlock:hover { |
123 | | - background-color: rgb(223 230 246 / 40%); |
| 122 | +.new-editor-block:hover { |
| 123 | + background-color: var(--pod-background-neutre1-bloc-hover); |
124 | 124 | } |
125 | 125 |
|
126 | | -.newEditorBlock > textarea { |
| 126 | +.new-editor-block > textarea { |
127 | 127 | width: 77%; |
128 | 128 | } |
129 | 129 |
|
130 | 130 | .captionBeingEdited { |
131 | 131 | border-left: 3px solid var(--pod-primary); |
132 | | - background-color: rgb(223 230 246 / 40%); |
| 132 | + background-color: var(--pod-background-neutre1-bloc-hover); |
133 | 133 | } |
134 | 134 |
|
135 | 135 | .captionTimestamps { |
136 | 136 | line-height: 32px; |
137 | 137 | } |
138 | 138 |
|
139 | | -.newEditorBlock a { |
| 139 | +.new-editor-block a { |
140 | 140 | display: block; |
141 | 141 | } |
142 | 142 |
|
143 | | -.newEditorBlock input { |
| 143 | +.new-editor-block input { |
144 | 144 | margin: 6px 0; |
145 | 145 | max-width: 78px; |
146 | 146 | display: inline-block; |
147 | 147 | padding: 4px; |
148 | 148 | } |
149 | 149 |
|
150 | | -.captionButtons button { |
151 | | - display: block; |
152 | | - width: 28px; |
153 | | - height: 28px; |
154 | | - padding: 0; |
155 | | - border: 0; |
156 | | - border-radius: 50%; |
157 | | -} |
158 | | - |
159 | | -.captionButtons button:hover { |
160 | | - background: var(--pod-primary-lighten); |
161 | | -} |
162 | | - |
163 | | -#addSubtitle svg { |
| 150 | +#add-subtitle svg { |
164 | 151 | color: var(--pod-link-color); |
165 | 152 | } |
166 | 153 |
|
|
178 | 165 | max-width: 1000px; |
179 | 166 | } |
180 | 167 |
|
181 | | -#editorTipsAndGoBack { |
| 168 | +#editor-tips-and-go-back { |
182 | 169 | width: 100%; |
183 | 170 | clear: both; |
184 | 171 | padding-top: 24px; |
185 | | - padding-bottom: 24px; |
186 | 172 | display: block; |
187 | 173 | border-top: 1px solid #e1e1e1; |
188 | 174 | } |
189 | 175 |
|
190 | 176 | @media only screen and (max-width: 800px) { |
191 | | - .gray_no_video { |
| 177 | + .gray-no-video { |
192 | 178 | display: flex; |
193 | 179 | flex-direction: column; |
194 | 180 | } |
195 | 181 |
|
196 | | - .gray_no_video > div { |
| 182 | + .gray-no-video > div { |
197 | 183 | width: 100% !important; |
198 | 184 | } |
199 | 185 |
|
200 | | - .gray_no_video div:first-child { |
| 186 | + .gray-no-video div:first-child { |
201 | 187 | overflow: hidden; |
202 | 188 | margin: 0; |
203 | 189 | margin-bottom: 1em; |
204 | 190 | min-height: unset !important; |
205 | 191 | } |
206 | 192 |
|
207 | | - .newEditorBlock > textarea { |
| 193 | + .new-editor-block > textarea { |
208 | 194 | width: 60%; |
209 | 195 | } |
210 | 196 | } |
|
0 commit comments