form locking
This commit is contained in:
parent
c4b06eb6c4
commit
b2f10bb408
5 changed files with 64 additions and 10 deletions
|
|
@ -255,6 +255,24 @@
|
|||
}
|
||||
}
|
||||
|
||||
#order-form form.submitting button[type=submit] {
|
||||
pointer-events: none;
|
||||
opacity: .7;
|
||||
}
|
||||
#order-form form.submitting button[type=submit]::after {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 1em;
|
||||
height: 1em;
|
||||
margin-left: .5rem;
|
||||
vertical-align: -.15em;
|
||||
border: 2px solid currentColor;
|
||||
border-right-color: transparent;
|
||||
border-radius: 50%;
|
||||
animation: spin .7s linear infinite;
|
||||
}
|
||||
@keyframes spin { to { transform: rotate(360deg); } }
|
||||
|
||||
#confirmation {
|
||||
text-align: center;
|
||||
min-height: calc(100vh - var(--nav-height));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue