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