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