URLbar icons for feed etc. should have a margin at the end
[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://communicator/skin/icons/communicatoricons.png");
51 -moz-image-region: rect(42px 25px 63px 0px);
52}
53
54#back-button[disabled="true"] {
55 -moz-image-region: rect(42px 50px 63px 25px) !important;
56}
57
58#forward-button {
59 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
60 -moz-image-region: rect(63px 25px 84px 0px);
61}
62
63#forward-button[disabled="true"] {
64 -moz-image-region: rect(63px 50px 84px 25px) !important;
65}
66
67#reload-button {
68 list-style-image: url("chrome://navigator/skin/icons/reload.gif");
69}
70
71#reload-button[disabled="true"] {
72 list-style-image: url("chrome://navigator/skin/icons/reload-disabled.gif") !important;
73}
74
75#stop-button {
76 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
77 -moz-image-region: rect(21px 25px 42px 0px);
78}
79
80#stop-button[disabled="true"] {
81 -moz-image-region: rect(21px 50px 42px 25px) !important;
82}
83
84#print-button {
85 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
86 -moz-image-region: rect(0px 25px 21px 0px);
87}
88
89#print-button[disabled="true"] {
90 -moz-image-region: rect(0px 50px 21px 25px) !important;
91}
92
93#clear-button {
94 list-style-image: url("chrome://global/skin/icons/close-button.gif");
95}
96
97/* Hides text below the above buttons - should now be configurable */
98/*
99.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
100.toolbarbutton-1 > .toolbarbutton-text {
101 display: none;
102}
103*/
104
105#fullscreen-exit-button {
106 list-style-image: none;
107}
108
109#fullscreen-exit-button > .toolbarbutton-text {
110/* display: normal; */
111}
112
113/* ::::: small primary toolbar buttons ::::: */
114
115.toolbarbutton-text[toolbarmode="small"] {
116 display: none;
117}
118
119.toolbarbutton-icon[toolbarmode="small"] {
120 display: inline;
121}
122
123#nav-bar[mode="text"] > #nav-bar-inner,
124#nav-bar[mode="icons"] > #nav-bar-inner,
125#nav-bar[toolbarmode="small"] > #nav-bar-inner {
126 margin: 2px 0px 2px 4px;
127}
128
129toolbar[toolbarmode="small"] > toolbargrippy {
130 display: none;
131}
132
133/* ::::: fullscreen window controls ::::: */
134
135#window-controls {
136 -moz-box-align: center;
137 padding: 0 2px 0 4px;
138 border-left: 1px solid #9999CC;
139}
140
141#window-controls > toolbarbutton {
142 padding: 2px 0px 2px 2px;
143}
144
145#minimize-button {
146 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
147}
148
149#restore-button {
150 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
151}
152
153#close-button {
154 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
155}
156
157/* ::::: nav-bar-inner ::::: */
158
159#nav-bar-inner {
160 padding-left: 0px;
161 min-width: 0px;
162 margin: 7px 4px 8px 4px;
163}
164
165#urlbar {
166 outline: none;
167 border: 1px inset #CCD0DD;
168 margin: 0px 7px 0px 0px;
169}
170
171#urlbar[level="high"] > .autocomplete-textbox-container,
172#urlbar[level="low"] > .autocomplete-textbox-container {
173 background-color: #FFFFCC;
174}
175
176/* ::::: page proxy icon ::::: */
177
178#page-proxy-deck,
179#page-proxy-favicon,
180#page-proxy-button {
181 width: 16px;
182 height: 16px;
183}
184
185#page-proxy-deck {
186 cursor: -moz-grab;
187 margin: 1px 1px 1px 2px;
188}
189
190#page-proxy-button {
191 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
192 padding-top: 2px;
193 padding-bottom: 2px;
194}
195
196#page-proxy-favicon {
197 list-style-image: none;
198}
199
200/* ::::: autocomplete ::::: */
201
202.autocomplete-treebody::-moz-tree-cell-text(value) {
203 padding-left: 13px;
204}
205
206.autocomplete-treebody::-moz-tree-cell-text(comment) {
207 color: #808080;
208/* font-style: italic; */
209}
210
211.autocomplete-search-box {
212 border-top: 1px solid #9999CC;
213 background-color: #666699;
214 color: #000000;
215}
216
217.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
218 border-top: 1px solid #666699;
219}
220
221.autocomplete-search-engine {
222 padding: 2px;
223}
224
225.autocomplete-search-engine[menuactive="true"] {
226 background-color: #9999CC;
227 color: #000000;
228}
229
230.autocomplete-search-engine-img {
231 margin-right: 4px;
232}
233
234/* ::::: go and searchbuttons ::::: */
235
236#search-button,
237#go-button {
238 margin: 0px 3px 0px 0px;
239/* min-height: 25px; */
240 font-weight: bold;
241 background-color: #9999CC;
242}
243
244#search-button {
245/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
246 font-weight: bold;
247}
248
249/* ::::: security button ::::: */
250
251#security-button {
252 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
253 margin-left: 2px;
254}
255
256/* |high| and |low| styles could be different, to better reflect the secure level... */
257#security-button[level="high"],
258#security-button[level="low"] {
259 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
260}
261
262#security-button[level="broken"] {
263 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
264}
265
266#popupIcon {
267 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
268}
269
270/* ::::: personal toolbar ::::: */
271
272#bookmarks-button {
273 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif");
274}
275
276#bookmarks-button[open="true"] {
277 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif");
278}
279
280#home-button {
281 list-style-image: url("chrome://communicator/skin/bookmarks/home.gif");
282}
283
284#bookmarks-chevron {
285 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
286}
287
288#bookmarks-chevron > .toolbarbutton-menu-dropmarker {
289 display: none;
290}
291
292/* ::::: feeds ::::: */
293
294#feedsMenu {
295 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important;
296 -moz-image-region: rect(0px 16px 16px 0px);
297}
298
299#feedsMenu[disabled="true"] {
300 -moz-image-region: rect(32px 16px 48px 0px);
301}
302
303#feedsButton {
304 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
305 -moz-image-region: rect(0px 32px 16px 16px);
306}
307
308#feedsButton:hover {
309 -moz-image-region: rect(16px 32px 32px 16px);
310}
311
312#feedsButton:hover:active {
313 -moz-image-region: rect(48px 32px 64px 16px);
314}