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

Side by Side Diff: chrome/browser/resources/shared/css/menu.css

Issue 10389016: Use hidden attribute rather the 'display: none' for hiding menus. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
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 { 6 menu {
7 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .50); 7 -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, .50);
8 background: white; 8 background: white;
9 color: black; 9 color: black;
10 cursor: default; 10 cursor: default;
11 display: none;
12 left: 0; 11 left: 0;
13 margin: 0; 12 margin: 0;
14 outline: 1px solid rgba(0, 0, 0, 0.2); 13 outline: 1px solid rgba(0, 0, 0, 0.2);
15 padding: 8px 0; 14 padding: 8px 0;
16 position: fixed; 15 position: fixed;
17 white-space: nowrap; 16 white-space: nowrap;
18 z-index: 3; 17 z-index: 3;
19 } 18 }
20 19
21 menu > * { 20 menu > * {
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 width: 9px; 71 width: 9px;
73 } 72 }
74 73
75 menu > [checked] { 74 menu > [checked] {
76 -webkit-padding-start: 0; 75 -webkit-padding-start: 0;
77 } 76 }
78 77
79 menu > [selected][checked]:active:before { 78 menu > [selected][checked]:active:before {
80 content: url('../images/checkbox_white.png'); 79 content: url('../images/checkbox_white.png');
81 } 80 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698