settings: Remove some duplicate CSS.

Since we added settings_select class to select elements
in both stream settings and user or realm settings in
previous commits, we can have common CSS defined at only
one place.
This commit is contained in:
Sahil Batra 2023-02-16 15:58:32 +05:30 committed by Tim Abbott
parent c6ff8f0551
commit 27d2ac1e37
2 changed files with 13 additions and 21 deletions

View File

@ -358,17 +358,20 @@ td .button {
.settings_select { .settings_select {
height: 30px; height: 30px;
width: 220px; width: 220px;
padding: 4px 6px; }
color: hsl(0, 0%, 33%); }
border-radius: 4px;
border: 1px solid hsl(0, 0%, 80%);
cursor: pointer;
background-color: hsl(0, 0%, 100%);
&:disabled { .settings_select {
cursor: not-allowed; padding: 4px 6px;
background-color: hsl(0, 0%, 93%); color: hsl(0, 0%, 33%);
} border-radius: 4px;
border: 1px solid hsl(0, 0%, 80%);
cursor: pointer;
background-color: hsl(0, 0%, 100%);
&:disabled {
cursor: not-allowed;
background-color: hsl(0, 0%, 93%);
} }
} }

View File

@ -989,17 +989,6 @@ div.settings-radio-input-parent {
/* Match .setting_desktop_icon_count_display */ /* Match .setting_desktop_icon_count_display */
width: 325px; width: 325px;
height: fit-content; height: fit-content;
padding: 4px 6px;
color: hsl(0, 0%, 33%);
border-radius: 4px;
border: 1px solid hsl(0, 0%, 80%);
cursor: pointer;
background-color: hsl(0, 0%, 100%);
&:disabled {
cursor: not-allowed;
background-color: hsl(0, 0%, 93%);
}
} }
select.stream_post_policy_setting { select.stream_post_policy_setting {