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: Make all modal buttons half opaque when disabled, instead of grey.

N-Shar-ma7104c0645902
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 58dae296151..f766ca3604b 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -104,11 +104,6 @@
}
}
- .modal__btn:disabled {
- opacity: 1;
- background-color: hsl(0deg 0% 83% / 50%);
- }
-
& table.table-striped thead.table-sticky-headers th {
background-color: hsl(0deg 0% 0%);
diff --git a/web/styles/modal.css b/web/styles/modal.css
index 467e94d55ba..8702bf92947 100644
--- a/web/styles/modal.css
+++ b/web/styles/modal.css
@@ -129,6 +129,7 @@
&:disabled {
cursor: not-allowed;
+ opacity: 0.5;
}
}
@@ -151,10 +152,6 @@
margin-left: 12px;
background-color: hsl(240deg 96% 68%);
color: hsl(0deg 0% 100%) !important;
-
- &:disabled {
- background-color: hsl(0deg 0% 65%);
- }
}
#read_receipts_error,