1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/themes/osx/global/menulist.css Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,96 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); 1.9 +@namespace html url("http://www.w3.org/1999/xhtml"); 1.10 + 1.11 +menulist { 1.12 + -moz-appearance: menulist; 1.13 + margin: 5px 2px 3px; 1.14 + min-height: 20px !important; 1.15 + color: -moz-DialogText; 1.16 + text-shadow: none; 1.17 +} 1.18 + 1.19 +.menulist-label-box { 1.20 + -moz-appearance: menulist-text; 1.21 + -moz-box-align: center; 1.22 + -moz-box-pack: center; 1.23 + margin-bottom: 1px; 1.24 +} 1.25 + 1.26 +.menulist-label { 1.27 + margin: 1px 3px !important; 1.28 +} 1.29 + 1.30 +.menulist-description { 1.31 + font-style: italic; 1.32 + color: GrayText; 1.33 + -moz-margin-start: 1ex !important; 1.34 +} 1.35 + 1.36 +/* ..... dropmarker ..... */ 1.37 + 1.38 +.menulist-dropmarker { 1.39 + display: none; 1.40 +} 1.41 + 1.42 +/* ..... disabled state ..... */ 1.43 + 1.44 +menulist[disabled="true"] { 1.45 + color: GrayText; 1.46 +} 1.47 + 1.48 +menulist[disabled="true"] > .menulist-dropmarker { 1.49 + -moz-padding-start: 7px !important; 1.50 +} 1.51 + 1.52 +/* ::::: editable menulists ::::: */ 1.53 + 1.54 +menulist[editable="true"] { 1.55 + -moz-appearance: menulist-textfield; 1.56 + margin: 4px 2px; 1.57 +} 1.58 + 1.59 +html|*.menulist-editable-input { 1.60 + margin: 0px !important; 1.61 + border: none !important; 1.62 + padding: 0px !important; 1.63 + background: inherit; 1.64 + font: inherit; 1.65 +} 1.66 + 1.67 +/* ::::: compact menulists ::::: */ 1.68 + 1.69 +.menulist-compact { 1.70 + -moz-box-align: center; 1.71 + -moz-box-pack: center; 1.72 + margin: 0; 1.73 + border: 2px solid; 1.74 + -moz-border-top-colors: ThreeDLightShadow ThreeDHighlight; 1.75 + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; 1.76 + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; 1.77 + -moz-border-left-colors: ThreeDLightShadow ThreeDHighlight; 1.78 + background-color: -moz-Dialog; 1.79 +} 1.80 + 1.81 +.menulist-compact > .menulist-label { 1.82 + margin: 0 3px !important; 1.83 + text-align: end; 1.84 +} 1.85 + 1.86 +.menulist-compact > .menulist-dropmarker { 1.87 + -moz-margin-start: 2px; 1.88 + border: none; 1.89 + padding: 0 !important; 1.90 + background: transparent; 1.91 +} 1.92 + 1.93 +.menulist-compact[open="true"] { 1.94 + -moz-border-top-colors: ThreeDDarkShadow ThreeDShadow; 1.95 + -moz-border-right-colors: ThreeDDarkShadow ThreeDShadow; 1.96 + -moz-border-bottom-colors: ThreeDDarkShadow ThreeDShadow; 1.97 + -moz-border-left-colors: ThreeDDarkShadow ThreeDShadow; 1.98 + background-color: ThreeDShadow; 1.99 +}