make checkboxes in in-content prefs captions look and work decently EarlyBlue-2.34 LCARStrek-2.34
authorRobert Kaiser <kairo@kairo.at>
Sun, 12 Apr 2015 14:37:53 +0000 (16:37 +0200)
committerRobert Kaiser <kairo@kairo.at>
Sun, 12 Apr 2015 14:37:53 +0000 (16:37 +0200)
LCARStrek/global/checkbox.css

index ad38b3773d072956608171cd9dc0992b8410664e..759ec780027d60d7a859e0386342fc24f1fa118b 100644 (file)
@@ -90,3 +90,38 @@ checkbox[checked="true"]:hover:active > .checkbox-spacer-box > .checkbox-check {
 checkbox[checked="true"][disabled="true"] > .checkbox-spacer-box > .checkbox-check {
   background-image: url("chrome://global/skin/checkbox/cbox-check-disabled.gif") !important;
 }
+
+/* ..... checkbox in groupbox caption ..... */
+
+caption > checkbox {
+  border-radius: 7px;
+  border: 0;
+  margin: 0 -3px;
+  padding: 0 5px;
+}
+
+caption > checkbox:hover {
+  background-color: #FFCF00;
+}
+
+caption > checkbox:hover:active {
+  background-color: #FF9F00;
+}
+
+caption > checkbox:not([disabled="true"]) > .checkbox-label-center-box > .checkbox-label-box,
+caption > checkbox:not([disabled="true"]):hover > .checkbox-label-center-box > .checkbox-label-box,
+caption > checkbox:not([disabled="true"]):hover:active > .checkbox-label-center-box > .checkbox-label-box {
+  color: inherit;
+}
+
+caption > checkbox:not([disabled="true"]) > .checkbox-spacer-box > .checkbox-check,
+caption > checkbox:not([disabled="true"]):hover > .checkbox-spacer-box > .checkbox-check,
+caption > checkbox:not([disabled="true"]):hover:active > .checkbox-spacer-box > .checkbox-check {
+  border-color: #000000;
+}
+
+caption > checkbox[checked="true"] > .checkbox-spacer-box > .checkbox-check,
+caption > checkbox[checked="true"]:hover > .checkbox-spacer-box > .checkbox-check,
+caption > checkbox[checked="true"]:hover:active > .checkbox-spacer-box > .checkbox-check {
+  background-image: url("chrome://global/skin/checkbox/cbox-check-inverted.gif");
+}