second part of syncing LCARStrek with Firefox 55 browser windows theme changes
[themes.git] / EarlyBlue / global / checkbox.css
index 3677795158cc3f02944780850b9074f13b6e7722..1c7cb5abe982c6ea542d3d17e36a521c77f6f924 100644 (file)
 /* ::::: checkbox ::::: */
 
 checkbox {
-  margin: 1px 2px;
-  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;
+  margin: 1px 2px;
+  padding-top: 0;
+  padding-bottom: 0;
+  padding-inline-start: 2px;
+  padding-inline-end: 0;
 }
 
 .checkbox-label-box {
   border: 1px solid transparent;
-  -moz-box-align: center;
 }
 
-.checkbox-icon[src] {
-  -moz-margin-end: 2px;
+.checkbox-icon {
+  margin-inline-end: 2px;
 }
 
 .checkbox-label {
@@ -40,39 +33,42 @@ checkbox {
 
 /* ..... focused state ..... */
 
-checkbox:-moz-focusring > .checkbox-label-center-box > .checkbox-label-box {
+checkbox:-moz-focusring > .checkbox-label-box {
   border: 1px dotted #9999CC;
 }
 
 /* ..... disabled state ..... */
 
-checkbox[disabled="true"] > .checkbox-spacer-box > .checkbox-check {
+checkbox[disabled="true"] > .checkbox-check {
   background-color: #CCD0DD;
 }
 
-checkbox[disabled="true"] {
-  color: #999999 !important;
+checkbox[disabled="true"] > .checkbox-label-box {
+  color: #999999;
 }
 
 /* ::::: checkmark image ::::: */
 
 .checkbox-check {
   border: 1px inset #CCD0DD;
-  width: 12px;
-  height: 12px;
+  width: 1em;
+  height: 1em;
+  min-width: 12px;
+  min-height: 12px;
   background: transparent 50% 50% no-repeat;
+  margin-inline-end: 3px;
 }
 
-checkbox:hover:active > .checkbox-spacer-box > .checkbox-check {
+checkbox:hover:active > .checkbox-check {
   background-color: #CCD0DD;
 }
 
 /* ..... checked state ..... */
 
-checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check {
+checkbox[checked="true"] > .checkbox-check {
   background-image: url("chrome://global/skin/checkbox/cbox-check.gif");
 }
 
-checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check {
+checkbox[checked="true"][disabled="true"] > .checkbox-check {
   background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important
 }