/* Site-wide "this control is working" state — see Scripts/custom/busy-buttons.js.
   A control that fired a request keeps its size, shows a spinner and stops taking
   clicks until the request settles, so nothing can be submitted twice. */

.ea-busy {
    pointer-events: none;
    opacity: .65;
    cursor: progress !important;
}

/* Links do not honour [disabled]; pointer-events above is what stops them. */
a.ea-busy {
    text-decoration: none;
}

.ea-busy .ea-busy-spinner {
    margin-right: 6px;
}

/* <input> cannot hold the spinner, so it sits next to the control instead. */
.ea-busy-spinner.ea-busy-adjacent {
    margin-left: 6px;
    margin-right: 0;
    color: inherit;
}
