+.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;
+ -moz-box-align: center;
+}
+
+.checkbox-icon[src] {
+ margin-right: 2px;
+}
+
+.checkbox-label {
+ margin: 0 !important;
+}
+
+/* ..... focused state ..... */
+
+checkbox:focus > .checkbox-label-center-box > .checkbox-label-box {
+ border: 1px dotted #9999CC;
+}
+
+/* ..... disabled state ..... */
+
+checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check {
+ background-color: -moz-Dialog;
+}
+
+checkbox[disabled="true"] {
+ color: #999999 !important;
+}
+
+/* ::::: checkmark image ::::: */
+
+.checkbox-check {
+ border: 1px inset #CCD0DD;
+ width: 12px;
+ height: 12px;
+ background: transparent 50% 50% no-repeat;
+}
+
+checkbox:hover:active > .checkbox-spacer-box > .checkbox-check {
+ background-color: transparent;
+}
+
+/* ..... checked state ..... */
+
+checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check {
+ background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
+}
+
+checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check {
+ background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important
+}