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

Unified Diff: remoting/webapp/menu_button.css

Issue 9884001: Added screen options menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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: remoting/webapp/menu_button.css
diff --git a/remoting/webapp/menu_button.css b/remoting/webapp/menu_button.css
new file mode 100644
index 0000000000000000000000000000000000000000..7f7c01c0dca7543bdd19d7ab1692c313d1321c2e
--- /dev/null
+++ b/remoting/webapp/menu_button.css
@@ -0,0 +1,66 @@
+/* Copyright (c) 2012 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.
+ */
+
+.menu-button {
+ position: relative;
+}
+
+.menu-button button + ul {
+ visibility: hidden;
+ position: absolute;
+ top: 22px;
+ left: 1px;
+}
+
+.menu-button button.active + ul {
+ visibility: visible;
+}
+
+.menu-button button.active {
+ background-color: #EEE;
+ background-image: -webkit-gradient(linear, left top, left bottom,
+ from(#EEE), to(#E0E0E0));
+ -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
+ border: 1px solid #CCC;
+ color: #333;
+}
+
+.menu-button button .kd-disclosureindicator {
+ vertical-align: middle;
+ margin-left: 7px;
+ opacity: .8;
+}
+
+.menu-button ul {
+ padding: 0;
+ margin: 0;
+ list-style-type: none;
+ background: white;
+ outline: 1px solid rgba(0, 0, 0, 0.2);
+ padding: 0 0 6px;
+ -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
+}
+
+.menu-button li {
+ padding: 6px 44px 6px 30px;
+ white-space: nowrap;
+}
+
+.menu-button li:hover {
+ background-color: #EEE;
+}
+
+.menu-button li.menu-separator {
+ border-top: 1px solid #EBEBEB;
+ margin-top: 9px;
+ margin-bottom: 10px;
+ padding: 0;
+}
+
+.menu-button li.selected {
+ background-image: url('tick.png');
+ background-position: left center;
+ background-repeat: no-repeat;
+}

Powered by Google App Engine
This is Rietveld 408576698