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

Unified Diff: ui/file_manager/video_player/css/cast_menu.css

Issue 456653002: Video Player: Show a checkmark on the currently playing device in cast menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed the comment Created 6 years, 4 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/video_player.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/cast_menu.css
diff --git a/ui/file_manager/video_player/css/cast_menu.css b/ui/file_manager/video_player/css/cast_menu.css
index 161fd525f85f7424445f12e280efe1d811cf5c10..b4f9e32491cac1f1971d0e5b58bd15703bc88e3c 100644
--- a/ui/file_manager/video_player/css/cast_menu.css
+++ b/ui/file_manager/video_player/css/cast_menu.css
@@ -16,12 +16,20 @@
}
.cast-menu > :not(hr) {
+ -webkit-padding-end: 14px;
+ -webkit-padding-start: 19px;
background-color: #fff;
font-size: 12px;
- padding: 5px 10px; /* top&bottom, left&right */
+ padding-bottom: 5px;
+ padding-top: 5px;
text-overflow: ellipsis;
}
+.cast-menu > [checked]:not(hr) {
+ /* A checkmark has 19 px width. */
+ -webkit-padding-start: 0;
+}
+
.cast-menu > :not(hr):hover {
background-color: #eee;
}
« no previous file with comments | « no previous file | ui/file_manager/video_player/js/video_player.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698