Commit | Line | Data |
---|---|---|
9099c61d RK |
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/. */ | |
351107c9 | 4 | |
5 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
6 | ||
351107c9 | 7 | .MinWidth5em { |
8 | min-width: 5em; | |
9 | } | |
10 | ||
11 | .MinWidth10em { | |
12 | min-width: 10em; | |
13 | } | |
14 | ||
15 | .MinWidth20em { | |
16 | min-width: 20em; | |
17 | } | |
18 | ||
351107c9 | 19 | .bold { |
20 | font-weight: bold; | |
21 | } | |
22 | ||
23 | .italic { | |
24 | font-style: italic; | |
25 | } | |
26 | ||
27 | .larger { | |
28 | font-size: 120%; | |
29 | } | |
30 | ||
351107c9 | 31 | .narrow { |
32 | width: 3em; | |
33 | } | |
34 | ||
35 | .wrap { | |
36 | width: 1em; | |
37 | } | |
38 | ||
39 | .menuitem-highlight-1 { | |
b1eaa419 | 40 | font-weight: bold; |
351107c9 | 41 | } |
42 | ||
351107c9 | 43 | .color-well { |
44 | width: 20px; | |
45 | height: 12px; | |
46 | border: 1px inset #9C9CFF; | |
47 | } | |
48 | ||
49 | .color-well[default="true"] { | |
50 | border: 1px solid transparent; | |
51 | background-color: inherit; | |
52 | } | |
53 | ||
54 | .color-button { | |
55 | /* override large default min-width */ | |
56 | min-width : 0px; | |
57 | margin: 2px; | |
58 | } | |
59 | ||
351107c9 | 60 | #ColorPicker { |
61 | -moz-user-focus: normal; | |
62 | } | |
63 | ||
64 | #ColorPickerSwatch { | |
b1eaa419 | 65 | border: 2px outset #9C9CFF; |
351107c9 | 66 | width: 25px; |
67 | height: 20px; | |
02920d2b RK |
68 | margin: 0; |
69 | -moz-margin-end: 3px; | |
351107c9 | 70 | } |
71 | ||
72 | #ColorPickerSwatch[default="true"] { | |
b1eaa419 | 73 | border: 2px solid transparent; |
351107c9 | 74 | background-color: inherit; |
75 | } | |
76 | ||
77 | #LastPickedColor { | |
78 | width: 17px; | |
79 | height: 13px; | |
80 | border: 1px inset #9C9CFF; | |
02920d2b RK |
81 | margin-top: 1px; |
82 | margin-bottom: 2px; | |
83 | -moz-margin-start: 4px; | |
84 | -moz-margin-end: 2px; | |
351107c9 | 85 | } |
86 | ||
351107c9 | 87 | #ColorPreview { |
88 | border: 1px inset #9C9CFF; | |
8caa872d RK |
89 | -moz-margin-start: 10px; |
90 | -moz-padding-start: 5px; | |
91 | -moz-padding-end: 5px; | |
351107c9 | 92 | min-width: 100px; |
93 | min-height: 50px; | |
94 | } | |
95 | ||
b1eaa419 | 96 | /* ::::: table properties dialog ::::: */ |
97 | ||
351107c9 | 98 | #MoreFewerButton[more="0"] { |
b1eaa419 | 99 | list-style-image: url(chrome://global/skin/arrow/arrow-down.gif); |
351107c9 | 100 | min-width: 12em; |
101 | } | |
102 | ||
351107c9 | 103 | #MoreFewerButton[more="1"] { |
b1eaa419 | 104 | list-style-image: url(chrome://global/skin/arrow/arrow-up.gif); |
351107c9 | 105 | min-width: 12em; |
106 | } | |
107 | ||
108 | #PreviousButton { | |
b1eaa419 | 109 | list-style-image: url(chrome://global/skin/arrow/arrow-left.gif); |
351107c9 | 110 | } |
111 | ||
112 | #NextButton { | |
b1eaa419 | 113 | list-style-image: url(chrome://global/skin/arrow/arrow-right.gif); |
351107c9 | 114 | } |
115 | ||
116 | #PreviousButton[type="row"] { | |
b1eaa419 | 117 | list-style-image: url(chrome://global/skin/arrow/arrow-up.gif); |
351107c9 | 118 | } |
119 | ||
120 | #NextButton[type="row"] { | |
b1eaa419 | 121 | list-style-image: url(chrome://global/skin/arrow/arrow-down.gif); |
351107c9 | 122 | } |
123 | ||
124 | /* ::::: spelling dialog ::::: */ | |
125 | ||
351107c9 | 126 | #ReplaceWordInput { |
127 | min-width: 16em; | |
128 | width: 16em; | |
129 | } | |
130 | ||
131 | .spell-check { | |
132 | min-width: 8em; | |
133 | } | |
134 | ||
135 | /* ::::: color picker ::::: */ | |
136 | ||
137 | /* use outset shape for a button look */ | |
138 | .colorpicker { | |
139 | border: 1px outset #9C9CFF; | |
140 | /* This should be the same as for textbox */ | |
8caa872d | 141 | -moz-margin-start: 4px; |
351107c9 | 142 | /* For a little extra space between buttons */ |
143 | margin-bottom: 2px; | |
144 | } | |
145 | ||
351107c9 | 146 | .colorpicker:active { |
147 | border: 1px inset #9C9CFF; | |
148 | } | |
149 | ||
150 | .smallspacer { | |
151 | width: 3px; | |
152 | height: 3px; | |
153 | min-width: 3px; | |
154 | min-height: 3px; | |
155 | } | |
156 | ||
157 | .spacer { | |
158 | width: 5px; | |
159 | height: 5px; | |
160 | min-width: 5px; | |
161 | min-height: 5px; | |
162 | } | |
163 | ||
164 | .bigspacer { | |
165 | width: 10px; | |
166 | height: 10px; | |
167 | min-width: 10px; | |
168 | min-height: 10px; | |
169 | } | |
170 | ||
ff196f68 RK |
171 | /* These two should be the width of the checkbox and radio button images + margin + padding |
172 | Used to indent below those to the level of the text label next to image | |
173 | */ | |
174 | ||
175 | .checkbox-spacer { | |
176 | width: 16px; | |
177 | min-width: 16px; | |
178 | } | |
179 | ||
180 | .radio-spacer { | |
181 | width: 16px; | |
182 | min-width: 16px; | |
183 | } | |
184 | ||
8b17a53f RK |
185 | .align-menu > .menu-iconic-left > .menu-iconic-icon { |
186 | height: auto; | |
187 | width: auto; | |
b1eaa419 | 188 | } |
189 | ||
351107c9 | 190 | .align-menu[value="top"] { |
8b17a53f | 191 | list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important; |
351107c9 | 192 | } |
193 | ||
194 | .align-menu[value="center"] { | |
8b17a53f | 195 | list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important; |
351107c9 | 196 | } |
197 | ||
198 | .align-menu[value="bottom"] { | |
8b17a53f | 199 | list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important; |
351107c9 | 200 | } |
201 | ||
202 | .align-menu[value="right"] { | |
8b17a53f | 203 | list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important; |
351107c9 | 204 | } |
205 | ||
206 | .align-menu[value="left"] { | |
8b17a53f | 207 | list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important; |
351107c9 | 208 | } |
209 | ||
210 | /* Don't change width/height of these without changing values in | |
211 | GetOriginalWidth(), EdImageProps.js | |
8f5d5e21 | 212 | */ |
351107c9 | 213 | #preview-image-box { |
214 | border: 1px inset #9C9CFF; | |
b1eaa419 | 215 | width: 82px; |
216 | max-width: 82px; | |
217 | min-width: 82px; | |
218 | height: 52px; | |
219 | max-height: 52px; | |
220 | min-height: 52px; | |
02920d2b | 221 | margin: 6px 5px; |
136d0f43 | 222 | overflow: -moz-hidden-unscrollable; |
351107c9 | 223 | } |
224 | ||
225 | #preview-image-holder { | |
b1eaa419 | 226 | padding: 0px; |
227 | margin: 0px; | |
351107c9 | 228 | } |
229 | ||
230 | /* Rest are from Ben Goodger for Advanced Edit dialog | |
231 | These need reviewing and eliminate all but essential attributes */ | |
232 | /* Have made some mods and eliminated some unnecessary portions. | |
233 | hope to merge most of the treecell formatting into global as some of | |
234 | this "property list" style treecell formatting is used by cookie/signon | |
235 | viewers. */ | |
236 | ||
351107c9 | 237 | #tagLabel { |
238 | font-weight: bold; | |
239 | } | |
240 | ||
241 | /* styles for an attribute tree-table */ | |
8f5d5e21 | 242 | .AttributesTree { |
b1eaa419 | 243 | min-width: 200px; |
351107c9 | 244 | min-height: 200px; |
245 | } | |
d07092f5 | 246 | |
7aa65558 | 247 | /* ::::: select edit dialog ::::: */ |
248 | ||
01fc5c11 | 249 | #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) { |
7aa65558 | 250 | background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat; |
251 | } | |
252 | ||
d07092f5 | 253 | /* ::::: Publishing Progress ::::: */ |
254 | ||
255 | .progressitem[progress="busy"] { | |
256 | list-style-image: url("chrome://editor/skin/icons/progress-busy.gif"); | |
257 | } | |
258 | ||
259 | .progressitem[progress="done"] { | |
260 | list-style-image: url("chrome://editor/skin/icons/progress-done.gif"); | |
261 | } | |
262 | ||
263 | .progressitem[progress="failed"] { | |
264 | list-style-image: url("chrome://editor/skin/icons/progress-failed.gif"); | |
265 | } |