keep up with Classic/*stripe development
[themes.git] / EarlyBlue / global / global.css
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: NPL 1.1/GPL 2.0/LGPL 2.1
3  *
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/
8  *
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.
13  *
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.
20  *
21  * Contributor(s):
22  *   Robert Kaiser <KaiRo@KaiRo.at>
23  *
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 ***** */
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 /* ::::: XBL bindings ::::: */
50
51 checkbox {
52   -moz-binding: url("chrome://global/content/bindings/checkbox.xml#checkbox-with-spacing");
53 }
54
55 radio {
56   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio-with-spacing");
57 }
58
59 menulist > menupopup,
60 .menulist-menupopup {
61   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
62 }
63
64 .menulist-compact {
65   -moz-binding: url("chrome://global/content/bindings/menulist.xml#menulist-compact");
66 }
67
68 /*
69 progressmeter[mode="undetermined"] {
70   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
71 }
72 */
73
74 /* ::::: root elements ::::: */
75
76 window,
77 page,
78 dialog,
79 wizard,
80 prefwindow {
81   background-color: #CCD0DD;
82   color: #000000;
83   font: 11px helvetica,arial,tahoma,sans-serif;
84 }
85
86 window.dialog {
87   padding: 8px 10px 10px 8px;
88 }
89
90 [wait-cursor] {
91   cursor: wait !important;
92 }
93
94 /* ::::: alert icons :::::*/
95
96 .message-icon,
97 .alert-icon,
98 .error-icon,
99 .question-icon {
100   width: 32px;
101   height: 32px;
102 }
103
104 .message-icon {
105   list-style-image: url("chrome://global/skin/icons/alert-message.gif");
106 }
107
108 .alert-icon {
109   list-style-image: url("chrome://global/skin/icons/alert-exclam.gif");
110 }
111
112 .error-icon {
113   list-style-image: url("chrome://global/skin/icons/alert-error.gif");
114 }
115
116 .question-icon {
117   list-style-image: url("chrome://global/skin/icons/alert-question.gif");
118 }
119
120 /* ::::: iframe ::::: */
121
122 iframe {
123   border: none;
124   width: 100px;
125   height: 100px;
126   min-width: 10px;
127   min-height: 10px;
128 }
129
130 /* ::::: statusbar ::::: */
131
132 statusbar {
133   border-top: 1px solid #9999CC;
134   background-color: #666699;
135   color: #CCD0DD;
136   min-height: 16px;
137 }
138
139 statusbarpanel {
140   -moz-box-align: center;
141   -moz-box-pack: center;
142   padding: 0px 1px 0px 1px;
143 }
144
145
146 .statusbar-resizerpanel {
147   -moz-box-align: end;
148   -moz-box-pack: end;
149   padding: 0px;
150 }
151
152 .statusbarpanel-iconic,  .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic {
153   padding: 0px 1px 0px 1px;
154 }
155
156 resizer[dir="bottomright"] {
157   cursor: se-resize;
158 }
159
160 /* ::::: miscellaneous ::::: */
161
162 .toolbar-focustarget {
163   -moz-user-focus: ignore !important;
164 }
165
166 /* :::::: autoscroll popup ::::: */
167
168 #autoscroller {
169   height: 28px;
170   width: 28px;
171   border: 0px;
172   margin: -14px;
173   padding: 0px;
174   background-image: url("chrome://communicator/skin/icons/autoscroll.png");
175   background-color: transparent;
176   -moz-appearance: none;
177 }
178
179 #autoscroller[scrolldir="NS"] {
180   background-position: left center;
181 }
182
183 #autoscroller[scrolldir="EW"] {
184   background-position: left bottom;
185 }
186
187 #autoscroller[transparent="true"] {
188   background-position: center top;
189 }
190
191 #autoscroller[transparent="true"][scrolldir="NS"] {
192   background-position: center center;
193 }
194
195 #autoscroller[transparent="true"][scrolldir="EW"] {
196   background-position: center bottom;
197 }
198
199 #autoscroller[translucent="true"] {
200   background-position: right top;
201 }
202
203 #autoscroller[translucent="true"][scrolldir="NS"] {
204   background-position: right center;
205 }
206
207 #autoscroller[translucent="true"][scrolldir="EW"] {
208   background-position: right bottom;
209 }