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

Unified Diff: chrome/browser/resources/file_manager/css/media_controls.css

Issue 12676002: Added the reply/loop icon to the video player. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 7 years, 9 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
Index: chrome/browser/resources/file_manager/css/media_controls.css
diff --git a/chrome/browser/resources/file_manager/css/media_controls.css b/chrome/browser/resources/file_manager/css/media_controls.css
index 181e80d1b38f631fdf448cd7fa6e8e8214c7e5ce..86be8744b8b2afa3477da21f710d71a498607833 100644
--- a/chrome/browser/resources/file_manager/css/media_controls.css
+++ b/chrome/browser/resources/file_manager/css/media_controls.css
@@ -17,12 +17,18 @@
width: 100%;
}
-.media-button[state='0']:not(.disabled):not(:hover):not(:active) > .state0.normal,
+.media-button[state='0']:not(.disabled):not(:hover):not(:active) >
+ .state0.normal,
.media-button[state='0']:not(.disabled):hover > .state0.hover,
.media-button[state='0']:not(.disabled):active > .state0.active,
-.media-button[state='1']:not(.disabled):not(:hover):not(:active) > .state1.normal,
+.media-button[state='1']:not(.disabled):not(:hover):not(:active) >
+ .state1.normal,
.media-button[state='1']:not(.disabled):hover > .state1.hover,
.media-button[state='1']:not(.disabled):active > .state1.active,
+.media-button[state='2']:not(.disabled):not(:hover):not(:active) >
+ .state2.normal,
+.media-button[state='2']:not(.disabled):hover > .state2.hover,
+.media-button[state='2']:not(.disabled):active > .state2.active,
.media-button.disabled > .disabled {
opacity: 1;
}
@@ -220,6 +226,24 @@
url('../images/media/2x/media_pause_down.png') 2x);
}
+.media-button.play > .state2.normal {
+ background-image: -webkit-image-set(
+ url('../images/media/media_loop.png') 1x,
+ url('../images/media/2x/media_loop.png') 2x);
+}
+
+.media-button.play > .state2.hover {
+ background-image: -webkit-image-set(
+ url('../images/media/media_loop_hover.png') 1x,
+ url('../images/media/2x/media_loop_hover.png') 2x);
+}
+
+.media-button.play > .state2.active {
+ background-image: -webkit-image-set(
+ url('../images/media/media_loop_down.png') 1x,
+ url('../images/media/2x/media_loop_down.png') 2x);
+}
+
.media-button.play > .disabled {
background-image: -webkit-image-set(
url('../images/media/media_play_disabled.png') 1x,

Powered by Google App Engine
This is Rietveld 408576698