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,6 +358,10 @@ td .button {
.settings_select { .settings_select {
height: 30px; height: 30px;
width: 220px; width: 220px;
}
}
.settings_select {
padding: 4px 6px; padding: 4px 6px;
color: hsl(0, 0%, 33%); color: hsl(0, 0%, 33%);
border-radius: 4px; border-radius: 4px;
@ -370,7 +374,6 @@ td .button {
background-color: hsl(0, 0%, 93%); background-color: hsl(0, 0%, 93%);
} }
} }
}
#admin-user-list, #admin-user-list,
#admin-bot-list { #admin-bot-list {

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 {