/* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* ===== menulist.css =================================================== == Styles used by the XUL menulist element. ======================================================================= */ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); @namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */ /* :::::::::: menulist :::::::::: */ menulist { margin: 2px 4px; border: 1px inset #CCD0DD; background-color: #CCCCCC; color: #000000; text-shadow: none; } .menulist-label-box { -moz-box-align: center; -moz-box-pack: center; /* margin: 1px; */ color: inherit; } .menulist-label { margin: 1px 3px !important; } .menulist-description { font-style: italic; color: #808080; -moz-margin-start: 1ex !important; } menulist:focus > .menulist-label-box { background-color: #336699; color: #000000; } menulist:-moz-focusring:not([open="true"]) > .menulist-label-box { /* border: 1px dotted #808080; */ } menulist[disabled="true"] { background-color: #CCCCCC; color: #999999; } /* ..... dropmarker ..... */ .menulist-dropmarker { background-color: #CCCCCC; } menulist[disabled="true"]:hover:active > .menulist-dropmarker { padding: 1px; } menulist:hover:active > .menulist-dropmarker, menulist[open="true"] > .menulist-dropmarker { border: 1px inset #CCD0DD; padding-top: 2px; padding-bottom: 0px; -moz-padding-start: 2px; -moz-padding-end: 0px; } /* ::::: editable menulists ::::: */ menulist[editable="true"] { color: #000000; } .menulist-editable-box { background-color: #FFFFFF; padding: 2px; } html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; background-color: inherit; color: inherit; font: inherit; }