style.scss
76 lines
| 1 | /* stylelint-disable selector-class-pattern */ |
| 2 | |
| 3 | .give-donor-dashboard__auth-modal { |
| 4 | position: absolute; |
| 5 | width: 100%; |
| 6 | height: 100%; |
| 7 | display: flex; |
| 8 | align-items: center; |
| 9 | justify-content: center; |
| 10 | z-index: 99; |
| 11 | |
| 12 | .give-donor-dashboard__auth-modal-frame { |
| 13 | box-shadow: 0 4px 25px rgba(0, 0, 0, 0.2); |
| 14 | width: 90%; |
| 15 | max-width: 480px; |
| 16 | border-radius: 8px; |
| 17 | overflow: hidden; |
| 18 | |
| 19 | .give-donor-dashboard__auth-modal-heading { |
| 20 | background: var(--give-donor-dashboard-accent-color); |
| 21 | color: #fff; |
| 22 | padding: 34px; |
| 23 | font-size: 21px; |
| 24 | } |
| 25 | |
| 26 | .give-donor-dashboard__auth-modal-content { |
| 27 | background: #fff; |
| 28 | padding: 30px 34px; |
| 29 | font-size: 15px; |
| 30 | |
| 31 | .give-donor-dashboard__auth-modal-seperator { |
| 32 | margin: 30px -34px; |
| 33 | height: 1px; |
| 34 | background: #e2e6ec; |
| 35 | } |
| 36 | |
| 37 | .give-donor-dashboard__auth-modal-form { |
| 38 | display: contents; |
| 39 | } |
| 40 | |
| 41 | .give-donor-dashboard__auth-modal-row { |
| 42 | display: flex; |
| 43 | align-items: center; |
| 44 | justify-content: space-between; |
| 45 | } |
| 46 | |
| 47 | .give-donor-dashboard__auth-modal-notice { |
| 48 | background: rgb(255, 244, 229); |
| 49 | border: 1px solid #ff9800; |
| 50 | color: rgb(102, 60, 0); |
| 51 | padding: 16px; |
| 52 | border-radius: 8px; |
| 53 | margin-bottom: 24px; |
| 54 | } |
| 55 | |
| 56 | .give-donor-dashboard__auth-modal-error { |
| 57 | max-width: 40%; |
| 58 | font-size: 10px; |
| 59 | } |
| 60 | |
| 61 | .give-donor-dashboard__auth-modal-spinner { |
| 62 | animation: spin infinite 1s linear; |
| 63 | } |
| 64 | } |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | @keyframes spin { |
| 69 | from { |
| 70 | transform: rotate(0deg); |
| 71 | } |
| 72 | to { |
| 73 | transform: rotate(360deg); |
| 74 | } |
| 75 | } |
| 76 |