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.

css: Normalize opacity on `select:disabled` elements.

tnmkr13c4f281abff
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 530a3181bf4..c5b993b059c 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -374,6 +374,9 @@
/* 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: hsl(0deg 0% 90%);
+
+ /* This is reset for other browsers to use Chrome's opacity. */
+ opacity: 0.7;
}
}
diff --git a/web/styles/settings.css b/web/styles/settings.css
index e62e7bdd07d..d3aaa4d208d 100644
--- a/web/styles/settings.css
+++ b/web/styles/settings.css
@@ -371,6 +371,9 @@ td .button {
&:disabled {
cursor: not-allowed;
background-color: hsl(0deg 0% 93%);
+
+ /* This is reset for other browsers to use Chrome's opacity. */
+ opacity: 0.7;
}
}