icons
4 years ago
authorizenet.scss
4 years ago
currencyswitcher.scss
4 years ago
feerecovery.scss
4 years ago
ffm.scss
4 years ago
form.scss
4 years ago
legacy-consumer.scss
4 years ago
mixins.scss
4 years ago
newsletter.scss
4 years ago
paypal-commerce.scss
4 years ago
receipt.scss
4 years ago
recurring.scss
4 years ago
square.scss
4 years ago
tributes.scss
4 years ago
util.scss
4 years ago
tributes.scss
142 lines
| 1 | .give-tributes-dedicate-donation { |
| 2 | .give_tributes_mail_card_country > label, |
| 3 | .give_tributes_mail_card_state > label { |
| 4 | display: none !important; |
| 5 | } |
| 6 | |
| 7 | #give_tributes_address_state { |
| 8 | min-height: 48px !important; |
| 9 | } |
| 10 | |
| 11 | .give-tributes-grab-info { |
| 12 | @media screen and (max-width: $break-phone) { |
| 13 | display: flex; |
| 14 | flex-direction: column; |
| 15 | } |
| 16 | } |
| 17 | |
| 18 | legend, |
| 19 | .give-tributes-legend, |
| 20 | .give-tributes-label { |
| 21 | display: block; |
| 22 | font-size: 14px !important; |
| 23 | font-weight: 400 !important; |
| 24 | border-bottom: none !important; |
| 25 | padding: 0 !important; |
| 26 | margin: 0 0 5px !important; |
| 27 | line-height: 1.7; |
| 28 | } |
| 29 | |
| 30 | .give_tributes_send_ecard_fields > .give-tributes-legend { |
| 31 | width: auto !important; |
| 32 | } |
| 33 | |
| 34 | .give-tributes-add-recipient { |
| 35 | margin-left: 8px; |
| 36 | float: none; |
| 37 | display: inline-block; |
| 38 | margin-top: 0; |
| 39 | } |
| 40 | |
| 41 | input[type='radio']='radio'] { |
| 42 | opacity: 0 !important; |
| 43 | position: absolute !important; |
| 44 | } |
| 45 | |
| 46 | input[type='radio']='radio'] + label:not(.give-tribute-type-button) { |
| 47 | padding: 0 10px 0 28px; |
| 48 | width: 100%; |
| 49 | color: #696969; |
| 50 | font-size: 14px !important; |
| 51 | font-weight: 400 !important; |
| 52 | display: inline-block; |
| 53 | position: relative; |
| 54 | margin: 0 0 5px; |
| 55 | line-height: 1.7; |
| 56 | |
| 57 | &::before { |
| 58 | content: ' '; |
| 59 | position: absolute; |
| 60 | top: calc(50% - 9px); |
| 61 | left: 0; |
| 62 | width: 16px; |
| 63 | height: 16px; |
| 64 | border-radius: 50%; |
| 65 | border: 1px solid #b4b9be; |
| 66 | background-color: #fff; |
| 67 | box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25); |
| 68 | } |
| 69 | |
| 70 | &::after { |
| 71 | transform: scale3d(0, 0, 0); |
| 72 | transition: transform 0.2s ease; |
| 73 | border-radius: 8px; |
| 74 | width: 8px; |
| 75 | height: 8px; |
| 76 | position: absolute; |
| 77 | top: calc(50% - 4px); |
| 78 | left: 5px; |
| 79 | content: ' '; |
| 80 | display: block; |
| 81 | background: #333; |
| 82 | } |
| 83 | } |
| 84 | |
| 85 | // Adjust layout to avoid overlapping text. |
| 86 | .give-tributes-type-button-list { |
| 87 | margin-top: 20px; |
| 88 | margin-bottom: 70px; |
| 89 | } |
| 90 | |
| 91 | .give-tribute-type-button { |
| 92 | // Match style of payment level buttons. |
| 93 | font-size: 20px; |
| 94 | padding-left: 20px; |
| 95 | padding-right: 20px; |
| 96 | |
| 97 | // Support overflow for multiple buttons or long text labels |
| 98 | display: flex; |
| 99 | flex-wrap: wrap; |
| 100 | & li { |
| 101 | height: 60px; |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | input[type='radio']='radio']:checked + label:not(.give-tribute-type-button)::after { |
| 106 | transform: scale3d(1, 1, 1); |
| 107 | } |
| 108 | |
| 109 | .give-tributes-ecard-personalized-message-left, |
| 110 | .give-tributes-mail-card-personalized-message-left { |
| 111 | padding-bottom: 8px; |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | /*--------------------------------- |
| 116 | RTL styles |
| 117 | -----------------------------------*/ |
| 118 | |
| 119 | html[dir='rtl']='rtl'] { |
| 120 | .give-tributes-dedicate-donation { |
| 121 | .give-tributes-add-recipient { |
| 122 | margin-right: 8px; |
| 123 | } |
| 124 | |
| 125 | input[type='radio']='radio'] + label { |
| 126 | padding-right: 32px; |
| 127 | |
| 128 | &::before { |
| 129 | right: 0; |
| 130 | } |
| 131 | |
| 132 | &::after { |
| 133 | right: 5px; |
| 134 | } |
| 135 | } |
| 136 | } |
| 137 | } |
| 138 | |
| 139 | .give-section.choose-amount .give-tributes-dedicate-donation { |
| 140 | margin: 24px 30px 0 30px; |
| 141 | } |
| 142 |