modal: Grey out the submit button when disabled.

This commit is contained in:
Ganesh Pawar 2021-11-14 18:51:48 +05:30 committed by Tim Abbott
parent ca4d9b0fd6
commit 6262c88e00
1 changed files with 5 additions and 0 deletions

View File

@ -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,