give
/
src
/
DonorDashboards
/
resources
/
js
/
app
/
components
/
subscription-manager
/
style.scss
give
/
src
/
DonorDashboards
/
resources
/
js
/
app
/
components
/
subscription-manager
Last commit date
amount-control
6 months ago
hooks
1 year ago
pause-duration-dropdown
1 year ago
payment-method-control
1 year ago
subscription-status
1 year ago
utils
1 year ago
index.tsx
1 year ago
style.scss
1 year ago
style.scss
67 lines
| 1 | /* stylelint-disable selector-class-pattern */ |
| 2 | |
| 3 | .give-donor-dashboard__subscription-manager { |
| 4 | display: flex; |
| 5 | flex-direction: column; |
| 6 | |
| 7 | &-spinner { |
| 8 | animation: spin infinite 1s linear; |
| 9 | } |
| 10 | |
| 11 | .give-donor-dashboard-button--primary, .give-donor-dashboard-button--variant { |
| 12 | max-width: fit-content; |
| 13 | } |
| 14 | |
| 15 | .give-donor-dashboard-button.give-donor-dashboard-button--variant{ |
| 16 | position: relative; |
| 17 | |
| 18 | &:hover:before { |
| 19 | content: ''; |
| 20 | position: absolute; |
| 21 | top: 0; |
| 22 | right: 0; |
| 23 | bottom: 0; |
| 24 | left: 0; |
| 25 | background: var(--give-donor-dashboard-accent-color); |
| 26 | z-index: 0; |
| 27 | transition: filter 0.3s ease; |
| 28 | filter: brightness(125%); |
| 29 | opacity: .15; |
| 30 | } |
| 31 | |
| 32 | span { |
| 33 | position: relative; |
| 34 | z-index: 1; |
| 35 | color: var(--give-donor-dashboard-accent-color); |
| 36 | } |
| 37 | } |
| 38 | |
| 39 | &__cancel { |
| 40 | color: #d92d0b; |
| 41 | padding: 0; |
| 42 | margin: 2rem 0 1.75rem 0; |
| 43 | background: none; |
| 44 | font-size: .873rem; |
| 45 | font-weight: 600; |
| 46 | text-align: right; |
| 47 | border: none; |
| 48 | outline: none; |
| 49 | cursor: pointer; |
| 50 | } |
| 51 | |
| 52 | .give-donor-dashboard-field-row { |
| 53 | display: flex; |
| 54 | justify-content: flex-end; |
| 55 | margin: 10px 0; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | @keyframes spin { |
| 60 | from { |
| 61 | transform: rotate(0deg); |
| 62 | } |
| 63 | to { |
| 64 | transform: rotate(360deg); |
| 65 | } |
| 66 | } |
| 67 |