mirror of https://github.com/zulip/zulip.git
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:
parent
f7a6d841c8
commit
1fac997338
|
@ -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 {
|
||||
|
|
|
@ -49,10 +49,6 @@
|
|||
white-space: normal;
|
||||
}
|
||||
|
||||
.control-label-disabled {
|
||||
color: hsl(0deg 0% 64%);
|
||||
}
|
||||
|
||||
.sub_setting_checkbox {
|
||||
display: flex;
|
||||
|
||||
|
|
Loading…
Reference in New Issue