X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fbutton.css;h=c8972b6ca169ea12e57eb80be175e3d6669ba75e;hp=000a7e7e8c72f3ebd9d6190cc1fc861457c54383;hb=ef3a6994370bde4ca20ff1f86f08b4f1e528eab8;hpb=02920d2b69ae86d5762a1874ba85d273c38bac75 diff --git a/EarlyBlue/global/button.css b/EarlyBlue/global/button.css index 000a7e7e..c8972b6c 100644 --- a/EarlyBlue/global/button.css +++ b/EarlyBlue/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 { @@ -49,6 +47,7 @@ button { border: 1px outset #CCD0DD; background-color: #CCD0DD; color: #000000; + text-shadow: none; } .button-box { @@ -70,10 +69,7 @@ button { /* .......... focused state .......... */ -button:focus { -} - -button:focus > .button-box { +button:-moz-focusring > .button-box { border: 1px dotted #9999CC; } @@ -130,8 +126,6 @@ button[disabled="true"] > .button-box { /* ::::: menu/menu-button buttons ::::: */ button[type="menu-button"] { - -moz-box-align: center; - -moz-box-pack: center; margin: 0px; border: none; } @@ -139,8 +133,8 @@ button[type="menu-button"] { .button-menu-dropmarker, .button-menubutton-dropmarker { margin: 1px; - min-width: 11px; - min-height: 11px; + width: 11px; + height: 11px; background-color: transparent; border: none; } @@ -173,3 +167,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; +}