X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fspinbuttons.css;h=2354176ccf43839fb8785ded22a09587b65cb5e2;hp=4439c705809a901db2d8715f762bb3bdc3d51730;hb=b90fa5c89a5ef786a305766a9447206e162f4d00;hpb=74d14f90a7085ce7d63f78d6124b57e9a8422d3f diff --git a/EarlyBlue/global/spinbuttons.css b/EarlyBlue/global/spinbuttons.css index 4439c705..2354176c 100644 --- a/EarlyBlue/global/spinbuttons.css +++ b/EarlyBlue/global/spinbuttons.css @@ -14,12 +14,12 @@ * The Original Code is "Classic" theme of mozilla.org code. * * The Initial Developer of the Original Code is - * the Mozilla Organization. - * Portions created by the Initial Developer are Copyright (C) 1998-2001 + * HÃ¥kan Waara + * Portions created by the Initial Developer are Copyright (C) 2001 * the Initial Developer. All Rights Reserved. * * Contributor(s): - * Hakan Waara (Original Author) + * HÃ¥kan Waara (Original Author) * Robert Kaiser * * Alternatively, the contents of this file may be used under the terms of @@ -38,18 +38,52 @@ @namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); -.up { - list-style-image: url("chrome://global/skin/spinbutton/spinbtn-up.gif") +spinbuttons { + cursor: default; } -.up:hover:active { - list-style-image: url("chrome://global/skin/spinbutton/spinbtn-up-act.gif") +.spinbuttons-button { + min-width: 9px; + min-height: 9px; + margin: 0 !important; + border: 1px outset #CCD0DD; + background-color: #CCD0DD; } -.down { - list-style-image: url("chrome://global/skin/spinbutton/spinbtn-dn.gif") +.spinbuttons-button > .button-box { + border: 0; + padding: 0; + margin: 0; } -.down:hover:active { - list-style-image: url("chrome://global/skin/spinbutton/spinbtn-dn-act.gif") +.spinbuttons-button[disabled="true"] > .button-box { + padding: 0 !important; +} + +.spinbuttons-button:hover:active { + border: 1px inset #CCD0DD; +} + +.spinbuttons-button[disabled="true"] { + border: 1px outset #CCD0DD; +} + +.spinbuttons-up { + background-image: url("chrome://global/skin/arrow/arrow-up.gif"); + background-position: center center; + background-repeat: no-repeat; +} + +.spinbuttons-up[disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-up-disabled.gif"); +} + +.spinbuttons-down { + background-image: url("chrome://global/skin/arrow/arrow-down.gif"); + background-position: center center; + background-repeat: no-repeat; +} + +.spinbuttons-down[disabled="true"] { + background-image: url("chrome://global/skin/arrow/arrow-down-disabled.gif"); }