Mozilla Cross-Reference mozilla
mozilla/ toolkit/ themes/ winstripe/ global/ global.css
CVS Log
CVS Blame
CVS Graph
Diff file
Raw file
changes to
this file in
the last:
day
week
month
view using tree:
1 /* ***** BEGIN LICENSE BLOCK *****
2  * Version: MPL 1.1/GPL 2.0/LGPL 2.1
3  *
4  * The contents of this file are subject to the Mozilla Public License Version
5  * 1.1 (the "License"); you may not use this file except in compliance with
6  * the License. You may obtain a copy of the License at
7  * http://www.mozilla.org/MPL/
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 Communicator client code, released
15  * March 31, 1998.
16  *
17  * The Initial Developer of the Original Code is
18  * Netscape Communications Corporation.
19  * Portions created by the Initial Developer are Copyright (C) 1998-1999
20  * the Initial Developer. All Rights Reserved.
21  *
22  * Contributor(s):
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 MPL, 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 MPL, 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 radio {
52   -moz-binding: url("chrome://global/skin/globalBindings.xml#radio");
53 }
54 
55 menulist > menupopup,
56 .menulist-menupopup {
57   -moz-binding: url("chrome://global/content/bindings/popup.xml#popup-scrollbars");
58 }
59 
60 .menulist-compact {
61   -moz-binding: url("chrome://global/skin/globalBindings.xml#menulist-compact");
62 }
63 
64 progressmeter[mode="undetermined"] {
65   -moz-binding: url("chrome://global/content/bindings/progressmeter.xml#progressmeter-undetermined");
66 }
67 
68 /* ::::: root elements ::::: */
69 
70 window,
71 page,
72 dialog,
73 wizard,
74 prefwindow {
75   -moz-appearance: window;
76   background-color: -moz-Dialog;
77   color: -moz-DialogText;
78   font: message-box;
79 }
80 
81 window.dialog {
82   padding-top: 8px;
83   padding-bottom: 10px;
84   -moz-padding-start: 8px;
85   -moz-padding-end: 10px;
86 }
87 
88 [wait-cursor] {
89   cursor: wait !important;
90 }
91 
92 /* ::::: alert icons :::::*/
93 
94 .message-icon,
95 .alert-icon,
96 .error-icon,
97 .question-icon {
98   width: 32px;
99   height: 32px;
100 }
101 
102 .message-icon {
103   list-style-image: url("chrome://global/skin/icons/Message.png");
104 }
105 
106 .alert-icon {
107   list-style-image: url("chrome://global/skin/icons/Warning.png");
108 }
109 
110 .error-icon {
111   list-style-image: url("chrome://global/skin/icons/Error.png");
112 }
113 
114 .question-icon {
115   list-style-image: url("chrome://global/skin/icons/Question.png");
116 }
117 
118 /* ::::: iframe ::::: */
119 
120 iframe {
121   border: none;
122   width: 100px;
123   height: 100px;
124   min-width: 10px;
125   min-height: 10px;
126 }
127 
128 /* ::::: statusbar ::::: */
129 
130 statusbar {
131   -moz-appearance: statusbar;
132   border-top: 1px solid ThreeDLightShadow;
133   border-left: 1px solid ThreeDShadow;
134   border-right: 1px solid ThreeDHighlight;
135   border-bottom: 1px solid ThreeDHighlight;
136   background-color: -moz-Dialog;
137   min-height: 22px;
138 }
139 
140 statusbarpanel {
141   -moz-appearance: statusbarpanel;
142   -moz-box-align: center;
143   -moz-box-pack: center;
144   border-left: 1px solid ThreeDHighlight;
145   border-top: 1px solid ThreeDHighlight;
146   border-right: 1px solid ThreeDShadow;
147   border-bottom: 1px solid ThreeDShadow;
148   padding: 0 4px;
149 }
150 
151 .statusbar-resizerpanel {
152   -moz-box-align: end;
153   -moz-box-pack: end;
154   -moz-appearance: resizerpanel;
155   padding: 0px;
156   border: none;
157 }
158 
159 .statusbarpanel-iconic,  .statusbarpanel-iconic-text, .statusbarpanel-menu-iconic {
160   padding: 0px 1px 0px 1px;
161 }
162 
163 resizer[dir="bottomright"] {
164   -moz-appearance: resizer;
165   cursor: se-resize;
166 }
167 
168 /* XXXBlake yeah, shoot me -- these don't belong here.  I'll move them later. */
169 
170 sidebarheader {
171   height: 25px;
172   background-color: -moz-Dialog;
173   -moz-appearance: toolbox;
174   border-bottom: 1px solid ThreeDShadow;
175   border-top: 1px solid ThreeDHighlight;
176 }
177 
178 sidebarheader > label {
179   -moz-padding-start: 4px;
180 }
181 
182 /* ::::: miscellaneous ::::: */
183 
184 .toolbar-focustarget {
185   -moz-user-focus: ignore !important;
186 }
187 
188 /* :::::: autoscroll popup ::::: */
189 
190 #autoscroller {
191   height: 28px;
192   width: 28px;
193   border: none;
194   margin: -14px;
195   padding: 0;
196   background-image: url("chrome://global/skin/icons/autoscroll.png");
197   background-color: transparent;
198 %ifdef XP_WIN
199   background-position: right top;
200 %endif
201   -moz-appearance: none;
202 }
203 
204 #autoscroller[scrolldir="NS"] {
205 %ifdef XP_WIN
206   background-position: right center;
207 %else
208   background-position: left center;
209 %endif
210 }
211 
212 #autoscroller[scrolldir="EW"] {
213 %ifdef XP_WIN
214   background-position: right bottom;
215 %else
216   background-position: left bottom;
217 %endif
218 }