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

Side by Side Diff: remoting/webapp/menu_button.css

Issue 9884001: Added screen options menu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Simplified onShow callback. Created 8 years, 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « remoting/webapp/main.html ('k') | remoting/webapp/menu_button.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6 .menu-button {
7 position: relative;
8 }
9
10 .menu-button button + ul {
11 visibility: hidden;
12 position: absolute;
13 top: 22px;
14 left: 1px;
15 }
16
17 .menu-button button.active + ul {
18 visibility: visible;
19 }
20
21 .menu-button button.active {
22 background-color: #EEE;
23 background-image: -webkit-gradient(linear, left top, left bottom,
24 from(#EEE), to(#E0E0E0));
25 -webkit-box-shadow: inset 0px 1px 2px rgba(0, 0, 0, 0.1);
26 border: 1px solid #CCC;
27 color: #333;
28 }
29
30 .menu-button button .kd-disclosureindicator {
31 vertical-align: middle;
32 margin-left: 7px;
33 opacity: .8;
34 }
35
36 .menu-button ul {
37 padding: 0;
38 margin: 0;
39 list-style-type: none;
40 background: white;
41 outline: 1px solid rgba(0, 0, 0, 0.2);
42 padding: 0 0 6px;
43 -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
44 }
45
46 .menu-button li {
47 padding: 6px 44px 6px 30px;
48 white-space: nowrap;
49 }
50
51 .menu-button li:hover {
52 background-color: #EEE;
53 }
54
55 .menu-button li.menu-separator {
56 border-top: 1px solid #EBEBEB;
57 margin-top: 9px;
58 margin-bottom: 10px;
59 padding: 0;
60 }
61
62 .menu-button li.selected {
63 background-image: url('tick.png');
64 background-position: left center;
65 background-repeat: no-repeat;
66 }
OLDNEW
« no previous file with comments | « remoting/webapp/main.html ('k') | remoting/webapp/menu_button.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698