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

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

Issue 592793003: Make pop-up menus more easily dismissable. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added comment and fixed unit tests. Created 6 years, 2 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
« no previous file with comments | « no previous file | remoting/webapp/menu_button.js » ('j') | remoting/webapp/menu_button.js » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 .menu-button { 6 .menu-button {
7 position: relative; 7 position: relative;
8 } 8 }
9 9
10 .menu-button-activator + ul { 10 .menu-button-activator + ul {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 } 42 }
43 43
44 .menu-button ul { 44 .menu-button ul {
45 padding: 0; 45 padding: 0;
46 margin: 0; 46 margin: 0;
47 list-style-type: none; 47 list-style-type: none;
48 background: white; 48 background: white;
49 outline: 1px solid rgba(0, 0, 0, 0.2); 49 outline: 1px solid rgba(0, 0, 0, 0.2);
50 padding: 0 0 6px; 50 padding: 0 0 6px;
51 box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2); 51 box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
52 z-index: 1; 52 z-index: 2;
53 } 53 }
54 54
55 .menu-button li { 55 .menu-button li {
56 padding: 6px 44px 6px 30px; 56 padding: 6px 44px 6px 30px;
57 white-space: nowrap; 57 white-space: nowrap;
58 } 58 }
59 59
60 .menu-button li:hover { 60 .menu-button li:hover {
61 background-color: #EEE; 61 background-color: #EEE;
62 } 62 }
(...skipping 18 matching lines...) Expand all
81 -webkit-transition: opacity 0.218s; 81 -webkit-transition: opacity 0.218s;
82 } 82 }
83 83
84 .help-icon:hover, .help-icon.active { 84 .help-icon:hover, .help-icon.active {
85 opacity: 0.5; 85 opacity: 0.5;
86 } 86 }
87 87
88 #help-feedback-toolbar { 88 #help-feedback-toolbar {
89 margin-left: 8px; 89 margin-left: 8px;
90 margin-top: 4px; 90 margin-top: 4px;
91 }
92
93 .menu-button-click-trap {
94 position: fixed;
95 top: 0;
96 left: 0;
97 width: 100%;
98 height: 100%;
99 z-index: 1;
91 } 100 }
OLDNEW
« no previous file with comments | « no previous file | remoting/webapp/menu_button.js » ('j') | remoting/webapp/menu_button.js » ('J')

Powered by Google App Engine
This is Rietveld 408576698