1d798428 |
1 | /** this should only contain XUL dialog and document window widget defaults. Defaults for widgets of |
2 | a particular application should be in that application's style sheet. |
3 | For example style definitions for navigator can be found in navigator.css |
4 | |
5 | THIS FILE IS LOCKED DOWN. YOU ARE NOT ALLOWED TO MODIFY IT WITHOUT FIRST HAVING YOUR |
6 | CHANGES REVIEWED BY hyatt@netscape.com. |
7 | **/ |
8 | |
9 | /* import the widget style sheets */ |
10 | |
11 | /* all localizable skin settings shall live here */ |
12 | @import url(chrome://global/locale/intl.css); |
13 | |
8b168888 |
14 | @import url("chrome://global/skin/formatting.css"); |
15 | /* |
16 | @import url("chrome://global/content/bindings/outliner.css"); |
17 | @import url("chrome://global/content/bindings/popup.css"); |
18 | @import url("chrome://global/content/bindings/scrollbar.css"); |
19 | @import url("chrome://global/content/bindings/tree.css"); |
20 | |
21 | @import url("chrome://global/skin/button.css"); |
22 | @import url("chrome://global/skin/checkbox.css"); |
23 | @import url("chrome://global/skin/colorpicker.css"); |
24 | @import url("chrome://global/skin/menu.css"); |
25 | @import url("chrome://global/skin/menubutton.css"); |
26 | @import url("chrome://global/skin/menulist.css"); |
27 | @import url("chrome://global/skin/outliner.css"); |
28 | @import url("chrome://global/skin/popup.css"); |
29 | @import url("chrome://global/skin/progressmeter.css"); |
30 | @import url("chrome://global/skin/radio.css"); |
31 | @import url("chrome://global/skin/scrollbox.css"); |
32 | @import url("chrome://global/skin/splitter.css"); |
33 | @import url("chrome://global/skin/tabcontrol.css"); |
34 | @import url("chrome://global/skin/textbox.css"); |
35 | @import url("chrome://global/skin/toolbar.css"); |
36 | @import url("chrome://global/skin/tree.css"); |
37 | */ |
1d798428 |
38 | |
39 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
8b168888 |
40 | |
41 | |
42 | /** |
43 | * bindings |
44 | **/ |
45 | |
3ef99d2d |
46 | /* LCARStrek does currently not need many bindings here, if we once do, see sample in Classic */ |
47 | |
48 | statusbar |
49 | { |
50 | -moz-binding : url("chrome://global/skin/globalBindings.xml#statusbar"); |
51 | } |
52 | |
8b168888 |
53 | |
1d798428 |
54 | |
55 | /** |
56 | * XXX-DEBUG: HTML namespace/titledbutton striping. |
57 | **/ |
c9990331 |
58 | |
59 | /* |
1d798428 |
60 | html|* |
61 | { |
62 | border : 1px solid green !important; |
63 | } |
64 | |
65 | html|form |
66 | { |
67 | border : none !important; |
68 | } |
69 | |
70 | titledbutton |
71 | { |
72 | border : 1px solid purple !important; |
73 | } |
c9990331 |
74 | */ |
1d798428 |
75 | |
76 | /** |
77 | * XUL <window> element |
78 | **/ |
79 | window |
80 | { |
81 | background-color : #000000; |
82 | /* font : 3mm "Final Frontier",tahoma,arial,helvetica,sans-serif; */ |
83 | font : 3mm helvetica,arial,tahoma,sans-serif; |
84 | color : #FF9F00; |
85 | padding : 3px; |
c9990331 |
86 | -moz-user-focus : ignore; |
1d798428 |
87 | } |
88 | |
89 | window[wait-cursor] |
90 | { |
91 | cursor : wait !important; |
92 | } |
93 | |
94 | window.dialog |
95 | { |
96 | background-color : #000000; |
97 | padding : 7px 5px 5px 5px; |
98 | } |
99 | |
100 | /** |
101 | * XUL <box> debugging |
102 | **/ |
103 | :-moz-horizontal-box-debug |
104 | { |
105 | border : 2px solid blue; |
106 | border-top-width : 10px; |
107 | padding : 2px; |
108 | margin : 2px; |
109 | color : white; |
110 | } |
111 | |
112 | :-moz-vertical-box-debug |
113 | { |
114 | border : 2px solid red; |
115 | border-left-width : 10px; |
116 | padding : 2px; |
117 | margin : 2px; |
118 | color : white; |
119 | } |
120 | |
121 | /** |
122 | * Utility icons (used for alert dialogs, etc) |
123 | **/ |
124 | .message-icon |
125 | { |
126 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
127 | } |
128 | |
129 | .alert-icon |
130 | { |
131 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
132 | } |
133 | |
134 | .error-icon |
135 | { |
136 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
137 | } |
138 | |
139 | .question-icon |
140 | { |
141 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
142 | } |
143 | |
1d798428 |
144 | /** |
3ef99d2d |
145 | * statusbar |
1d798428 |
146 | */ |
3ef99d2d |
147 | statusbar |
1d798428 |
148 | { |
3ef99d2d |
149 | margin-top : 3px; |
150 | -moz-user-focus : ignore; |
1d798428 |
151 | overflow : hidden |
152 | } |
153 | |
3ef99d2d |
154 | .statusbar-center |
155 | { |
156 | background-color : #8050B0; |
157 | padding-left : 2px; |
017a3b38 |
158 | color : black; |
7ff5b526 |
159 | -moz-box-align : center; |
3ef99d2d |
160 | } |
161 | |
1d798428 |
162 | .statusbar-left |
163 | { |
3ef99d2d |
164 | -moz-border-radius : 9px 0px 0px 9px; |
165 | background-color : #6000CF; |
166 | width : 13px; |
167 | margin-right : 3px; |
1d798428 |
168 | } |
169 | |
170 | .statusbar-right |
171 | { |
3ef99d2d |
172 | -moz-border-radius : 0px 9px 9px 0px; |
173 | background-color : #6000CF; |
174 | width : 13px; |
175 | margin-left : 3px; |
1d798428 |
176 | } |
177 | |
3ef99d2d |
178 | statusbarpanel, .statusbar-panel |
c9990331 |
179 | { |
180 | padding : 0px 1px 0px 1px; |
7ff5b526 |
181 | -moz-box-align : center; |
c9990331 |
182 | } |
183 | |
3ef99d2d |
184 | .statusbarpanel-icononly |
185 | { |
186 | padding : 0px; |
187 | } |
188 | |
c9990331 |
189 | .statusbar-panel-icon |
190 | { |
191 | margin : 0px 2px 0px 0px; |
3ef99d2d |
192 | list-style-image : inherit; |
c9990331 |
193 | } |
194 | |
1d798428 |
195 | /** |
8b168888 |
196 | * iframe default sizing |
1d798428 |
197 | **/ |
8b168888 |
198 | iframe |
1d798428 |
199 | { |
200 | min-width : 10px; |
201 | min-height : 10px; |
202 | width : 100px; |
203 | height : 100px; |
204 | border : none; |
205 | } |
206 | |
8b168888 |
207 | .tooltip-label |
208 | { |
209 | margin : 0px; |
1d798428 |
210 | } |
3ef99d2d |
211 | |