Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

settings: Fix disabled select elements in modal.

Sahil Batraca7008984231
diff --git a/static/styles/modal.css b/static/styles/modal.css
index 7ef34da36f8..e76467ee250 100644
--- a/static/styles/modal.css
+++ b/static/styles/modal.css
@@ -335,6 +335,9 @@
&:disabled {
cursor: not-allowed;
- background-color: hsl(0, 0%, 93%);
+
+ /* The background-color of select elements inside modal is different than the others in
+ settings pages, because the background of the modal is brighter than the setting page. */
+ background-color: hsla(0, 0%, 90%, 1);
}
}
diff --git a/static/styles/settings.css b/static/styles/settings.css
index 80ef1bec359..c5e5b5dc51e 100644
--- a/static/styles/settings.css
+++ b/static/styles/settings.css
@@ -867,10 +867,6 @@ input[type="checkbox"] {
margin: 10px 0 5px;
}
- #bot-role-select:disabled {
- opacity: 1;
- }
-
#current_bot_avatar_image {
margin: 5px 0 8px;
}