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
currencyswitcher.scss
81 lines
| 1 | /* stylelint-disable no-descending-specificity */ |
| 2 | form[data-currency_position='after']='after'] .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown { |
| 3 | position: absolute; |
| 4 | padding: 0; |
| 5 | width: calc(100% - 24px) !important; |
| 6 | right: 0; |
| 7 | border: none; |
| 8 | background: none; |
| 9 | color: rgba(255, 255, 255, 0); |
| 10 | margin-right: 0 !important; |
| 11 | |
| 12 | &:focus { |
| 13 | outline: none; |
| 14 | & + .give-currency-symbol { |
| 15 | border: 1px solid #28c77b !important; |
| 16 | border-radius: 3px; |
| 17 | } |
| 18 | } |
| 19 | |
| 20 | ~ span.give-currency-symbol.give-currency-position-after { |
| 21 | padding: 0 10px 0 30px !important; |
| 22 | margin-right: -10px !important; |
| 23 | |
| 24 | &::before { |
| 25 | left: 10px; |
| 26 | right: unset; |
| 27 | border-color: #6f6f6f transparent transparent; |
| 28 | } |
| 29 | } |
| 30 | } |
| 31 | |
| 32 | form[data-currency_position='before']='before'] .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown { |
| 33 | position: absolute; |
| 34 | padding: 0; |
| 35 | width: calc(100% - 24px) !important; |
| 36 | left: 0; |
| 37 | border: none; |
| 38 | background: none; |
| 39 | color: rgba(255, 255, 255, 0); |
| 40 | |
| 41 | &:focus { |
| 42 | outline: none; |
| 43 | & + .give-currency-symbol { |
| 44 | border: 1px solid #28c77b !important; |
| 45 | border-radius: 3px; |
| 46 | } |
| 47 | } |
| 48 | |
| 49 | ~ span.give-currency-symbol.give-currency-position-before { |
| 50 | padding: 0 30px 0 10px !important; |
| 51 | margin-left: -10px !important; |
| 52 | |
| 53 | &::before { |
| 54 | right: 10px; |
| 55 | border-color: #6f6f6f transparent transparent; |
| 56 | } |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | /* @link https://github.com/impress-org/givewp/issues/5452 */ |
| 61 | form .give-donation-amount .give-cs-select-currency.give-cs-mini-dropdown option { |
| 62 | color: initial; |
| 63 | } |
| 64 | |
| 65 | .give-currency-switcher-msg { |
| 66 | margin: 5px 30px -15px 30px !important; |
| 67 | font-weight: 500; |
| 68 | font-size: 16px; |
| 69 | line-height: 1.4; |
| 70 | padding: 20px 20px 20px 22px !important; |
| 71 | color: #333; |
| 72 | display: inline-block; |
| 73 | text-align: center; |
| 74 | background: #fff; |
| 75 | border: 1px solid rgba(255, 255, 255, 0); |
| 76 | box-sizing: border-box; |
| 77 | box-shadow: 0 0 16px rgba(0, 0, 0, 0.121203); |
| 78 | border-radius: 5px; |
| 79 | position: relative; |
| 80 | } |
| 81 |