From a3a3f7796aba401ee9555a3eea84e417948dab63 Mon Sep 17 00:00:00 2001 From: Sahil Batra Date: Sun, 25 Dec 2022 13:34:03 +0530 Subject: [PATCH] stream_settings: Add bootstrap rules for select elements. This commit adds bootstrap CSS rules used for select elements in stream settings to existing CSS in subscriptions.css. This change is done so we can safely remove select CSS rules from bootstrap.css as a part of our process to remove bootstrap. --- static/styles/subscriptions.css | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/static/styles/subscriptions.css b/static/styles/subscriptions.css index 3dc061a572..dc03cd3fc8 100644 --- a/static/styles/subscriptions.css +++ b/static/styles/subscriptions.css @@ -982,6 +982,21 @@ div.settings-radio-input-parent { /* Match .setting_desktop_icon_count_display */ width: 325px; 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 { + margin-bottom: 10px; } }