settings: Refactor CSS for "control-label-disabled" class.

We previously had two CSS rules for control-label-disabled
class, one in settings.css and one in subscriptions.css
and the rule in subscriptions.css was being used by all
the elements with that class.

This commit refactors the code to have only single CSS rule
for that class with the value being set to the one used in
subscriptions.css, because that was the one being used and
that also looks better in terms of design, and the CSS is
defined in settings.css since it can be considered more
general file for writing CSS used in organization/personal
settings along with stream settings.

This commit also removes the unused code for
".control-label-disabled.enabled" selector since we no
longer use that selector.
This commit is contained in:
Sahil Batra 2024-06-26 16:31:11 +05:30 committed by Tim Abbott
parent f7a6d841c8
commit 1fac997338
2 changed files with 1 additions and 9 deletions

View File

@ -720,11 +720,7 @@ input[type="checkbox"] {
}
.control-label-disabled {
color: hsl(0deg 0% 82%);
&.enabled {
color: hsl(0deg 0% 20%);
}
color: hsl(0deg 0% 64%);
}
.admin-realm-message-retention-days {

View File

@ -49,10 +49,6 @@
white-space: normal;
}
.control-label-disabled {
color: hsl(0deg 0% 64%);
}
.sub_setting_checkbox {
display: flex;