form.css
46 lines
| 1 | /** |
| 2 | * Strong Testimonials Unstyled Form template |
| 3 | */ |
| 4 | /* The "wait" spinner on form submission. |
| 5 | -----------------------------------------------*/ |
| 6 | .wpmtst-unstyled-form { |
| 7 | position: relative; |
| 8 | } |
| 9 | |
| 10 | .strong-form-wait { |
| 11 | display: none; |
| 12 | position: absolute; |
| 13 | top: 0; |
| 14 | bottom: 0; |
| 15 | left: 0; |
| 16 | right: 0; |
| 17 | background: rgba(255, 255, 255, 0.7); |
| 18 | } |
| 19 | .strong-form-wait .message { |
| 20 | position: absolute; |
| 21 | top: calc( 50% - 25px ); |
| 22 | text-align: center; |
| 23 | width: 100%; |
| 24 | height: 50px; |
| 25 | line-height: 50px; |
| 26 | color: #111; |
| 27 | } |
| 28 | |
| 29 | .strong-form-wait .message img { |
| 30 | width: 50px; |
| 31 | height: 50px; |
| 32 | margin: 0 auto; |
| 33 | } |
| 34 | |
| 35 | @keyframes wpmtst-spin{ |
| 36 | 0%{ |
| 37 | transform: rotate(360deg); |
| 38 | } |
| 39 | 100%{ |
| 40 | transform: rotate(0deg); |
| 41 | } |
| 42 | } |
| 43 | |
| 44 | .strong-form-wait .message img{ |
| 45 | animation: wpmtst-spin 2.5s infinite 0s linear; |
| 46 | } |