update EarlyBlue to current trunk
[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/bookmarks/bookmarksToolbar.css");
44
45 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
46
47 /* ::::: primary toolbar buttons ::::: */
48
49 #back-button {
50   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
51   -moz-image-region: rect(42px 25px 63px 0px);
52 }
53
54 #back-button[disabled="true"] {
55   -moz-image-region: rect(42px 50px 63px 25px) !important;
56 }
57
58 #forward-button {
59   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
60   -moz-image-region: rect(63px 25px 84px 0px);
61 }
62
63 #forward-button[disabled="true"] {
64   -moz-image-region: rect(63px 50px 84px 25px) !important;
65 }
66
67 #reload-button {
68   list-style-image: url("chrome://navigator/skin/icons/reload.gif");
69 }
70
71 #reload-button[disabled="true"] {
72   list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
73 }
74
75 #stop-button {
76   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
77   -moz-image-region: rect(21px 25px 42px 0px);
78 }
79
80 #stop-button[disabled="true"] {
81   -moz-image-region: rect(21px 50px 42px 25px) !important;
82 }
83
84 #print-button {
85   list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
86   -moz-image-region: rect(0px 25px 21px 0px);
87 }
88
89 #print-button[disabled="true"] {
90   -moz-image-region: rect(0px 50px 21px 25px) !important;
91 }
92
93 #clear-button {
94   list-style-image: url("chrome://global/skin/icons/close-button.gif");
95 }
96
97 /* Hides text below the above buttons - should now be configurable */
98 /*
99 .toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
100 .toolbarbutton-1 > .toolbarbutton-text {
101   display: none;
102 }
103 */
104
105 #fullscreen-exit-button {
106   list-style-image: none;
107 }
108
109 #fullscreen-exit-button > .toolbarbutton-text {
110 /*   display: normal; */
111 }
112
113 /* ::::: small primary toolbar buttons ::::: */
114
115 .toolbarbutton-text[toolbarmode="small"] {
116   display: none;
117 }
118
119 .toolbarbutton-icon[toolbarmode="small"] {
120   display: inline;
121 }
122
123 #nav-bar[buttonstyle="text"] > #nav-bar-inner,
124 #nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
125 #nav-bar[toolbarmode="small"] > #nav-bar-inner {
126   margin: 2px 0px 2px 4px;
127 }
128
129 toolbar[toolbarmode="small"] > toolbargrippy {
130   display: none;
131 }
132
133 /* ::::: fullscreen window controls ::::: */
134
135 #window-controls {
136   -moz-box-align: center;
137   padding: 0 2px 0 4px;
138   border-left: 1px solid #9999CC;
139 }
140
141 #window-controls > toolbarbutton {
142   padding: 2px 0px 2px 2px;
143 }
144
145 #minimize-button {
146   list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
147 }
148
149 #restore-button {
150   list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
151 }
152
153 #close-button {
154   list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
155 }
156
157 /* ::::: nav-bar-inner ::::: */
158
159 #nav-bar-inner {
160   padding-left: 0px;
161   min-width: 0px;
162   margin: 7px 4px 8px 4px;
163 }
164
165 #urlbar {
166   border: 1px solid;
167   -moz-border-top-colors: #71737A;
168   -moz-border-right-colors: #EFF0F4;
169   -moz-border-bottom-colors: #EFF0F4;
170   -moz-border-left-colors: #71737A;
171   margin: 0px 7px 0px 0px;
172 }
173
174 #urlbar[level="high"] > .autocomplete-textbox-container,
175 #urlbar[level="low"] > .autocomplete-textbox-container {
176   background-color: #FFFFCC;
177 }
178
179 /* ::::: page proxy icon ::::: */
180
181 #page-proxy-deck,
182 #page-proxy-favicon,
183 #page-proxy-button {
184   width: 16px;
185   height: 16px;
186 }
187
188 #page-proxy-deck {
189   cursor: -moz-grab;
190   margin: 1px 1px 1px 2px;
191 }
192
193 #page-proxy-button {
194   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
195   padding-top: 2px;
196   padding-bottom: 2px;
197 }
198
199 #page-proxy-favicon {
200   list-style-image: none;
201 }
202
203 /* ::::: autocomplete ::::: */
204
205 .autocomplete-treebody::-moz-tree-cell-text(value) {
206   padding-left: 13px;
207 }
208
209 .autocomplete-treebody::-moz-tree-cell-text(comment) {
210   color: #808080;
211 /*  font-style: italic; */
212 }
213
214 .autocomplete-search-box {
215   border-top: 1px solid #9999CC;
216   background-color: #666699;
217   color: #000000;
218 }
219
220 .autocomplete-result-popup[nomatch] > .autocomplete-search-box {
221   border-top: 1px solid #666699;
222 }
223
224 .autocomplete-search-engine {
225   padding: 2px;
226 }
227
228 .autocomplete-search-engine[menuactive="true"] {
229   background-color: #9999CC;
230   color: #000000;
231 }
232
233 .autocomplete-search-engine-img {
234   margin-right: 4px;
235 }
236
237 /* ::::: go and searchbuttons ::::: */
238
239 #search-button,
240 #go-button {
241   margin: 0px 3px 0px 0px;
242 /*  min-height: 25px; */
243   font-weight: bold;
244   background-color: #9999CC;
245 }
246
247 #search-button {
248 /*  list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
249   font-weight: bold;
250 }
251
252 /* ::::: security button ::::: */
253
254 #security-button {
255   list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
256   margin-left: 2px;
257 }
258
259 /* |high| and |low| styles could be different, to better reflect the secure level... */
260 #security-button[level="high"],
261 #security-button[level="low"] {
262   list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
263 }
264
265 #security-button[level="broken"] {
266   list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
267 }
268
269 #popupIcon {
270   list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
271 }
272
273 #popupImage {
274   list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
275   margin: 6px 0px;
276 }
277
278 /* ::::: personal toolbar ::::: */
279
280 #bookmarks-button {
281   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
282 }
283
284 #bookmarks-button[open="true"] {
285   list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
286 }
287
288 #home-button {
289   list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
290 }
291
292 #bookmarks-chevron {
293   list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
294 }
295
296 #bookmarks-chevron > .toolbarbutton-menu-dropmarker {
297   display: none;
298 }