accomodate recent XUL 1.0 changes
[themes.git] / EarlyBlue / editor / skin / EditorDialog.css
CommitLineData
afe91d6d 1/*
2 * The contents of this file are subject to the Netscape Public
3 * License Version 1.1 (the "License"); you may not use this file
4 * except in compliance with the License. You may obtain a copy of
5 * the License at http://www.mozilla.org/NPL/
6 *
7 * Software distributed under the License is distributed on an "AS
8 * IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9 * implied. See the License for the specific language governing
10 * rights and limitations under the License.
11 *
12 * The Original Code is Mozilla Communicator client code, released
13 * March 31, 1998.
14 *
15 * The Initial Developer of the Original Code is Netscape
16 * Communications Corporation. Portions created by Netscape are
17 * Copyright (C) 1998-1999 Netscape Communications Corporation. All
18 * Rights Reserved.
19 *
20 * Contributor(s):
21 * Pete Collins, Ben Goodger
22 */
23
24/*
25 THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR
26 CHANGES REVIEWED BY cmanske@netscape.com.
27*/
28/* Most should be moved to global files */
29
30/* The defaults are WAY to big! */
31titledbox {
32 margin: 2px 5px; 4px; 5px;
33 padding-top: 2px;
34 padding-bottom: 4px;
35}
36
37.MinWidth5em {
38 min-width: 5em;
39}
40
41.MinWidth10em {
42 min-width: 10em;
43}
44
45.MinWidth20em {
46 min-width: 20em;
47}
48
49.big-left-margin {
50 margin-left: 10px;
51}
52
53.middle {
54 -moz-box-align: center:
55}
56
57.bold {
58 font-weight: bold;
59}
60
61.italic {
62 font-style: italic;
63}
64
65.larger {
66 font-size: 120%;
67}
68
69
70.narrow {
71 width: 3em;
72}
73
74.align-right {
75 -moz-box-pack: end;
76}
77
78.wrap {
79 width: 1em;
80}
81/* end of "should be in global.css" */
82
83.color-well {
84 width:20px;
85 height: 1em;
86 border: 1px inset #CCD0DD;
87 /* Background color is set at runtime */
88}
89
90.color-well[default="true"] {
91 border: 1px solid transparent;
92 background-color: inherit;
93}
94
95.popup-trigger {
96 list-style-image: url(chrome://global/skin/scroll-down.gif);
97}
98
99/* temporary -- we need a simple box-based list defined in XBL */
100tree.list {
101 border: 1px inset #CCD0DD;
102 /* same as in menulist.css */
103 margin: 1px 5px 2px 5px;
104 width: 10em;
105 height: 3em;
106 /* use rows="#" in XUL to define height */
107}
108
109#ColorPreview {
110 border: 1px inset #CCD0DD;
111 margin-left: 10px;
112 padding-left: 5px;
113 padding-right: 5px;
114 min-width: 100px;
115 min-height: 50px;
116}
117
118#alignTypeSelect,label#alignLabel {
119 margin-left: 5px;
120}
121
122#MoreFewerButton[more="0"] {
123 list-style-image: url(chrome://global/skin/scroll-down.gif);
124 /* bug 9459 - changing button text doesn't resize width.
125 This covers that problem, but we want this size anyway */
126 min-width: 10em;
127}
128
129#MoreFewerButton[more="1"] {
130 list-style-image: url(chrome://global/skin/scroll-up.gif);
131 min-width: 10em;
132}
133
134#PreviousButton {
135 list-style-image: url(chrome://global/skin/arrow-left.gif);
136}
137
138#NextButton {
139 list-style-image: url(chrome://global/skin/arrow-right.gif);
140}
141
142#PreviousButton[type="row"] {
143 list-style-image: url(chrome://global/skin/arrow-up.gif);
144}
145
146#NextButton[type="row"] {
147 list-style-image: url(chrome://global/skin/arrow-down.gif);
148}
149
150#MisspelledWord {
151 font-weight: bold;
152}
153
154/* For a column of right-aligned text before
155 a column of input fields, e.g., InsertTable dialog
156*/
157.right {
158 /* doesn't work yet! must use align="right" in <text> */
159 text-align: right;
160}
161
162/* use outset shape for a button look */
163.colorpicker {
164 border: 1px outset #CCD0DD;
165 /* This should be the same as for textfield */
166 margin-left: 4px;
167 /* For a little extra space between buttons */
168 margin-bottom: 2px;
169}
170
171
172.colorpicker:active {
173 border: 1px inset #CCD0DD;
174}
175
176/* THIS SHOULD BE IN GLOBAL.CSS */
177.smallspacer {
178 width: 3px;
179 height: 3px;
180 min-width: 3px;
181 min-height: 3px;
182}
183
184.spacer {
185 width: 5px;
186 height: 5px;
187 min-width: 5px;
188 min-height: 5px;
189}
190
191.bigspacer {
192 width: 10px;
193 height: 10px;
194 min-width: 10px;
195 min-height: 10px;
196}
197
198#img-align-top {
199 list-style-image:url("chrome://editor/skin/images/img-align-top.gif");
200}
201#img-align-middle {
202 list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");
203}
204#img-align-bottom {
205 list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");
206}
207#img-align-right {
208 list-style-image:url("chrome://editor/skin/images/img-align-right.gif");
209}
210#img-align-left {
211 list-style-image:url("chrome://editor/skin/images/img-align-left.gif");
212}
213
214/* Rest are from Ben Goodger for Advanced Edit dialog
215 These need reviewing and eliminate all but essential attributes */
216/* Have made some mods and eliminated some unnecessary portions.
217 hope to merge most of the treecell formatting into global as some of
218 this "property list" style treecell formatting is used by cookie/signon
219 viewers. */
220
221
222#tagLabel {
223 font-weight: bold;
224}
225
226/* styles for an attribute tree-table */
227tree.AttributesTree {
228 min-width : 200px;
229 min-height: 200px;
230}
231
232tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {
233 padding-left : 0px;
234 padding-top : 0px;
235 padding-bottom : 0px;
236 padding-right : 0px;
237 margin-left : 0px;
238}
239
240input.AttributesCell {
241 border: none;
242 width: 100%;
243 background-color: #FFFFFF;
244 font-weight: normal;
245 border: none;
246 outline: none;
247 margin: 0px;
248 width: 100%;
249}
250
251treecell > input {
252 margin: 0px;
253 background-color: #E5E5E5 ! important;
254}