keeping up with Classic, make text/icons configurable toolbars working
[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
38/** Contains style definitions for the navigator application
39 **/
40
b1eaa419 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");
351107c9 45
46@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
47
48/********** resource bundle binding **********/
49
b1eaa419 50/* ::::: primary toolbar buttons ::::: */
351107c9 51
b1eaa419 52#back-button {
53 list-style-image: url("chrome://navigator/skin/icons/back.gif");
54}
351107c9 55
56#back-button:hover,
57#back-button[buttonover="true"],
58#back-button[buttondown="true"],
b1eaa419 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}
351107c9 70
71#forward-button:hover,
72#forward-button[buttonover="true"],
73#forward-button[buttondown="true"],
b1eaa419 74#forward-button[open="true"] {
75 list-style-image: url("chrome://navigator/skin/icons/forward-hover.gif");
76}
351107c9 77
b1eaa419 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}
351107c9 85
86#reload-button:hover,
b1eaa419 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}
351107c9 98
99#stop-button:hover,
b1eaa419 100#stop-button:hover:active {
101 list-style-image: url("chrome://global/skin/icons/stop-hover.gif");
102}
351107c9 103
b1eaa419 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}
351107c9 111
112#print-button:hover,
113#print-button[buttonover="true"],
114#print-button[buttondown="true"],
b1eaa419 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}
351107c9 122
b1e5c9b1 123#clear-button {
124 list-style-image: url("chrome://global/skin/icons/close-button.gif");
125}
126
61290d60 127#clear-button:hover {
128 list-style-image: url("chrome://global/skin/icons/close-button-hover.gif");
129}
130
351107c9 131/* Hides text below the above buttons */
dc8e1207 132/*
b1eaa419 133.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
134.toolbarbutton-1 > .toolbarbutton-text {
351107c9 135 display: none;
136}
dc8e1207 137*/
351107c9 138
b1eaa419 139#fullscreen-exit-button {
140 list-style-image: none;
141}
142
143#fullscreen-exit-button > .toolbarbutton-text {
144 display: normal;
145}
146
80916bc4 147/* ::::: small primary toolbar buttons ::::: */
148
dc8e1207 149.toolbarbutton-text[toolbarmode="small"] {
150 display: none;
80916bc4 151}
152
dc8e1207 153.toolbarbutton-icon[toolbarmode="small"] {
154 display: inline;
80916bc4 155}
156
dc8e1207 157#nav-bar[buttonstyle="text"] > #nav-bar-inner,
158#nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
80916bc4 159#nav-bar[toolbarmode="small"] > #nav-bar-inner {
e20d243c 160 margin: 2px 0px 2px 6px;
80916bc4 161}
162
e20d243c 163toolbar[toolbarmode="small"] > toolbargrippy {
164/* display: none; */
80916bc4 165}
166
167/* ::::: fullscreen window controls ::::: */
168
169#window-controls {
170 -moz-box-align: center;
e20d243c 171 padding: 0 3px 0 1px;
172 border-left: 3px solid #000000;
173}
174
175#window-controls > toolbarbutton {
176 padding: 2px 0px 2px 2px;
80916bc4 177}
178
179#minimize-button {
180 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
181}
182
e20d243c 183#minimize-button:hover {
184 list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif");
185}
186
80916bc4 187#restore-button {
188 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
189}
190
e20d243c 191#restore-button:hover {
192 list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif");
193}
194
80916bc4 195#close-button {
196 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
197}
198
e20d243c 199#close-button:hover {
200 list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif");
201}
202
b1eaa419 203/* ::::: nav-bar-inner ::::: */
204
205#nav-bar-inner {
206 padding-left: 0px;
207 min-width: 0px;
61290d60 208 margin: 6px 4px 7px 4px;
b1eaa419 209}
210
211#urlbar {
61290d60 212 -moz-border-top-colors: transparent #9C9CFF;
213 -moz-border-right-colors: transparent #9C9CFF;
214 -moz-border-bottom-colors: transparent #9C9CFF;
215 -moz-border-left-colors: transparent #9C9CFF;
b1eaa419 216 background-color: #000000;
217 margin: 0px 7px 0px 0px;
218}
219
220/* ::::: page proxy icon ::::: */
221
222#page-proxy-deck,
223#page-proxy-favicon,
224#page-proxy-button {
225 width: 16px;
226 height: 16px;
227}
351107c9 228
229#page-proxy-deck {
d2f0d128 230 cursor: -moz-grab;
b1eaa419 231 margin: 1px 1px 1px 2px;
351107c9 232}
233
b1eaa419 234#page-proxy-button {
235 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
236 padding-top: 2px;
237 padding-bottom: 2px;
238}
239
240#page-proxy-favicon {
241 list-style-image: none;
242}
351107c9 243
b1eaa419 244/* ::::: autocomplete ::::: */
245
7aa65558 246.autocomplete-treebody:-moz-tree-cell-text(value) {
b1eaa419 247 padding-left: 13px;
248}
249
7aa65558 250.autocomplete-treebody:-moz-tree-cell-text(comment) {
b1eaa419 251 color: #E7ADE7;
252/* font-style: italic; */
351107c9 253}
254
b1eaa419 255.autocomplete-search-box {
256 border-top: 1px solid #FF9F00;
257 background-color: #9C9CFF;
258 color: #000000;
351107c9 259}
260
b1eaa419 261.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
262 border-top: 1px solid #9C9CFF;
351107c9 263}
351107c9 264
b1eaa419 265.autocomplete-search-engine {
266 padding: 2px;
351107c9 267}
268
b1eaa419 269.autocomplete-search-engine[menuactive="true"] {
270 background-color: #008484;
271 color: #FFCF00;
351107c9 272}
273
b1eaa419 274.autocomplete-search-engine-img {
275 margin-right: 4px;
276}
277
278/* ::::: go and searchbuttons ::::: */
279
351107c9 280#search-button,
281#go-button {
61290d60 282 margin: 1px 3px 1px 0px;
b1eaa419 283/* min-height: 25px; */
284 font-weight: bold;
285 background-color: #000000;
351107c9 286}
287
288#search-button:hover,
289#go-button:hover {
b1eaa419 290 background-color: #FFCF00;
351107c9 291}
292
b1eaa419 293#search-button {
294/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
295 font-weight: bold;
296}
351107c9 297
dc8e1207 298/* ::::: security button ::::: */
351107c9 299
dc8e1207 300#security-button {
301 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
302 margin-left: 2px;
b1eaa419 303}
351107c9 304
dc8e1207 305#security-button[level="high"] {
306 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
b1eaa419 307}
351107c9 308
dc8e1207 309#security-button[level="low"] {
310 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
311}
312
313#security-button[level="broken"] {
314 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
b1eaa419 315}
351107c9 316
dc8e1207 317/* ::::: personal toolbar ::::: */
351107c9 318
dc8e1207 319#bookmarks-button {
320 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
b1eaa419 321}
351107c9 322
dc8e1207 323#bookmarks-button[open="true"] {
324 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
b1eaa419 325}
351107c9 326
dc8e1207 327#home-button {
328 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
b1eaa419 329}