128000f4 |
1 | /* ***** BEGIN LICENSE BLOCK ***** |
2 | * Version: NPL 1.1/GPL 2.0/LGPL 2.1 |
f6e0a33f |
3 | * |
128000f4 |
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/ |
f6e0a33f |
8 | * |
128000f4 |
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 |
12 | * License. |
f6e0a33f |
13 | * |
128000f4 |
14 | * The Original Code is mozilla.org code. |
15 | * |
16 | * The Initial Developer of the Original Code is |
17 | * Netscape Communications Corporation. |
18 | * Portions created by the Initial Developer are Copyright (C) 1998-1999 |
19 | * the Initial Developer. All Rights Reserved. |
f6e0a33f |
20 | * |
21 | * Contributor(s): |
128000f4 |
22 | * Robert Kaiser <KaiRo@KaiRo.at> |
f6e0a33f |
23 | * |
128000f4 |
24 | * Alternatively, the contents of this file may be used under the terms of |
25 | * either the GNU General Public License Version 2 or later (the "GPL"), or |
26 | * the GNU Lesser General Public License Version 2.1 or later (the "LGPL"), |
27 | * in which case the provisions of the GPL or the LGPL are applicable instead |
28 | * of those above. If you wish to allow use of your version of this file only |
29 | * under the terms of either the GPL or the LGPL, and not to allow others to |
30 | * use your version of this file under the terms of the NPL, indicate your |
31 | * decision by deleting the provisions above and replace them with the notice |
32 | * and other provisions required by the GPL or the LGPL. If you do not delete |
33 | * the provisions above, a recipient may use your version of this file under |
34 | * the terms of any one of the NPL, the GPL or the LGPL. |
35 | * |
36 | * ***** END LICENSE BLOCK ***** */ |
f6e0a33f |
37 | |
38 | /* ===== global.css ===================================================== |
39 | == Styles that apply everywhere. |
40 | ======================================================================= */ |
41 | |
42 | /* all localizable skin settings shall live here */ |
43 | @import url("chrome://global/locale/intl.css"); |
44 | |
45 | @import url("chrome://global/skin/formatting.css"); |
46 | |
47 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
48 | |
49 | /* ::::: bindings ::::: */ |
50 | |
51 | button { |
52 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button"); |
53 | } |
54 | |
55 | button[type="menu"] { |
56 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button-menu"); |
57 | } |
58 | |
59 | button[type="menu-button"] { |
60 | -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button"); |
61 | } |
62 | |
63 | checkbox |
64 | { |
65 | -moz-binding : url("chrome://global/skin/classicBindings.xml#checkbox"); |
66 | } |
67 | |
68 | menulist |
69 | { |
70 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist"); |
71 | } |
72 | |
73 | menulist[editable="true"] |
74 | { |
75 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-editable") !important; |
76 | } |
77 | |
78 | menulist > menupopup, |
79 | .menulist-menupopup |
80 | { |
81 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulistpopup"); |
82 | } |
83 | |
84 | .menulist-compact |
85 | { |
86 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-compact"); |
87 | } |
88 | |
89 | radio |
90 | { |
91 | -moz-binding : url("chrome://global/skin/classicBindings.xml#radio"); |
92 | } |
93 | |
94 | grippy, grippy[collapse="before"] |
95 | { |
96 | -moz-binding : url("chrome://global/skin/classicBindings.xml#grippy"); |
97 | } |
98 | |
99 | splitter |
100 | { |
101 | -moz-binding : url("chrome://global/skin/classicBindings.xml#splitter"); |
102 | } |
103 | |
104 | tabs |
105 | { |
106 | -moz-binding: url("chrome://global/skin/tabBindings.xml#tabs"); |
107 | } |
108 | |
109 | toolbargrippy |
110 | { |
111 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy"); |
112 | } |
113 | |
114 | toolbargrippy[tbgrippy-collapsed="true"] |
115 | { |
116 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy-collapsed"); |
117 | } |
118 | |
119 | .treecell-popupcell-menu |
120 | { |
121 | -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important; |
122 | } |
123 | |
124 | /** |
125 | * XUL <window> element |
126 | **/ |
127 | window, |
128 | page, |
129 | dialog, |
130 | wizard |
131 | { |
132 | background-color : #CCD0DD; |
133 | color : black; |
134 | font : 3mm helvetica,arial,tahoma,sans-serif; |
135 | } |
136 | |
137 | [wait-cursor] |
138 | { |
139 | cursor : wait !important; |
140 | } |
141 | |
142 | /* deprecated */ |
143 | window.dialog |
144 | { |
145 | background-color : #CCD0DD; |
146 | padding : 8px 10px 10px 8px; |
147 | } |
148 | |
149 | /** |
150 | * XUL <box> debugging |
151 | **/ |
152 | :-moz-horizontal-box-debug |
153 | { |
154 | border : 2px solid blue; |
155 | border-top-width : 10px; |
156 | padding : 2px; |
157 | margin : 2px; |
158 | color : white; |
159 | } |
160 | |
161 | :-moz-vertical-box-debug |
162 | { |
163 | border : 2px solid red; |
164 | border-left-width : 10px; |
165 | padding : 2px; |
166 | margin : 2px; |
167 | color : white; |
168 | } |
169 | |
170 | /** |
171 | * Utility icons (used for alert dialogs, etc) |
172 | **/ |
173 | .message-icon |
174 | { |
175 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
176 | width:32px;height:32px; |
177 | } |
178 | |
179 | .alert-icon |
180 | { |
181 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
182 | width:32px;height:32px; |
183 | } |
184 | |
185 | .error-icon |
186 | { |
187 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
188 | width:32px;height:32px; |
189 | } |
190 | |
191 | .question-icon |
192 | { |
193 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
194 | width:32px;height:32px; |
195 | } |
196 | |
197 | /** |
198 | * status-bar |
199 | */ |
200 | statusbar |
201 | { |
202 | background-color : #666699; |
203 | color : #CCD0DD; |
204 | overflow : hidden; |
205 | border-top : 1px solid #9999CC; |
206 | /* min-height : 1.9em !important; */ |
207 | /* DON'T DELETE. Removes disappearance of scrollbars |
208 | * in content pane when window is made smaller. |
209 | * Talk to evaughan@netscape.com for details. |
210 | */ |
211 | min-width : 1px; |
212 | } |
213 | |
214 | statusbarpanel, .statusbar-panel |
215 | { |
216 | padding : 0px 1px 0px 1px; |
217 | } |
218 | |
219 | .statusbarpanel-icononly |
220 | { |
221 | padding : 0px; |
222 | } |
223 | |
224 | /** |
225 | * iframe default sizing |
226 | **/ |
227 | iframe |
228 | { |
229 | min-width : 10px; |
230 | min-height : 10px; |
231 | width : 100px; |
232 | height : 100px; |
233 | border : none; |
234 | } |
235 | |
236 | /* has to be in here since scoped stylesheets can't apply |
237 | to explicit children yet */ |
238 | caption |
239 | { |
f840e302 |
240 | margin : 0px 6px 2px 6px; |
f6e0a33f |
241 | padding : 0px 3px 0px 3px; |
242 | background-color : #CCD0DD; |
243 | } |
244 | |
245 | .tooltip-label |
246 | { |
247 | margin : 0px; |
248 | } |
128000f4 |
249 | |