X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fmenulist.css;h=93d31e06f2eea996990b340196d16879b47c9348;hp=981de282879156be0c4c7e7c163a3bcd9c28afa6;hb=e4cecae1e1b620724b4035f73858c9c9b8f9a08e;hpb=95c949c5952245a114a14491ace83defff41625a diff --git a/LCARStrek/global/menulist.css b/LCARStrek/global/menulist.css index 981de282..93d31e06 100644 --- a/LCARStrek/global/menulist.css +++ b/LCARStrek/global/menulist.css @@ -35,21 +35,22 @@ * * ***** 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 { - -moz-border-radius: 3px; + border-radius: 3px; margin: 2px 4px; border: 1px solid #9C9CFF; background-color: #000000; color: #E7ADE7; + text-shadow: none; } menulist[menuactive="true"], @@ -69,13 +70,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; } @@ -85,14 +79,29 @@ menulist[open="true"]:focus > .menulist-label-box { .menulist-description { font-style: italic; + color: #9C9CFF; + -moz-margin-start: 1ex !important; +} + +menulist:focus:not(.menulist-compact) > .menulist-label-box { + background-color: #008484; + color: #FFCF00; +} + +menulist:-moz-focusring:not([open="true"]):not(.menulist-compact) > .menulist-label-box { +/* border: 1px dotted #FFCF00; */ +} + +menulist[disabled="true"] { + background-color: #000000; color: #8050B0; - margin-left: 1ex !important; + border: 1px solid #8050B0; } /* ..... dropmarker ..... */ .menulist-dropmarker { - -moz-border-radius: 0px 3px 3px 0px; + border-radius: 0px 3px 3px 0px; min-width: 15px; border: none; border-left: 1px solid #9C9CFF; @@ -117,30 +126,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; @@ -150,8 +152,8 @@ html|*.menulist-editable-input { margin: 0px !important; border: none !important; padding: 0px !important; - background-color: #000000; - color: #FFCF00; + background-color: inherit; + color: inherit; font: inherit; } @@ -161,23 +163,18 @@ 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-box { - border: 1px solid transparent; - background-color: transparent; - color: inherit; -} - .menulist-compact > .menulist-label-box > .menulist-label { margin: 0 3px !important; - text-align: right; + text-align: end; } .menulist-compact > .menulist-label-box > .menulist-icon { - margin-left: 2px; + -moz-margin-start: 2px; } .menulist-compact[open="true"] { @@ -192,7 +189,3 @@ html|*.menulist-editable-input { .menulist-compact[disabled="true"] { list-style-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); } - -.menulist-compact:focus > .menulist-label-box { - border: 1px dotted #008484; -}