icons
1 year ago
authorizenet.scss
4 years ago
currencyswitcher.scss
4 years ago
feerecovery.scss
4 years ago
ffm.scss
4 years ago
form.scss
3 years ago
legacy-consumer.scss
1 year ago
mixins.scss
4 years ago
newsletter.scss
4 years ago
paypal-commerce.scss
4 years ago
receipt.scss
3 years ago
recurring.scss
4 years ago
square.scss
4 years ago
tributes.scss
3 years ago
util.scss
4 years ago
recurring.scss
158 lines
| 1 | /* stylelint-disable */ |
| 2 | .give-recurring-donors-choice { |
| 3 | background: #fff; |
| 4 | border: 1px solid rgba(255, 255, 255, 0); |
| 5 | box-sizing: border-box; |
| 6 | box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203); |
| 7 | border-radius: 5px; |
| 8 | margin: 20px 30px 0 30px !important; |
| 9 | padding: 0; |
| 10 | position: relative; |
| 11 | |
| 12 | @media screen and (max-width: $break-phone) { |
| 13 | margin: 20px 20px 0 20px !important; |
| 14 | } |
| 15 | |
| 16 | label { |
| 17 | font-weight: 400 !important; |
| 18 | font-size: 16px; |
| 19 | line-height: 1.4; |
| 20 | padding: 14px 22px 14px 22px !important; |
| 21 | width: calc(100% - 62px); |
| 22 | margin-left: 40px !important; |
| 23 | color: #333; |
| 24 | display: inline-block; |
| 25 | cursor: pointer; |
| 26 | |
| 27 | @media screen and (max-width: $break-phone) { |
| 28 | font-size: 14px !important; |
| 29 | padding: 14px 20px 14px 22px !important; |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | label::before { |
| 34 | content: ' '; |
| 35 | position: absolute; |
| 36 | top: calc(50% - 12px); |
| 37 | left: 22px !important; |
| 38 | width: 20px; |
| 39 | height: 20px; |
| 40 | border: 1px solid #b4b9be; |
| 41 | background-color: #fff; |
| 42 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 43 | } |
| 44 | |
| 45 | &:hover, |
| 46 | &:focus-within { |
| 47 | border: 1px solid #3398db; |
| 48 | |
| 49 | label::before { |
| 50 | background-color: rgba(245, 245, 245, 0.815); |
| 51 | } |
| 52 | } |
| 53 | |
| 54 | &.active { |
| 55 | border: 1px solid #3398db; |
| 56 | } |
| 57 | |
| 58 | input[type='checkbox']='checkbox']:checked + label::after { |
| 59 | clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 60 | -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); |
| 61 | } |
| 62 | |
| 63 | input[type='checkbox']='checkbox'] + label::after { |
| 64 | transition: clip-path 0.2s ease, -webkit-clip-path 0.2s ease; |
| 65 | border-radius: 11px; |
| 66 | width: 20px; |
| 67 | height: 20px; |
| 68 | position: absolute; |
| 69 | top: calc(50% - 12px); |
| 70 | left: 22px; |
| 71 | content: ' '; |
| 72 | display: block; |
| 73 | background-image: url("data:image/svg+xml,%3Csvg width='15' height='11' viewBox='0 0 15 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.73047 10.7812C6.00391 11.0547 6.46875 11.0547 6.74219 10.7812L14.7812 2.74219C15.0547 2.46875 15.0547 2.00391 14.7812 1.73047L13.7969 0.746094C13.5234 0.472656 13.0859 0.472656 12.8125 0.746094L6.25 7.30859L3.16016 4.24609C2.88672 3.97266 2.44922 3.97266 2.17578 4.24609L1.19141 5.23047C0.917969 5.50391 0.917969 5.96875 1.19141 6.24219L5.73047 10.7812Z' fill='%231E8CBE'/%3E%3C/svg%3E%0A"); |
| 74 | background-repeat: no-repeat; |
| 75 | background-position: center; |
| 76 | clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 77 | -webkit-clip-path: polygon(0 0, 11% 0, 0 100%, 0 55%); |
| 78 | } |
| 79 | |
| 80 | .give-recurring-donors-choice-period { |
| 81 | font-weight: 400; |
| 82 | font-size: 16px; |
| 83 | line-height: 1; |
| 84 | display: inline; |
| 85 | margin: 0; |
| 86 | color: #333; |
| 87 | padding: 0 20px 0 0 !important; |
| 88 | border: none; |
| 89 | border-bottom: 1px solid #a2a3a2; |
| 90 | border-radius: 0; |
| 91 | -moz-appearance: none; |
| 92 | -webkit-appearance: none; |
| 93 | appearance: none; |
| 94 | background-image: url("data:image/svg+xml;charset=utf8,%3Csvg width='13' height='8' viewBox='0 0 13 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.66016 7.19531C5.90625 7.44141 6.31641 7.44141 6.5625 7.19531L11.8945 1.89062C12.1406 1.61719 12.1406 1.20703 11.8945 0.960938L11.2656 0.332031C11.0195 0.0859375 10.6094 0.0859375 10.3359 0.332031L6.125 4.54297L1.88672 0.332031C1.61328 0.0859375 1.20312 0.0859375 0.957031 0.332031L0.328125 0.960938C0.0820312 1.20703 0.0820312 1.61719 0.328125 1.89062L5.66016 7.19531Z' fill='%23A2A3A2'/%3E%3C/svg%3E"), |
| 95 | linear-gradient(to bottom, #fff 0%, #fff 100%); |
| 96 | background-repeat: no-repeat, repeat; |
| 97 | background-position: right 4px top 50%, 0 0; |
| 98 | background-size: 0.65em auto, 100%; |
| 99 | |
| 100 | @media screen and (max-width: $break-phone) { |
| 101 | font-size: 14px; |
| 102 | } |
| 103 | |
| 104 | &::-ms-expand { |
| 105 | display: none; |
| 106 | } |
| 107 | |
| 108 | &:hover { |
| 109 | border-color: #888; |
| 110 | } |
| 111 | |
| 112 | &:focus { |
| 113 | box-shadow: none; |
| 114 | outline: none; |
| 115 | } |
| 116 | |
| 117 | option { |
| 118 | font-weight: normal; |
| 119 | } |
| 120 | } |
| 121 | } |
| 122 | |
| 123 | //--------------------------------- |
| 124 | // Admin-Defined Donation |
| 125 | // -------------------------------- |
| 126 | |
| 127 | .give-form-type-set { |
| 128 | .give-recurring-admin-choice { |
| 129 | box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203); |
| 130 | margin: 10px auto 0; |
| 131 | font-style: normal; |
| 132 | padding: 10px 20px; |
| 133 | border-radius: 6px; |
| 134 | } |
| 135 | } |
| 136 | |
| 137 | //--------------------------------- |
| 138 | // RTL styles |
| 139 | // -------------------------------- |
| 140 | |
| 141 | html[dir='rtl']='rtl'] { |
| 142 | .give-recurring-donors-choice { |
| 143 | label { |
| 144 | margin-right: 40px !important; |
| 145 | margin-left: 0 !important; |
| 146 | } |
| 147 | |
| 148 | label::before { |
| 149 | right: 22px !important; |
| 150 | } |
| 151 | |
| 152 | input[type='checkbox']='checkbox'] + label::after { |
| 153 | right: 22px; |
| 154 | margin-right: 1px; |
| 155 | } |
| 156 | } |
| 157 | } |
| 158 |