OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |