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.

modal: Grey out the submit button when disabled.

Ganesh Pawar6262c88e005a
diff --git a/static/styles/modal.css b/static/styles/modal.css
index 1cfe9e90ee3..53ff670f6f2 100644
--- a/static/styles/modal.css
+++ b/static/styles/modal.css
@@ -117,6 +117,11 @@
backface-visibility: hidden;
transform: translateZ(0);
transition: transform 0.25s ease-out;
+
+ &:disabled {
+ background-color: hsl(0, 0%, 83%);
+ cursor: not-allowed;
+ }
}
.modal__btn:focus,