X-Git-Url: https://git-public.kairo.at/?p=themes.git;a=blobdiff_plain;f=EarlyBlue%2Fglobal%2Fcheckbox.css;h=92f25063d4e6d5913d0c657a9b8177ee7de8e048;hp=b419653813603d0c6caaa1b59ed7356a96645a0c;hb=3d6dd546c97f902b849a45d2bf2fa7cc623cb2e9;hpb=55509a9140d6ed6d8ae18e4fc1da8f5789d2279f diff --git a/EarlyBlue/global/checkbox.css b/EarlyBlue/global/checkbox.css index b4196538..92f25063 100644 --- a/EarlyBlue/global/checkbox.css +++ b/EarlyBlue/global/checkbox.css @@ -42,18 +42,26 @@ /* default checkbox for dialogs */ /* outer frame */ checkbox { - -moz-box-align: center; margin: 1px 2px; - padding: 1px; + border-left: 1px transparent; + border-right: 1px transparent; +} + +.checkbox-spacer-box { + -moz-box-align: center; + border-right: 4px solid transparent; +} + +.checkbox-label-center-box { + -moz-box-align: center; } .checkbox-label-box { border: 1px solid transparent; - padding: 0px 1px; -moz-box-align: center; } -.checkbox-icon { +.checkbox-icon[src] { margin-right: 2px; } @@ -63,13 +71,13 @@ checkbox { /* ..... focused state ..... */ -checkbox:focus > .checkbox-label-box { +checkbox:focus > .checkbox-label-center-box > .checkbox-label-box { border: 1px dotted #9999CC; } /* ..... disabled state ..... */ -checkbox[disabled="true"] > .checkbox-check { +checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check { background-color: -moz-Dialog; } @@ -80,23 +88,22 @@ checkbox[disabled="true"] { /* ::::: checkmark image ::::: */ .checkbox-check { - -moz-box-align: center; border: 1px inset #CCD0DD; width: 12px; height: 12px; background: transparent 50% 50% no-repeat; } - -checkbox:hover:active > .checkbox-check { + +checkbox:hover:active > .checkbox-spacer-box > .checkbox-check { background-color: transparent; } /* ..... checked state ..... */ -checkbox[checked="true"] > .checkbox-check { +checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check { background-image: url("chrome://global/skin/checkbox/cbox-check.gif"); } -checkbox[checked="true"][disabled="true"] > .checkbox-check { +checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check { background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important }