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: Explode dark theme disabled rule.

Tim Abbotte4567e05acc9
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 87b799cb1be..4fbcba7562b 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -342,8 +342,13 @@
color: inherit;
}
- /* these are converting grey things to "new grey" */
- :disabled,
+ /* these are converting grey things to "new grey".
+ :disabled rules are exploded for CSS selector performance reasons. */
+ button:disabled,
+ option:disabled,
+ select:disabled,
+ textarea:disabled,
+ input:disabled,
input:not([type="radio"]):read-only,
textarea:read-only,
#organization-permissions .dropdown-widget-button:disabled,