X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fmenulist.css;h=4d7ab887258f0df1392c6a66b029245e85329f63;hp=9997b950dc9170805b13977e0ae03a5e22e4a8d2;hb=aa827705b50fa24ecb2be2712c636c3bb972654a;hpb=e68e2f2b2fe85b417aa3d2db5e1087b173d0166e diff --git a/EarlyBlue/global/menulist.css b/EarlyBlue/global/menulist.css index 9997b950..4d7ab887 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; } @@ -74,48 +68,39 @@ menulist[open="true"]:focus > .menulist-label-box { 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; @@ -125,8 +110,6 @@ html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; - background-color: #FFFFFF; - color: #000000; font: inherit; } @@ -137,24 +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-label-box { + border: 1px solid transparent; +} + .menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; text-align: right; } .menulist-compact > .menulist-label-box > .menulist-icon { - margin-left: 2px; + -moz-margin-start: 2px; } .menulist-compact[open="true"] { border: 1px inset #CCD0DD; -/* background-color: ThreeDShadow; - color: ThreeDHighlight; */ + /* color: ThreeDHighlight; */ } .menulist-compact[disabled="true"] { @@ -162,7 +147,7 @@ html|*.menulist-editable-input { } .menulist-compact:focus > .menulist-label-box { - border: 1px dotted; + border: 1px dotted #999999; background-color: transparent; color: inherit; -} +} \ No newline at end of file