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 503 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 url('../images/media/2x/media_fullscreen_down.png') 2x); | 514 url('../images/media/2x/media_fullscreen_down.png') 2x); |
515 } | 515 } |
516 | 516 |
517 .media-button.fullscreen > .disabled { | 517 .media-button.fullscreen > .disabled { |
518 background-image: -webkit-image-set( | 518 background-image: -webkit-image-set( |
519 url('../images/media/media_fullscreen_disabled.png') 1x, | 519 url('../images/media/media_fullscreen_disabled.png') 1x, |
520 url('../images/media/2x/media_fullscreen_disabled.png') 2x); | 520 url('../images/media/2x/media_fullscreen_disabled.png') 2x); |
521 } | 521 } |
522 | 522 |
523 .playback-state-icon { | 523 .playback-state-icon { |
| 524 -webkit-animation: none; |
524 background-color: #202020; | 525 background-color: #202020; |
525 background-position: center center; | 526 background-position: center center; |
526 background-repeat: no-repeat; | 527 background-repeat: no-repeat; |
527 border-radius: 2.5px; | 528 border-radius: 2.5px; |
| 529 display: none; |
528 height: 32px; | 530 height: 32px; |
529 left: 50%; | 531 left: 50%; |
530 margin-left: -16px; | 532 margin-left: -16px; |
531 margin-top: -16px; | 533 margin-top: -16px; |
532 opacity: 0; | 534 opacity: 0; |
533 pointer-events: none; | 535 pointer-events: none; |
534 position: absolute; | 536 position: absolute; |
535 top: 50%; | 537 top: 50%; |
536 width: 32px; | 538 width: 32px; |
537 z-index: 2; | 539 z-index: 2; |
(...skipping 15 matching lines...) Expand all Loading... |
553 top: 20%; | 555 top: 20%; |
554 width: 500px; | 556 width: 500px; |
555 z-index: 2; | 557 z-index: 2; |
556 } | 558 } |
557 | 559 |
558 .text-banner[visible] { | 560 .text-banner[visible] { |
559 -webkit-animation: text-banner-blowup 3000ms; | 561 -webkit-animation: text-banner-blowup 3000ms; |
560 } | 562 } |
561 | 563 |
562 .playback-state-icon[state] { | 564 .playback-state-icon[state] { |
563 -webkit-animation: blowup 500ms; | 565 display: block; |
564 } | 566 } |
565 | 567 |
566 @-webkit-keyframes blowup { | 568 @-webkit-keyframes blowup { |
567 from { | 569 from { |
568 opacity: 1; | 570 opacity: 1; |
569 } | 571 } |
570 to { | 572 to { |
571 -webkit-transform: scale(3); | 573 -webkit-transform: scale(3); |
572 opacity: 0; | 574 opacity: 0; |
573 } | 575 } |
(...skipping 12 matching lines...) Expand all Loading... |
586 -webkit-transform: scale(1); | 588 -webkit-transform: scale(1); |
587 opacity: 0.75; | 589 opacity: 0.75; |
588 } | 590 } |
589 to { | 591 to { |
590 -webkit-transform: scale(3); | 592 -webkit-transform: scale(3); |
591 opacity: 0; | 593 opacity: 0; |
592 } | 594 } |
593 } | 595 } |
594 | 596 |
595 .playback-state-icon[state='play'] { | 597 .playback-state-icon[state='play'] { |
| 598 -webkit-animation: blowup 500ms; |
596 background-image: -webkit-image-set( | 599 background-image: -webkit-image-set( |
597 url('../images/media/media_play.png') 1x, | 600 url('../images/media/media_play.png') 1x, |
598 url('../images/media/2x/media_play.png') 2x); | 601 url('../images/media/2x/media_play.png') 2x); |
599 } | 602 } |
600 | 603 |
601 .playback-state-icon[state='pause'] { | 604 .playback-state-icon[state='pause'] { |
| 605 -webkit-animation: blowup 500ms; |
602 background-image: -webkit-image-set( | 606 background-image: -webkit-image-set( |
603 url('../images/media/media_pause.png') 1x, | 607 url('../images/media/media_pause.png') 1x, |
604 url('../images/media/2x/media_pause.png') 2x); | 608 url('../images/media/2x/media_pause.png') 2x); |
605 } | 609 } |
OLD | NEW |