update with classic theme development, keep about:plugins compatible for 1.7 release...
[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 #clear-button {
91   list-style-image: url("chrome://global/skin/icons/close-button.gif");
92 }
93
94 /* Hides text below the above buttons - should now be configurable */
95 /*
96 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
97 .toolbarbutton-1 > .toolbarbutton-text {
98   display: none;
99 }
100 */
101
102 #fullscreen-exit-button {
103   list-style-image: none;
104 }
105
106 #fullscreen-exit-button > .toolbarbutton-text {
107 /*   display: normal; */
108 }
109
110 /* ::::: small primary toolbar buttons ::::: */
111
112 .toolbarbutton-text[toolbarmode="small"] {
113   display: none;
114 }
115
116 .toolbarbutton-icon[toolbarmode="small"] {
117   display: inline;
118 }
119
120 #nav-bar[buttonstyle="text"] > #nav-bar-inner,
121 #nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
122 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
123   margin: 2px 0px 2px 4px;
124 }
125
126 toolbar[toolbarmode="small"] > toolbargrippy {
127   display: none;
128 }
129
130 /* ::::: fullscreen window controls ::::: */
131
132 #window-controls {
133   -moz-box-align: center;
134   padding: 0 2px 0 4px;
135   border-left: 1px solid #9999CC;
136 }
137
138 #window-controls > toolbarbutton {
139   padding: 2px 0px 2px 2px;
140 }
141
142 #minimize-button {
143   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
144 }
145
146 #restore-button {
147   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
148 }
149
150 #close-button {
151   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
152 }
153
154 /* ::::: nav-bar-inner ::::: */
155
156 #nav-bar-inner {
157   padding-left: 0px;
158   min-width: 0px;
159   margin: 7px 4px 8px 4px;
160 }
161
162 #urlbar {
163   border: 1px solid;
164   -moz-border-top-colors: #71737A;
165   -moz-border-right-colors: #EFF0F4;
166   -moz-border-bottom-colors: #EFF0F4;
167   -moz-border-left-colors: #71737A;
168   margin: 0px 7px 0px 0px;
169 }
170
171 /* ::::: page proxy icon ::::: */
172
173 #page-proxy-deck,
174 #page-proxy-favicon,
175 #page-proxy-button {
176   width: 16px;
177   height: 16px;
178 }
179
180 #page-proxy-deck {
181   cursor: -moz-grab;
182   margin: 1px 1px 1px 2px;
183 }
184
185 #page-proxy-button {
186   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
187   padding-top: 2px;
188   padding-bottom: 2px;
189 }
190
191 #page-proxy-favicon {
192   list-style-image: none;
193 }
194
195 /* ::::: autocomplete ::::: */
196
197 .autocomplete-treebody::-moz-tree-cell-text(value) {
198   padding-left: 13px;
199 }
200
201 .autocomplete-treebody::-moz-tree-cell-text(comment) {
202   color: #808080;
203 /*  font-style: italic; */
204 }
205
206 .autocomplete-search-box {
207   border-top: 1px solid #9999CC;
208   background-color: #666699;
209   color: #000000;
210 }
211
212 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
213   border-top: 1px solid #666699;
214 }
215
216 .autocomplete-search-engine {
217   padding: 2px;
218 }
219
220 .autocomplete-search-engine[menuactive="true"] {
221   background-color: #9999CC;
222   color: #000000;
223 }
224
225 .autocomplete-search-engine-img {
226   margin-right: 4px;
227 }
228
229 /* ::::: go and searchbuttons ::::: */
230
231 #search-button,
232 #go-button {
233   margin: 0px 3px 0px 0px;
234 /*  min-height: 25px; */
235   font-weight: bold;
236   background-color: #9999CC;
237 }
238
239 #search-button {
240 /*  list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
241   font-weight: bold;
242 }
243
244 /* ::::: security button ::::: */
245
246 #security-button {
247   list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
248   margin-left: 2px;
249 }
250
251 #security-button[level="high"] {
252   list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
253 }
254
255 #security-button[level="low"] {
256   list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
257 }
258
259 #security-button[level="broken"] {
260   list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
261 }
262
263 #privacy-button {
264   list-style-image: url("chrome://communicator/skin/cookie/taskbar-cookie.gif");
265 }
266
267 #popupIcon {
268   list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
269 }
270
271 #popupImage {
272   list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
273   margin: 6px 0px;
274 }
275
276 /* ::::: personal toolbar ::::: */
277
278 #bookmarks-button {
279   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
280 }
281
282 #bookmarks-button[open="true"] {
283   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
284 }
285
286 #home-button {
287   list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
288 }
289
290 toolbarbutton.chevron {
291   list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
292 }
293
294 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
295   display: none;
296 }