1 /* ***** BEGIN LICENSE BLOCK *****
2 * Version: NPL 1.1/GPL 2.0/LGPL 2.1
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/
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
14 * The Original Code is mozilla.org code.
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.
22 * Pete Collins, Ben Goodger
23 * Robert Kaiser <KaiRo@KaiRo.at>
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.
37 * ***** END LICENSE BLOCK ***** */
39 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
77 .menuitem-highlight-1 {
84 border: 1px inset #CCD0DD;
87 .color-well[default="true"] {
88 border: 1px solid transparent !important;
89 background-color: inherit !important;
93 /* override large default min-width */
99 -moz-user-focus: normal;
103 border: 2px outset #CCD0DD;
107 -moz-margin-end: 3px;
110 #ColorPickerSwatch[default="true"] {
111 border: 2px solid transparent;
112 background-color: inherit;
118 border: 1px inset #CCD0DD;
121 -moz-margin-start: 4px;
122 -moz-margin-end: 2px;
126 border: 1px inset #CCD0DD;
127 -moz-margin-start: 10px;
128 -moz-padding-start: 5px;
129 -moz-padding-end: 5px;
134 /* ::::: table properties dialog ::::: */
136 #MoreFewerButton[more="0"] {
137 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
141 #MoreFewerButton[more="1"] {
142 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
147 list-style-image: url(chrome://global/skin/arrow/arrow-left.gif);
151 list-style-image: url(chrome://global/skin/arrow/arrow-right.gif);
154 #PreviousButton[type="row"] {
155 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
158 #NextButton[type="row"] {
159 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
162 /* ::::: spelling dialog ::::: */
173 /* ::::: color picker ::::: */
175 /* use outset shape for a button look */
177 border: 1px outset #CCD0DD;
178 /* This should be the same as for textbox */
179 -moz-margin-start: 4px;
180 /* For a little extra space between buttons */
185 .colorpicker:active {
186 border: 1px inset #CCD0DD;
210 /* These two should be the width of the checkbox and radio button images + margin + padding
211 Used to indent below those to the level of the text label next to image
224 .align-menu > .menu-iconic-left > .menu-iconic-icon {
229 .align-menu[value="top"] {
230 list-style-image:url("chrome://editor/skin/icons/img-align-top.gif") !important;
233 .align-menu[value="center"] {
234 list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif") !important;
237 .align-menu[value="bottom"] {
238 list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif") !important;
241 .align-menu[value="right"] {
242 list-style-image:url("chrome://editor/skin/icons/img-align-right.gif") !important;
245 .align-menu[value="left"] {
246 list-style-image:url("chrome://editor/skin/icons/img-align-left.gif") !important;
249 /* Don't change width/height of these without changing values in
250 GetOriginalWidth(), EdImageProps.js
253 border: 1px inset #CCD0DD;
261 overflow: -moz-hidden-unscrollable;
264 #preview-image-holder {
269 /* Rest are from Ben Goodger for Advanced Edit dialog
270 These need reviewing and eliminate all but essential attributes */
271 /* Have made some mods and eliminated some unnecessary portions.
272 hope to merge most of the treecell formatting into global as some of
273 this "property list" style treecell formatting is used by cookie/signon
281 /* styles for an attribute tree-table */
282 tree.AttributesTree {
287 /* ::::: select edit dialog ::::: */
289 #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
290 background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
293 /* ::::: Publishing Progress ::::: */
295 .progressitem[progress="busy"] {
296 list-style-image: url("chrome://editor/skin/icons/progress-busy.gif");
299 .progressitem[progress="done"] {
300 list-style-image: url("chrome://editor/skin/icons/progress-done.gif");
303 .progressitem[progress="failed"] {
304 list-style-image: url("chrome://editor/skin/icons/progress-failed.gif");