1d798428 |
1 | /* \r |
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 |
6 | * \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 |
11 | * \r |
12 | * The Original Code is Mozilla Communicator client code, released\r |
13 | * March 31, 1998.\r |
14 | * \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 |
18 | * Rights Reserved.\r |
19 | * \r |
20 | * Contributor(s): \r |
21 | * Pete Collins, Ben Goodger\r |
22 | */\r |
23 | \r |
24 | /*\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 |
27 | */\r |
28 | /* Most should be moved to global files */\r |
29 | \r |
30 | /* The defaults are WAY to big! */\r |
31 | titledbox {\r |
32 | margin: 2px 5px; 4px; 5px;\r |
33 | padding-top: 2px;\r |
34 | padding-bottom: 4px;\r |
35 | }\r |
36 | \r |
37 | .MinWidth5em {\r |
38 | min-width: 5em;\r |
39 | }\r |
40 | \r |
41 | .MinWidth10em {\r |
42 | min-width: 10em;\r |
43 | }\r |
44 | \r |
45 | .MinWidth20em {\r |
46 | min-width: 20em;\r |
47 | }\r |
48 | \r |
49 | .big-left-margin {\r |
50 | margin-left: 10px;\r |
51 | }\r |
52 | \r |
53 | .middle {\r |
54 | vertical-align: middle:\r |
55 | }\r |
56 | \r |
57 | .bold {\r |
58 | font-weight: bold;\r |
59 | }\r |
60 | \r |
61 | .italic {\r |
62 | font-style: italic;\r |
63 | }\r |
64 | \r |
65 | .larger {\r |
66 | font-size: 120%;\r |
67 | }\r |
68 | \r |
69 | \r |
70 | .narrow {\r |
71 | width: 3em;\r |
72 | }\r |
73 | \r |
74 | .align-right {\r |
75 | text-align: right;\r |
76 | }\r |
77 | \r |
78 | .wrap {\r |
79 | width: 1em;\r |
80 | }\r |
81 | /* end of "should be in global.css" */\r |
82 | \r |
83 | .color-well {\r |
84 | width:20px;\r |
85 | height: 1em; \r |
86 | border: 1px inset #CCCCDD;\r |
87 | /* Background color is set at runtime */\r |
88 | }\r |
89 | \r |
90 | .color-well[default="true"] {\r |
91 | border: 1px solid transparent;\r |
92 | background-color: inherit;\r |
93 | }\r |
94 | \r |
95 | .popup-trigger {\r |
96 | list-style-image: url(chrome://global/skin/scroll-down.gif);\r |
97 | }\r |
98 | \r |
99 | /* temporary -- we need a simple box-based list defined in XBL */\r |
100 | tree.list {\r |
101 | border: 1px inset #CCCCDD;\r |
102 | /* same as in menulist.css */\r |
103 | margin: 1px 5px 2px 5px;\r |
104 | width: 10em;\r |
105 | height: 3em;\r |
106 | /* use rows="#" in XUL to define height */\r |
107 | }\r |
108 | \r |
109 | #ColorPreview {\r |
110 | border: 1px inset #CCCCDD;\r |
111 | margin-left: 10px;\r |
112 | padding-left: 5px;\r |
113 | padding-right: 5px;\r |
114 | min-width: 100px;\r |
115 | min-height: 50px;\r |
116 | }\r |
117 | \r |
118 | #alignTypeSelect,label#alignLabel {\r |
119 | margin-left: 5px;\r |
120 | }\r |
121 | \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 |
126 | min-width: 10em;\r |
127 | }\r |
128 | \r |
129 | #MoreFewerButton[more="1"] {\r |
130 | list-style-image: url(chrome://global/skin/scroll-up.gif);\r |
131 | min-width: 10em;\r |
132 | }\r |
133 | \r |
134 | #PreviousButton {\r |
135 | list-style-image: url(chrome://global/skin/arrow-left.gif);\r |
136 | }\r |
137 | \r |
138 | #NextButton {\r |
139 | list-style-image: url(chrome://global/skin/arrow-right.gif);\r |
140 | }\r |
141 | \r |
142 | #PreviousButton[type="row"] {\r |
143 | list-style-image: url(chrome://global/skin/arrow-up.gif);\r |
144 | }\r |
145 | \r |
146 | #NextButton[type="row"] {\r |
147 | list-style-image: url(chrome://global/skin/arrow-down.gif);\r |
148 | }\r |
149 | \r |
150 | #MisspelledWord {\r |
151 | font-weight: bold;\r |
152 | }\r |
153 | \r |
154 | /* For a column of right-aligned text before \r |
155 | a column of input fields, e.g., InsertTable dialog\r |
156 | */\r |
157 | .right {\r |
158 | /* doesn't work yet! must use align="right" in <text> */\r |
159 | text-align: right;\r |
160 | }\r |
161 | \r |
162 | /* use outset shape for a button look */\r |
163 | .colorpicker {\r |
164 | border: 1px outset #CCCCDD;\r |
165 | /* This should be the same as for textfield */\r |
166 | margin-left: 4px;\r |
167 | /* For a little extra space between buttons */\r |
168 | margin-bottom: 2px;\r |
169 | }\r |
170 | \r |
171 | \r |
172 | .colorpicker:active {\r |
173 | border: 1px inset #CCCCDD;\r |
174 | }\r |
175 | \r |
176 | /* THIS SHOULD BE IN GLOBAL.CSS */\r |
177 | .smallspacer {\r |
178 | width: 3px;\r |
179 | height: 3px;\r |
180 | min-width: 3px;\r |
181 | min-height: 3px;\r |
182 | }\r |
183 | \r |
184 | .spacer {\r |
185 | width: 5px;\r |
186 | height: 5px;\r |
187 | min-width: 5px;\r |
188 | min-height: 5px;\r |
189 | }\r |
190 | \r |
191 | .bigspacer {\r |
192 | width: 10px;\r |
193 | height: 10px;\r |
194 | min-width: 10px;\r |
195 | min-height: 10px;\r |
196 | }\r |
197 | \r |
198 | #img-align-top {\r |
199 | list-style-image:url("chrome://editor/skin/images/img-align-top.gif");\r |
200 | }\r |
201 | #img-align-middle {\r |
202 | list-style-image:url("chrome://editor/skin/images/img-align-middle.gif");\r |
203 | }\r |
204 | #img-align-bottom {\r |
205 | list-style-image:url("chrome://editor/skin/images/img-align-bottom.gif");\r |
206 | }\r |
207 | #img-align-right {\r |
208 | list-style-image:url("chrome://editor/skin/images/img-align-right.gif");\r |
209 | }\r |
210 | #img-align-left {\r |
211 | list-style-image:url("chrome://editor/skin/images/img-align-left.gif");\r |
212 | }\r |
213 | \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 |
219 | viewers. */\r |
220 | \r |
221 | \r |
222 | #tagLabel {\r |
223 | font-weight: bold;\r |
224 | }\r |
225 | \r |
226 | /* styles for an attribute tree-table */\r |
227 | tree.AttributesTree {\r |
228 | min-width : 200px;\r |
229 | min-height: 200px;\r |
230 | }\r |
231 | \r |
232 | tree.AttributesTree > treechildren > treeitem > treerow > treecell.value {\r |
233 | padding-left : 0px;\r |
234 | padding-top : 0px;\r |
235 | padding-bottom : 0px;\r |
236 | padding-right : 0px;\r |
237 | margin-left : 0px;\r |
238 | }\r |
239 | \r |
240 | input.AttributesCell {\r |
241 | border: none;\r |
242 | width: 100%;\r |
243 | background-color: #FFFFFF;\r |
244 | font-weight: normal;\r |
245 | border: none;\r |
246 | outline: none;\r |
247 | margin: 0px;\r |
248 | width: 100%;\r |
249 | }\r |
250 | \r |
251 | treecell > input {\r |
252 | margin: 0px;\r |
253 | background-color: #E5E5E5 ! important;\r |
254 | }\r |
255 | \r |