1beb16849a814da52ac1a6f331a04b84c11ee7f8
[themes.git] / EarlyBlue / 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 /* ::::: primary toolbar buttons ::::: */
49
50 #back-button {
51   list-style-image: url("chrome://navigator/skin/icons/back.gif");
52 }
53
54 #back-button[disabled="true"] {
55   list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
56 }
57
58 #forward-button {
59   list-style-image: url("chrome://navigator/skin/icons/forward.gif");
60 }
61
62 #forward-button[disabled="true"] {
63   list-style-image: url("chrome://navigator/skin/icons/forward-disabled.gif") !important;
64 }
65
66 #reload-button {
67   list-style-image: url("chrome://navigator/skin/icons/reload.gif");
68 }
69
70 #reload-button[disabled="true"] {
71   list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
72 }
73
74 #stop-button {
75   list-style-image: url("chrome://global/skin/icons/stop.gif");
76 }
77
78 #stop-button[disabled="true"] {
79   list-style-image: url("chrome://global/skin/icons/stop-disabled.gif") !important;
80
81
82 #print-button {
83   list-style-image: url("chrome://global/skin/icons/print.gif");
84 }
85
86 #print-button[disabled="true"] {
87   list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
88 }
89
90 /* Hides text below the above buttons */
91 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
92 .toolbarbutton-1 > .toolbarbutton-text {
93   display: none;
94 }
95
96 #fullscreen-exit-button {
97   list-style-image: none;
98 }
99
100 #fullscreen-exit-button > .toolbarbutton-text {
101   display: normal;
102 }
103
104 /* ::::: small primary toolbar buttons ::::: */
105
106 .toolbarbutton-1[toolbarmode="small"] {
107   min-width: 0;
108 }
109
110 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-menubutton-button > .toolbarbutton-text,
111 .toolbarbutton-1[toolbarmode="small"] > .toolbarbutton-text {
112   display: none;
113 }
114
115 #search-button[toolbarmode="small"] > .button-box > .button-text {
116   display: none;
117 }
118
119 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
120   margin: 0;
121   border: none;
122 }
123
124 #nav-bar[toolbarmode="small"] > .toolbar-primary-grippy {
125   display: none;
126 }
127
128 /* ::::: fullscreen window controls ::::: */
129
130 #window-controls {
131   -moz-box-align: center;
132   padding: 0 2px 0 4px;
133   border-left: 2px solid;
134   -moz-border-left-colors: ThreeDHighlight ThreeDShadow;
135 }
136
137 #minimize-button {
138   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
139 }
140
141 #restore-button {
142   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
143 }
144
145 #close-button {
146   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
147 }
148
149 /* ::::: nav-bar-inner ::::: */
150
151 #nav-bar-inner {
152   padding-left: 0px;
153   min-width: 0px;
154   margin: 7px 4px 8px 4px; 
155 }
156   
157 #urlbar {
158   border: 1px inset #CCD0DD;
159   margin: 0px 7px 0px 0px;
160 }  
161
162 /* ::::: page proxy icon ::::: */
163  
164 #page-proxy-deck,
165 #page-proxy-favicon,
166 #page-proxy-button {
167   width: 16px;
168   height: 16px;
169 }
170
171 #page-proxy-deck {
172   cursor: grab;
173   margin: 1px 1px 1px 2px;
174 }
175
176 #page-proxy-button {
177   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); 
178   padding-top: 2px;
179   padding-bottom: 2px;
180
181
182 #page-proxy-favicon {
183   list-style-image: none;
184
185
186 /*
187 #page-proxy-button[pageproxystate="valid"]:hover  {
188   list-style-image: url("chrome://communicator/skin/bookmarks/location-hover.gif");
189 }
190   
191 #page-proxy-button[pageproxystate="valid"]:hover:active {
192   list-style-image: url("chrome://communicator/skin/bookmarks/location-act.gif");
193 }
194
195 #page-proxy-button[pageproxystate="invalid"] {
196   cursor: default;
197   list-style-image: url("chrome://communicator/skin/bookmarks/location-dis.gif");
198 }
199 */
200
201 /* ::::: autocomplete ::::: */
202
203 /*
204 .autocomplete-history-dropmarker {
205   border-right-width: 1px;
206   border-bottom-width: 1px;
207   -moz-border-right-colors: ThreeDShadow;
208   -moz-border-bottom-colors: ThreeDShadow;
209 }
210 */
211
212 .autocomplete-outlinerbody:-moz-outliner-cell-text(value) {
213   padding-left: 13px;
214 }
215
216 .autocomplete-outlinerbody:-moz-outliner-cell-text(comment) {
217   color: #808080;
218 /*  font-style: italic; */
219 }
220
221 .autocomplete-search-box {
222   border-top: 1px solid #9999CC;
223   background-color: #666699;
224   color: #000000;
225 }
226
227 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
228   border-top: 1px solid #666699;
229 }
230
231 .autocomplete-search-engine {
232   padding: 2px;
233 }
234
235 .autocomplete-search-engine[menuactive="true"] {
236   background-color: #9999CC;
237   color: #000000;
238 }
239
240 .autocomplete-search-engine-img {
241   margin-right: 4px;
242 }
243
244 /* ::::: go and searchbuttons ::::: */
245
246 #search-button, 
247 #go-button {
248   margin: 0px 3px 0px 0px;
249 /*  min-height: 25px; */
250   font-weight: bold;
251   background-color: #9999CC;
252 }
253
254 #search-button {
255 /*  list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
256   font-weight: bold;
257 }
258
259 /* ::::: personal toolbar ::::: */
260
261 #bookmarks-button {
262   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
263 }
264
265 #bookmarks-button[open="true"] {
266   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
267 }
268
269 #home-button {
270   list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
271 }
272
273 /* ::::: sidebar splitter ::::: */
274
275 /*
276 #sidebar-splitter {
277   border-left: none;
278   border-right: none;
279   min-width: 5px; 
280 }
281 */
282
283 /* ::::: content area ::::: */
284
285 /*
286 #content {
287   border-top: 1px solid ThreeDDarkShadow;
288   border-bottom: 1px solid ThreeDLightShadow;
289   border-left: 2px solid;
290   -moz-border-left-colors: ThreeDShadow ThreeDDarkShadow;
291 }
292
293 #status-bar {
294   border-top: none;
295 }
296 */