Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1309)

Side by Side Diff: ui/file_manager/video_player/css/media_controls.css

Issue 573233002: Video Player: Prevent showing the status icon on unnecessary timing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: improve reliability of short-interval clicks Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/media_controls.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/media_controls.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698