X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmenulist.css;h=1ee9b22a910d6aabc8a834228adc67c1c18a2faf;hp=0742b2c896c3aedb0a7801796bff1476ce742237;hb=1c10af871ce2e8e208888d25e2fd7c7e2254f9a7;hpb=3d6dd546c97f902b849a45d2bf2fa7cc623cb2e9 diff --git a/LCARStrek/global/menulist.css b/LCARStrek/global/menulist.css index 0742b2c8..1ee9b22a 100644 --- a/LCARStrek/global/menulist.css +++ b/LCARStrek/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 { @@ -69,13 +69,6 @@ menulist[open="true"] { -moz-box-align: center; -moz-box-pack: center; /* margin: 1px; */ -} - -.menulist-label-box, -menulist[open="true"]:focus > .menulist-label-box { - -moz-border-radius: 3px 0px 0px 3px; -/* border: 1px solid transparent; */ - background-color: transparent; color: inherit; } @@ -86,30 +79,35 @@ menulist[open="true"]:focus > .menulist-label-box { .menulist-description { font-style: italic; color: #8050B0; - margin-left: 1ex !important; + -moz-margin-start: 1ex !important; +} + +menulist:focus > .menulist-label-box { +/* border: 1px dotted #008484; */ + background-color: #008484; + color: #000000; +} + +menulist[disabled="true"] { + background-color: #000000; + color: #8050B0; + border: 1px solid #8050B0; } /* ..... dropmarker ..... */ .menulist-dropmarker { -moz-border-radius: 0px 3px 3px 0px; - -moz-box-align: center; - -moz-box-pack: center; min-width: 15px; + border: none; border-left: 1px solid #9C9CFF; - background-color: #000000; - 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") !important; - border-left: 1px solid #8050B0 !important; - background-color: #000000 !important; + border: none; + border-left: 1px solid #9C9CFF; } menulist[menuactive="true"] > .menulist-dropmarker, @@ -124,29 +122,23 @@ menulist:hover > .menulist-dropmarker { background-color: #FFCF00; } -menulist[open="true"] > .menulist-dropmarker, -menulist:hover:active > .menulist-dropmarker { - padding: 2px 0px 0px 2px; +menulist:hover:active > .menulist-dropmarker, +menulist[open="true"] > .menulist-dropmarker { + padding-top: 2px; + padding-bottom: 0; + -moz-padding-start: 2px; + -moz-padding-end: 0; + border: none; border-left: 1px solid #FFCF00; background-color: #FF9F00; } -/* ..... focused state ..... */ - -menulist:focus > .menulist-label-box { -/* border: 1px dotted #FF9F00; */ -} - -/* ..... disabled state ..... */ +/* ::::: editable menulists ::::: */ -menulist[disabled="true"] { - background-color: #000000; - color: #8050B0; - border: 1px solid #8050B0; +menulist[editable="true"] { + color: #E7ADE7; } -/* ::::: editable menulists ::::: */ - .menulist-editable-box { background-color: #000000; padding: 2px; @@ -156,8 +148,6 @@ html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; - background-color: #000000; - color: #FFCF00; font: inherit; } @@ -167,14 +157,29 @@ html|*.menulist-editable-input { -moz-box-align: center; -moz-box-pack: center; margin: 0px; + color: #E7ADE7; border: 1px solid #9C9CFF; + list-style-image: url("chrome://global/skin/arrow/arrow-down.gif"); } -.menulist-compact > .menulist-label { +.menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; text-align: right; } +.menulist-compact > .menulist-label-box > .menulist-icon { + -moz-margin-start: 2px; +} + .menulist-compact[open="true"] { border: 1px solid #FFCF00; } + +.menulist-compact:hover, +.menulist-compact[open="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down-hover.gif"); +} + +.menulist-compact[disabled="true"] { + list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); +}