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");
42 THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
43 CHANGES REVIEWED BY cmanske@netscape.com.
46 /* The defaults are WAY to big! */
48 margin: 2px 5px /* 4px 5px */;
89 .menuitem-highlight-1 {
93 /* Use this with groove-thin in dialogs
94 to add margins to top and bottom
104 border: 1px inset #9C9CFF;
107 .color-well[default="true"] {
108 border: 1px solid transparent;
109 background-color: inherit;
113 /* override large default min-width */
118 .menu-list[focused="true"] {
123 -moz-user-focus: normal;
127 border: 2px outset #9C9CFF;
131 -moz-margin-end: 3px;
134 #ColorPickerSwatch[default="true"] {
135 border: 2px solid transparent;
136 background-color: inherit;
142 border: 1px inset #9C9CFF;
145 -moz-margin-start: 4px;
146 -moz-margin-end: 2px;
149 /* temporary -- we need a simple box-based list defined in XBL */
151 border: 1px inset #9C9CFF;
152 /* same as in menulist.css */
154 /* use rows="#" in XUL to define height */
158 border: 1px inset #9C9CFF;
159 -moz-margin-start: 10px;
160 -moz-padding-start: 5px;
161 -moz-padding-end: 5px;
166 /* These two should be the width of the checkbox and radio button images + margin + padding
167 Used to indent below those to the level of the text label next to image
182 -moz-margin-start: 5px;
185 /* ::::: table properties dialog ::::: */
187 #MoreFewerButton[more="0"] {
188 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
192 #MoreFewerButton[more="1"] {
193 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
198 list-style-image: url(chrome://global/skin/arrow/arrow-left.gif);
202 list-style-image: url(chrome://global/skin/arrow/arrow-right.gif);
205 #PreviousButton[type="row"] {
206 list-style-image: url(chrome://global/skin/arrow/arrow-up.gif);
209 #NextButton[type="row"] {
210 list-style-image: url(chrome://global/skin/arrow/arrow-down.gif);
213 /* ::::: spelling dialog ::::: */
228 /* ::::: color picker ::::: */
230 /* use outset shape for a button look */
232 border: 1px outset #9C9CFF;
233 /* This should be the same as for textbox */
234 -moz-margin-start: 4px;
235 /* For a little extra space between buttons */
239 .colorpicker:active {
240 border: 1px inset #9C9CFF;
268 .align-menu[value="top"] {
269 list-style-image:url("chrome://editor/skin/icons/img-align-top.gif");
272 .align-menu[value="center"] {
273 list-style-image:url("chrome://editor/skin/icons/img-align-middle.gif");
276 .align-menu[value="bottom"] {
277 list-style-image:url("chrome://editor/skin/icons/img-align-bottom.gif");
280 .align-menu[value="right"] {
281 list-style-image:url("chrome://editor/skin/icons/img-align-right.gif");
284 .align-menu[value="left"] {
285 list-style-image:url("chrome://editor/skin/icons/img-align-left.gif");
288 /* Don't change width/height of these without changing values in
289 GetOriginalWidth(), EdImageProps.js
292 border: 1px inset #9C9CFF;
300 overflow: -moz-hidden-unscrollable;
303 #preview-image-holder {
308 /* Rest are from Ben Goodger for Advanced Edit dialog
309 These need reviewing and eliminate all but essential attributes */
310 /* Have made some mods and eliminated some unnecessary portions.
311 hope to merge most of the treecell formatting into global as some of
312 this "property list" style treecell formatting is used by cookie/signon
319 /* styles for an attribute tree-table */
320 tree.AttributesTree {
325 /* ::::: select edit dialog ::::: */
327 #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-false) {
328 background: url("chrome://global/skin/checkbox/cbox.gif") 50% 50% no-repeat;
331 #SelectTreeChildren::-moz-tree-cell(SelectSelCol, checked-true) {
332 background: url("chrome://global/skin/checkbox/cbox-check.gif") 50% 50% no-repeat;
335 /* ::::: Publishing Progress ::::: */
337 .progressitem[progress="busy"] {
338 list-style-image: url("chrome://editor/skin/icons/progress-busy.gif");
341 .progressitem[progress="done"] {
342 list-style-image: url("chrome://editor/skin/icons/progress-done.gif");
345 .progressitem[progress="failed"] {
346 list-style-image: url("chrome://editor/skin/icons/progress-failed.gif");