OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * Copyright (C) 2009 Google Inc. | 3 * Copyright (C) 2009 Google Inc. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
7 * are met: | 7 * are met: |
8 * 1. Redistributions of source code must retain the above copyright | 8 * 1. Redistributions of source code must retain the above copyright |
9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
10 * 2. Redistributions in binary form must reproduce the above copyright | 10 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 26 matching lines...) Expand all Loading... |
37 } | 37 } |
38 | 38 |
39 audio::-webkit-media-controls, | 39 audio::-webkit-media-controls, |
40 video::-webkit-media-controls { | 40 video::-webkit-media-controls { |
41 width: inherit; | 41 width: inherit; |
42 height: inherit; | 42 height: inherit; |
43 position: relative; | 43 position: relative; |
44 direction: ltr; | 44 direction: ltr; |
45 display: flex; | 45 display: flex; |
46 flex-direction: column; | 46 flex-direction: column; |
| 47 font-family: Arial, Helvetica, sans-serif; |
47 justify-content: flex-end; | 48 justify-content: flex-end; |
48 align-items: center; | 49 align-items: center; |
49 } | 50 } |
50 | 51 |
51 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure
{ | 52 audio::-webkit-media-controls-enclosure, video::-webkit-media-controls-enclosure
{ |
52 width: 100%; | 53 width: 100%; |
53 max-width: 800px; | 54 max-width: 800px; |
54 height: 30px; | 55 height: 30px; |
55 flex-shrink: 0; | 56 flex-shrink: 0; |
56 bottom: 0; | 57 bottom: 0; |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 flex: none; | 198 flex: none; |
198 display: flex; | 199 display: flex; |
199 border: none; | 200 border: none; |
200 cursor: default; | 201 cursor: default; |
201 | 202 |
202 height: 30px; | 203 height: 30px; |
203 margin: 0 9px 0 0; | 204 margin: 0 9px 0 0; |
204 padding: 0; | 205 padding: 0; |
205 | 206 |
206 line-height: 30px; | 207 line-height: 30px; |
207 font-family: Arial, Helvetica, sans-serif; | |
208 font-size: 13px; | 208 font-size: 13px; |
209 font-weight: bold; | 209 font-weight: bold; |
210 font-style: normal; | 210 font-style: normal; |
211 color: white; | 211 color: white; |
212 | 212 |
213 letter-spacing: normal; | 213 letter-spacing: normal; |
214 word-spacing: normal; | 214 word-spacing: normal; |
215 text-transform: none; | 215 text-transform: none; |
216 text-indent: 0; | 216 text-indent: 0; |
217 text-shadow: none; | 217 text-shadow: none; |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
331 } | 331 } |
332 | 332 |
333 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media
-controls-fullscreen-volume-min-button { | 333 audio::-webkit-media-controls-fullscreen-volume-min-button, video::-webkit-media
-controls-fullscreen-volume-min-button { |
334 display: none; | 334 display: none; |
335 } | 335 } |
336 | 336 |
337 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media
-controls-fullscreen-volume-max-button { | 337 audio::-webkit-media-controls-fullscreen-volume-max-button, video::-webkit-media
-controls-fullscreen-volume-max-button { |
338 display: none; | 338 display: none; |
339 } | 339 } |
340 | 340 |
| 341 video::-webkit-scrollbar { |
| 342 width: 12px; |
| 343 } |
| 344 |
| 345 video::-webkit-scrollbar-track { |
| 346 box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.3); |
| 347 border-radius: 10px; |
| 348 } |
| 349 |
| 350 video::-webkit-scrollbar-thumb { |
| 351 border-radius: 10px; |
| 352 background-color: rgba(80, 80, 80, 0.8); |
| 353 box-shadow: inset 0 0 6px rgba(20, 20, 20, 0.5); |
| 354 } |
| 355 |
| 356 video::-internal-media-controls-text-track-list { |
| 357 position: absolute; |
| 358 bottom: 35px; |
| 359 right: 5px; |
| 360 background: rgba(20, 20, 20, 0.8); |
| 361 max-width: 50%; |
| 362 max-height: 250px; |
| 363 border-radius: 5px; |
| 364 overflow-x: hidden; |
| 365 overflow-y: auto; |
| 366 text-overflow: ellipsis; |
| 367 margin-bottom: 5px; |
| 368 white-space: nowrap; |
| 369 padding-top: 10px; |
| 370 font-weight: bold; |
| 371 font-size: 13px; |
| 372 } |
| 373 |
| 374 video::-internal-media-controls-text-track-list-item { |
| 375 display: block; |
| 376 color: white; |
| 377 padding: 4px 30px 4px 10px; |
| 378 border-bottom: 1px solid #555; |
| 379 text-align: start; |
| 380 line-height: 30px; |
| 381 } |
| 382 |
| 383 video::-internal-media-controls-text-track-list-item:hover { |
| 384 background-color: rgba(105, 105, 105, 0.8); |
| 385 } |
| 386 |
| 387 video::-internal-media-controls-text-track-list-item-input { |
| 388 -webkit-appearance: -internal-media-track-selection-checkmark; |
| 389 visibility: hidden; |
| 390 left: 0; |
| 391 vertical-align: middle; |
| 392 margin: 0 5px 0 0; |
| 393 width: 25px; |
| 394 height: 25px; |
| 395 } |
| 396 |
| 397 video::-internal-media-controls-text-track-list-item-input:checked { |
| 398 visibility: visible; |
| 399 } |
| 400 |
| 401 video::-internal-media-controls-text-track-list-kind-captions { |
| 402 -webkit-appearance: -internal-media-closed-captions-icon; |
| 403 height: 24px; |
| 404 width: 24px; |
| 405 margin-left: 10px; |
| 406 vertical-align: middle; |
| 407 } |
| 408 |
| 409 video::-internal-media-controls-text-track-list-kind-subtitles { |
| 410 -webkit-appearance: -internal-media-subtitles-icon; |
| 411 height: 24px; |
| 412 width: 24px; |
| 413 margin-left: 10px; |
| 414 vertical-align: middle; |
| 415 } |
| 416 |
341 video::-webkit-media-text-track-container { | 417 video::-webkit-media-text-track-container { |
342 position: relative; | 418 position: relative; |
343 width: inherit; | 419 width: inherit; |
344 height: inherit; | 420 height: inherit; |
345 overflow: hidden; | 421 overflow: hidden; |
346 | 422 |
347 font: 22px sans-serif; | 423 font: 22px sans-serif; |
348 text-align: center; | 424 text-align: center; |
349 color: rgba(255, 255, 255, 1); | 425 color: rgba(255, 255, 255, 1); |
350 | 426 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
405 font-weight: bold; | 481 font-weight: bold; |
406 } | 482 } |
407 | 483 |
408 video::cue(u) { | 484 video::cue(u) { |
409 text-decoration: underline; | 485 text-decoration: underline; |
410 } | 486 } |
411 | 487 |
412 video::cue(i) { | 488 video::cue(i) { |
413 font-style: italic; | 489 font-style: italic; |
414 } | 490 } |
OLD | NEW |