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