last changes for RC2
[themes.git] / LCARStrek / navigator / navigator.css
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 "Classic" theme of mozilla.org code.
15  *
16  * The Initial Developer of the Original Code is
17  * the Mozilla Organization.
18  * Portions created by the Initial Developer are Copyright (C) 1998-2001
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 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 /** Contains style definitions for the navigator application 
39  **/
40
41 @import url("chrome://navigator/content/navigator.css");
42 @import url("chrome://communicator/skin/");
43 @import url("chrome://communicator/skin/sidebar/sidebar.css");
44 @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css");
45
46 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47
48 /********** resource bundle binding **********/
49
50 /* ::::: primary toolbar buttons ::::: */
51
52 #back-button {
53   list-style-image: url("chrome://navigator/skin/icons/back.gif");
54 }
55
56 #back-button:hover,
57 #back-button[buttonover="true"],
58 #back-button[buttondown="true"],
59 #back-button[open="true"] {
60   list-style-image: url("chrome://navigator/skin/icons/back-hover.gif");
61 }
62
63 #back-button[disabled="true"] {
64   list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
65 }
66
67 #forward-button {
68   list-style-image: url("chrome://navigator/skin/icons/forward.gif");
69 }
70
71 #forward-button:hover,
72 #forward-button[buttonover="true"],
73 #forward-button[buttondown="true"],
74 #forward-button[open="true"] {
75   list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif");
76 }
77
78 #forward-button[disabled="true"] {
79   list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
80 }
81
82 #reload-button {
83   list-style-image: url("chrome://navigator/skin/icons/reload.gif");
84 }
85
86 #reload-button:hover,
87 #reload-button:hover:active {
88   list-style-image: url("chrome://navigator/skin/icons/reload-hover.gif");
89 }
90
91 #reload-button[disabled="true"] {
92   list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
93 }
94
95 #stop-button {
96   list-style-image: url("chrome://global/skin/icons/stop.gif");
97 }
98
99 #stop-button:hover,
100 #stop-button:hover:active {
101   list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
102
103
104 #stop-button[disabled="true"] {
105   list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
106
107
108 #print-button {
109   list-style-image: url("chrome://global/skin/icons/print.gif");
110 }
111
112 #print-button:hover,
113 #print-button[buttonover="true"],
114 #print-button[buttondown="true"],
115 #print-button[open="true"] {
116   list-style-image: url("chrome://global/skin/icons/print-hover.gif");
117 }
118
119 #print-button[disabled="true"] {
120   list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
121 }
122
123 #clear-button {
124   list-style-image: url("chrome://global/skin/icons/close-button.gif");
125 }
126
127 #clear-button:hover {
128   list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
129 }
130
131 /* Hides text below the above buttons */
132 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
133 .toolbarbutton-1 > .toolbarbutton-text {
134   display: none;
135 }
136
137 #fullscreen-exit-button {
138   list-style-image: none;
139 }
140
141 #fullscreen-exit-button > .toolbarbutton-text {
142   display: normal;
143 }
144
145 /* ::::: small primary toolbar buttons ::::: */
146
147 .toolbarbutton-1[toolbarmode="small"],
148 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button {
149   min-width: 0px;
150   min-height: 0px;
151 }
152
153 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker {
154   padding: 0px 1px 13px 1px;
155 }
156
157 .toolbarbutton-1[toolbarmode="small"][type="menu-button"]:hover:active > .toolbarbutton-menubutton-dropmarker,
158 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][buttondown="true"] > .toolbarbutton-menubutton-dropmarker,
159 .toolbarbutton-1[toolbarmode="small"][type="menu-button"][open="true"] > .toolbarbutton-menubutton-dropmarker {
160   padding: 1px 0px 12px 2px;
161 }
162
163 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-dropmarker[disabled="true"] {
164   padding: 0px 1px 13px 1px !important;
165 }
166
167 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text,
168 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text {
169   display: none;
170 }
171
172 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
173   margin: 2px 0px 2px 6px;
174 }
175
176 toolbar[toolbarmode="small"] > toolbargrippy {
177 /*  display: none; */
178 }
179
180 /* ::::: fullscreen window controls ::::: */
181
182 #window-controls {
183   -moz-box-align: center;
184   padding: 0 3px 0 1px;
185   border-left: 3px solid #000000;
186 }
187
188 #window-controls > toolbarbutton {
189   padding: 2px 0px 2px 2px;
190 }
191
192 #minimize-button {
193   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
194 }
195
196 #minimize-button:hover {
197   list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
198 }
199
200 #restore-button {
201   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
202 }
203
204 #restore-button:hover {
205   list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
206 }
207
208 #close-button {
209   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
210 }
211
212 #close-button:hover {
213   list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
214 }
215
216 /* ::::: nav-bar-inner ::::: */
217
218 #nav-bar-inner {
219   padding-left: 0px;
220   min-width: 0px;
221   margin: 6px 4px 7px 4px; 
222 }
223
224 #urlbar {
225   -moz-border-top-colors: transparent #9C9CFF;
226   -moz-border-right-colors: transparent #9C9CFF;
227   -moz-border-bottom-colors: transparent #9C9CFF;
228   -moz-border-left-colors: transparent #9C9CFF;
229   background-color: #000000;
230   margin: 0px 7px 0px 0px;
231 }
232
233 /* ::::: page proxy icon ::::: */
234  
235 #page-proxy-deck,
236 #page-proxy-favicon,
237 #page-proxy-button {
238   width: 16px;
239   height: 16px;
240 }
241
242 #page-proxy-deck {
243   cursor: -moz-grab;
244   margin: 1px 1px 1px 2px;
245 }                                                                               
246
247 #page-proxy-button {
248   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); 
249   padding-top: 2px;
250   padding-bottom: 2px;
251
252  
253 #page-proxy-favicon {
254   list-style-image: none;
255
256
257 /* ::::: autocomplete ::::: */
258
259 .autocomplete-treebody:-moz-tree-cell-text(value) {
260   padding-left: 13px;
261 }
262
263 .autocomplete-treebody:-moz-tree-cell-text(comment) {
264   color: #E7ADE7;
265 /*  font-style: italic; */
266 }
267
268 .autocomplete-search-box {
269   border-top: 1px solid #FF9F00;
270   background-color: #9C9CFF;
271   color: #000000;
272 }  
273
274 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
275   border-top: 1px solid #9C9CFF;
276 }
277
278 .autocomplete-search-engine {
279   padding: 2px;
280 }  
281
282 .autocomplete-search-engine[menuactive="true"] {
283   background-color: #008484;
284   color: #FFCF00;
285 }  
286
287 .autocomplete-search-engine-img {
288   margin-right: 4px;
289 }
290
291 /* ::::: go and searchbuttons ::::: */
292
293 #search-button, 
294 #go-button {
295   margin: 1px 3px 1px 0px;
296 /*  min-height: 25px; */
297   font-weight: bold;
298   background-color: #000000;
299 }
300
301 #search-button:hover, 
302 #go-button:hover {
303   background-color: #FFCF00;
304 }
305
306 #search-button {
307 /*  list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
308   font-weight: bold;
309 }
310
311 /* ::::: personal toolbar ::::: */
312
313 #bookmarks-button {
314   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
315 }
316
317 #bookmarks-button[open="true"] {
318   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
319 }
320
321 #home-button {
322   list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
323 }
324
325 /* ::::: sidebar splitter ::::: */
326
327 /*
328 #sidebar-splitter {
329   border-left: none;
330   border-right: none;
331   min-width: 5px; 
332 }
333 */
334
335 /*
336 #content {
337   border-top: 1px solid ThreeDDarkShadow;
338   border-bottom: 1px solid ThreeDLightShadow;
339   border-left: 2px solid;
340   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
341 }
342
343 #status-bar {
344   border-top: none;
345 }
346 */