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