X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=LCARStrek%2Fglobal%2Fbutton.css;h=801281e151b4de5479677dfce75654a1da3a7ed6;hp=e3311b8fe01a9779a8063b1ed4491bbc85f22281;hb=9545fc93ebbd436afd6cc097b68d4b2605f25ee6;hpb=a064a54072180bda29a2d7b0ce33cd1e57612218 diff --git a/LCARStrek/global/button.css b/LCARStrek/global/button.css index e3311b8f..801281e1 100644 --- a/LCARStrek/global/button.css +++ b/LCARStrek/global/button.css @@ -36,11 +36,9 @@ * ***** 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 { @@ -74,10 +72,7 @@ button { /* .......... focused state .......... */ -button:focus { -} - -button:focus > .button-box { +button:-moz-focusring > .button-box { border: 1px dotted #008484; } @@ -108,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; } @@ -187,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; +}