| 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/. */ |
| 4 | |
| 5 | /* ===== toolbar.css ==================================================== |
| 6 | == Styles used by XUL grippytoolbar in addition to general toolbar styles. |
| 7 | ======================================================================= */ |
| 8 | |
| 9 | @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); |
| 10 | |
| 11 | toolbar[type="menubar"]:not([autohide="true"]):not([xpfe="false"]):not(:-moz-lwtheme):-moz-system-metric(menubar-drag) { |
| 12 | -moz-binding: url("chrome://communicator/content/bindings/toolbar.xml#grippytoolbar-drag"); |
| 13 | } |
| 14 | |
| 15 | /* ::::: toolbar & menubar ::::: */ |
| 16 | |
| 17 | .toolbar-holder { |
| 18 | } |
| 19 | |
| 20 | /* ::::: toolbargrippy ::::: */ |
| 21 | |
| 22 | toolbargrippy { |
| 23 | -moz-box-orient: vertical; |
| 24 | -moz-box-align: center; |
| 25 | border: 1px solid #999999; |
| 26 | background-color: #666699; |
| 27 | width: 9px; |
| 28 | padding: 2px 0px; |
| 29 | list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow.gif"); |
| 30 | } |
| 31 | |
| 32 | toolbargrippy:hover { |
| 33 | background-color: #6699FF; |
| 34 | } |
| 35 | |
| 36 | /* ::::: collapsed tray and grippies ::::: */ |
| 37 | |
| 38 | toolbargrippy[tbgrippy-collapsed="true"] { |
| 39 | -moz-box-orient: horizontal; |
| 40 | width: 40px; |
| 41 | height: 9px; |
| 42 | padding: 0px 2px; |
| 43 | list-style-image: url("chrome://global/skin/toolbar/tbgrip-arrow-collapsed.gif"); |
| 44 | } |
| 45 | |
| 46 | .collapsed-tray-spacer { |
| 47 | border-bottom: 1px solid #9999CC; |
| 48 | } |
| 49 | |
| 50 | /* ::::: solid background status bar panel ::::: */ |
| 51 | |
| 52 | .statusbarpanel-backgroundbox { |
| 53 | -moz-box-align: stretch; |
| 54 | padding: 0px; |
| 55 | } |
| 56 | |
| 57 | .statusbarpanel-backgroundbox > .statusbarpanel-contentbox { |
| 58 | padding: 0px 1px; |
| 59 | -moz-box-align: center; |
| 60 | } |