toolkit/themes/osx/global/menulist.css

changeset 0
6474c204b198
equal deleted inserted replaced
-1:000000000000 0:9add5f66acc9
1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
5 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
6 @namespace html url("http://www.w3.org/1999/xhtml");
7
8 menulist {
9 -moz-appearance: menulist;
10 margin: 5px 2px 3px;
11 min-height: 20px !important;
12 color: -moz-DialogText;
13 text-shadow: none;
14 }
15
16 .menulist-label-box {
17 -moz-appearance: menulist-text;
18 -moz-box-align: center;
19 -moz-box-pack: center;
20 margin-bottom: 1px;
21 }
22
23 .menulist-label {
24 margin: 1px 3px !important;
25 }
26
27 .menulist-description {
28 font-style: italic;
29 color: GrayText;
30 -moz-margin-start: 1ex !important;
31 }
32
33 /* ..... dropmarker ..... */
34
35 .menulist-dropmarker {
36 display: none;
37 }
38
39 /* ..... disabled state ..... */
40
41 menulist[disabled="true"] {
42 color: GrayText;
43 }
44
45 menulist[disabled="true"] > .menulist-dropmarker {
46 -moz-padding-start: 7px !important;
47 }
48
49 /* ::::: editable menulists ::::: */
50
51 menulist[editable="true"] {
52 -moz-appearance: menulist-textfield;
53 margin: 4px 2px;
54 }
55
56 html|*.menulist-editable-input {
57 margin: 0px !important;
58 border: none !important;
59 padding: 0px !important;
60 background: inherit;
61 font: inherit;
62 }
63
64 /* ::::: compact menulists ::::: */
65
66 .menulist-compact {
67 -moz-box-align: center;
68 -moz-box-pack: center;
69 margin: 0;
70 border: 2px solid;
71 -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight;
72 -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
73 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
74 -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight;
75 background-color: -moz-Dialog;
76 }
77
78 .menulist-compact > .menulist-label {
79 margin: 0 3px !important;
80 text-align: end;
81 }
82
83 .menulist-compact > .menulist-dropmarker {
84 -moz-margin-start: 2px;
85 border: none;
86 padding: 0 !important;
87 background: transparent;
88 }
89
90 .menulist-compact[open="true"] {
91 -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow;
92 -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow;
93 -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow;
94 -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow;
95 background-color: ThreeDShadow;
96 }

mercurial