bd0fcaa8 |
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 | |
b2d3bcc6 |
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 | */ |
bd0fcaa8 |
38 | |
39 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
b2d3bcc6 |
40 | |
41 | |
42 | /** |
43 | * bindings |
44 | **/ |
45 | |
d06746d5 |
46 | /* EarlyBlue does currently not need any bindings here, if we once do, see sample in Classic */ |
b2d3bcc6 |
47 | |
bd0fcaa8 |
48 | |
49 | /** |
50 | * XXX-DEBUG: HTML namespace/titledbutton striping. |
51 | **/ |
082dab25 |
52 | |
53 | /* |
bd0fcaa8 |
54 | html|* |
55 | { |
56 | border : 1px solid green !important; |
57 | } |
58 | |
59 | html|form |
60 | { |
61 | border : none !important; |
62 | } |
63 | |
64 | titledbutton |
65 | { |
66 | border : 1px solid purple !important; |
67 | } |
082dab25 |
68 | */ |
bd0fcaa8 |
69 | |
70 | /** |
71 | * XUL <window> element |
72 | **/ |
73 | window |
74 | { |
75 | background-color : #CCD0DD; |
082dab25 |
76 | color : black; |
d5ff74d0 |
77 | font : 3mm helvetica,arial,tahoma,sans-serif; |
bd0fcaa8 |
78 | padding : 0px; |
082dab25 |
79 | -moz-user-focus : ignore; |
bd0fcaa8 |
80 | } |
81 | |
82 | window[wait-cursor] |
83 | { |
84 | cursor : wait !important; |
85 | } |
86 | |
87 | window.dialog |
88 | { |
89 | background-color : #CCD0DD; |
90 | padding : 7px 5px 5px 5px; |
91 | } |
92 | |
93 | /** |
94 | * XUL <box> debugging |
95 | **/ |
96 | :-moz-horizontal-box-debug |
97 | { |
98 | border : 2px solid blue; |
99 | border-top-width : 10px; |
100 | padding : 2px; |
101 | margin : 2px; |
102 | color : white; |
103 | } |
104 | |
105 | :-moz-vertical-box-debug |
106 | { |
107 | border : 2px solid red; |
108 | border-left-width : 10px; |
109 | padding : 2px; |
110 | margin : 2px; |
111 | color : white; |
112 | } |
113 | |
114 | /** |
115 | * Utility icons (used for alert dialogs, etc) |
116 | **/ |
117 | .message-icon |
118 | { |
119 | list-style-image : url("chrome://global/skin/message-icon.gif"); |
120 | } |
121 | |
122 | .alert-icon |
123 | { |
124 | list-style-image : url("chrome://global/skin/alert-icon.gif"); |
125 | } |
126 | |
127 | .error-icon |
128 | { |
129 | list-style-image : url("chrome://global/skin/error-icon.gif"); |
130 | } |
131 | |
132 | .question-icon |
133 | { |
134 | list-style-image : url("chrome://global/skin/question-icon.gif"); |
135 | } |
136 | |
bd0fcaa8 |
137 | /** |
138 | * status-bar |
139 | */ |
4752adfe |
140 | statusbar |
bd0fcaa8 |
141 | { |
142 | border-top : 1px solid #9999CC; |
4752adfe |
143 | background-color : #666699; |
144 | color : #CCD0DD; |
bd0fcaa8 |
145 | user-focus : ignore; |
146 | overflow : hidden |
147 | } |
148 | |
4752adfe |
149 | statusbarpanel, .statusbar-panel |
082dab25 |
150 | { |
151 | padding : 0px 1px 0px 1px; |
152 | vertical-align : middle; |
153 | } |
154 | |
4752adfe |
155 | .statusbarpanel-icononly |
156 | { |
157 | padding : 0px; |
158 | } |
159 | |
082dab25 |
160 | .statusbar-panel-icon |
161 | { |
4752adfe |
162 | list-style-image : inherit; |
082dab25 |
163 | margin : 0px 2px 0px 0px; |
4752adfe |
164 | } |
082dab25 |
165 | |
bd0fcaa8 |
166 | /** |
b2d3bcc6 |
167 | * iframe default sizing |
bd0fcaa8 |
168 | **/ |
b2d3bcc6 |
169 | iframe |
bd0fcaa8 |
170 | { |
171 | min-width : 10px; |
172 | min-height : 10px; |
173 | width : 100px; |
174 | height : 100px; |
175 | border : none; |
176 | } |
177 | |
bd0fcaa8 |
178 | |
b2d3bcc6 |
179 | .tooltip-label |
180 | { |
181 | margin : 0px; |
182 | } |
bd0fcaa8 |
183 | |
bd0fcaa8 |
184 | |
bd0fcaa8 |
185 | |
bd0fcaa8 |
186 | |
d06746d5 |
187 | |
4752adfe |
188 | |
189 | |
190 | |