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

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

Issue 381073003: Video Player: Add a cast menu (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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: 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
new file mode 100644
index 0000000000000000000000000000000000000000..c77357ac1e717535aaa8e015f8575f0accf81a19
--- /dev/null
+++ b/ui/file_manager/video_player/css/cast_menu.css
@@ -0,0 +1,28 @@
+/* Copyright 2014 The Chromium Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file. */
+
+.cast-menu {
+ position: absolute;
fukino 2014/07/11 04:35:50 nit: properties should be sorted.
+ border: 1px solid #7f7f7f;
+ border-radius: 1px;
+ min-width: 120px;
+ padding: 0;
+ z-index: 1000;
+}
+
+.cast-menu.hidden {
+ display: none;
+}
+
+.cast-menu > :not(hr) {
+ background-color: #ffffff;
fukino 2014/07/11 04:35:50 nit: using shorthand notation '#fff' is encouraged
+ font-size: 12px;
+ padding: 5px 10px; /* top&bottom, left&right */
+ text-overflow: ellipsis;
+}
+
+.cast-menu > :not(hr):hover {
+ background-color: #eeeeee;
fukino 2014/07/11 04:35:50 ditto: '#eee'
+}
+

Powered by Google App Engine
This is Rietveld 408576698