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 message send / save buttons half opaque when disabled.

N-Shar-ma6ee08250225b
diff --git a/web/styles/compose.css b/web/styles/compose.css
index 90a957b8e69..c954b3d4b74 100644
--- a/web/styles/compose.css
+++ b/web/styles/compose.css
@@ -1110,14 +1110,7 @@ textarea.new_message_textarea,
& button {
pointer-events: none;
- }
-
- #compose-send-button {
- background-color: hsl(0deg 0% 65%);
- }
-
- #send_later {
- color: hsl(0deg 0% 65%);
+ opacity: 0.5;
}
}
}
diff --git a/web/styles/dark_theme.css b/web/styles/dark_theme.css
index 9800c149cf4..58dae296151 100644
--- a/web/styles/dark_theme.css
+++ b/web/styles/dark_theme.css
@@ -104,8 +104,7 @@
}
}
- .modal__btn:disabled,
- .disabled-message-send-controls button {
+ .modal__btn:disabled {
opacity: 1;
background-color: hsl(0deg 0% 83% / 50%);
}
diff --git a/web/styles/message_row.css b/web/styles/message_row.css
index 2765744513b..406ef982483 100644
--- a/web/styles/message_row.css
+++ b/web/styles/message_row.css
@@ -503,7 +503,6 @@
/* Replicate the `.new-style` disabled values,
without any color shifts. */
cursor: not-allowed;
- filter: saturate(0);
opacity: 0.5;
}
}