X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fmenulist.css;h=8a33007a72835350eb62bf9eaac94dee85991dcc;hp=8b3df34b329cc255cab8e6360e81b2c5eaa9530a;hb=df8c26c46020f7b778d46e6ceedc93e4d4cb6202;hpb=74d14f90a7085ce7d63f78d6124b57e9a8422d3f diff --git a/EarlyBlue/global/menulist.css b/EarlyBlue/global/menulist.css index 8b3df34b..8a33007a 100644 --- a/EarlyBlue/global/menulist.css +++ b/EarlyBlue/global/menulist.css @@ -35,13 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@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.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 { @@ -55,12 +55,6 @@ menulist { -moz-box-align: center; -moz-box-pack: center; /* margin: 1px; */ -} - -.menulist-label-box, -menulist[open="true"]:focus > .menulist-label-box { -/* border: 1px inset #CCD0DD; */ - background-color: transparent; color: inherit; } @@ -68,59 +62,54 @@ menulist[open="true"]:focus > .menulist-label-box { margin: 1px 3px !important; } +.menulist-description { + font-style: italic; + color: #808080; + margin-left: 1ex !important; +} + +menulist:focus > .menulist-label-box { +/* border: 1px dotted #999999; */ + background-color: #336699; + color: #000000; +} + +menulist[disabled="true"] { + background-color: #CCCCCC; + color: #999999; +} + /* ..... dropmarker ..... */ .menulist-dropmarker { - -moz-box-align: center; - -moz-box-pack: center; - min-width: 15px; - border: 1px outset #CCD0DD; background-color: #CCCCCC; - list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.menulist-dropmarker, menulist[disabled="true"]:hover:active > .menulist-dropmarker { padding: 1px; } -menulist[disabled="true"] > .menulist-dropmarker { - list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); -} - -menulist:hover:active > .menulist-dropmarker { +menulist:hover:active > .menulist-dropmarker, +menulist:[open="true"] > .menulist-dropmarker { border: 1px inset #CCD0DD; padding: 2px 0px 0px 2px; } -/* ..... focused state ..... */ +/* ::::: editable menulists ::::: */ -menulist:focus > .menulist-label-box { -/* border: 1px dotted #999999; */ - background-color: #336699; +menulist[editable="true"] { color: #000000; } -/* ..... disabled state ..... */ - -menulist[disabled="true"] { - background-color: #CCCCCC; - color: #999999; -} - -/* ::::: editable menulists ::::: */ - .menulist-editable-box { background-color: #FFFFFF; - padding: 2px; + padding: 2px; } html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; - background-color: #FFFFFF; - color: #000000; font: inherit; } @@ -131,25 +120,26 @@ html|*.menulist-editable-input { -moz-box-pack: center; margin: 0px; border: 1px outset #CCD0DD; -/* background-color: -moz-Dialog; - color: -moz-DialogText; */ + color: #000000; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +} + +.menulist-compact > .menulist-dropmarker { + -moz-margin-start: 2px; + padding: 0 !important; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); +} + +.menulist-compact[disabled="true"] > .menulist-dropmarker { + list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); } .menulist-compact > .menulist-label { margin: 0 3px !important; text-align: right; -} - -.menulist-compact > .menulist-dropmarker { - margin-left: 2px; - border: none; - padding: 0 !important; - background: transparent; } .menulist-compact[open="true"] { border: 1px inset #CCD0DD; -/* background-color: ThreeDShadow; - color: ThreeDHighlight; */ + /* color: ThreeDHighlight; */ } -