Commit | Line | Data |
---|---|---|
351107c9 | 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 | ||
3d6dd546 | 38 | /** Contains style definitions for the navigator application |
351107c9 | 39 | **/ |
40 | ||
b1eaa419 | 41 | @import url("chrome://navigator/content/navigator.css"); |
42 | @import url("chrome://communicator/skin/"); | |
b1eaa419 | 43 | @import url("chrome://communicator/skin/bookmarks/bookmarksToolbar.css"); |
351107c9 | 44 | |
45 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); | |
46 | ||
47 | /********** resource bundle binding **********/ | |
48 | ||
b1eaa419 | 49 | /* ::::: primary toolbar buttons ::::: */ |
351107c9 | 50 | |
b1eaa419 | 51 | #back-button { |
e10e7add RK |
52 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
53 | -moz-image-region: rect(42px 25px 63px 0px); | |
b1eaa419 | 54 | } |
351107c9 | 55 | |
c710949d RK |
56 | #back-button[disabled="true"] { |
57 | -moz-image-region: rect(42px 50px 63px 25px); | |
b1eaa419 | 58 | } |
59 | ||
c710949d RK |
60 | #back-button:not([disabled="true"]):hover, |
61 | #back-button:not([disabled="true"]):hover:active, | |
62 | #back-button[open="true"] { | |
63 | -moz-image-region: rect(42px 75px 63px 50px); | |
b1eaa419 | 64 | } |
65 | ||
66 | #forward-button { | |
e10e7add RK |
67 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
68 | -moz-image-region: rect(63px 25px 84px 0px); | |
b1eaa419 | 69 | } |
351107c9 | 70 | |
c710949d RK |
71 | #forward-button[disabled="true"] { |
72 | -moz-image-region: rect(63px 50px 84px 25px); | |
b1eaa419 | 73 | } |
351107c9 | 74 | |
c710949d RK |
75 | #forward-button:not([disabled="true"]):hover, |
76 | #forward-button:not([disabled="true"]):hover:active, | |
77 | #forward-button[open="true"] { | |
78 | -moz-image-region: rect(63px 75px 84px 50px); | |
b1eaa419 | 79 | } |
80 | ||
81 | #reload-button { | |
c710949d RK |
82 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png"); |
83 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 84 | } |
351107c9 | 85 | |
c710949d RK |
86 | #reload-button[disabled="true"] { |
87 | -moz-image-region: rect(0px 50px 21px 25px); | |
b1eaa419 | 88 | } |
89 | ||
c710949d RK |
90 | #reload-button:not([disabled="true"]):hover, |
91 | #reload-button:not([disabled="true"]):hover:active { | |
92 | -moz-image-region: rect(0px 75px 21px 50px); | |
b1eaa419 | 93 | } |
94 | ||
95 | #stop-button { | |
e10e7add RK |
96 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
97 | -moz-image-region: rect(21px 25px 42px 0px); | |
b1eaa419 | 98 | } |
351107c9 | 99 | |
c710949d RK |
100 | #stop-button[disabled="true"] { |
101 | -moz-image-region: rect(21px 50px 42px 25px); | |
3d6dd546 | 102 | } |
351107c9 | 103 | |
c710949d RK |
104 | #stop-button:not([disabled="true"]):hover, |
105 | #stop-button:not([disabled="true"]):hover:active { | |
106 | -moz-image-region: rect(21px 75px 42px 50px); | |
3d6dd546 | 107 | } |
b1eaa419 | 108 | |
109 | #print-button { | |
e10e7add RK |
110 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
111 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 112 | } |
351107c9 | 113 | |
c710949d RK |
114 | #print-button[disabled="true"] { |
115 | -moz-image-region: rect(0px 50px 21px 25px); | |
b1eaa419 | 116 | } |
117 | ||
c710949d RK |
118 | #print-button:not([disabled="true"]):hover, |
119 | #print-button:not([disabled="true"]):hover:active, | |
120 | #print-button[open="true"] { | |
121 | -moz-image-region: rect(0px 75px 21px 50px); | |
b1eaa419 | 122 | } |
351107c9 | 123 | |
0ef1663c RK |
124 | #home-button { |
125 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
126 | -moz-image-region: rect(84px 25px 105px 0px); | |
127 | } | |
128 | ||
129 | #home-button[disabled="true"] { | |
130 | -moz-image-region: rect(84px 50px 105px 25px); | |
131 | } | |
132 | ||
133 | #home-button:not([disabled="true"]):hover, | |
134 | #home-button:not([disabled="true"]):hover:active { | |
135 | -moz-image-region: rect(84px 75px 105px 50px); | |
136 | } | |
137 | ||
b1e5c9b1 | 138 | #clear-button { |
139 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
140 | } | |
141 | ||
61290d60 | 142 | #clear-button:hover { |
143 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
144 | } | |
145 | ||
80916bc4 | 146 | /* ::::: small primary toolbar buttons ::::: */ |
147 | ||
e8fc8e8e | 148 | toolbar[iconsize="small"] > toolbarpaletteitem > #back-button, |
0ef1663c RK |
149 | toolbar[iconsize="small"] > #back-button { |
150 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
151 | -moz-image-region: rect(32px 16px 48px 0); | |
152 | } | |
153 | ||
e8fc8e8e | 154 | toolbar[iconsize="small"] > toolbarpaletteitem > #back-button[disabled="true"], |
0ef1663c RK |
155 | toolbar[iconsize="small"] > #back-button[disabled="true"] { |
156 | -moz-image-region: rect(32px 32px 48px 16px) !important; | |
157 | } | |
158 | ||
e8fc8e8e RK |
159 | toolbar[iconsize="small"] > toolbarpaletteitem > #back-button:not([disabled="true"]):hover, |
160 | toolbar[iconsize="small"] > toolbarpaletteitem > #back-button:not([disabled="true"]):hover:active, | |
0ef1663c RK |
161 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover, |
162 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active { | |
163 | -moz-image-region: rect(32px 48px 48px 32px); | |
164 | } | |
165 | ||
e8fc8e8e | 166 | toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button, |
0ef1663c RK |
167 | toolbar[iconsize="small"] > #forward-button { |
168 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
169 | -moz-image-region: rect(48px 16px 64px 0); | |
170 | } | |
171 | ||
e8fc8e8e | 172 | toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button[disabled="true"], |
0ef1663c RK |
173 | toolbar[iconsize="small"] > #forward-button[disabled="true"] { |
174 | -moz-image-region: rect(48px 32px 64px 16px) !important; | |
175 | } | |
176 | ||
e8fc8e8e RK |
177 | toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button:not([disabled="true"]):hover, |
178 | toolbar[iconsize="small"] > toolbarpaletteitem > #forward-button:not([disabled="true"]):hover:active, | |
0ef1663c RK |
179 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover, |
180 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active { | |
181 | -moz-image-region: rect(48px 48px 64px 32px); | |
182 | } | |
183 | ||
e8fc8e8e | 184 | toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button, |
0ef1663c RK |
185 | toolbar[iconsize="small"] > #reload-button { |
186 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png"); | |
187 | -moz-image-region: rect(0 16px 16px 0); | |
188 | } | |
189 | ||
e8fc8e8e | 190 | toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button[disabled="true"], |
0ef1663c RK |
191 | toolbar[iconsize="small"] > #reload-button[disabled="true"] { |
192 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
193 | } | |
194 | ||
e8fc8e8e RK |
195 | toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button:not([disabled="true"]):hover, |
196 | toolbar[iconsize="small"] > toolbarpaletteitem > #reload-button:not([disabled="true"]):hover:active, | |
0ef1663c RK |
197 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover, |
198 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active { | |
199 | -moz-image-region: rect(0 48px 16px 32px); | |
200 | } | |
201 | ||
e8fc8e8e | 202 | toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button, |
0ef1663c RK |
203 | toolbar[iconsize="small"] > #stop-button { |
204 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
205 | -moz-image-region: rect(16px 16px 32px 0); | |
206 | } | |
207 | ||
e8fc8e8e | 208 | toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button[disabled="true"], |
0ef1663c RK |
209 | toolbar[iconsize="small"] > #stop-button[disabled="true"] { |
210 | -moz-image-region: rect(16px 32px 32px 16px) !important; | |
211 | } | |
212 | ||
507ac708 | 213 | toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button:not([disabled="true"]):hover, |
e8fc8e8e | 214 | toolbar[iconsize="small"] > toolbarpaletteitem > #stop-button:not([disabled="true"]):hover:active, |
0ef1663c RK |
215 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover, |
216 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active { | |
217 | -moz-image-region: rect(16px 48px 32px 32px); | |
218 | } | |
219 | ||
e8fc8e8e | 220 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button, |
0ef1663c RK |
221 | toolbar[iconsize="small"] > #print-button { |
222 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
223 | -moz-image-region: rect(0 16px 16px 0); | |
224 | } | |
225 | ||
e8fc8e8e | 226 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button[disabled="true"], |
0ef1663c RK |
227 | toolbar[iconsize="small"] > #print-button[disabled="true"] { |
228 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
229 | } | |
230 | ||
507ac708 | 231 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button:not([disabled="true"]):hover, |
e8fc8e8e | 232 | toolbar[iconsize="small"] > toolbarpaletteitem > #print-button:not([disabled="true"]):hover:active, |
0ef1663c RK |
233 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, |
234 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { | |
235 | -moz-image-region: rect(0 48px 16px 32px); | |
236 | } | |
237 | ||
e8fc8e8e | 238 | toolbar[iconsize="small"] > toolbarpaletteitem > #home-button, |
0ef1663c RK |
239 | toolbar[iconsize="small"] > #home-button { |
240 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
241 | -moz-image-region: rect(64px 16px 80px 0); | |
242 | } | |
243 | ||
507ac708 | 244 | toolbar[iconsize="small"] > toolbarpaletteitem > #home-button[disabled="true"], |
0ef1663c RK |
245 | toolbar[iconsize="small"] > #home-button[disabled="true"] { |
246 | -moz-image-region: rect(64px 32px 80px 16px) !important; | |
247 | } | |
248 | ||
e8fc8e8e RK |
249 | toolbar[iconsize="small"] > toolbarpaletteitem > #home-button:not([disabled="true"]):hover, |
250 | toolbar[iconsize="small"] > toolbarpaletteitem > #home-button:not([disabled="true"]):hover:active, | |
0ef1663c RK |
251 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover, |
252 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active { | |
253 | -moz-image-region: rect(64px 48px 80px 32px); | |
254 | } | |
255 | ||
80916bc4 | 256 | /* ::::: fullscreen window controls ::::: */ |
257 | ||
258 | #window-controls { | |
259 | -moz-box-align: center; | |
862a6f44 | 260 | padding: 0 1px; |
e20d243c | 261 | border-left: 3px solid #000000; |
862a6f44 | 262 | -moz-margin-start: 2px; |
e20d243c | 263 | } |
264 | ||
265 | #window-controls > toolbarbutton { | |
862a6f44 RK |
266 | padding: 3px; |
267 | -moz-padding-start: 2px; | |
268 | -moz-padding-end: 1px; | |
80916bc4 | 269 | } |
270 | ||
7a7b11b3 RK |
271 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { |
272 | display: -moz-box; | |
273 | } | |
274 | ||
80916bc4 | 275 | #minimize-button { |
276 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
277 | } | |
278 | ||
e20d243c | 279 | #minimize-button:hover { |
280 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
281 | } | |
282 | ||
80916bc4 | 283 | #restore-button { |
284 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
285 | } | |
286 | ||
e20d243c | 287 | #restore-button:hover { |
288 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
289 | } | |
290 | ||
80916bc4 | 291 | #close-button { |
292 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
293 | } | |
294 | ||
e20d243c | 295 | #close-button:hover { |
296 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
297 | } | |
298 | ||
b1eaa419 | 299 | /* ::::: nav-bar-inner ::::: */ |
300 | ||
301 | #nav-bar-inner { | |
c710949d RK |
302 | -moz-padding-start: 1px; |
303 | -moz-padding-end: 1px; | |
b1eaa419 | 304 | min-width: 0px; |
c710949d | 305 | -moz-box-align: center; |
b1eaa419 | 306 | } |
307 | ||
308 | #urlbar { | |
7c6f4fb9 | 309 | -moz-border-radius: 5px; |
c710949d RK |
310 | margin: 0; |
311 | -moz-margin-start: 3px; | |
2c8f3260 RK |
312 | } |
313 | ||
314 | #urlbar > .autocomplete-textbox-container { | |
315 | -moz-border-radius: 3px 0 0 3px; | |
316 | padding: 2px; | |
b1eaa419 | 317 | } |
318 | ||
d84b9613 | 319 | #urlbar[level="high"] > .autocomplete-textbox-container, |
320 | #urlbar[level="low"] > .autocomplete-textbox-container { | |
321 | background-color: #FFCF00; | |
322 | color: #000000; | |
323 | } | |
324 | ||
e8fc8e8e RK |
325 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar, |
326 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons { | |
327 | display: none; | |
328 | } | |
329 | ||
b1eaa419 | 330 | /* ::::: page proxy icon ::::: */ |
3d6dd546 | 331 | |
b1eaa419 | 332 | #page-proxy-deck, |
333 | #page-proxy-favicon, | |
334 | #page-proxy-button { | |
335 | width: 16px; | |
336 | height: 16px; | |
337 | } | |
351107c9 | 338 | |
339 | #page-proxy-deck { | |
d2f0d128 | 340 | cursor: -moz-grab; |
2c8f3260 | 341 | margin: 0; |
3d6dd546 | 342 | } |
351107c9 | 343 | |
b1eaa419 | 344 | #page-proxy-button { |
3d6dd546 | 345 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
b1eaa419 | 346 | padding-top: 2px; |
347 | padding-bottom: 2px; | |
3d6dd546 | 348 | } |
349 | ||
b1eaa419 | 350 | #page-proxy-favicon { |
351 | list-style-image: none; | |
3d6dd546 | 352 | } |
351107c9 | 353 | |
b1eaa419 | 354 | /* ::::: autocomplete ::::: */ |
355 | ||
01fc5c11 | 356 | .autocomplete-treebody::-moz-tree-cell-text(value) { |
e8fc8e8e | 357 | -moz-padding-start: 13px; |
b1eaa419 | 358 | } |
359 | ||
01fc5c11 | 360 | .autocomplete-treebody::-moz-tree-cell-text(comment) { |
b1eaa419 | 361 | color: #E7ADE7; |
362 | /* font-style: italic; */ | |
351107c9 | 363 | } |
364 | ||
b1eaa419 | 365 | .autocomplete-search-box { |
366 | border-top: 1px solid #FF9F00; | |
367 | background-color: #9C9CFF; | |
368 | color: #000000; | |
3d6dd546 | 369 | } |
351107c9 | 370 | |
b1eaa419 | 371 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
372 | border-top: 1px solid #9C9CFF; | |
351107c9 | 373 | } |
351107c9 | 374 | |
b1eaa419 | 375 | .autocomplete-search-engine { |
376 | padding: 2px; | |
3d6dd546 | 377 | } |
351107c9 | 378 | |
b1eaa419 | 379 | .autocomplete-search-engine[menuactive="true"] { |
380 | background-color: #008484; | |
381 | color: #FFCF00; | |
3d6dd546 | 382 | } |
351107c9 | 383 | |
b1eaa419 | 384 | .autocomplete-search-engine-img { |
8caa872d | 385 | -moz-margin-end: 4px; |
b1eaa419 | 386 | } |
387 | ||
f8bb6584 RK |
388 | .autocomplete-history-dropmarker:hover { |
389 | background-color: #FFCF00; | |
390 | } | |
391 | ||
392 | .autocomplete-history-dropmarker:hover:active, | |
393 | .autocomplete-history-dropmarker[open="true"] { | |
394 | background-color: #FF9F00; | |
395 | } | |
396 | ||
b1eaa419 | 397 | /* ::::: go and searchbuttons ::::: */ |
398 | ||
3d6dd546 | 399 | #search-button, |
351107c9 | 400 | #go-button { |
c710949d | 401 | margin: 0; |
2834b9ef | 402 | padding: 1px 0; |
c710949d | 403 | -moz-margin-start: 2px; |
b1eaa419 | 404 | font-weight: bold; |
405 | background-color: #000000; | |
351107c9 | 406 | } |
407 | ||
3d6dd546 | 408 | #search-button:hover, |
351107c9 | 409 | #go-button:hover { |
b1eaa419 | 410 | background-color: #FFCF00; |
351107c9 | 411 | } |
412 | ||
2c8f3260 RK |
413 | /* care that those buttons base on the same min height of 16px that the urlbar |
414 | autocomplete box gets through site icon and urlbar icons at the right */ | |
415 | #search-button > .button-box , | |
416 | #go-button > .button-box { | |
417 | min-height: 16px; | |
418 | } | |
419 | ||
b1eaa419 | 420 | #search-button { |
421 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ | |
422 | font-weight: bold; | |
423 | } | |
351107c9 | 424 | |
7a7b11b3 RK |
425 | /* |
426 | toolbar[mode="text"] #search-button > .button-box > .button-icon, | |
427 | toolbar[mode="icons"] #search-button > .button-box > .button-text { | |
428 | display: none; | |
429 | } | |
430 | */ | |
431 | ||
31e46317 RK |
432 | /* ::::: throbber ::::: */ |
433 | ||
434 | #throbber-box { | |
435 | -moz-margin-start: 2px; | |
436 | } | |
437 | ||
dc8e1207 | 438 | /* ::::: security button ::::: */ |
351107c9 | 439 | |
dc8e1207 | 440 | #security-button { |
aeb317b8 RK |
441 | border-left: 3px solid black; |
442 | -moz-padding-start: 2px; | |
443 | } | |
444 | ||
445 | #security-button { | |
446 | list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif"); | |
447 | } | |
448 | ||
449 | #security-button > .statusbarpanel-text { | |
450 | margin: 0px; | |
b1eaa419 | 451 | } |
351107c9 | 452 | |
57d23eae | 453 | /* |high| and |low| styles could be different, to better reflect the secure level... */ |
454 | #security-button[level="high"], | |
dc8e1207 | 455 | #security-button[level="low"] { |
aeb317b8 RK |
456 | list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png"); |
457 | background-color: #FFCF00; | |
dc8e1207 | 458 | } |
459 | ||
460 | #security-button[level="broken"] { | |
aeb317b8 RK |
461 | list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); |
462 | background-color: #FF0000; | |
463 | } | |
464 | ||
465 | #security-button[label][level="high"] { | |
466 | list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); | |
467 | background-color: #008484; | |
468 | color: #FFCF00; | |
b1eaa419 | 469 | } |
351107c9 | 470 | |
d9954aaf RK |
471 | #ev-button { |
472 | list-style-image: url("chrome://communicator/skin/icons/identity.png"); | |
473 | } | |
474 | ||
a3b3d4d6 | 475 | #popupIcon { |
476 | list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
477 | } | |
478 | ||
dc8e1207 | 479 | /* ::::: personal toolbar ::::: */ |
351107c9 | 480 | |
dc8e1207 | 481 | #bookmarks-button { |
482 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
b1eaa419 | 483 | } |
351107c9 | 484 | |
dc8e1207 | 485 | #bookmarks-button[open="true"] { |
486 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
b1eaa419 | 487 | } |
351107c9 | 488 | |
c710949d | 489 | toolbarbutton.chevron { |
e10e7add | 490 | list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; |
ac1cdf20 | 491 | } |
492 | ||
c710949d RK |
493 | toolbarbutton.chevron:hover, |
494 | toolbarbutton.chevron[open="true"] { | |
e10e7add | 495 | list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important; |
ac1cdf20 | 496 | } |
497 | ||
7a7b11b3 | 498 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
ac1cdf20 | 499 | display: none; |
500 | } | |
e10e7add | 501 | |
7a7b11b3 RK |
502 | toolbarbutton.chevron > .toolbarbutton-text { |
503 | display: none; /* hide chevron label which has a width even if blank */ | |
504 | } | |
505 | ||
506 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { | |
507 | display: -moz-box; /* display chevron icon in text mode */ | |
508 | } | |
509 | ||
510 | /* Prevent [mode="icons"|"text"] from hiding the label and icon */ | |
511 | #bookmarks-ptf .bookmark-item > .toolbarbutton-text, | |
512 | #bookmarks-ptf .bookmark-item > .toolbarbutton-icon { | |
513 | display: -moz-box !important; | |
514 | } | |
515 | ||
e8fc8e8e | 516 | #PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon, |
0ef1663c RK |
517 | #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { |
518 | /* width: 16px; | |
519 | height: 16px; */ | |
520 | } | |
521 | ||
522 | #PersonalToolbar > #home-button { | |
523 | cursor: pointer; | |
524 | } | |
525 | ||
526 | #PersonalToolbar > #home-button[disabled="true"] { | |
527 | cursor: default !important; | |
528 | } | |
529 | ||
e8fc8e8e RK |
530 | /* |
531 | In customize mode we hide the normal bookmark items and show a placeholder | |
532 | for the drag/drop UI. | |
533 | */ | |
534 | .bookmarks-toolbar-customize { | |
535 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
536 | display: none; | |
537 | max-width: 15em !important; | |
538 | } | |
539 | ||
540 | toolbarpaletteitem[place] > #personal-bookmarks > .bookmarks-toolbar-customize { | |
541 | display: -moz-box; | |
542 | } | |
543 | ||
544 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-customize { | |
545 | -moz-box-orient: vertical; | |
546 | } | |
547 | ||
548 | toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, | |
549 | toolbarpaletteitem[place="toolbar"] > #personal-bookmarks > .bookmarks-toolbar-items { | |
550 | visibility: collapse; | |
551 | } | |
552 | ||
553 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-overflow-items, | |
554 | toolbarpaletteitem[place="palette"] > #personal-bookmarks > .bookmarks-toolbar-items { | |
555 | display: none; | |
556 | } | |
557 | ||
e10e7add RK |
558 | /* ::::: feeds ::::: */ |
559 | ||
560 | #feedsMenu { | |
561 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png") !important; | |
562 | -moz-image-region: rect(0px 16px 16px 0px); | |
563 | } | |
564 | ||
565 | #feedsMenu[disabled="true"] { | |
566 | -moz-image-region: rect(32px 16px 48px 0px); | |
567 | } | |
568 | ||
569 | #feedsButton { | |
570 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); | |
571 | -moz-image-region: rect(0px 32px 16px 16px); | |
572 | } | |
573 | ||
574 | #feedsButton:hover { | |
575 | -moz-image-region: rect(16px 32px 32px 16px); | |
576 | } | |
577 | ||
578 | #feedsButton:hover:active { | |
579 | -moz-image-region: rect(48px 32px 64px 16px); | |
580 | } |