PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 3.16.3
GiveWP – Donation Plugin and Fundraising Platform v3.16.3
4.16.3 4.16.2 4.16.1 4.16.0 4.15.5 4.15.4 4.15.3 4.15.2 4.15.1 4.15.0 2.3.0 2.3.1 2.3.2 2.30.0 2.31.0 2.31.1 2.32.0 2.33.0 2.33.1 2.33.2 2.33.3 2.33.4 2.33.5 2.4.0 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.4.6 2.4.7 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.2 2.5.3 2.5.4 2.5.5 2.5.6 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.2 2.6.3 2.7.0 2.7.1 2.7.2 2.7.3 2.7.4 2.7.5 2.8.0 2.8.1 2.9.0 2.9.1 2.9.2 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 3.0.0 3.0.1 3.0.2 3.0.3 3.0.4 3.1.0 3.1.1 3.1.2 3.10.0 3.11.0 3.12.0 3.12.1 3.12.2 3.12.3 3.13.0 3.14.0 3.14.1 3.14.2 3.15.0 3.15.1 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.16.5 3.17.0 3.17.1 3.17.2 3.18.0 3.19.0 3.19.1 3.19.2 3.19.3 3.19.4 3.2.0 3.2.1 3.2.2 3.20.0 3.21.0 3.21.1 3.22.0 3.22.1 3.22.2 3.3.0 3.3.1 3.4.0 3.4.1 3.4.2 3.5.0 3.5.1 3.6.0 3.6.1 3.6.2 3.7.0 3.8.0 3.9.0 4.0.0 4.1.0 4.1.1 4.10.0 4.10.1 4.11.0 4.12.0 4.13.0 4.13.1 4.13.2 4.14.0 4.14.1 4.14.2 4.14.3 4.14.4 4.14.5 4.14.6 4.2.0 4.2.1 4.3.0 4.3.1 4.3.2 4.4.0 4.5.0 4.6.1 4.7.0 4.7.1 4.8.0 4.8.1 4.9.0 trunk 1.9.0 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.10.0 2.10.1 2.10.2 2.10.3 2.10.4 2.11.0 2.11.1 2.11.2 2.11.3 2.12.0 2.12.1 2.12.2 2.12.3 2.13.0 2.13.1 2.13.2 2.13.3 2.13.4 2.14.0 2.15.0 2.16.0 2.16.1 2.17.0 2.17.1 2.17.3 2.18.0 2.18.1 2.19.1 2.19.2 2.19.3 2.19.4 2.19.5 2.19.6 2.19.7 2.19.8 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4 2.2.5 2.2.6 2.20.0 2.20.1 2.20.2 2.21.0 2.21.1 2.21.2 2.21.3 2.21.4 2.22.0 2.22.1 2.22.2 2.22.3 2.23.0 2.23.1 2.23.2 2.24.0 2.24.1 2.24.2 2.25.0 2.25.1 2.25.2 2.25.3 2.26.0 2.27.0 2.27.1 2.27.2 2.27.3 2.28.0 2.29.0 2.29.1 2.29.2
give / src / Views / Form / Templates / Classic / resources / css / _donation-amount.scss
give / src / Views / Form / Templates / Classic / resources / css Last commit date
_button.scss 4 years ago _checkbox.scss 4 years ago _currencyswitcher.scss 4 years ago _donate-now.scss 4 years ago _donation-amount.scss 4 years ago _donation-summary.scss 4 years ago _errors-notices.scss 3 years ago _ffm.scss 4 years ago _fn.scss 4 years ago _funds.scss 4 years ago _grid.scss 4 years ago _header.scss 4 years ago _icons.scss 4 years ago _label.scss 4 years ago _legacy-consumer.scss 4 years ago _modal.scss 3 years ago _page.scss 4 years ago _payment-details.scss 3 years ago _personal-info.scss 3 years ago _radio.scss 4 years ago _receipt.scss 4 years ago _reset.scss 4 years ago _section.scss 4 years ago _stripe-checkout-modal.scss 4 years ago _terms.scss 4 years ago _text-input.scss 4 years ago _tooltip.scss 4 years ago _tributes.scss 4 years ago _variables.scss 4 years ago form.scss 2 years ago variables.php 4 years ago
_donation-amount.scss
214 lines
1 @use 'fn';
2
3 .give-donation-amount-section {
4 display: grid;
5 row-gap: fn.scaleBetween(1.5rem, 2rem);
6
7 & p.give-custom-amount-text {
8 display: none;
9 }
10 }
11
12 .give-amount-heading {
13 padding-block-end: 0.75rem;
14 border-block-end: 0.0625rem solid #ddd;
15 font-size: fn.scaleBetween(1.25rem, 1.5rem);
16 font-weight: 500;
17 line-height: 1.3;
18 color: #333;
19 }
20
21 .give-donation-amount {
22 display: flex;
23 align-items: center;
24 border: 0.125rem solid #424242;
25 border-radius: 0.5rem;
26 background-color: #fff;
27
28 &:focus-within {
29 border-color: var(--give-primary-color);
30 }
31
32 & .give-currency-symbol,
33 & .give-text-input {
34 border-radius: inherit;
35 }
36
37 & .give-currency-symbol {
38 display: block;
39 padding: fn.scaleBetween(1.375rem, 1.644rem);
40 color: #555;
41 font-size: 1.375rem;
42 font-weight: 500;
43 }
44
45 & .give-text-input {
46 inline-size: 100%;
47 padding-block: 0.275em;
48 padding-inline: 0.45em;
49 border: 0;
50 text-align: right;
51 font-family: inherit;
52 font-size: fn.scaleBetween(2.625rem, 3.125rem);
53 font-weight: 600;
54 line-height: 1.2;
55 color: #333;
56 outline: 0;
57 }
58 }
59
60 .give-amount-description {
61 line-height: 1.375;
62 }
63
64 .give-donation-levels-wrap {
65 display: grid;
66 grid-template-columns: repeat(auto-fill, minmax(fn.scaleBetween(6.625rem, 10.375rem), 1fr));
67 grid-auto-rows: 1fr;
68 gap: fn.scaleBetween(0.3125rem, 1.875rem);
69 inline-size: 100%;
70 list-style: none;
71 }
72
73 .give-btn.give-donation-level-btn {
74 min-inline-size: -moz-available;
75 min-inline-size: -webkit-fill-available;
76 block-size: 100%;
77 font-size: fn.scaleBetween(1.5rem, 2.125rem);
78 padding-block: fn.scaleBetween(0.5rem, 1.6875rem);
79 padding-inline: 0.5rem;
80
81 transition-property: background-color, color, filter, box-shadow, transform;
82 transition-duration: 200ms;
83 transition-timing-function: ease-in;
84
85 &:hover {
86 transform: scale(1.02);
87 filter: brightness(1.2);
88 box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.25);
89 }
90
91 &.give-default-level {
92 background-color: #fff;
93 color: var(--give-primary-color);
94 }
95
96 &.give-btn-level-custom {
97 word-spacing: 9999px; // This forces a linebreak after each word.
98 font-size: fn.scaleBetween(1rem, 1.125rem);
99 line-height: 1.25;
100
101 @media screen and (min-width: $desktopMinWidth) {
102 font-weight: 400;
103 }
104 }
105
106 & .give-formatted-currency {
107 // This is already formatted for the currency and flexbox breaks it so
108 // we aggressively set the direction.
109 direction: ltr;
110 display: flex;
111 column-gap: 0.15rem;
112 line-height: 1;
113
114 .give-currency-symbol-before,
115 .give-currency-symbol-after {
116 font-weight: 400;
117 }
118
119 .give-currency-symbol-before {
120 align-self: flex-start;
121 transform: translateY(0.2em);
122 font-size: 0.583em;
123
124 @media screen and (min-width: $desktopMinWidth) {
125 transform: translateY(0.4em);
126 font-size: 0.41em;
127 }
128 }
129
130 .give-currency-symbol-after {
131 align-self: center;
132 margin-block-start: 0.2em;
133 font-size: 0.8em;
134 }
135
136 .give-amount-formatted {
137 display: inline-flex;
138 }
139
140 .give-amount-without-decimals {
141 white-space: nowrap;
142 }
143
144 .give-amount-decimal {
145 font-size: 0.5em;
146 transform: translateY(0.2em);
147 }
148 }
149 }
150
151 .give-recurring-donors-choice,
152 .give-fee-message-label,
153 .give-currency-switcher-msg-wrap,
154 .give-recurring-multi-level-message {
155 padding: 0.8125rem;
156 border: 0.1875rem solid #fff;
157 border-radius: 0.5rem;
158 background-color: #fff;
159 color: #333;
160 font-size: fn.scaleBetween(1rem, 1.125rem);
161 line-height: 1.2;
162 box-shadow: 0 0 0.88em rgba(0, 0, 0, 0.1);
163 border: 0.1875rem solid transparent;
164 transition: border-color 200ms ease-in-out;
165 }
166
167 .checked-within {
168 border-color: var(--give-primary-color);
169 }
170
171 .give-recurring-donors-choice,
172 .give-fee-message-label,
173 .give-currency-switcher-msg-wrap {
174 display: flex;
175 align-items: center;
176 column-gap: 0.75rem;
177 }
178
179 .give_fee_mode_checkbox,
180 .give-recurring-period {
181 @include give-checkbox;
182 }
183
184 .give-recurring-donors-choice-period {
185 appearance: none;
186 display: inline;
187 overflow: visible; // for firefox’ sake!
188 inline-size: calc(var(--selected-text-width) + 1.25em);
189 padding-block-start: 0;
190 padding-block-end: 0.0625em;
191 padding-inline: 0;
192 border-block-start-width: 0;
193 border-block-end-width: 0.0625em;
194 border-inline-width: 0;
195 border-style: solid;
196 border-color: #333;
197 border-radius: 0;
198 box-shadow: none;
199 background-image: url("data:image/svg+xml;utf-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 8'><path d='M5.6602 7.1953c.246.2461.6562.2461.9023 0l5.332-5.3047c.2461-.2734.2461-.6836 0-.9297L11.2656.332c-.2461-.246-.6562-.246-.9297 0L6.125 4.543 1.8867.332C1.6133.086 1.2031.086.957.332L.3281.961c-.246.246-.246.6562 0 .9296l5.332 5.3047Z' fill='%23a2a3a2'/></svg>");
200 background-color: #fff;
201 background-repeat: no-repeat;
202 background-position: right top 50%;
203 background-size: 0.65em auto;
204 font-size: inherit;
205 font-family: inherit;
206 color: inherit;
207 transition: border-color 200ms ease-in-out;
208
209 &:hover,
210 &:focus {
211 border-color: var(--give-primary-color);
212 }
213 }
214