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: Add disabled styling for pill containers.

sandeep04c6183c315e
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index a860a1b40a1..85917c842ea 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -74,7 +74,8 @@
color: hsl(236deg 33% 90%);
}
- .pill-container.not-editable-by-user {
+ .pill-container.not-editable-by-user,
+ .group_setting_disabled .pill-container {
opacity: 0.5;
}
diff --git a/web/styles/input_pill.css b/web/styles/input_pill.css
index 4e8d1b52b21..b7989c4c368 100644
--- a/web/styles/input_pill.css
+++ b/web/styles/input_pill.css
@@ -231,6 +231,7 @@
&.not-editable-by-user {
cursor: not-allowed;
+ background-color: var(--color-background-pill-container-input-disabled);
.pill {
cursor: not-allowed;
diff --git a/web/styles/subscriptions.css b/web/styles/subscriptions.css
index fc4d373acbf..0ff4434c6e6 100644
--- a/web/styles/subscriptions.css
+++ b/web/styles/subscriptions.css
@@ -1188,7 +1188,9 @@ h4.stream_setting_subsection_title {
}
.pill-container {
- opacity: 0.7;
+ background-color: var(
+ --color-background-pill-container-input-disabled
+ );
.pill {
.exit {