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. TODO(estade): investigate. */ | |
Rick Byers
2011/07/07 16:42:22
Can you just file a bug for this now (and referenc
| |
50 html[toolkit=gtk] menu > [disabled] { | |
51 color: #969696; | |
52 } | |
53 | |
49 menu > [hidden] { | 54 menu > [hidden] { |
50 display: none; | 55 display: none; |
51 } | 56 } |
52 | 57 |
53 menu > :not(hr)[selected] { | 58 menu > :not(hr)[selected] { |
54 background-color: #dce5fa; | 59 background-color: #dce5fa; |
55 } | 60 } |
56 | 61 |
57 menu > :not(hr)[selected]:active { | 62 menu > :not(hr)[selected]:active { |
58 background-color: #426dc9; | 63 background-color: #426dc9; |
59 color: #fff; | 64 color: #fff; |
60 } | 65 } |
61 | 66 |
62 menu > [checked]:before { | 67 menu > [checked]:before { |
63 content: url("../images/checkbox_black.png"); | 68 content: url("../images/checkbox_black.png"); |
64 display: inline-block; | 69 display: inline-block; |
65 height: 9px; | 70 height: 9px; |
66 margin: 0 5px; | 71 margin: 0 5px; |
67 vertical-align: 50%; | 72 vertical-align: 50%; |
68 width: 9px; | 73 width: 9px; |
69 } | 74 } |
70 | 75 |
71 menu > [checked] { | 76 menu > [checked] { |
72 -webkit-padding-start: 0; | 77 -webkit-padding-start: 0; |
73 } | 78 } |
74 | 79 |
75 menu > [selected][checked]:active:before { | 80 menu > [selected][checked]:active:before { |
76 content: url("../images/checkbox_white.png"); | 81 content: url("../images/checkbox_white.png"); |
77 } | 82 } |
OLD | NEW |