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

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

Issue 7227025: ntp4: fix app context menu z-order (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: added bug ref Created 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 menu { 1 menu {
2 -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, .50); 2 -webkit-box-shadow: 0px 2px 4px rgba(0, 0, 0, .50);
3 background: -webkit-linear-gradient(#fff, #eee); 3 background: -webkit-linear-gradient(#fff, #eee);
4 border-radius: 3px; 4 border-radius: 3px;
5 border: 1px solid rgba(0, 0, 0, .50); 5 border: 1px solid rgba(0, 0, 0, .50);
6 color: black; 6 color: black;
7 cursor: default; 7 cursor: default;
8 display: none; 8 display: none;
9 left: 0; 9 left: 0;
10 margin: 0; 10 margin: 0;
(...skipping 28 matching lines...) Expand all
39 rgba(0, 0, 0, .02) 96%); 39 rgba(0, 0, 0, .02) 96%);
40 border: 0; 40 border: 0;
41 height: 1px; 41 height: 1px;
42 margin: 8px 0; 42 margin: 8px 0;
43 } 43 }
44 44
45 menu > [disabled] { 45 menu > [disabled] {
46 color: rgba(0, 0, 0, .3); 46 color: rgba(0, 0, 0, .3);
47 } 47 }
48 48
49 /* Text alpha doesn't work on Linux/GTK.
50 * TODO(estade): http://crbug.com/88688. */
51 html[toolkit=gtk] menu > [disabled] {
52 color: #969696;
53 }
54
49 menu > [hidden] { 55 menu > [hidden] {
50 display: none; 56 display: none;
51 } 57 }
52 58
53 menu > :not(hr)[selected] { 59 menu > :not(hr)[selected] {
54 background-color: #dce5fa; 60 background-color: #dce5fa;
55 } 61 }
56 62
57 menu > :not(hr)[selected]:active { 63 menu > :not(hr)[selected]:active {
58 background-color: #426dc9; 64 background-color: #426dc9;
59 color: #fff; 65 color: #fff;
60 } 66 }
61 67
62 menu > [checked]:before { 68 menu > [checked]:before {
63 content: url("../images/checkbox_black.png"); 69 content: url("../images/checkbox_black.png");
64 display: inline-block; 70 display: inline-block;
65 height: 9px; 71 height: 9px;
66 margin: 0 5px; 72 margin: 0 5px;
67 vertical-align: 50%; 73 vertical-align: 50%;
68 width: 9px; 74 width: 9px;
69 } 75 }
70 76
71 menu > [checked] { 77 menu > [checked] {
72 -webkit-padding-start: 0; 78 -webkit-padding-start: 0;
73 } 79 }
74 80
75 menu > [selected][checked]:active:before { 81 menu > [selected][checked]:active:before {
76 content: url("../images/checkbox_white.png"); 82 content: url("../images/checkbox_white.png");
77 } 83 }
OLDNEW
« no previous file with comments | « chrome/browser/resources/ntp4/new_tab.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698