f6e0a33f |
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 | * |
22 | */ |
23 | |
24 | /* ===== global.css ===================================================== |
25 | == Styles that apply everywhere. |
26 | ======================================================================= */ |
27 | |
28 | /* all localizable skin settings shall live here */ |
29 | @import url("chrome://global/locale/intl.css"); |
30 | |
31 | @import url("chrome://global/skin/formatting.css"); |
32 | |
33 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
34 | |
35 | /* ::::: bindings ::::: */ |
36 | |
37 | button { |
38 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button"); |
39 | } |
40 | |
41 | button[type="menu"] { |
42 | -moz-binding: url("chrome://global/skin/buttonBindings.xml#button-menu"); |
43 | } |
44 | |
45 | button[type="menu-button"] { |
46 | -moz-binding: url("chrome://global/content/bindings/button.xml#menu-button"); |
47 | } |
48 | |
49 | checkbox |
50 | { |
51 | -moz-binding : url("chrome://global/skin/classicBindings.xml#checkbox"); |
52 | } |
53 | |
54 | menulist |
55 | { |
56 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist"); |
57 | } |
58 | |
59 | menulist[editable="true"] |
60 | { |
61 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-editable") !important; |
62 | } |
63 | |
64 | menulist > menupopup, |
65 | .menulist-menupopup |
66 | { |
67 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulistpopup"); |
68 | } |
69 | |
70 | .menulist-compact |
71 | { |
72 | -moz-binding : url("chrome://global/skin/menulistBindings.xml#menulist-compact"); |
73 | } |
74 | |
75 | radio |
76 | { |
77 | -moz-binding : url("chrome://global/skin/classicBindings.xml#radio"); |
78 | } |
79 | |
80 | grippy, grippy[collapse="before"] |
81 | { |
82 | -moz-binding : url("chrome://global/skin/classicBindings.xml#grippy"); |
83 | } |
84 | |
85 | splitter |
86 | { |
87 | -moz-binding : url("chrome://global/skin/classicBindings.xml#splitter"); |
88 | } |
89 | |
90 | tabs |
91 | { |
92 | -moz-binding: url("chrome://global/skin/tabBindings.xml#tabs"); |
93 | } |
94 | |
95 | toolbargrippy |
96 | { |
97 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy"); |
98 | } |
99 | |
100 | toolbargrippy[tbgrippy-collapsed="true"] |
101 | { |
102 | -moz-binding : url("chrome://global/skin/classicBindings.xml#toolbargrippy-collapsed"); |
103 | } |
104 | |
105 | .treecell-popupcell-menu |
106 | { |
107 | -moz-binding: url("chrome://global/content/bindings/menu.xml#menu-iconic") !important; |
108 | } |
109 | |
110 | /** |
111 | * XUL <window> element |
112 | **/ |
113 | window, |
114 | page, |
115 | dialog, |
116 | wizard |
117 | { |
118 | background-color : #CCD0DD; |
119 | color : black; |
120 | font : 3mm helvetica,arial,tahoma,sans-serif; |
121 | } |
122 | |
123 | [wait-cursor] |
124 | { |
125 | cursor : wait !important; |
126 | } |
127 | |
128 | /* deprecated */ |
129 | window.dialog |
130 | { |
131 | background-color : #CCD0DD; |
132 | padding : 8px 10px 10px 8px; |
133 | } |
134 | |
135 | /** |
136 | * XUL <box> debugging |
137 | **/ |
138 | :-moz-horizontal-box-debug |
139 | { |
140 | border : 2px solid blue; |
141 | border-top-width : 10px; |
142 | padding : 2px; |
143 | margin : 2px; |
144 | color : white; |
145 | } |
146 | |
147 | :-moz-vertical-box-debug |
148 | { |
149 | border : 2px solid red; |
150 | border-left-width : 10px; |
151 | padding : 2px; |
152 | margin : 2px; |
153 | color : white; |
154 | } |
155 | |
156 | /** |
157 | * Utility icons (used for alert dialogs, etc) |
158 | **/ |
159 | .message-icon |
160 | { |
161 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
162 | width:32px;height:32px; |
163 | } |
164 | |
165 | .alert-icon |
166 | { |
167 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
168 | width:32px;height:32px; |
169 | } |
170 | |
171 | .error-icon |
172 | { |
173 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
174 | width:32px;height:32px; |
175 | } |
176 | |
177 | .question-icon |
178 | { |
179 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
180 | width:32px;height:32px; |
181 | } |
182 | |
183 | /** |
184 | * status-bar |
185 | */ |
186 | statusbar |
187 | { |
188 | background-color : #666699; |
189 | color : #CCD0DD; |
190 | overflow : hidden; |
191 | border-top : 1px solid #9999CC; |
192 | /* min-height : 1.9em !important; */ |
193 | /* DON'T DELETE. Removes disappearance of scrollbars |
194 | * in content pane when window is made smaller. |
195 | * Talk to evaughan@netscape.com for details. |
196 | */ |
197 | min-width : 1px; |
198 | } |
199 | |
200 | statusbarpanel, .statusbar-panel |
201 | { |
202 | padding : 0px 1px 0px 1px; |
203 | } |
204 | |
205 | .statusbarpanel-icononly |
206 | { |
207 | padding : 0px; |
208 | } |
209 | |
210 | /** |
211 | * iframe default sizing |
212 | **/ |
213 | iframe |
214 | { |
215 | min-width : 10px; |
216 | min-height : 10px; |
217 | width : 100px; |
218 | height : 100px; |
219 | border : none; |
220 | } |
221 | |
222 | /* has to be in here since scoped stylesheets can't apply |
223 | to explicit children yet */ |
224 | caption |
225 | { |
226 | margin : 0px 40px 2px 6px; |
227 | padding : 0px 3px 0px 3px; |
228 | background-color : #CCD0DD; |
229 | } |
230 | |
231 | .tooltip-label |
232 | { |
233 | margin : 0px; |
234 | } |
235 | |
236 | |
237 | |