michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); michael@0: michael@0: toolbarbutton { michael@0: -moz-box-align: center; michael@0: -moz-box-pack: center; michael@0: margin: 0px 2px 0px 2px; michael@0: padding: 3px 1px 3px 1px; michael@0: border-right: 1px solid transparent; michael@0: border-left: 1px solid transparent; michael@0: background-color: transparent; michael@0: text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4); michael@0: } michael@0: michael@0: toolbarbutton[open="true"], michael@0: toolbarbutton:not([disabled="true"]):active:hover { michael@0: text-shadow: none; michael@0: } michael@0: michael@0: .toolbarbutton-text { michael@0: margin: 0px; michael@0: padding: 0px; michael@0: text-align: center; michael@0: vertical-align: middle; michael@0: } michael@0: michael@0: toolbarbutton[disabled="true"], michael@0: toolbarbutton[disabled="true"]:hover, michael@0: toolbarbutton[disabled="true"]:hover:active, michael@0: toolbarbutton[disabled="true"][open="true"] { michael@0: color: -moz-mac-disabledtoolbartext !important; michael@0: } michael@0: michael@0: /* ::::: toolbarbutton menu ::::: */ michael@0: michael@0: .toolbarbutton-menu-dropmarker { michael@0: -moz-appearance: none !important; michael@0: border: none !important; michael@0: background-color: transparent !important; michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); michael@0: padding: 0; michael@0: -moz-padding-start: 2px; michael@0: width: auto; michael@0: } michael@0: michael@0: .toolbarbutton-menu-dropmarker[disabled="true"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); michael@0: padding: 0; michael@0: -moz-padding-start: 2px; michael@0: } michael@0: michael@0: /* ::::: toolbarbutton menu-button ::::: */ michael@0: michael@0: toolbarbutton[type="menu-button"] { michael@0: -moz-box-align: stretch; michael@0: -moz-box-orient: horizontal !important; michael@0: } michael@0: michael@0: toolbarbutton[type="menu-button"], michael@0: toolbarbutton[type="menu-button"]:hover, michael@0: toolbarbutton[type="menu-button"]:hover:active, michael@0: toolbarbutton[type="menu-button"][open="true"], michael@0: toolbarbutton[type="menu-button"][disabled="true"], michael@0: toolbarbutton[type="menu-button"][disabled="true"]:hover, michael@0: toolbarbutton[type="menu-button"][disabled="true"]:hover:active { michael@0: background-color: transparent; michael@0: } michael@0: michael@0: .toolbarbutton-menubutton-button { michael@0: -moz-box-align: center; michael@0: -moz-box-pack: center; michael@0: -moz-box-orient: vertical; michael@0: text-shadow: inherit; michael@0: } michael@0: michael@0: /* .......... dropmarker .......... */ michael@0: michael@0: .toolbarbutton-menubutton-dropmarker { michael@0: -moz-appearance: none; michael@0: border: none; michael@0: background-color: transparent !important; michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn.png"); michael@0: width: auto; michael@0: padding: 0 5px; michael@0: } michael@0: michael@0: .toolbarbutton-menubutton-dropmarker[disabled="true"] { michael@0: list-style-image: url("chrome://global/skin/arrow/arrow-dn-dis.png"); michael@0: } michael@0: michael@0: toolbarbutton.tabbable { michael@0: -moz-user-focus: normal !important; michael@0: }