X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fbutton.css;h=59c8b48eae13a4582e2295caf6daa555b9d16a1f;hp=51fa8dc6bc1cdbe213e5b272ec59f516fd990e85;hb=df8c26c46020f7b778d46e6ceedc93e4d4cb6202;hpb=1d4ddf3044b84fc0b806064b1edcdbaa4c44677b diff --git a/EarlyBlue/global/button.css b/EarlyBlue/global/button.css index 51fa8dc6..59c8b48e 100644 --- a/EarlyBlue/global/button.css +++ b/EarlyBlue/global/button.css @@ -35,15 +35,13 @@ * * ***** END LICENSE BLOCK ***** */ -@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); - /* ===== button.css ===================================================== == Styles used by the XUL button element. ======================================================================= */ -/* :::::::::: button :::::::::: */ +@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -/* outer frame */ +/* :::::::::: button :::::::::: */ button { margin: 2px 3px; @@ -58,6 +56,10 @@ button { padding: 0px 3px 1px 2px; } +.button-icon { + margin-right: 2px; +} + .button-text { margin: 0px !important; text-align: center; @@ -78,7 +80,11 @@ button[default="true"] > .button-box { font-weight: bold; list-style-image: url("chrome://global/skin/icons/return.gif"); -moz-box-direction: reverse; - padding-right: 6px; +} + +button[default="true"] > .button-box > .button-icon { + margin-right: 0px; + margin-left: 2px; } button[default="true"][disabled="true"] > .button-box { @@ -126,8 +132,8 @@ button[type="menu-button"] { margin: 1px; min-width: 11px; min-height: 11px; - background-color: transparent !important; - border: none !important; + background-color: transparent; + border: none; } .button-menubutton-dropmarker[open="true"] { @@ -142,3 +148,16 @@ button.plain { margin: 0px !important; padding: 0px !important; } + +button[type="disclosure"] { + border: 0px !important; + margin: 0px !important; + padding: 0px !important; + list-style-image: url("chrome://global/skin/tree/twisty-closed.gif"); + min-width: 0px !important; + background-color: transparent; +} + +button[type="disclosure"][open="true"] { + list-style-image: url("chrome://global/skin/tree/twisty-open.gif"); +}