settings: Fix color styling for nested inputs to work in night mode.

This commit is contained in:
Cynthia Lin
2018-08-04 17:43:03 -07:00
committed by Tim Abbott
parent a001e8d6ec
commit ecbc58c586
3 changed files with 6 additions and 1 deletions

View File

@@ -22,7 +22,7 @@ exports.show_or_hide_menu_item = function () {
.find("input, button, select").attr("disabled", true);
$(".organization-box [data-name='profile-field-settings']")
.find("input, button, select").attr("disabled", true);
$(".control-label-disabled").css("color", "#333333");
$(".control-label-disabled").addClass('enabled');
}
};

View File

@@ -611,6 +611,10 @@ input[type=checkbox].inline-block {
color: hsl(0, 0%, 82%);
}
.control-label-disabled.enabled {
color: hsl(0, 0%, 20%);
}
.disableable {
margin-left: 22px;
margin-top: -10px;

View File

@@ -10,6 +10,7 @@ GENERIC_KEYWORDS = [
'danger',
'condensed',
'disabled',
'enabled',
'error',
'expanded',
'fade-out',