X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fbutton.css;h=5ddebe74b8204f4ed4272d0f6908d3c72f9294c5;hp=0bb53b25e0b83b9391fa7967e0b3916d972b8e3a;hb=569543b3d2d5099d602cc6644b026ee2adf3e00a;hpb=c79d2bbe6e21fbe322c5481d0757831306d1eeaf diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index 0bb53b25..5ddebe74 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -36,44 +36,43 @@ * ***** END LICENSE BLOCK ***** */ /* ===== button.css ===================================================== - == Styles used by the XUL button element. + == Styles used by the XUL (and XHTML in netError.xhtml) button element. ======================================================================= */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* :::::::::: button :::::::::: */ button { - -moz-border-radius: 3px; + border-radius: 3px; margin: 1px 2px; min-width: 6.3em; border: none; background-color: #000000; color: #FFCF00; + text-shadow: none; } .button-box { - -moz-border-radius: 3px; + border-radius: 3px; border: 1px solid transparent; - padding: 1px 4px 2px 3px; + padding-top: 1px; + padding-bottom: 2px; + -moz-padding-start: 3px; + -moz-padding-end: 4px; } .button-icon { - margin-right: 2px; + -moz-margin-end: 2px; } .button-text { - -moz-border-radius: 3px; + border-radius: 3px; margin: 0px !important; text-align: center; } /* .......... focused state .......... */ -button:focus { -} - -button:focus > .button-box { +button:-moz-focusring > .button-box { border: 1px dotted #008484; } @@ -86,8 +85,8 @@ button[default="true"] > .button-box { } button[default="true"] > .button-box > .button-icon { - margin-right: 0px; - margin-left: 2px; + -moz-margin-end: 0px; + -moz-margin-start: 2px; } button[default="true"]:hover > .button-box, @@ -104,19 +103,19 @@ button[default="true"][disabled="true"] > .button-box { button:hover, button:hover:active { - border : none; + border: none; background-color: #FFCF00; color: #000000; } button[open="true"] { - border : none; + border: none; background-color: #FF9F00; color: #000000; } -button[checked="true"] { - border : none; +button[checked="true"]:not(:hover) { + border: none; background-color: #008484; color: #000000; } @@ -124,7 +123,10 @@ button[checked="true"] { button:hover:active > .button-box, button[open="true"] > .button-box, button[checked="true"] > .button-box { - padding: 2px 3px 1px 4px; + padding-top: 2px; + padding-bottom: 1px; + -moz-padding-start: 4px; + -moz-padding-end: 3px; } /* .......... disabled state .......... */ @@ -137,7 +139,10 @@ button[disabled="true"]:hover:active { } button[disabled="true"] > .button-box { - padding: 1px 4px 2px 3px !important; + padding-top: 1px !important; + padding-bottom: 2px !important; + -moz-padding-start: 3px !important; + -moz-padding-end: 4px !important; } /* ::::: menu/menu-button buttons ::::: */ @@ -151,10 +156,10 @@ button[type="menu-button"] { .button-menu-dropmarker, .button-menubutton-dropmarker { - -moz-border-radius: 3px; + border-radius: 3px; margin: 1px; - min-width: 11px; - min-height: 11px; + width: 11px; + height: 11px; } /* ::::: plain buttons ::::: */ @@ -177,3 +182,10 @@ button[type="disclosure"] { button[type="disclosure"][open="true"] { list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); } + +/* ::::: xhtml buttons ::::: */ + +button::-moz-focus-inner { + padding: 0px; + border: 0px none; +}