Bug 1546155 - Fix in-content disabled label color and opacity for dark mode r=dao
authorKestrel <ke5trel@protonmail.com>
Fri, 03 May 2019 12:30:24 +0000
changeset 531295 8db7a4d48e49d401626c1b3893c382363a6eea49
parent 531294 8432594d00d5ccc168b24858ca0041e4cb761b87
child 531296 f00e36d2011fb9123158ab5ea3a6b3df6c75761e
push id11265
push userffxbld-merge
push dateMon, 13 May 2019 10:53:39 +0000
treeherdermozilla-beta@77e0fe8dbdd3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdao
bugs1546155
milestone68.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1546155 - Fix in-content disabled label color and opacity for dark mode r=dao Differential Revision: https://phabricator.services.mozilla.com/D28810
toolkit/themes/shared/in-content/common.inc.css
--- a/toolkit/themes/shared/in-content/common.inc.css
+++ b/toolkit/themes/shared/in-content/common.inc.css
@@ -553,22 +553,24 @@ xul|checkbox[checked] > xul|*.checkbox-c
 }
 
 html|input[type="checkbox"]:checked {
   background-image: url("chrome://global/skin/icons/check.svg");
   -moz-context-properties: fill;
   fill: #2292d0;
 }
 
-xul|checkbox[disabled="true"] {
+xul|checkbox[disabled="true"],
+xul|label[disabled="true"] {
   color: inherit;
 }
 
 xul|checkbox[disabled="true"],
-html|input[type="checkbox"]:disabled {
+html|input[type="checkbox"]:disabled,
+xul|label[disabled="true"] {
   opacity: 0.5;
 }
 
 xul|richlistitem > xul|*.checkbox-check {
   margin: 3px 6px;
 }
 
 html|*.toggle-container-with-text {