OLD | NEW |
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 * Use of this source code is governed by a BSD-style license that can be | 2 * Use of this source code is governed by a BSD-style license that can be |
3 * found in the LICENSE file. */ | 3 * found in the LICENSE file. */ |
4 | 4 |
5 .media-button { | 5 .media-button { |
6 height: 28px; | 6 height: 28px; |
7 position: relative; | 7 position: relative; |
8 width: 26px; | 8 width: 26px; |
9 } | 9 } |
10 | 10 |
(...skipping 523 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 position: absolute; | 534 position: absolute; |
535 top: 50%; | 535 top: 50%; |
536 width: 32px; | 536 width: 32px; |
537 z-index: 2; | 537 z-index: 2; |
538 } | 538 } |
539 | 539 |
540 .text-banner { | 540 .text-banner { |
541 background-color: black; | 541 background-color: black; |
542 border-radius: 10px; | 542 border-radius: 10px; |
543 color: white; | 543 color: white; |
| 544 display: none; |
544 font-size: 18px; | 545 font-size: 18px; |
545 left: 50%; | 546 left: 50%; |
546 margin-left: -250px; | 547 margin-left: -250px; |
547 opacity: 0; | 548 opacity: 0; |
548 padding: 10px; | 549 padding: 10px; |
549 pointer-events: none; | 550 pointer-events: none; |
550 position: absolute; | 551 position: absolute; |
551 text-align: center; | 552 text-align: center; |
552 text-shadow: 0 0 10px black; | 553 text-shadow: 0 0 10px black; |
553 top: 20%; | 554 top: 20%; |
554 width: 500px; | 555 width: 500px; |
555 z-index: 2; | 556 z-index: 2; |
556 } | 557 } |
557 | 558 |
558 .text-banner[visible] { | 559 .text-banner[visible] { |
559 -webkit-animation: text-banner-blowup 3000ms; | 560 -webkit-animation: text-banner-blowup 3000ms; |
| 561 display: block; |
560 } | 562 } |
561 | 563 |
562 .playback-state-icon[state] { | 564 .playback-state-icon[state] { |
563 -webkit-animation: blowup 500ms; | 565 -webkit-animation: blowup 500ms; |
564 } | 566 } |
565 | 567 |
566 @-webkit-keyframes blowup { | 568 @-webkit-keyframes blowup { |
567 from { | 569 from { |
568 opacity: 1; | 570 opacity: 1; |
569 } | 571 } |
(...skipping 26 matching lines...) Expand all Loading... |
596 background-image: -webkit-image-set( | 598 background-image: -webkit-image-set( |
597 url('../images/media/media_play.png') 1x, | 599 url('../images/media/media_play.png') 1x, |
598 url('../images/media/2x/media_play.png') 2x); | 600 url('../images/media/2x/media_play.png') 2x); |
599 } | 601 } |
600 | 602 |
601 .playback-state-icon[state='pause'] { | 603 .playback-state-icon[state='pause'] { |
602 background-image: -webkit-image-set( | 604 background-image: -webkit-image-set( |
603 url('../images/media/media_pause.png') 1x, | 605 url('../images/media/media_pause.png') 1x, |
604 url('../images/media/2x/media_pause.png') 2x); | 606 url('../images/media/2x/media_pause.png') 2x); |
605 } | 607 } |
OLD | NEW |