|
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 |
|
7 toolbar { |
|
8 min-width: 1px; |
|
9 min-height: 20px; |
|
10 -moz-appearance: toolbar; |
|
11 } |
|
12 |
|
13 menubar:-moz-lwtheme, |
|
14 toolbar:-moz-lwtheme { |
|
15 -moz-appearance: none; |
|
16 background: none; |
|
17 border-style: none; |
|
18 } |
|
19 |
|
20 menubar { |
|
21 -moz-appearance: dialog; /* For content menubars, "toolbar" is too dark, so we use "dialog". */ |
|
22 min-width: 1px; |
|
23 } |
|
24 |
|
25 .toolbar-holder { |
|
26 min-width: 1px; |
|
27 } |
|
28 |
|
29 .toolbar-primary { |
|
30 min-height: 24px; |
|
31 } |
|
32 |
|
33 toolbarseparator { |
|
34 -moz-appearance: none; |
|
35 margin: 3px 4px; |
|
36 background: url("chrome://global/skin/toolbar/toolbar-separator.png") transparent repeat-y; |
|
37 padding: 0; |
|
38 width: 1px !important; |
|
39 } |
|
40 |
|
41 /* ::::: toolbarpaletteitem ::::: */ |
|
42 |
|
43 toolbarpaletteitem { |
|
44 cursor: grab; |
|
45 } |
|
46 |
|
47 toolbar[iconsize="small"] toolbarpaletteitem[type="spacer"] { |
|
48 min-width: 24px !important; |
|
49 } |
|
50 |
|
51 toolbarpaletteitem[type="spacer"] { |
|
52 min-width: 32px !important; |
|
53 } |
|
54 |
|
55 .toolbarpaletteitem-box[type="spacer"] { |
|
56 border: 1px solid #A3A3A3; |
|
57 background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; |
|
58 width: 32px; |
|
59 margin-top: 18px; |
|
60 } |
|
61 |
|
62 .toolbarpaletteitem-box[type="spring"] { |
|
63 border: 1px solid #A3A3A3; |
|
64 background: url("chrome://global/skin/toolbar/spring.png") #FFFFFF no-repeat; |
|
65 width: 32px; |
|
66 margin-top: 18px; |
|
67 } |
|
68 |
|
69 .toolbarpaletteitem-box[type="spring"][place="toolbar"] { |
|
70 background: url("chrome://global/skin/10pct_transparent_grey.png") repeat; |
|
71 } |
|
72 |
|
73 .toolbarpaletteitem-box[type="spacer"][place="toolbar"], |
|
74 .toolbarpaletteitem-box[type="spring"][place="toolbar"] { |
|
75 margin: 2px; |
|
76 } |
|
77 |
|
78 .toolbarpaletteitem-box[type="separator"][place="palette"] { |
|
79 width: 2px; |
|
80 height: 50px; |
|
81 } |
|
82 |
|
83 .toolbarpaletteitem-box[type="spacer"][place="palette"], |
|
84 .toolbarpaletteitem-box[type="spring"][place="palette"] { |
|
85 margin-top: 0; |
|
86 margin-bottom: 2px; |
|
87 height: 32px; |
|
88 } |
|
89 |
|
90 .toolbarpaletteitem-box[type="spring"][place="palette"] { |
|
91 background-position: center; |
|
92 margin-left: 8px; |
|
93 margin-right: 8px; |
|
94 } |
|
95 |
|
96 /* ..... drag and drop feedback ..... */ |
|
97 |
|
98 toolbarpaletteitem[place="toolbar"] { |
|
99 margin-left: -2px; |
|
100 margin-right: -2px; |
|
101 border-left: 2px solid transparent; |
|
102 border-right: 2px solid transparent; |
|
103 } |
|
104 |
|
105 toolbarpaletteitem[dragover="left"] { |
|
106 border-left-color: #000000; |
|
107 } |
|
108 |
|
109 toolbarpaletteitem[dragover="right"] { |
|
110 border-right-color: #000000; |
|
111 } |
|
112 |
|
113 toolbar[iconsize="small"] toolbarspacer { |
|
114 min-width: 24px !important; |
|
115 } |
|
116 |
|
117 toolbarspacer { |
|
118 min-width: 32px !important; |
|
119 } |
|
120 |