1 /* This Source Code Form is subject to the terms of the Mozilla Public
2 * License, v. 2.0. If a copy of the MPL was not distributed with this
3 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5 @import url("chrome://global/skin/");
7 @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
13 /* ::::: bookmark buttons ::::: */
15 toolbarbutton.bookmark-item {
23 toolbarbutton.bookmark-item:hover:active,
24 toolbarbutton.bookmark-item[open="true"] {
27 padding-inline-start: 2px;
28 padding-inline-end: 0px;
31 .bookmark-item > .toolbarbutton-icon {
36 /* Prevent [mode="icons"] from hiding the label */
37 .bookmark-item > .toolbarbutton-text {
38 display: -moz-box !important;
41 .bookmark-item > .toolbarbutton-menu-dropmarker {
45 .toolbarpaletteitem-box[type="bookmarks-toolbar"][place="palette"] {
48 background: url("chrome://browser/skin/icons/bookmarks-folder.gif") no-repeat;
51 .bookmarks-toolbar-customize {
53 max-width: 15em !important;
56 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-customize {
60 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-overflow-items {
64 toolbarpaletteitem[place="toolbar"] .bookmarks-toolbar-items {
68 /* ::::: bookmark menus ::::: */
71 menuitem.bookmark-item {
74 border-top: 1px solid transparent !important;
75 border-bottom: 1px solid transparent !important;
78 padding-inline-start: 2px;
79 padding-inline-end: 3px;
83 .bookmark-item > .menu-iconic-left > .menu-iconic-icon {
88 /* ..... drag and drop styles ..... */
90 .bookmark-item[dragover-left="true"] {
91 -moz-border-left-colors: #000000;
93 .bookmark-item[dragover-right="true"] {
94 -moz-border-right-colors: #000000;
96 .bookmark-item[dragover-top="true"] {
97 -moz-border-top-colors: #000000;
99 .bookmark-item[dragover-bottom="true"] {
100 -moz-border-bottom-colors: #000000;
103 /* ::::: bookmark items ::::: */
106 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif");
109 .bookmark-item[container="true"] {
110 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-closed.gif");
112 .bookmark-item[open="true"],
113 .bookmark-item[container="true"][open="true"] {
114 list-style-image: url("chrome://browser/skin/icons/bookmark-folder-open.gif");
117 /* ::::: primary toolbar buttons ::::: */
120 .toolbarbutton-1 > .toolbarbutton-menubutton-button {
121 -moz-box-orient: vertical;
125 toolbarbutton:not([disabled="true"]):hover,
126 menubutton:not([disabled="true"]):hover,
127 toolbarbutton:not([disabled="true"]):hover:active,
128 menubutton:not([disabled="true"]):hover:active {
129 color: #000000 !important;
133 .toolbarbutton-menubutton-stack,
134 .toolbarbutton-menubutton-button,
135 .toolbarbutton-menubutton-stack:hover,
136 .toolbarbutton-menubutton-button:hover,
137 .toolbarbutton-menubutton-stack:hover:active,
138 .toolbarbutton-menubutton-button:hover:active {
139 margin: 0 !important;
144 toolbarbutton[type="menu-button"] {
145 -moz-box-orient: horizontal;
148 toolbar[mode="icons"] .toolbarbutton-text {
152 toolbar[mode="text"] .toolbarbutton-menubutton-dropmarker,
153 toolbar[mode="text"] .toolbarbutton-icon {
157 toolbar[mode="text"] .toolbarbutton-text {
158 padding: 0 !important;
159 margin: 3px 5px !important;
163 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
164 list-style-image: url("chrome://browser/skin/icons/back.gif");
166 #back-button[disabled="true"] {
167 list-style-image: url("chrome://browser/skin/icons/back-disabled.gif");
171 /* -moz-binding: url("chrome://browser/skin/browser.xml#toolbar-menu-button"); */
172 list-style-image: url("chrome://browser/skin/icons/forward.gif");
174 #forward-button[disabled="true"] {
175 list-style-image: url("chrome://browser/skin/icons/forward-disabled.gif");
179 list-style-image: url("chrome://browser/skin/icons/reload.gif");
181 #reload-button[disabled="true"] {
182 list-style-image: url("chrome://browser/skin/icons/reload-disabled.gif");
186 list-style-image: url("chrome://browser/skin/icons/stop.gif");
188 #stop-button[disabled="true"] {
189 list-style-image: url("chrome://browser/skin/icons/stop-disabled.gif");
193 list-style-image: url("chrome://browser/skin/icons/home.gif");
195 #home-button[disabled="true"] {
196 list-style-image: url("chrome://browser/skin/icons/home-disabled.gif");
200 list-style-image: url("chrome://browser/skin/icons/print.gif");
202 #print-button[disabled="true"] {
203 list-style-image: url("chrome://browser/skin/icons/print-disabled.gif");
207 list-style-image: url("chrome://browser/skin/icons/new-tab.gif");
209 #new-tab-button[disabled="true"] {
210 list-style-image: url("chrome://browser/skin/icons/new-tab-disabled.gif");
214 list-style-image: url("chrome://browser/skin/icons/new-window.gif");
216 #new-window-button[disabled="true"] {
217 list-style-image: url("chrome://browser/skin/icons/new-window-disabled.gif");
221 list-style-image: url("chrome://browser/skin/icons/downloads.gif");
223 #downloads-button[disabled="true"] {
224 list-style-image: url("chrome://browser/skin/icons/downloads-disabled.gif");
228 list-style-image: url("chrome://browser/skin/icons/bookmarks.gif");
230 #bookmarks-button[disabled="true"] {
231 list-style-image: url("chrome://browser/skin/icons/bookmarks-disabled.gif");
235 list-style-image: url("chrome://browser/skin/icons/history.gif");
237 #history-button[disabled="true"] {
238 list-style-image: url("chrome://browser/skin/icons/history-disabled.gif");
242 list-style-image: url("chrome://browser/skin/icons/cut.gif");
244 #cut-button[disabled="true"] {
245 list-style-image: url("chrome://browser/skin/icons/cut-disabled.gif");
249 list-style-image: url("chrome://browser/skin/icons/copy.gif");
251 #copy-button[disabled="true"] {
252 list-style-image: url("chrome://browser/skin/icons/copy-disabled.gif");
256 list-style-image: url("chrome://browser/skin/icons/paste.gif");
258 #paste-button[disabled="true"] {
259 list-style-image: url("chrome://browser/skin/icons/paste-disabled.gif");
263 /* ::::: small primary toolbar buttons ::::: */
265 toolbar[iconsize="small"] #back-button {
266 list-style-image: url("chrome://browser/skin/icons/back-small.gif");
268 toolbar[iconsize="small"] #back-button[disabled="true"] {
269 list-style-image: url("chrome://browser/skin/icons/back-small-disabled.gif");
272 toolbar[iconsize="small"] #forward-button {
273 list-style-image: url("chrome://browser/skin/icons/forward-small.gif");
275 toolbar[iconsize="small"] #forward-button[disabled="true"] {
276 list-style-image: url("chrome://browser/skin/icons/forward-small-disabled.gif");
279 toolbar[iconsize="small"] #reload-button {
280 list-style-image: url("chrome://browser/skin/icons/reload-small.gif");
282 toolbar[iconsize="small"] #reload-button[disabled="true"] {
283 list-style-image: url("chrome://browser/skin/icons/reload-small-disabled.gif");
286 toolbar[iconsize="small"] #stop-button {
287 list-style-image: url("chrome://browser/skin/icons/stop-small.gif");
289 toolbar[iconsize="small"] #stop-button[disabled="true"] {
290 list-style-image: url("chrome://browser/skin/icons/stop-small-disabled.gif");
293 toolbar[iconsize="small"] #home-button {
294 list-style-image: url("chrome://browser/skin/icons/home-small.gif");
296 toolbar[iconsize="small"] #home-button[disabled="true"] {
297 list-style-image: url("chrome://browser/skin/icons/home-small-disabled.gif");
300 toolbar[iconsize="small"] #print-button {
301 list-style-image: url("chrome://browser/skin/icons/print-small.gif");
303 toolbar[iconsize="small"] #print-button[disabled="true"] {
304 list-style-image: url("chrome://browser/skin/icons/print-small-disabled.gif");
307 toolbar[iconsize="small"] #downloads-button {
308 list-style-image: url("chrome://browser/skin/icons/downloads-small.gif");
310 toolbar[iconsize="small"] #downloads-button[disabled="true"] {
311 list-style-image: url("chrome://browser/skin/icons/downloads-small-disabled.gif");
314 toolbar[iconsize="small"] #new-tab-button {
315 list-style-image: url("chrome://browser/skin/icons/new-tab-small.gif");
317 toolbar[iconsize="small"] #new-tab-button[disabled="true"] {
318 list-style-image: url("chrome://browser/skin/icons/new-tab-small-disabled.gif");
321 toolbar[iconsize="small"] #new-window-button {
322 list-style-image: url("chrome://browser/skin/icons/new-window-small.gif");
324 toolbar[iconsize="small"] #new-window-button[disabled="true"] {
325 list-style-image: url("chrome://browser/skin/icons/new-window-small-disabled.gif");
328 toolbar[iconsize="small"] #bookmarks-button {
329 list-style-image: url("chrome://browser/skin/icons/bookmarks-small.gif");
331 toolbar[iconsize="small"] #bookmarks-button[disabled="true"] {
332 list-style-image: url("chrome://browser/skin/icons/bookmarks-small-disabled.gif");
335 toolbar[iconsize="small"] #history-button {
336 list-style-image: url("chrome://browser/skin/icons/history-small.gif");
338 toolbar[iconsize="small"] #history-button[disabled="true"] {
339 list-style-image: url("chrome://browser/skin/icons/history-small-disabled.gif");
342 toolbar[iconsize="small"] #cut-button {
343 list-style-image: url("chrome://browser/skin/icons/cut-small.gif");
345 toolbar[iconsize="small"] #cut-button[disabled="true"] {
346 list-style-image: url("chrome://browser/skin/icons/cut-small-disabled.gif");
349 toolbar[iconsize="small"] #copy-button {
350 list-style-image: url("chrome://browser/skin/icons/copy-small.gif");
352 toolbar[iconsize="small"] #copy-button[disabled="true"] {
353 list-style-image: url("chrome://browser/skin/icons/copy-small-disabled.gif");
356 toolbar[iconsize="small"] #paste-button {
357 list-style-image: url("chrome://browser/skin/icons/paste-small.gif");
359 toolbar[iconsize="small"] #paste-button[disabled="true"] {
360 list-style-image: url("chrome://browser/skin/icons/paste-small-disabled.gif");
364 /* Smaller padding on small toolbar buttons */
366 toolbar[iconsize="small"] .toolbarbutton-1 {
370 toolbar[iconsize="small"] .toolbarbutton-1:hover:active,
371 toolbar[iconsize="small"] .toolbarbutton-1[open="true"] {
374 padding-inline-start: 3px;
375 padding-inline-end: 1px;
378 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"],
379 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover,
380 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"]:hover:active,
381 toolbar[iconsize="small"] .toolbarbutton-1[disabled="true"][open="true"] {
385 toolbar[iconsize="small"] .toolbarbutton-1[checked="true"] {
386 padding-top: 3px !important;
387 padding-bottom: 1px !important;
388 padding-inline-start: 3px !important;
389 padding-inline-end: 1px !important;
392 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"],
393 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover,
394 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"]:hover:active,
395 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][open="true"],
396 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"],
397 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover,
398 toolbar[iconsize="small"] .toolbarbutton-1[type="menu-button"][disabled="true"]:hover:active {
402 /* ::::: fullscreen window controls ::::: */
405 -moz-box-align: center;
408 padding-inline-start: 4px;
409 padding-inline-end: 2px;
410 border-left: 2px groove #CCD0DD;
414 list-style-image: url("chrome://navigator/skin/icons/win-minimize.gif");
417 list-style-image: url("chrome://navigator/skin/icons/win-restore.gif");
420 list-style-image: url("chrome://navigator/skin/icons/win-close.gif");
423 /* ::::: nav-bar-inner ::::: */
433 /* ::::: page proxy icon ::::: */
447 #page-proxy-favicon {
448 list-style-image: none;
452 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
455 #page-proxy-button[pageproxystate="invalid"] {
457 list-style-image: url("chrome://browser/skin/icons/bookmark-item.gif") !important;
461 statusbarpanel#statusbar-display {
462 padding-inline-start: 0;
465 /* ::::: search-bar ::::: */
467 #search-proxy-button {
469 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
473 list-style-image: url("chrome://browser/skin/icons/search-bar.gif");
476 /* ::::: autocomplete ::::: */
478 .autocomplete-treebody::-moz-tree-cell-text(treecolAutoCompleteComment) {
482 /* ::::: go button ::::: */
486 background-color: transparent;
491 list-style-image: url("chrome://browser/skin/icons/go.gif");
495 border: 1px solid transparent;
499 border: 1px outset #CCD0DD;
502 #go-button:hover:active {
503 border: 1px inset #CCD0DD;
506 #go-button[disabled="true"] {
507 list-style-image: url("chrome://browser/skin/icons/go-disabled.gif");
508 border: 1px solid transparent;
511 #go-button > .button-box > .button-text {
512 margin-inline-start: 5px !important;
515 #go-button > .button-box {
520 background-color: #CCD0DD;
523 /* ::::: content area ::::: */
533 #security-button[level="high"] {
534 list-style-image: url("chrome://browser/skin/icons/secure.gif");
538 #security-button[level="low"] {
539 list-style-image: url("chrome://browser/skin/icons/secure.gif");
543 #security-button[level="broken"] {
544 list-style-image: url("chrome://browser/skin/icons/security-broken.gif");
548 #page-report-button {
552 #page-report-button[blocked] {
554 list-style-image: url("chrome://browser/skin/icons/info.gif");
562 #page-theme-button[themes] {
564 list-style-image: url("chrome://browser/skin/icons/page-themes.gif");
568 /* ::::: throbber ::::: */
570 #navigator-throbber {
571 -moz-user-focus: ignore;
572 margin: 0 !important;
573 border: none !important;
574 padding: 0px !important;
576 background-color: transparent;
577 list-style-image: url("chrome://browser/skin/icons/throbber-stopped.gif");
579 #navigator-throbber[busy="true"] {
580 list-style-image: url("chrome://browser/skin/icons/throbber.gif");
583 toolbar[iconsize="small"] #navigator-throbber,
584 toolbar[mode="text"] #navigator-throbber {
585 list-style-image: url("chrome://browser/skin/icons/throbber-small-stopped.gif");
587 toolbar[iconsize="small"] #navigator-throbber[busy="true"],
588 toolbar[mode="text"] #navigator-throbber[busy="true"] {
589 list-style-image: url("chrome://browser/skin/icons/throbber-small.gif");
593 list-style-image: url("chrome://global/skin/icons/close-button.gif");
596 #content .tabs-closebutton {
597 list-style-image: url("chrome://browser/skin/Close-tab.png");
598 -moz-image-region: rect(0px, 18px, 14px, 0px);
601 #content .tabs-closebutton:hover {
602 -moz-image-region: rect(0px, 36px, 14px, 18px);
605 toolbarbutton.chevron {
606 list-style-image: url("chrome://global/skin/toolbar/chevron.gif") !important;
610 toolbarbutton.chevron > .toolbarbutton-menu-dropmarker {
614 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-icon {
618 toolbar[mode="text"] > #window-controls > toolbarbutton > .toolbarbutton-text {
622 #sidebar-throbber[loading="true"] {
623 list-style-image: url(chrome://global/skin/icons/loading.gif);