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: @namespace html url("http://www.w3.org/1999/xhtml"); michael@0: michael@0: menulist { michael@0: -moz-appearance: menulist; michael@0: margin: 5px 2px 3px; michael@0: min-height: 20px !important; michael@0: color: -moz-DialogText; michael@0: text-shadow: none; michael@0: } michael@0: michael@0: .menulist-label-box { michael@0: -moz-appearance: menulist-text; michael@0: -moz-box-align: center; michael@0: -moz-box-pack: center; michael@0: margin-bottom: 1px; michael@0: } michael@0: michael@0: .menulist-label { michael@0: margin: 1px 3px !important; michael@0: } michael@0: michael@0: .menulist-description { michael@0: font-style: italic; michael@0: color: GrayText; michael@0: -moz-margin-start: 1ex !important; michael@0: } michael@0: michael@0: /* ..... dropmarker ..... */ michael@0: michael@0: .menulist-dropmarker { michael@0: display: none; michael@0: } michael@0: michael@0: /* ..... disabled state ..... */ michael@0: michael@0: menulist[disabled="true"] { michael@0: color: GrayText; michael@0: } michael@0: michael@0: menulist[disabled="true"] > .menulist-dropmarker { michael@0: -moz-padding-start: 7px !important; michael@0: } michael@0: michael@0: /* ::::: editable menulists ::::: */ michael@0: michael@0: menulist[editable="true"] { michael@0: -moz-appearance: menulist-textfield; michael@0: margin: 4px 2px; michael@0: } michael@0: michael@0: html|*.menulist-editable-input { michael@0: margin: 0px !important; michael@0: border: none !important; michael@0: padding: 0px !important; michael@0: background: inherit; michael@0: font: inherit; michael@0: } michael@0: michael@0: /* ::::: compact menulists ::::: */ michael@0: michael@0: .menulist-compact { michael@0: -moz-box-align: center; michael@0: -moz-box-pack: center; michael@0: margin: 0; michael@0: border: 2px solid; michael@0: -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; michael@0: -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; michael@0: background-color: -moz-Dialog; michael@0: } michael@0: michael@0: .menulist-compact > .menulist-label { michael@0: margin: 0 3px !important; michael@0: text-align: end; michael@0: } michael@0: michael@0: .menulist-compact > .menulist-dropmarker { michael@0: -moz-margin-start: 2px; michael@0: border: none; michael@0: padding: 0 !important; michael@0: background: transparent; michael@0: } michael@0: michael@0: .menulist-compact[open="true"] { michael@0: -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; michael@0: -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; michael@0: background-color: ThreeDShadow; michael@0: }