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) 2015 Google Inc. | 3 * Copyright (C) 2015 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 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
411 } | 411 } |
412 | 412 |
413 video::-internal-media-controls-text-track-list-kind-subtitles { | 413 video::-internal-media-controls-text-track-list-kind-subtitles { |
414 -webkit-appearance: -internal-media-subtitles-icon; | 414 -webkit-appearance: -internal-media-subtitles-icon; |
415 height: 20px; | 415 height: 20px; |
416 width: 20px; | 416 width: 20px; |
417 margin-left: 10px; | 417 margin-left: 10px; |
418 vertical-align: middle; | 418 vertical-align: middle; |
419 } | 419 } |
420 | 420 |
| 421 video::-internal-overflow-menu-button { |
| 422 -webkit-appearance: -internal-overflow-menu-button; |
| 423 display: flex; |
| 424 flex: none; |
| 425 box-sizing: border-box; |
| 426 width: 32px; |
| 427 height: 32px; |
| 428 padding: 0px; |
| 429 border-width: 0px; |
| 430 margin-left: 0px; |
| 431 margin-right: 0px; |
| 432 background-color: initial; |
| 433 color: inherit; |
| 434 } |
| 435 |
| 436 video::-internal-media-controls-overflow-menu-list { |
| 437 position: absolute; |
| 438 bottom: 48px; |
| 439 right: 0px; |
| 440 background-color: #fafafa; |
| 441 max-width: 50%; |
| 442 max-height: 250px; |
| 443 min-width: 150px; |
| 444 overflow-x: hidden; |
| 445 overflow-y: auto; |
| 446 white-space: nowrap; |
| 447 font-size: 14px; |
| 448 padding: 8px 0px; |
| 449 } |
| 450 |
| 451 video::-internal-media-controls-overflow-menu-list-item { |
| 452 display: block; |
| 453 color: #424242; |
| 454 line-height: 40px; |
| 455 padding-left: 28px; |
| 456 } |
| 457 |
| 458 video::-internal-media-controls-overflow-menu-list-item:hover { |
| 459 background-color: #e0e0e0; |
| 460 } |
| 461 |
421 video::-webkit-media-text-track-container { | 462 video::-webkit-media-text-track-container { |
422 position: relative; | 463 position: relative; |
423 width: inherit; | 464 width: inherit; |
424 height: inherit; | 465 height: inherit; |
425 overflow: hidden; | 466 overflow: hidden; |
426 | 467 |
427 font: 22px sans-serif; | 468 font: 22px sans-serif; |
428 text-align: center; | 469 text-align: center; |
429 color: rgba(255, 255, 255, 1); | 470 color: rgba(255, 255, 255, 1); |
430 | 471 |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 font-weight: bold; | 526 font-weight: bold; |
486 } | 527 } |
487 | 528 |
488 video::cue(u) { | 529 video::cue(u) { |
489 text-decoration: underline; | 530 text-decoration: underline; |
490 } | 531 } |
491 | 532 |
492 video::cue(i) { | 533 video::cue(i) { |
493 font-style: italic; | 534 font-style: italic; |
494 } | 535 } |
OLD | NEW |