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

Unified 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/file_manager/video_player/css/media_controls.css
diff --git a/ui/file_manager/video_player/css/media_controls.css b/ui/file_manager/video_player/css/media_controls.css
index ba167eec138d4c7e35c214f26f9d274da858c02a..cb307f5da9471c98b6179c69b33175b37ba61948 100644
--- a/ui/file_manager/video_player/css/media_controls.css
+++ b/ui/file_manager/video_player/css/media_controls.css
@@ -521,10 +521,12 @@
}
.playback-state-icon {
+ -webkit-animation: none;
background-color: #202020;
background-position: center center;
background-repeat: no-repeat;
border-radius: 2.5px;
+ display: none;
height: 32px;
left: 50%;
margin-left: -16px;
@@ -560,7 +562,7 @@
}
.playback-state-icon[state] {
- -webkit-animation: blowup 500ms;
+ display: block;
}
@-webkit-keyframes blowup {
@@ -593,12 +595,14 @@
}
.playback-state-icon[state='play'] {
+ -webkit-animation: blowup 500ms;
background-image: -webkit-image-set(
url('../images/media/media_play.png') 1x,
url('../images/media/2x/media_play.png') 2x);
}
.playback-state-icon[state='pause'] {
+ -webkit-animation: blowup 500ms;
background-image: -webkit-image-set(
url('../images/media/media_pause.png') 1x,
url('../images/media/2x/media_pause.png') 2x);
« 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