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 | ||
b1eaa419 | 47 | /* ::::: primary toolbar buttons ::::: */ |
351107c9 | 48 | |
b1eaa419 | 49 | #back-button { |
e10e7add RK |
50 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
51 | -moz-image-region: rect(42px 25px 63px 0px); | |
b1eaa419 | 52 | } |
351107c9 | 53 | |
c710949d RK |
54 | #back-button[disabled="true"] { |
55 | -moz-image-region: rect(42px 50px 63px 25px); | |
b1eaa419 | 56 | } |
57 | ||
c710949d RK |
58 | #back-button:not([disabled="true"]):hover, |
59 | #back-button:not([disabled="true"]):hover:active, | |
60 | #back-button[open="true"] { | |
61 | -moz-image-region: rect(42px 75px 63px 50px); | |
b1eaa419 | 62 | } |
63 | ||
64 | #forward-button { | |
e10e7add RK |
65 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
66 | -moz-image-region: rect(63px 25px 84px 0px); | |
b1eaa419 | 67 | } |
351107c9 | 68 | |
c710949d RK |
69 | #forward-button[disabled="true"] { |
70 | -moz-image-region: rect(63px 50px 84px 25px); | |
b1eaa419 | 71 | } |
351107c9 | 72 | |
c710949d RK |
73 | #forward-button:not([disabled="true"]):hover, |
74 | #forward-button:not([disabled="true"]):hover:active, | |
75 | #forward-button[open="true"] { | |
76 | -moz-image-region: rect(63px 75px 84px 50px); | |
b1eaa419 | 77 | } |
78 | ||
79 | #reload-button { | |
c710949d RK |
80 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons.png"); |
81 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 82 | } |
351107c9 | 83 | |
c710949d RK |
84 | #reload-button[disabled="true"] { |
85 | -moz-image-region: rect(0px 50px 21px 25px); | |
b1eaa419 | 86 | } |
87 | ||
c710949d RK |
88 | #reload-button:not([disabled="true"]):hover, |
89 | #reload-button:not([disabled="true"]):hover:active { | |
90 | -moz-image-region: rect(0px 75px 21px 50px); | |
b1eaa419 | 91 | } |
92 | ||
93 | #stop-button { | |
e10e7add RK |
94 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
95 | -moz-image-region: rect(21px 25px 42px 0px); | |
b1eaa419 | 96 | } |
351107c9 | 97 | |
c710949d RK |
98 | #stop-button[disabled="true"] { |
99 | -moz-image-region: rect(21px 50px 42px 25px); | |
3d6dd546 | 100 | } |
351107c9 | 101 | |
c710949d RK |
102 | #stop-button:not([disabled="true"]):hover, |
103 | #stop-button:not([disabled="true"]):hover:active { | |
104 | -moz-image-region: rect(21px 75px 42px 50px); | |
3d6dd546 | 105 | } |
b1eaa419 | 106 | |
107 | #print-button { | |
e10e7add RK |
108 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); |
109 | -moz-image-region: rect(0px 25px 21px 0px); | |
b1eaa419 | 110 | } |
351107c9 | 111 | |
c710949d RK |
112 | #print-button[disabled="true"] { |
113 | -moz-image-region: rect(0px 50px 21px 25px); | |
b1eaa419 | 114 | } |
115 | ||
c710949d RK |
116 | #print-button:not([disabled="true"]):hover, |
117 | #print-button:not([disabled="true"]):hover:active, | |
118 | #print-button[open="true"] { | |
119 | -moz-image-region: rect(0px 75px 21px 50px); | |
b1eaa419 | 120 | } |
351107c9 | 121 | |
0ef1663c RK |
122 | #home-button { |
123 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons.png"); | |
124 | -moz-image-region: rect(84px 25px 105px 0px); | |
125 | } | |
126 | ||
127 | #home-button[disabled="true"] { | |
128 | -moz-image-region: rect(84px 50px 105px 25px); | |
129 | } | |
130 | ||
131 | #home-button:not([disabled="true"]):hover, | |
132 | #home-button:not([disabled="true"]):hover:active { | |
133 | -moz-image-region: rect(84px 75px 105px 50px); | |
134 | } | |
135 | ||
c2e1f790 RK |
136 | #sync-button { |
137 | list-style-image: url("chrome://communicator/skin/sync/sync-32.png"); | |
138 | } | |
139 | ||
140 | #sync-button[status=active] { | |
141 | list-style-image: url("chrome://communicator/skin/sync/sync-32-throbber.png"); | |
142 | } | |
143 | ||
b1e5c9b1 | 144 | #clear-button { |
145 | list-style-image: url("chrome://global/skin/icons/close-button.gif"); | |
146 | } | |
147 | ||
61290d60 | 148 | #clear-button:hover { |
149 | list-style-image: url("chrome://global/skin/icons/close-button-hover.gif"); | |
150 | } | |
151 | ||
80916bc4 | 152 | /* ::::: small primary toolbar buttons ::::: */ |
153 | ||
0ef1663c RK |
154 | toolbar[iconsize="small"] > #back-button { |
155 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
156 | -moz-image-region: rect(32px 16px 48px 0); | |
157 | } | |
158 | ||
159 | toolbar[iconsize="small"] > #back-button[disabled="true"] { | |
160 | -moz-image-region: rect(32px 32px 48px 16px) !important; | |
161 | } | |
162 | ||
163 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover, | |
164 | toolbar[iconsize="small"] > #back-button:not([disabled="true"]):hover:active { | |
165 | -moz-image-region: rect(32px 48px 48px 32px); | |
166 | } | |
167 | ||
168 | toolbar[iconsize="small"] > #forward-button { | |
169 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
170 | -moz-image-region: rect(48px 16px 64px 0); | |
171 | } | |
172 | ||
173 | toolbar[iconsize="small"] > #forward-button[disabled="true"] { | |
174 | -moz-image-region: rect(48px 32px 64px 16px) !important; | |
175 | } | |
176 | ||
177 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover, | |
178 | toolbar[iconsize="small"] > #forward-button:not([disabled="true"]):hover:active { | |
179 | -moz-image-region: rect(48px 48px 64px 32px); | |
180 | } | |
181 | ||
182 | toolbar[iconsize="small"] > #reload-button { | |
183 | list-style-image: url("chrome://navigator/skin/icons/navigatoricons-small.png"); | |
184 | -moz-image-region: rect(0 16px 16px 0); | |
185 | } | |
186 | ||
187 | toolbar[iconsize="small"] > #reload-button[disabled="true"] { | |
188 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
189 | } | |
190 | ||
191 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover, | |
192 | toolbar[iconsize="small"] > #reload-button:not([disabled="true"]):hover:active { | |
193 | -moz-image-region: rect(0 48px 16px 32px); | |
194 | } | |
195 | ||
196 | toolbar[iconsize="small"] > #stop-button { | |
197 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
198 | -moz-image-region: rect(16px 16px 32px 0); | |
199 | } | |
200 | ||
201 | toolbar[iconsize="small"] > #stop-button[disabled="true"] { | |
202 | -moz-image-region: rect(16px 32px 32px 16px) !important; | |
203 | } | |
204 | ||
205 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover, | |
206 | toolbar[iconsize="small"] > #stop-button:not([disabled="true"]):hover:active { | |
207 | -moz-image-region: rect(16px 48px 32px 32px); | |
208 | } | |
209 | ||
210 | toolbar[iconsize="small"] > #print-button { | |
211 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
212 | -moz-image-region: rect(0 16px 16px 0); | |
213 | } | |
214 | ||
215 | toolbar[iconsize="small"] > #print-button[disabled="true"] { | |
216 | -moz-image-region: rect(0 32px 16px 16px) !important; | |
217 | } | |
218 | ||
219 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover, | |
220 | toolbar[iconsize="small"] > #print-button:not([disabled="true"]):hover:active { | |
221 | -moz-image-region: rect(0 48px 16px 32px); | |
222 | } | |
223 | ||
224 | toolbar[iconsize="small"] > #home-button { | |
225 | list-style-image: url("chrome://communicator/skin/icons/communicatoricons-small.png"); | |
226 | -moz-image-region: rect(64px 16px 80px 0); | |
227 | } | |
228 | ||
229 | toolbar[iconsize="small"] > #home-button[disabled="true"] { | |
230 | -moz-image-region: rect(64px 32px 80px 16px) !important; | |
231 | } | |
232 | ||
233 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover, | |
234 | toolbar[iconsize="small"] > #home-button:not([disabled="true"]):hover:active { | |
235 | -moz-image-region: rect(64px 48px 80px 32px); | |
236 | } | |
237 | ||
c2e1f790 RK |
238 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button, |
239 | toolbar[iconsize="small"] > #sync-button { | |
240 | list-style-image: url("chrome://communicator/skin/sync/sync-16.png"); | |
241 | } | |
242 | ||
243 | toolbar[iconsize="small"] > toolbarpaletteitem > #sync-button[status=active], | |
244 | toolbar[iconsize="small"] > #sync-button[status=active] { | |
245 | list-style-image: url("chrome://communicator/skin/sync/sync-16-throbber.png"); | |
246 | } | |
247 | ||
f1b199d6 RK |
248 | #FindToolbar:-moz-lwtheme { |
249 | /* -moz-border-top-colors: transparent; | |
250 | -moz-border-bottom-colors: transparent; */ | |
251 | } | |
252 | ||
80916bc4 | 253 | /* ::::: fullscreen window controls ::::: */ |
254 | ||
255 | #window-controls { | |
256 | -moz-box-align: center; | |
862a6f44 | 257 | padding: 0 1px; |
e20d243c | 258 | border-left: 3px solid #000000; |
862a6f44 | 259 | -moz-margin-start: 2px; |
e20d243c | 260 | } |
261 | ||
262 | #window-controls > toolbarbutton { | |
862a6f44 RK |
263 | padding: 3px; |
264 | -moz-padding-start: 2px; | |
265 | -moz-padding-end: 1px; | |
80916bc4 | 266 | } |
267 | ||
7a7b11b3 RK |
268 | toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon { |
269 | display: -moz-box; | |
270 | } | |
271 | ||
80916bc4 | 272 | #minimize-button { |
273 | list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif"); | |
274 | } | |
275 | ||
e20d243c | 276 | #minimize-button:hover { |
277 | list-style-image: url("chrome://navigator/skin/icons/win-minimize-hover.gif"); | |
278 | } | |
279 | ||
80916bc4 | 280 | #restore-button { |
281 | list-style-image: url("chrome://navigator/skin/icons/win-restore.gif"); | |
282 | } | |
283 | ||
e20d243c | 284 | #restore-button:hover { |
285 | list-style-image: url("chrome://navigator/skin/icons/win-restore-hover.gif"); | |
286 | } | |
287 | ||
80916bc4 | 288 | #close-button { |
289 | list-style-image: url("chrome://navigator/skin/icons/win-close.gif"); | |
290 | } | |
291 | ||
e20d243c | 292 | #close-button:hover { |
293 | list-style-image: url("chrome://navigator/skin/icons/win-close-hover.gif"); | |
294 | } | |
295 | ||
b1eaa419 | 296 | /* ::::: nav-bar-inner ::::: */ |
297 | ||
d1476608 | 298 | .nav-bar-class { |
c710949d RK |
299 | -moz-padding-start: 1px; |
300 | -moz-padding-end: 1px; | |
b1eaa419 | 301 | min-width: 0px; |
c710949d | 302 | -moz-box-align: center; |
b1eaa419 | 303 | } |
304 | ||
305 | #urlbar { | |
569543b3 | 306 | border-radius: 5px; |
c710949d RK |
307 | margin: 0; |
308 | -moz-margin-start: 3px; | |
2c8f3260 RK |
309 | } |
310 | ||
7197fc13 | 311 | .urlbar-security-level { |
569543b3 | 312 | border-radius: 3px 0 0 3px; |
2c8f3260 | 313 | padding: 2px; |
b1eaa419 | 314 | } |
315 | ||
cf3319d7 RK |
316 | .urlbar-security-level[level="high"], |
317 | .urlbar-security-level[level="low"] { | |
d84b9613 | 318 | background-color: #FFCF00; |
319 | color: #000000; | |
320 | } | |
321 | ||
e8fc8e8e RK |
322 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > .button-toolbar, |
323 | #wrapper-nav-bar-inner[place="palette"] > #nav-bar-inner > #urlbar > .urlbar-icons { | |
324 | display: none; | |
325 | } | |
326 | ||
fb2b5761 RK |
327 | /* ::::: notification popups ::::: */ |
328 | ||
fb2b5761 RK |
329 | .popup-notification-icon { |
330 | width: 64px; | |
331 | height: 64px; | |
332 | -moz-margin-end: 10px; | |
333 | } | |
334 | ||
335 | .popup-notification-icon[popupid="geolocation"] { | |
336 | list-style-image: url("chrome://communicator/skin/icons/geolocation-64.png"); | |
337 | } | |
338 | ||
a3b6328b RK |
339 | .popup-notification-icon[popupid="addon-install-disabled"], |
340 | .popup-notification-icon[popupid="addon-install-blocked"], | |
b4af54ca RK |
341 | .popup-notification-icon[popupid="addon-install-started"], |
342 | .popup-notification-icon[popupid="addon-install-cancelled"], | |
a3b6328b | 343 | .popup-notification-icon[popupid="addon-install-failed"], |
c1f7cc84 RK |
344 | .popup-notification-icon[popupid="addon-install-complete"], |
345 | .popup-notification-icon[popupid="lwtheme-install-request"], | |
346 | .popup-notification-icon[popupid="lwtheme-install-notification"] { | |
a3b6328b RK |
347 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric.png"); |
348 | width: 32px; | |
349 | height: 32px; | |
350 | } | |
351 | ||
c2e1f790 RK |
352 | .popup-notification-icon[popupid="indexedDB-permissions-prompt"], |
353 | .popup-notification-icon[popupid="indexedDB-quota-prompt"] { | |
354 | list-style-image: url("chrome://global/skin/icons/question-64.png"); | |
355 | } | |
356 | ||
357 | .popup-notification-icon[popupid="password-change"], | |
fb2b5761 RK |
358 | .popup-notification-icon[popupid="password-save"] { |
359 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-64.png"); | |
360 | } | |
361 | ||
362 | /* Notification icon box */ | |
363 | #notification-popup-box { | |
364 | -moz-margin-end: 3px; | |
365 | } | |
366 | ||
367 | .notification-anchor-icon:-moz-focusring { | |
368 | outline: 1px dotted; | |
369 | } | |
370 | ||
c2e1f790 RK |
371 | #default-notification-icon { |
372 | list-style-image: url("chrome://global/skin/icons/information-16.png"); | |
373 | width: 16px; | |
374 | height: 16px; | |
375 | } | |
376 | ||
fb2b5761 RK |
377 | #geo-notification-icon { |
378 | list-style-image: url("chrome://communicator/skin/icons/geolocation-16.png"); | |
379 | width: 16px; | |
380 | height: 16px; | |
381 | } | |
382 | ||
a3b6328b RK |
383 | #addons-notification-icon { |
384 | list-style-image: url("chrome://mozapps/skin/extensions/extensionGeneric-16.png"); | |
385 | width: 16px; | |
386 | height: 16px; | |
387 | } | |
388 | ||
c2e1f790 RK |
389 | #indexedDB-notification-icon { |
390 | list-style-image: url("chrome://global/skin/icons/question-16.png"); | |
391 | width: 16px; | |
392 | height: 16px; | |
393 | } | |
394 | ||
fb2b5761 RK |
395 | #password-notification-icon { |
396 | list-style-image: url("chrome://mozapps/skin/passwordmgr/key-16.png"); | |
397 | width: 16px; | |
398 | height: 16px; | |
399 | } | |
400 | ||
b1eaa419 | 401 | /* ::::: page proxy icon ::::: */ |
3d6dd546 | 402 | |
b1eaa419 | 403 | #page-proxy-deck, |
404 | #page-proxy-favicon, | |
405 | #page-proxy-button { | |
406 | width: 16px; | |
407 | height: 16px; | |
408 | } | |
351107c9 | 409 | |
410 | #page-proxy-deck { | |
d2f0d128 | 411 | cursor: -moz-grab; |
2c8f3260 | 412 | margin: 0; |
3d6dd546 | 413 | } |
351107c9 | 414 | |
b1eaa419 | 415 | #page-proxy-button { |
3d6dd546 | 416 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-item.gif"); |
3d6dd546 | 417 | } |
418 | ||
b1eaa419 | 419 | #page-proxy-favicon { |
420 | list-style-image: none; | |
3d6dd546 | 421 | } |
351107c9 | 422 | |
b1eaa419 | 423 | /* ::::: autocomplete ::::: */ |
424 | ||
01fc5c11 | 425 | .autocomplete-treebody::-moz-tree-cell-text(value) { |
e8fc8e8e | 426 | -moz-padding-start: 13px; |
b1eaa419 | 427 | } |
428 | ||
01fc5c11 | 429 | .autocomplete-treebody::-moz-tree-cell-text(comment) { |
b1eaa419 | 430 | color: #E7ADE7; |
431 | /* font-style: italic; */ | |
351107c9 | 432 | } |
433 | ||
b1eaa419 | 434 | .autocomplete-search-box { |
435 | border-top: 1px solid #FF9F00; | |
436 | background-color: #9C9CFF; | |
437 | color: #000000; | |
3d6dd546 | 438 | } |
351107c9 | 439 | |
b1eaa419 | 440 | .autocomplete-result-popup[nomatch] > .autocomplete-search-box { |
441 | border-top: 1px solid #9C9CFF; | |
351107c9 | 442 | } |
351107c9 | 443 | |
b1eaa419 | 444 | .autocomplete-search-engine { |
445 | padding: 2px; | |
3d6dd546 | 446 | } |
351107c9 | 447 | |
b1eaa419 | 448 | .autocomplete-search-engine[menuactive="true"] { |
449 | background-color: #008484; | |
450 | color: #FFCF00; | |
3d6dd546 | 451 | } |
351107c9 | 452 | |
b1eaa419 | 453 | .autocomplete-search-engine-img { |
8caa872d | 454 | -moz-margin-end: 4px; |
b1eaa419 | 455 | } |
456 | ||
f8bb6584 RK |
457 | .autocomplete-history-dropmarker:hover { |
458 | background-color: #FFCF00; | |
459 | } | |
460 | ||
461 | .autocomplete-history-dropmarker:hover:active, | |
462 | .autocomplete-history-dropmarker[open="true"] { | |
463 | background-color: #FF9F00; | |
464 | } | |
465 | ||
5ddff932 RK |
466 | .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) { |
467 | color: #E7ADE7; | |
468 | } | |
469 | ||
b1eaa419 | 470 | /* ::::: go and searchbuttons ::::: */ |
471 | ||
3d6dd546 | 472 | #search-button, |
351107c9 | 473 | #go-button { |
c710949d | 474 | margin: 0; |
6d73bd65 | 475 | padding: 2px 0; |
c710949d | 476 | -moz-margin-start: 2px; |
b1eaa419 | 477 | background-color: #000000; |
351107c9 | 478 | } |
479 | ||
3d6dd546 | 480 | #search-button:hover, |
351107c9 | 481 | #go-button:hover { |
b1eaa419 | 482 | background-color: #FFCF00; |
351107c9 | 483 | } |
484 | ||
2c8f3260 RK |
485 | /* care that those buttons base on the same min height of 16px that the urlbar |
486 | autocomplete box gets through site icon and urlbar icons at the right */ | |
d1476608 | 487 | #search-button > .button-box, |
2c8f3260 RK |
488 | #go-button > .button-box { |
489 | min-height: 16px; | |
490 | } | |
491 | ||
b1eaa419 | 492 | #search-button { |
493 | /* list-style-image: url("chrome://communicator/skin/icons/search.gif"); */ | |
b1eaa419 | 494 | } |
351107c9 | 495 | |
c1f7cc84 RK |
496 | #search-button > .button-box > .button-icon { |
497 | display: -moz-box; | |
498 | } | |
499 | ||
7a7b11b3 RK |
500 | /* |
501 | toolbar[mode="text"] #search-button > .button-box > .button-icon, | |
502 | toolbar[mode="icons"] #search-button > .button-box > .button-text { | |
503 | display: none; | |
504 | } | |
505 | */ | |
506 | ||
5ddff932 RK |
507 | /* ::::: search bar ::::: */ |
508 | ||
509 | .autocomplete-treebody::-moz-tree-cell-text(suggesthint, treecolAutoCompleteComment), | |
510 | .autocomplete-treebody::-moz-tree-cell-text(suggestfirst, treecolAutoCompleteComment) { | |
511 | color: #E7ADE7; | |
512 | font-size: smaller; | |
513 | } | |
514 | ||
515 | .autocomplete-treebody::-moz-tree-cell(suggesthint) { | |
516 | border-top: 1px solid #E7ADE7; | |
517 | } | |
518 | ||
31e46317 RK |
519 | /* ::::: throbber ::::: */ |
520 | ||
521 | #throbber-box { | |
522 | -moz-margin-start: 2px; | |
523 | } | |
524 | ||
dc8e1207 | 525 | /* ::::: security button ::::: */ |
351107c9 | 526 | |
aeb317b8 RK |
527 | #security-button { |
528 | list-style-image: url("chrome://communicator/skin/icons/lock-insecure.gif"); | |
529 | } | |
530 | ||
81012713 | 531 | #security-button > .statusbarpanel-contentbox > .statusbarpanel-text { |
aeb317b8 | 532 | margin: 0px; |
b1eaa419 | 533 | } |
351107c9 | 534 | |
57d23eae | 535 | /* |high| and |low| styles could be different, to better reflect the secure level... */ |
ff5bd775 RK |
536 | #security-button[level="high"] > .statusbarpanel-contentbox, |
537 | #security-button[level="low"] > .statusbarpanel-contentbox { | |
aeb317b8 RK |
538 | list-style-image: url("chrome://communicator/skin/icons/lock-secure-hover.png"); |
539 | background-color: #FFCF00; | |
dc8e1207 | 540 | } |
541 | ||
ff5bd775 | 542 | #security-button[level="broken"] > .statusbarpanel-contentbox { |
aeb317b8 RK |
543 | list-style-image: url("chrome://communicator/skin/icons/lock-broken.gif"); |
544 | background-color: #FF0000; | |
545 | } | |
546 | ||
ff5bd775 | 547 | #security-button[label][level="high"] > .statusbarpanel-contentbox { |
aeb317b8 RK |
548 | list-style-image: url("chrome://communicator/skin/icons/lock-secure.gif"); |
549 | background-color: #008484; | |
550 | color: #FFCF00; | |
b1eaa419 | 551 | } |
351107c9 | 552 | |
d9954aaf RK |
553 | #ev-button { |
554 | list-style-image: url("chrome://communicator/skin/icons/identity.png"); | |
555 | } | |
556 | ||
a3b3d4d6 | 557 | #popupIcon { |
558 | list-style-image:url("chrome://navigator/skin/icons/popup-blocked.gif"); | |
559 | } | |
560 | ||
fb2b5761 RK |
561 | #invalid-form-popup { |
562 | border: 1px solid #FFCF00; | |
563 | border : 1px outset #FFFFCC; | |
564 | padding: 2px 3px 0px 3px; | |
565 | max-width: 40em; | |
566 | background-color: #9C9CFF; | |
567 | color: #000000; | |
568 | font-weight: bold; | |
569 | } | |
570 | ||
dc8e1207 | 571 | /* ::::: personal toolbar ::::: */ |
351107c9 | 572 | |
dc8e1207 | 573 | #bookmarks-button { |
574 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-closed.gif"); | |
b1eaa419 | 575 | } |
351107c9 | 576 | |
dc8e1207 | 577 | #bookmarks-button[open="true"] { |
578 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark-folder-open.gif"); | |
b1eaa419 | 579 | } |
351107c9 | 580 | |
c710949d | 581 | toolbarbutton.chevron { |
e10e7add | 582 | list-style-image: url("chrome://navigator/skin/icons/chevron.gif") !important; |
ac1cdf20 | 583 | } |
584 | ||
c710949d RK |
585 | toolbarbutton.chevron:hover, |
586 | toolbarbutton.chevron[open="true"] { | |
e10e7add | 587 | list-style-image: url("chrome://navigator/skin/icons/chevron-hover.gif") !important; |
ac1cdf20 | 588 | } |
589 | ||
7a7b11b3 | 590 | toolbarbutton.chevron > .toolbarbutton-menu-dropmarker { |
ac1cdf20 | 591 | display: none; |
592 | } | |
e10e7add | 593 | |
7a7b11b3 RK |
594 | toolbarbutton.chevron > .toolbarbutton-text { |
595 | display: none; /* hide chevron label which has a width even if blank */ | |
596 | } | |
597 | ||
598 | toolbar[mode="text"] toolbarbutton.chevron > .toolbarbutton-icon { | |
599 | display: -moz-box; /* display chevron icon in text mode */ | |
600 | } | |
601 | ||
602 | /* Prevent [mode="icons"|"text"] from hiding the label and icon */ | |
603 | #bookmarks-ptf .bookmark-item > .toolbarbutton-text, | |
604 | #bookmarks-ptf .bookmark-item > .toolbarbutton-icon { | |
605 | display: -moz-box !important; | |
606 | } | |
607 | ||
e8fc8e8e | 608 | #PersonalToolbar[iconsize="small"] > toolbarpaletteitem > #home-button > .toolbarbutton-icon, |
0ef1663c RK |
609 | #PersonalToolbar[iconsize="small"] > #home-button > .toolbarbutton-icon { |
610 | /* width: 16px; | |
611 | height: 16px; */ | |
612 | } | |
613 | ||
614 | #PersonalToolbar > #home-button { | |
615 | cursor: pointer; | |
616 | } | |
617 | ||
618 | #PersonalToolbar > #home-button[disabled="true"] { | |
619 | cursor: default !important; | |
620 | } | |
621 | ||
e8fc8e8e RK |
622 | /* |
623 | In customize mode we hide the normal bookmark items and show a placeholder | |
624 | for the drag/drop UI. | |
625 | */ | |
626 | .bookmarks-toolbar-customize { | |
d3d79c39 | 627 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png"); |
e8fc8e8e RK |
628 | display: none; |
629 | max-width: 15em !important; | |
630 | } | |
631 | ||
d3d79c39 RK |
632 | #wrapper-personal-bookmarks[place="palette"] > .toolbarpaletteitem-box { |
633 | width: 16px; | |
634 | height: 16px; | |
635 | background: url("chrome://communicator/skin/bookmarks/bookmarksToolbar.png") no-repeat; | |
e8fc8e8e RK |
636 | } |
637 | ||
1b3c8528 RK |
638 | /* ::::: star button ::::: */ |
639 | ||
640 | #star-button { | |
641 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); | |
642 | -moz-image-region: rect(16px 16px 32px 0px); | |
643 | } | |
644 | ||
645 | #star-button:hover { | |
646 | -moz-image-region: rect(16px 32px 32px 16px); | |
647 | } | |
648 | ||
649 | #star-button:hover:active { | |
650 | -moz-image-region: rect(16px 48px 32px 32px); | |
651 | } | |
652 | ||
653 | #star-button[starred="true"] { | |
654 | -moz-image-region: rect(0px 16px 16px 0px); | |
655 | } | |
656 | ||
657 | #star-button[starred="true"]:hover { | |
658 | -moz-image-region: rect(0px 32px 16px 16px); | |
659 | } | |
660 | ||
661 | #star-button[starred="true"]:hover:active { | |
662 | -moz-image-region: rect(0px 48px 16px 32px); | |
663 | } | |
664 | ||
a3b6328b RK |
665 | #editBookmarkPanelStarIcon { |
666 | list-style-image: url("chrome://communicator/skin/bookmarks/bookmark.png"); | |
667 | -moz-image-region: rect(0px 16px 16px 0px); | |
668 | } | |
669 | ||
e10e7add RK |
670 | /* ::::: feeds ::::: */ |
671 | ||
cf3319d7 RK |
672 | .feedsMenu { |
673 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); | |
e10e7add RK |
674 | -moz-image-region: rect(0px 16px 16px 0px); |
675 | } | |
676 | ||
cf3319d7 | 677 | .feedsMenu[disabled="true"] { |
e10e7add RK |
678 | -moz-image-region: rect(32px 16px 48px 0px); |
679 | } | |
680 | ||
cf3319d7 | 681 | .feedsButton { |
e10e7add RK |
682 | list-style-image: url("chrome://navigator/skin/linkButtons/feeds.png"); |
683 | -moz-image-region: rect(0px 32px 16px 16px); | |
684 | } | |
685 | ||
cf3319d7 | 686 | .feedsButton:hover { |
e10e7add RK |
687 | -moz-image-region: rect(16px 32px 32px 16px); |
688 | } | |
689 | ||
cf3319d7 | 690 | .feedsButton:hover:active { |
e10e7add RK |
691 | -moz-image-region: rect(48px 32px 64px 16px); |
692 | } |