Commit | Line | Data |
---|---|---|
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 | 125 | toolbar[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 | |
d84b9613 | 170 | #urlbar[level="high"] > .autocomplete-textbox-container, |
171 | #urlbar[level="low"] > .autocomplete-textbox-container { | |
172 | background-color: #FFFFCC; | |
173 | } | |
174 | ||
74d14f90 | 175 | /* ::::: page proxy icon ::::: */ |
76983f4c | 176 | |
74d14f90 | 177 | #page-proxy-deck, |
178 | #page-proxy-favicon, | |
179 | #page-proxy-button { | |
180 | width: 16px; | |
181 | height: 16px; | |
182 | } | |
2d09e496 | 183 | |
184 | #page-proxy-deck { | |
d2f0d128 | 185 | cursor: -moz-grab; |
74d14f90 | 186 | margin: 1px 1px 1px 2px; |
187 | } | |
188 | ||
189 | #page-proxy-button { | |
76983f4c | 190 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
74d14f90 | 191 | padding-top: 2px; |
192 | padding-bottom: 2px; | |
76983f4c | 193 | } |
74d14f90 | 194 | |
195 | #page-proxy-favicon { | |
196 | list-style-image: none; | |
76983f4c | 197 | } |
f6e0a33f | 198 | |
74d14f90 | 199 | /* ::::: autocomplete ::::: */ |
200 | ||
a1f525f0 | 201 | .autocomplete-treebody::-moz-tree-cell-text(value) { |
74d14f90 | 202 | padding-left: 13px; |
f6e0a33f | 203 | } |
f6e0a33f | 204 | |
a1f525f0 | 205 | .autocomplete-treebody::-moz-tree-cell-text(comment) { |
74d14f90 | 206 | color: #808080; |
207 | /* font-style: italic; */ | |
f6e0a33f | 208 | } |
209 | ||
74d14f90 | 210 | .autocomplete-search-box { |
211 | border-top: 1px solid #9999CC; | |
212 | background-color: #666699; | |
213 | color: #000000; | |
214 | } | |
f6e0a33f | 215 | |
74d14f90 | 216 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
217 | border-top: 1px solid #666699; | |
218 | } | |
219 | ||
220 | .autocomplete-search-engine { | |
221 | padding: 2px; | |
222 | } | |
223 | ||
224 | .autocomplete-search-engine[menuactive="true"] { | |
225 | background-color: #9999CC; | |
226 | color: #000000; | |
227 | } | |
228 | ||
229 | .autocomplete-search-engine-img { | |
230 | margin-right: 4px; | |
231 | } | |
232 | ||
233 | /* ::::: go and searchbuttons ::::: */ | |
f6e0a33f | 234 | |
76983f4c | 235 | #search-button, |
f6e0a33f | 236 | #go-button { |
74d14f90 | 237 | margin: 0px 3px 0px 0px; |
238 | /* min-height: 25px; */ | |
239 | font-weight: bold; | |
240 | background-color: #9999CC; | |
f6e0a33f | 241 | } |
242 | ||
74d14f90 | 243 | #search-button { |
244 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ | |
245 | font-weight: bold; | |
f6e0a33f | 246 | } |
247 | ||
459f2165 | 248 | /* ::::: security button ::::: */ |
74d14f90 | 249 | |
459f2165 | 250 | #security-button { |
251 | list-style-image:url("chrome://communicator/skin/icons/lock-insecure.gif"); | |
252 | margin-left: 2px; | |
f6e0a33f | 253 | } |
254 | ||
b70a3a73 | 255 | /* |high| and |low| styles could be different, to better reflect the secure level... */ |
256 | #security-button[level="high"], | |
459f2165 | 257 | #security-button[level="low"] { |
258 | list-style-image:url("chrome://communicator/skin/icons/lock-secure.gif"); | |
74d14f90 | 259 | } |
f6e0a33f | 260 | |
459f2165 | 261 | #security-button[level="broken"] { |
262 | list-style-image:url("chrome://communicator/skin/icons/lock-broken.gif"); | |
74d14f90 | 263 | } |
f6e0a33f | 264 | |
76983f4c | 265 | #privacy-button { |
b70a3a73 | 266 | list-style-image: url("chrome://communicator/skin/permissions/taskbar-cookie.gif"); |
76983f4c | 267 | } |
268 | ||
4c66fa00 | 269 | #popupIcon { |
c37975cc | 270 | list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); |
4c66fa00 | 271 | } |
272 | ||
b618d1fd | 273 | #popupImage { |
274 | list-style-image: url("chrome://navigator/skin/icons/about-popups.gif"); | |
275 | margin: 6px 0px; | |
276 | } | |
277 | ||
459f2165 | 278 | /* ::::: personal toolbar ::::: */ |
f6e0a33f | 279 | |
459f2165 | 280 | #bookmarks-button { |
281 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
74d14f90 | 282 | } |
283 | ||
459f2165 | 284 | #bookmarks-button[open="true"] { |
285 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
74d14f90 | 286 | } |
459f2165 | 287 | |
288 | #home-button { | |
289 | list-style-image: url("chrome://communicator/skin/bookmarks/home.gif"); | |
b618d1fd | 290 | } |
291 | ||
56029caf RK |
292 | #bookmarks-chevron { |
293 | list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; | |
b618d1fd | 294 | } |
295 | ||
56029caf | 296 | #bookmarks-chevron > .toolbarbutton-menu-dropmarker { |
b618d1fd | 297 | display: none; |
298 | } |