X-Git-Url: https://git-public.kairo.at/?a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fbutton.css;h=5ddebe74b8204f4ed4272d0f6908d3c72f9294c5;hb=a3b6328b4e844ec03368483917dcbde4034865c8;hp=66b2007a431c906781e02781c739cb667dad6f0a;hpb=024ec65527b790008bbffb70f38ebf462729bef3;p=themes.git diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index 66b2007a..5ddebe74 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -36,15 +36,13 @@ * ***** 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; @@ -54,7 +52,7 @@ button { } .button-box { - -moz-border-radius: 3px; + border-radius: 3px; border: 1px solid transparent; padding-top: 1px; padding-bottom: 2px; @@ -67,7 +65,7 @@ button { } .button-text { - -moz-border-radius: 3px; + border-radius: 3px; margin: 0px !important; text-align: center; } @@ -105,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; } @@ -158,7 +156,7 @@ button[type="menu-button"] { .button-menu-dropmarker, .button-menubutton-dropmarker { - -moz-border-radius: 3px; + border-radius: 3px; margin: 1px; width: 11px; height: 11px; @@ -184,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; +}