scss: dim buttons during submit (#13349)
This commit is contained in:
parent
e125109332
commit
5ae3c9d7c5
|
@ -108,6 +108,18 @@ a.submit-button, button.submit-button, div.buttons .submit-button input, div.but
|
|||
&:active { background: darken($button-submit-color, 10%); }
|
||||
}
|
||||
|
||||
form.disabled-during-submit {
|
||||
// this class is added to forms in w.c.s. when a button is clicked.
|
||||
div.buttons {
|
||||
cursor: wait;
|
||||
button {
|
||||
pointer-events: none;
|
||||
box-shadow: none;
|
||||
opacity: 0.7;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
div.ui-dialog button.ui-button-disabled,
|
||||
div#content button:disabled,
|
||||
input[type=submit]:disabled {
|
||||
|
|
Loading…
Reference in New Issue