make textbox highlight work without the regiurement of transparent border colors...
[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 {
ecb2fda9
RK
50 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
51 -moz-image-region: rect(42px 25px 63px 0px);
74d14f90 52}
f6e0a33f 53
74d14f90 54#back-button[disabled="true"] {
ecb2fda9 55 -moz-image-region: rect(42px 50px 63px 25px) !important;
74d14f90 56}
f6e0a33f 57
74d14f90 58#forward-button {
ecb2fda9
RK
59 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
60 -moz-image-region: rect(63px 25px 84px 0px);
74d14f90 61}
62
63#forward-button[disabled="true"] {
ecb2fda9 64 -moz-image-region: rect(63px 50px 84px 25px) !important;
74d14f90 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 {
ecb2fda9
RK
76 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
77 -moz-image-region: rect(21px 25px 42px 0px);
74d14f90 78}
79
80#stop-button[disabled="true"] {
ecb2fda9 81 -moz-image-region: rect(21px 50px 42px 25px) !important;
76983f4c 82}
74d14f90 83
84#print-button {
ecb2fda9
RK
85 list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png");
86 -moz-image-region: rect(0px 25px 21px 0px);
74d14f90 87}
f6e0a33f 88
89#print-button[disabled="true"] {
ecb2fda9 90 -moz-image-region: rect(0px 50px 21px 25px) !important;
74d14f90 91}
f6e0a33f 92
f2450795 93#clear-button {
94 list-style-image: url("chrome://global/skin/icons/close-button.gif");
95}
96
459f2165 97/* Hides text below the above buttons - should now be configurable */
98/*
74d14f90 99.toolbarbutton-1 > .toolbarbutton-menubutton-button > .toolbarbutton-text,
100.toolbarbutton-1 > .toolbarbutton-text {
f6e0a33f 101 display: none;
102}
459f2165 103*/
f6e0a33f 104
74d14f90 105#fullscreen-exit-button {
106 list-style-image: none;
107}
108
109#fullscreen-exit-button > .toolbarbutton-text {
76983f4c 110/* display: normal; */
74d14f90 111}
112
c8120ee9 113/* ::::: small primary toolbar buttons ::::: */
114
459f2165 115.toolbarbutton-text[toolbarmode="small"] {
116 display: none;
c9b2b3ef 117}
118
459f2165 119.toolbarbutton-icon[toolbarmode="small"] {
120 display: inline;
c8120ee9 121}
122
6c5a63bb
RK
123#nav-bar[mode="text"] > #nav-bar-inner,
124#nav-bar[mode="icons"] > #nav-bar-inner,
c8120ee9 125#nav-bar[toolbarmode="small"] > #nav-bar-inner {
083cee4a 126 margin: 2px 0px 2px 4px;
c8120ee9 127}
128
c9b2b3ef 129toolbar[toolbarmode="small"] > toolbargrippy {
c8120ee9 130 display: none;
131}
132
133/* ::::: fullscreen window controls ::::: */
134
135#window-controls {
136 -moz-box-align: center;
137 padding: 0 2px 0 4px;
083cee4a 138 border-left: 1px solid #9999CC;
139}
140
141#window-controls > toolbarbutton {
142 padding: 2px 0px 2px 2px;
c8120ee9 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
74d14f90 157/* ::::: nav-bar-inner ::::: */
158
159#nav-bar-inner {
160 padding-left: 0px;
161 min-width: 0px;
f2450795 162 margin: 7px 4px 8px 4px;
74d14f90 163}
76983f4c 164
74d14f90 165#urlbar {
f2450795 166 border: 1px solid;
167 -moz-border-top-colors: #71737A;
168 -moz-border-right-colors: #EFF0F4;
169 -moz-border-bottom-colors: #EFF0F4;
170 -moz-border-left-colors: #71737A;
74d14f90 171 margin: 0px 7px 0px 0px;
76983f4c 172}
74d14f90 173
d84b9613 174#urlbar[level="high"] > .autocomplete-textbox-container,
175#urlbar[level="low"] > .autocomplete-textbox-container {
176 background-color: #FFFFCC;
177}
178
74d14f90 179/* ::::: page proxy icon ::::: */
76983f4c 180
74d14f90 181#page-proxy-deck,
182#page-proxy-favicon,
183#page-proxy-button {
184 width: 16px;
185 height: 16px;
186}
2d09e496 187
188#page-proxy-deck {
d2f0d128 189 cursor: -moz-grab;
74d14f90 190 margin: 1px 1px 1px 2px;
191}
192
193#page-proxy-button {
76983f4c 194 list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif");
74d14f90 195 padding-top: 2px;
196 padding-bottom: 2px;
76983f4c 197}
74d14f90 198
199#page-proxy-favicon {
200 list-style-image: none;
76983f4c 201}
f6e0a33f 202
74d14f90 203/* ::::: autocomplete ::::: */
204
a1f525f0 205.autocomplete-treebody::-moz-tree-cell-text(value) {
74d14f90 206 padding-left: 13px;
f6e0a33f 207}
f6e0a33f 208
a1f525f0 209.autocomplete-treebody::-moz-tree-cell-text(comment) {
74d14f90 210 color: #808080;
211/* font-style: italic; */
f6e0a33f 212}
213
74d14f90 214.autocomplete-search-box {
215 border-top: 1px solid #9999CC;
216 background-color: #666699;
217 color: #000000;
218}
f6e0a33f 219
74d14f90 220.autocomplete-result-popup[nomatch] > .autocomplete-search-box {
221 border-top: 1px solid #666699;
222}
223
224.autocomplete-search-engine {
225 padding: 2px;
226}
227
228.autocomplete-search-engine[menuactive="true"] {
229 background-color: #9999CC;
230 color: #000000;
231}
232
233.autocomplete-search-engine-img {
234 margin-right: 4px;
235}
236
237/* ::::: go and searchbuttons ::::: */
f6e0a33f 238
76983f4c 239#search-button,
f6e0a33f 240#go-button {
74d14f90 241 margin: 0px 3px 0px 0px;
242/* min-height: 25px; */
243 font-weight: bold;
244 background-color: #9999CC;
f6e0a33f 245}
246
74d14f90 247#search-button {
248/* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */
249 font-weight: bold;
f6e0a33f 250}
251
459f2165 252/* ::::: security button ::::: */
74d14f90 253
459f2165 254#security-button {
255 list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif");
256 margin-left: 2px;
f6e0a33f 257}
258
b70a3a73 259/* |high| and |low| styles could be different, to better reflect the secure level... */
260#security-button[level="high"],
459f2165 261#security-button[level="low"] {
262 list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif");
74d14f90 263}
f6e0a33f 264
459f2165 265#security-button[level="broken"] {
266 list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif");
74d14f90 267}
f6e0a33f 268
4c66fa00 269#popupIcon {
c37975cc 270 list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif");
4c66fa00 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
56029caf
RK
287#bookmarks-chevron {
288 list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important;
b618d1fd 289}
290
56029caf 291#bookmarks-chevron > .toolbarbutton-menu-dropmarker {
b618d1fd 292 display: none;
293}
6082be94
RK
294
295/* ::::: feeds ::::: */
296
297#feedsMenu {
298 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important;
299 -moz-image-region: rect(0px 16px 16px 0px);
300}
301
302#feedsMenu[disabled="true"] {
303 -moz-image-region: rect(32px 16px 48px 0px);
304}
305
306#feedsButton {
307 list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png");
308 -moz-image-region: rect(0px 32px 16px 16px);
309}
310
311#feedsButton:hover {
312 -moz-image-region: rect(16px 32px 32px 16px);
313}
314
315#feedsButton:hover:active {
316 -moz-image-region: rect(48px 32px 64px 16px);
317}