keep up with SeaMonkey Classic changes done in the last few months
[themes.git] / EarlyBlue / navigator / navigator.css
... / ...
CommitLineData
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://navigator/skin/icons/back.gif");
51}
52
53#back-button[disabled="true"] {
54 list-style-image: url("chrome://navigator/skin/icons/back-disabled.gif") !important;
55}
56
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;
79}
80
81#print-button {
82 list-style-image: url("chrome://global/skin/icons/print.gif");
83}
84
85#print-button[disabled="true"] {
86 list-style-image: url("chrome://global/skin/icons/print-disabled.gif") !important;
87}
88
89#clear-button {
90 list-style-image: url("chrome://global/skin/icons/close-button.gif");
91}
92
93/* Hides text below the above buttons - should now be configurable */
94/*
95.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
96.toolbarbutton-1 > .toolbarbutton-text {
97 display: none;
98}
99*/
100
101#fullscreen-exit-button {
102 list-style-image: none;
103}
104
105#fullscreen-exit-button > .toolbarbutton-text {
106/* display: normal; */
107}
108
109/* ::::: small primary toolbar buttons ::::: */
110
111.toolbarbutton-text[toolbarmode="small"] {
112 display: none;
113}
114
115.toolbarbutton-icon[toolbarmode="small"] {
116 display: inline;
117}
118
119#nav-bar[buttonstyle="text"] > #nav-bar-inner,
120#nav-bar[buttonstyle="pictures"] > #nav-bar-inner,
121#nav-bar[toolbarmode="small"] > #nav-bar-inner {
122 margin: 2px 0px 2px 4px;
123}
124
125toolbar[toolbarmode="small"] > toolbargrippy {
126 display: none;
127}
128
129/* ::::: fullscreen window controls ::::: */
130
131#window-controls {
132 -moz-box-align: center;
133 padding: 0 2px 0 4px;
134 border-left: 1px solid #9999CC;
135}
136
137#window-controls > toolbarbutton {
138 padding: 2px 0px 2px 2px;
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
153/* ::::: nav-bar-inner ::::: */
154
155#nav-bar-inner {
156 padding-left: 0px;
157 min-width: 0px;
158 margin: 7px 4px 8px 4px;
159}
160
161#urlbar {
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;
167 margin: 0px 7px 0px 0px;
168}
169
170/* ::::: page proxy icon ::::: */
171
172#page-proxy-deck,
173#page-proxy-favicon,
174#page-proxy-button {
175 width: 16px;
176 height: 16px;
177}
178
179#page-proxy-deck {
180 cursor: -moz-grab;
181 margin: 1px 1px 1px 2px;
182}
183
184#page-proxy-button {
185 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
186 padding-top: 2px;
187 padding-bottom: 2px;
188}
189
190#page-proxy-favicon {
191 list-style-image: none;
192}
193
194/* ::::: autocomplete ::::: */
195
196.autocomplete-treebody::-moz-tree-cell-text(value) {
197 padding-left: 13px;
198}
199
200.autocomplete-treebody::-moz-tree-cell-text(comment) {
201 color: #808080;
202/* font-style: italic; */
203}
204
205.autocomplete-search-box {
206 border-top: 1px solid #9999CC;
207 background-color: #666699;
208 color: #000000;
209}
210
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 ::::: */
229
230#search-button,
231#go-button {
232 margin: 0px 3px 0px 0px;
233/* min-height: 25px; */
234 font-weight: bold;
235 background-color: #9999CC;
236}
237
238#search-button {
239/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
240 font-weight: bold;
241}
242
243/* ::::: security button ::::: */
244
245#security-button {
246 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
247 margin-left: 2px;
248}
249
250/* |high| and |low| styles could be different, to better reflect the secure level... */
251#security-button[level="high"],
252#security-button[level="low"] {
253 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
254}
255
256#security-button[level="broken"] {
257 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
258}
259
260#privacy-button {
261 list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif");
262}
263
264#popupIcon {
265 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
266}
267
268#popupImage {
269 list-style-image: url("chrome://navigator/skin/icons/about-popups.gif");
270 margin: 6px 0px;
271}
272
273/* ::::: personal toolbar ::::: */
274
275#bookmarks-button {
276 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
277}
278
279#bookmarks-button[open="true"] {
280 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
281}
282
283#home-button {
284 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
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}