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