Bug 1309728 - Fix invisible rule-view checkboxes in light theme. r=jdescottes draft
authorTim Nguyen <ntim.bugs@gmail.com>
Fri, 14 Oct 2016 23:12:22 +0100
changeset 425512 06cc3425aa272266880297568c1743db82b70575
parent 425304 0c899672fff6ae00f5b3affbec48ee4daac35fa1
child 533936 c52d08ca1322c351fa0a1b807a95d29a59275a35
push id32442
push userbmo:ntim.bugs@gmail.com
push dateFri, 14 Oct 2016 22:12:42 +0000
reviewersjdescottes
bugs1309728
milestone52.0a1
Bug 1309728 - Fix invisible rule-view checkboxes in light theme. r=jdescottes MozReview-Commit-ID: Le30FWc3iuf
devtools/client/themes/common.css
--- a/devtools/client/themes/common.css
+++ b/devtools/client/themes/common.css
@@ -741,20 +741,28 @@ checkbox:-moz-focusring {
   transform: scaleX(-1);
 }
 
 .theme-checkbox {
   display: inline-block;
   border: 0;
   padding: 0;
   outline: none;
+  background-position: 0 0;
+}
+
+.theme-dark .theme-checkbox {
   background-position: -28px 0;
 }
 
 .theme-checkbox[checked] {
+  background-position: -14px 0;
+}
+
+.theme-dark .theme-checkbox[checked] {
   background-position: -42px 0;
 }
 
 @media (min-resolution: 1.1dppx) {
   .theme-twisty, .theme-checkbox {
     background-image: url("chrome://devtools/skin/images/controls@2x.png");
   }
 }