2 * The contents of this file are subject to the Netscape Public
\r
3 * License Version 1.1 (the "License"); you may not use this file
\r
4 * except in compliance with the License. You may obtain a copy of
\r
5 * the License at http://www.mozilla.org/NPL/
\r
7 * Software distributed under the License is distributed on an "AS
\r
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
\r
9 * implied. See the License for the specific language governing
\r
10 * rights and limitations under the License.
\r
12 * The Original Code is Mozilla Communicator client code, released
\r
15 * The Initial Developer of the Original Code is Netscape
\r
16 * Communications Corporation. Portions created by Netscape are
\r
17 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
\r
21 * Pete Collins, Ben Goodger
\r
25 THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
\r
26 CHANGES REVIEWED BY cmanske@netscape.com.
\r
28 /* Most should be moved to global files */
\r
30 /* The defaults are WAY to big! */
\r
32 margin: 2px 5px; 4px; 5px;
\r
34 padding-bottom: 4px;
\r
54 vertical-align: middle:
\r
81 /* end of "should be in global.css" */
\r
86 border: 1px inset #CCCCDD;
\r
87 /* Background color is set at runtime */
\r
90 .color-well[default="true"] {
\r
91 border: 1px solid transparent;
\r
92 background-color: inherit;
\r
96 list-style-image: url(chrome://global/skin/scroll-down.gif);
\r
99 /* temporary -- we need a simple box-based list defined in XBL */
\r
101 border: 1px inset #CCCCDD;
\r
102 /* same as in menulist.css */
\r
103 margin: 1px 5px 2px 5px;
\r
106 /* use rows="#" in XUL to define height */
\r
110 border: 1px inset #CCCCDD;
\r
113 padding-right: 5px;
\r
118 #alignTypeSelect,label#alignLabel {
\r
122 #MoreFewerButton[more="0"] {
\r
123 list-style-image: url(chrome://global/skin/scroll-down.gif);
\r
124 /* bug 9459 - changing button text doesn't resize width.
\r
125 This covers that problem, but we want this size anyway */
\r
129 #MoreFewerButton[more="1"] {
\r
130 list-style-image: url(chrome://global/skin/scroll-up.gif);
\r
135 list-style-image: url(chrome://global/skin/arrow-left.gif);
\r
139 list-style-image: url(chrome://global/skin/arrow-right.gif);
\r
142 #PreviousButton[type="row"] {
\r
143 list-style-image: url(chrome://global/skin/arrow-up.gif);
\r
146 #NextButton[type="row"] {
\r
147 list-style-image: url(chrome://global/skin/arrow-down.gif);
\r
154 /* For a column of right-aligned text before
\r
155 a column of input fields, e.g., InsertTable dialog
\r
158 /* doesn't work yet! must use align="right" in <text> */
\r
162 /* use outset shape for a button look */
\r
164 border: 1px outset #CCCCDD;
\r
165 /* This should be the same as for textfield */
\r
167 /* For a little extra space between buttons */
\r
168 margin-bottom: 2px;
\r
172 .colorpicker:active {
\r
173 border: 1px inset #CCCCDD;
\r
176 /* THIS SHOULD BE IN GLOBAL.CSS */
\r
199 list-style-image:url("chrome://editor/skin/images/img-align-top.gif");
\r
201 #img-align-middle {
\r
202 list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");
\r
204 #img-align-bottom {
\r
205 list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");
\r
208 list-style-image:url("chrome://editor/skin/images/img-align-right.gif");
\r
211 list-style-image:url("chrome://editor/skin/images/img-align-left.gif");
\r
214 /* Rest are from Ben Goodger for Advanced Edit dialog
\r
215 These need reviewing and eliminate all but essential attributes */
\r
216 /* Have made some mods and eliminated some unnecessary portions.
\r
217 hope to merge most of the treecell formatting into global as some of
\r
218 this "property list" style treecell formatting is used by cookie/signon
\r
226 /* styles for an attribute tree-table */
\r
227 tree.AttributesTree {
\r
232 tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {
\r
233 padding-left : 0px;
\r
235 padding-bottom : 0px;
\r
236 padding-right : 0px;
\r
240 input.AttributesCell {
\r
243 background-color: #FFFFFF;
\r
244 font-weight: normal;
\r
253 background-color: #E5E5E5 ! important;
\r