switch chatzilla theme files to MPL2 as the original files switched for the themes...
[themes.git] / LCARStrek / editor / EditorDialog.css
CommitLineData
351107c9 1/* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3 *
4 * The contents of this file are subject to the Netscape Public License
5 * Version 1.1 (the "License"); you may not use this file except in
6 * compliance with the License. You may obtain a copy of the License at
7 * http://www.mozilla.org/NPL/
8 *
9 * Software distributed under the License is distributed on an "AS IS" basis,
10 * WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
11 * for the specific language governing rights and limitations under the
12 * License.
13 *
14 * The Original Code is mozilla.org code.
15 *
16 * The Initial Developer of the Original Code is
17 * Netscape Communications Corporation.
18 * Portions created by the Initial Developer are Copyright (C) 1998
19 * the Initial Developer. All Rights Reserved.
20 *
21 * Contributor(s):
22 * Pete Collins, Ben Goodger
23 * Robert Kaiser <KaiRo@KaiRo.at>
24 *
25 * Alternatively, the contents of this file may be used under the terms of
26 * either the GNU General Public License Version 2 or later (the "GPL"), or
27 * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
28 * in which case the provisions of the GPL or the LGPL are applicable instead
29 * of those above. If you wish to allow use of your version of this file only
30 * under the terms of either the GPL or the LGPL, and not to allow others to
31 * use your version of this file under the terms of the NPL, indicate your
32 * decision by deleting the provisions above and replace them with the notice
33 * and other provisions required by the GPL or the LGPL. If you do not delete
34 * the provisions above, a recipient may use your version of this file under
35 * the terms of any one of the NPL, the GPL or the LGPL.
36 *
37 * ***** END LICENSE BLOCK ***** */
38
39@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
40
351107c9 41.MinWidth5em {
42 min-width: 5em;
43}
44
45.MinWidth10em {
46 min-width: 10em;
47}
48
b1eaa419 49.MinWidth15em {
50 min-width: 15em;
51}
52
351107c9 53.MinWidth20em {
54 min-width: 20em;
55}
56
351107c9 57.bold {
58 font-weight: bold;
59}
60
61.italic {
62 font-style: italic;
63}
64
65.larger {
66 font-size: 120%;
67}
68
351107c9 69.narrow {
70 width: 3em;
71}
72
73.wrap {
74 width: 1em;
75}
76
77.menuitem-highlight-1 {
b1eaa419 78 font-weight: bold;
351107c9 79}
80
351107c9 81.color-well {
82 width: 20px;
83 height: 12px;
84 border: 1px inset #9C9CFF;
85}
86
87.color-well[default="true"] {
88 border: 1px solid transparent;
89 background-color: inherit;
90}
91
92.color-button {
93 /* override large default min-width */
94 min-width : 0px;
95 margin: 2px;
96}
97
351107c9 98#ColorPicker {
99 -moz-user-focus: normal;
100}
101
102#ColorPickerSwatch {
b1eaa419 103 border: 2px outset #9C9CFF;
351107c9 104 width: 25px;
105 height: 20px;
02920d2b
RK
106 margin: 0;
107 -moz-margin-end: 3px;
351107c9 108}
109
110#ColorPickerSwatch[default="true"] {
b1eaa419 111 border: 2px solid transparent;
351107c9 112 background-color: inherit;
113}
114
115#LastPickedColor {
116 width: 17px;
117 height: 13px;
118 border: 1px inset #9C9CFF;
02920d2b
RK
119 margin-top: 1px;
120 margin-bottom: 2px;
121 -moz-margin-start: 4px;
122 -moz-margin-end: 2px;
351107c9 123}
124
351107c9 125#ColorPreview {
126 border: 1px inset #9C9CFF;
8caa872d
RK
127 -moz-margin-start: 10px;
128 -moz-padding-start: 5px;
129 -moz-padding-end: 5px;
351107c9 130 min-width: 100px;
131 min-height: 50px;
132}
133
b1eaa419 134/* ::::: table properties dialog ::::: */
135
351107c9 136#MoreFewerButton[more="0"] {
b1eaa419 137 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
351107c9 138 min-width: 12em;
139}
140
351107c9 141#MoreFewerButton[more="1"] {
b1eaa419 142 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
351107c9 143 min-width: 12em;
144}
145
146#PreviousButton {
b1eaa419 147 list-style-image: url(chrome://global/skin/arrow/arrow-left.gif);
351107c9 148}
149
150#NextButton {
b1eaa419 151 list-style-image: url(chrome://global/skin/arrow/arrow-right.gif);
351107c9 152}
153
154#PreviousButton[type="row"] {
b1eaa419 155 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
351107c9 156}
157
158#NextButton[type="row"] {
b1eaa419 159 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
351107c9 160}
161
162/* ::::: spelling dialog ::::: */
163
351107c9 164#ReplaceWordInput {
165 min-width: 16em;
166 width: 16em;
167}
168
169.spell-check {
170 min-width: 8em;
171}
172
173/* ::::: color picker ::::: */
174
175/* use outset shape for a button look */
176.colorpicker {
177 border: 1px outset #9C9CFF;
178 /* This should be the same as for textbox */
8caa872d 179 -moz-margin-start: 4px;
351107c9 180 /* For a little extra space between buttons */
181 margin-bottom: 2px;
182}
183
351107c9 184.colorpicker:active {
185 border: 1px inset #9C9CFF;
186}
187
188.smallspacer {
189 width: 3px;
190 height: 3px;
191 min-width: 3px;
192 min-height: 3px;
193}
194
195.spacer {
196 width: 5px;
197 height: 5px;
198 min-width: 5px;
199 min-height: 5px;
200}
201
202.bigspacer {
203 width: 10px;
204 height: 10px;
205 min-width: 10px;
206 min-height: 10px;
207}
208
ff196f68
RK
209/* These two should be the width of the checkbox and radio button images + margin + padding
210 Used to indent below those to the level of the text label next to image
211*/
212
213.checkbox-spacer {
214 width: 16px;
215 min-width: 16px;
216}
217
218.radio-spacer {
219 width: 16px;
220 min-width: 16px;
221}
222
8b17a53f
RK
223.align-menu > .menu-iconic-left > .menu-iconic-icon {
224 height: auto;
225 width: auto;
b1eaa419 226}
227
351107c9 228.align-menu[value="top"] {
8b17a53f 229 list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important;
351107c9 230}
231
232.align-menu[value="center"] {
8b17a53f 233 list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important;
351107c9 234}
235
236.align-menu[value="bottom"] {
8b17a53f 237 list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important;
351107c9 238}
239
240.align-menu[value="right"] {
8b17a53f 241 list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important;
351107c9 242}
243
244.align-menu[value="left"] {
8b17a53f 245 list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important;
351107c9 246}
247
248/* Don't change width/height of these without changing values in
249 GetOriginalWidth(), EdImageProps.js
250*/
251#preview-image-box {
252 border: 1px inset #9C9CFF;
b1eaa419 253 width: 82px;
254 max-width: 82px;
255 min-width: 82px;
256 height: 52px;
257 max-height: 52px;
258 min-height: 52px;
02920d2b 259 margin: 6px 5px;
136d0f43 260 overflow: -moz-hidden-unscrollable;
351107c9 261}
262
263#preview-image-holder {
b1eaa419 264 padding: 0px;
265 margin: 0px;
351107c9 266}
267
268/* Rest are from Ben Goodger for Advanced Edit dialog
269 These need reviewing and eliminate all but essential attributes */
270/* Have made some mods and eliminated some unnecessary portions.
271 hope to merge most of the treecell formatting into global as some of
272 this "property list" style treecell formatting is used by cookie/signon
273 viewers. */
274
351107c9 275#tagLabel {
276 font-weight: bold;
277}
278
279/* styles for an attribute tree-table */
280tree.AttributesTree {
b1eaa419 281 min-width: 200px;
351107c9 282 min-height: 200px;
283}
d07092f5 284
7aa65558 285/* ::::: select edit dialog ::::: */
286
01fc5c11 287#SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
7aa65558 288 background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
289}
290
d07092f5 291/* ::::: Publishing Progress ::::: */
292
293.progressitem[progress="busy"] {
294 list-style-image: url("chrome://editor/skin/icons/progress-busy.gif");
295}
296
297.progressitem[progress="done"] {
298 list-style-image: url("chrome://editor/skin/icons/progress-done.gif");
299}
300
301.progressitem[progress="failed"] {
302 list-style-image: url("chrome://editor/skin/icons/progress-failed.gif");
303}