_amount.scss
1 year ago
_billingAddress.scss
2 years ago
_donation-summary.scss
2 years ago
_form-errors.scss
2 years ago
_gateways.scss
1 year ago
_goal.scss
1 year ago
_honeypot.scss
1 year ago
_pagination.scss
2 years ago
_receipt.scss
1 month ago
_gateways.scss
138 lines
| 1 | @use '../variables'; |
| 2 | |
| 3 | .givewp-fields-gateways { |
| 4 | &__list { |
| 5 | display: flex; |
| 6 | flex-direction: column; |
| 7 | gap: var(--givewp-spacing-2); |
| 8 | list-style: none; |
| 9 | } |
| 10 | |
| 11 | &__gateway { |
| 12 | display: flex; |
| 13 | flex-direction: column; |
| 14 | gap: var(--givewp-spacing-1); |
| 15 | |
| 16 | background-color: var(--givewp-shades-white); |
| 17 | transition: background-color var(--tab-transition); |
| 18 | border-radius: var(--givewp-rounded-4); |
| 19 | border-color: var(--givewp-grey-400); |
| 20 | list-style: none; |
| 21 | margin: 0; |
| 22 | |
| 23 | &:first-child:last-child { |
| 24 | label > input { |
| 25 | display: none; |
| 26 | } |
| 27 | } |
| 28 | |
| 29 | label { |
| 30 | display: flex; |
| 31 | flex-direction: row; |
| 32 | gap: var(--givewp-spacing-4); |
| 33 | align-items: center; |
| 34 | padding: var(--givewp-spacing-6) var(--givewp-spacing-4); |
| 35 | border-style: solid; |
| 36 | border-width: 1px; |
| 37 | border-color: inherit; |
| 38 | border-radius: var(--givewp-rounded-4); |
| 39 | cursor: pointer; |
| 40 | } |
| 41 | |
| 42 | &--active { |
| 43 | border-color: var(--givewp-primary-color); |
| 44 | } |
| 45 | |
| 46 | &__label { |
| 47 | flex-grow: 1; |
| 48 | } |
| 49 | |
| 50 | &__icon { |
| 51 | font-size: 1.25rem; |
| 52 | color: var(--givewp-grey-500); |
| 53 | } |
| 54 | |
| 55 | &__fields { |
| 56 | display: none; |
| 57 | border-style: solid; |
| 58 | border-width: 1px; |
| 59 | border-color: inherit; |
| 60 | padding: var(--givewp-spacing-8) var(--givewp-spacing-12); |
| 61 | border-radius: var(--givewp-rounded-4); |
| 62 | font-size: var(--givewp-font-weight-paragraph-md); |
| 63 | } |
| 64 | |
| 65 | &--active &__fields { |
| 66 | display: block; |
| 67 | |
| 68 | @media screen and (max-width: variables.$givewp-breakpoint-sm) { |
| 69 | padding: var(--givewp-spacing-4); |
| 70 | } |
| 71 | } |
| 72 | |
| 73 | &--empty { |
| 74 | display: flex; |
| 75 | flex-direction: column; |
| 76 | align-items: center; |
| 77 | justify-content: center; |
| 78 | border-style: solid; |
| 79 | border-width: 1px; |
| 80 | border-color: var(--givewp-red-500); |
| 81 | padding: var(--givewp-spacing-8) var(--givewp-spacing-12); |
| 82 | border-radius: var(--givewp-rounded-4); |
| 83 | font-size: var(--givewp-font-weight-paragraph-md); |
| 84 | min-height: 100px; |
| 85 | p { |
| 86 | text-align: center; |
| 87 | margin-bottom: 0; |
| 88 | } |
| 89 | } |
| 90 | |
| 91 | &--test-gateway { |
| 92 | .no-fields { |
| 93 | display: flex; |
| 94 | flex-direction: column; |
| 95 | justify-content: center; |
| 96 | align-items: center; |
| 97 | gap: var(--givewp-spacing-4); |
| 98 | } |
| 99 | |
| 100 | p { |
| 101 | margin: 0; |
| 102 | } |
| 103 | } |
| 104 | } |
| 105 | } |
| 106 | |
| 107 | .givewp-test-mode-notice { |
| 108 | display: flex; |
| 109 | justify-content: left; |
| 110 | align-items: center; |
| 111 | width: 100%; |
| 112 | padding: 0.75rem 1rem; |
| 113 | gap: 1rem; |
| 114 | margin-bottom: 2.5rem; |
| 115 | border-radius: 0.25rem; |
| 116 | border-top: 1px solid var(--orange-400, #F29718); |
| 117 | border-right: 1px solid var(--orange-400, #F29718); |
| 118 | border-bottom: 1px solid var(--orange-400, #F29718); |
| 119 | border-left: 4px solid var(--orange-400, #F29718); |
| 120 | background: var(--shades-white, #FFF); |
| 121 | |
| 122 | svg { |
| 123 | width: 1.5rem; |
| 124 | height: 1.5rem; |
| 125 | flex-shrink: 0; |
| 126 | } |
| 127 | |
| 128 | p { |
| 129 | margin: 0; |
| 130 | line-height: 1.25rem; |
| 131 | color: var(--grey-900, #0E0E0E); |
| 132 | font-size: 0.875rem; |
| 133 | font-style: normal; |
| 134 | font-weight: 400; |
| 135 | } |
| 136 | } |
| 137 | |
| 138 |