update LCARStrek to 2.0a1, step 2
[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
d84b9613 216#urlbar[level="high"] > .autocomplete-textbox-container,
217#urlbar[level="low"] > .autocomplete-textbox-container {
218 background-color: #FFCF00;
219 color: #000000;
220}
221
b1eaa419 222/* ::::: page proxy icon ::::: */
3d6dd546 223
b1eaa419 224#page-proxy-deck,
225#page-proxy-favicon,
226#page-proxy-button {
227 width: 16px;
228 height: 16px;
229}
351107c9 230
231#page-proxy-deck {
d2f0d128 232 cursor: -moz-grab;
b1eaa419 233 margin: 1px 1px 1px 2px;
3d6dd546 234}
351107c9 235
b1eaa419 236#page-proxy-button {
3d6dd546 237 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
b1eaa419 238 padding-top: 2px;
239 padding-bottom: 2px;
3d6dd546 240}
241
b1eaa419 242#page-proxy-favicon {
243 list-style-image: none;
3d6dd546 244}
351107c9 245
b1eaa419 246/* ::::: autocomplete ::::: */
247
01fc5c11 248.autocomplete-treebody::-moz-tree-cell-text(value) {
b1eaa419 249 padding-left: 13px;
250}
251
01fc5c11 252.autocomplete-treebody::-moz-tree-cell-text(comment) {
b1eaa419 253 color: #E7ADE7;
254/* font-style: italic; */
351107c9 255}
256
b1eaa419 257.autocomplete-search-box {
258 border-top: 1px solid #FF9F00;
259 background-color: #9C9CFF;
260 color: #000000;
3d6dd546 261}
351107c9 262
b1eaa419 263.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
264 border-top: 1px solid #9C9CFF;
351107c9 265}
351107c9 266
b1eaa419 267.autocomplete-search-engine {
268 padding: 2px;
3d6dd546 269}
351107c9 270
b1eaa419 271.autocomplete-search-engine[menuactive="true"] {
272 background-color: #008484;
273 color: #FFCF00;
3d6dd546 274}
351107c9 275
b1eaa419 276.autocomplete-search-engine-img {
277 margin-right: 4px;
278}
279
280/* ::::: go and searchbuttons ::::: */
281
3d6dd546 282#search-button,
351107c9 283#go-button {
61290d60 284 margin: 1px 3px 1px 0px;
b1eaa419 285/* min-height: 25px; */
286 font-weight: bold;
287 background-color: #000000;
351107c9 288}
289
3d6dd546 290#search-button:hover,
351107c9 291#go-button:hover {
b1eaa419 292 background-color: #FFCF00;
351107c9 293}
294
b1eaa419 295#search-button {
296/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
297 font-weight: bold;
298}
351107c9 299
dc8e1207 300/* ::::: security button ::::: */
351107c9 301
dc8e1207 302#security-button {
303 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
304 margin-left: 2px;
b1eaa419 305}
351107c9 306
57d23eae 307/* |high| and |low| styles could be different, to better reflect the secure level... */
308#security-button[level="high"],
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
3d6dd546 317#privacy-button {
57d23eae 318 list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
3d6dd546 319}
320
a3b3d4d6 321#popupIcon {
322 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
323}
324
ac1cdf20 325#popupImage {
326 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
327 margin: 6px 0px;
328}
329
dc8e1207 330/* ::::: personal toolbar ::::: */
351107c9 331
dc8e1207 332#bookmarks-button {
333 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
b1eaa419 334}
351107c9 335
dc8e1207 336#bookmarks-button[open="true"] {
337 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
b1eaa419 338}
351107c9 339
dc8e1207 340#home-button {
341 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
b1eaa419 342}
ac1cdf20 343
344toolbarbutton.chevron {
345 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
346 margin-right: 2px;
347}
348
349toolbarbutton.chevron:hover,
350toolbarbutton.chevron[open="true"] {
351 list-style-image: url("chrome://global/skin/toolbar/chevron-hover.gif") !important;
352}
353
354toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
355 display: none;
356}