PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.16.6.1
GiveWP – Donation Plugin and Fundraising Platform v4.16.6.1
4.16.7 4.16.6.1 4.16.6 4.16.5.1 4.16.5 4.16.4 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 / DonationForms / resources / styles / components / _receipt.scss
give / src / DonationForms / resources / styles / components Last commit date
_amount.scss 1 month ago _billingAddress.scss 2 years ago _donation-summary.scss 2 years ago _form-errors.scss 2 years ago _gateways.scss 1 year ago _goal.scss 1 year ago _honeypot.scss 1 year ago _pagination.scss 2 years ago _receipt.scss 1 month ago
_receipt.scss
366 lines
1 @use "@picocss/pico/scss/variables";
2
3 .givewp-donation-confirmation-receipt {
4 padding: 1rem;
5 width: 100%;
6 max-width: 100%;
7 }
8
9 .givewp-layouts-receipt {
10 border-radius: 0.5rem;
11 max-width: min(100%,51.5rem);
12 margin: 0 auto;
13 background: #fff;
14 box-shadow: var(--givewp-shadow-sm);
15
16 @media screen and (min-width: map-get(variables.$breakpoints, "md")) {
17 border-radius: 0.5rem;
18 }
19
20 .receipt-heading {
21 position: relative;
22 margin-block: 2rem;
23 font-size: 1.625rem;
24 font-weight: 600;
25 line-height: 1.2;
26 text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15);
27 color: currentColor;
28 }
29
30 .social-sharing {
31 display: flex;
32 flex-direction: column;
33 align-items: center;
34 row-gap: 1.25rem;
35 background: #fbfbfb;
36 border-block: 0.0625rem solid #f2f2f2;
37 padding-block: 1.5rem;
38 padding-inline: 1.25rem;
39
40 .instruction {
41 line-height: 1.5;
42 grid-column: span 2;
43 font-size: 0.9375rem;
44 color: #555;
45 text-align: center;
46 max-inline-size: 60ch;
47 }
48
49 .btn-row {
50 display: flex;
51 flex-wrap: wrap;
52 justify-content: center;
53 align-items: center;
54 column-gap: 1.75rem;
55 row-gap: 1rem;
56 }
57
58 .social-btn {
59 display: flex;
60 align-items: center;
61 column-gap: 0.75em;
62 font-size: 1rem;
63 padding: 0.875em 1.6875em;
64 border: none;
65 transition: background-color 0.2s ease;
66
67 > i {
68 font-size: 1.375em;
69 }
70
71 &.facebook-btn {
72 background-color: #3b5998;
73
74 &:hover {
75 background-color: #4668b1;
76 }
77 }
78
79 &.twitter-btn {
80 background-color: #00acee;
81
82 &:hover {
83 background-color: #00b7ff;
84 }
85 }
86 }
87 }
88
89 .receipt-body {
90 .details {
91 .headline {
92 color: var(--givewp-grey-700);
93 font-weight: 600;
94 font-size: 1.25rem;
95 }
96 .details-table {
97 display: flex;
98 flex-direction: column;
99 padding: 0;
100
101 .details-row {
102 display: flex;
103 flex-wrap: wrap;
104 align-items: flex-start;
105 column-gap: 0.625rem;
106 row-gap: 0.5rem;
107 font-size: 1.125rem;
108 font-weight: 500;
109
110 > i {
111 align-self: center;
112 color: var(--givewp-grey-300);
113 }
114
115 .detail {
116 align-self: center;
117 white-space: nowrap;
118 color: var(--givewp-grey-500);
119 margin-inline-end: auto;
120 }
121
122 .value {
123 margin-inline-start: 0;
124 white-space: pre-wrap;
125 text-align: right;
126 }
127 }
128
129 .details-row--payment-status .value {
130 display: flex;
131 align-items: center;
132 column-gap: 0.5rem;
133
134 &::before {
135 content: '';
136 --diameter: 0.8125rem;
137 block-size: var(--diameter);
138 aspect-ratio: 1;
139 // Until Safari 14 usage drops off
140 @supports not (aspect-ratio: 1) {
141 inline-size: var(--diameter);
142 }
143 flex-shrink: 0;
144 background-color: var(--status-color, #ccc);
145 clip-path: circle();
146 }
147
148 &[data-value='Complete']='Complete'], &[data-value='Completed']='Completed'] {
149 --status-color: var(--givewp-emerald-500);
150 }
151
152 &[data-value='Pending']='Pending'] {
153 --status-color: var(--givewp-orange-300);
154 }
155
156 &[data-value='Failed']='Failed'] {
157 --status-color: var(--givewp-red-400);
158 }
159 }
160
161 .details-row--donation-total {
162 font-weight: 700;
163 }
164
165 &.payment-details {
166 border-bottom: 0.125rem solid #f2f2f2;
167 }
168 }
169
170 .details-table:empty {
171 display: none !important;
172 }
173 }
174 }
175
176 .receipt-footer {
177 display: flex;
178 justify-content: space-between;
179 flex-direction: column;
180 align-items: center;
181 margin-block-start: 2rem;
182 padding-block-end: 1.5rem;
183 padding-inline: 1.25rem;
184
185 #give-pdf-receipt-link,
186 #give-pdf-receipt-link:visited {
187 display: flex;
188 cursor: pointer;
189 text-decoration: none;
190 font-weight: 600;
191 width: fit-content;
192 padding: 0.75rem 2rem 0.75rem 2rem;
193 margin-top: 1.5rem;
194 margin-bottom: 1.75rem;
195 border-radius: 0.2rem;
196 border: thin solid var(--givewp-primary-color);
197 background-color: #fff;
198 color: var(--givewp-primary-color);
199
200
201 &::before {
202 display: inline-block;
203 content: '\f1c1';
204 font-family: 'Font Awesome 6 Free';
205 font-weight: 900;
206 font-size: 1.25rem;
207 line-height: 1;
208 margin-right: 0.5rem;
209 }
210 }
211
212 #give-pdf-receipt-link:hover {
213 background-color: var(--givewp-primary-color);
214 color: #fff;
215 }
216
217 .donor-dashboard-link {
218 color: var(--givewp-primary-color);
219 text-decoration: underline;
220 font-weight: 400;
221
222 &:focus {
223 outline: 0.125rem solid var(--givewp-primary-color);
224 outline-offset: 0.25rem;
225 }
226 }
227
228 .download-btn {
229 font-size: inherit;
230 padding-block: 0.75rem;
231 padding-inline: 1.6875rem;
232 }
233 }
234 }
235
236 .givewp-layouts-receipt {
237 .receipt-body {
238 padding-block-start: 2.375rem;
239 padding-inline: 1.25rem;
240 }
241
242 .details + .details {
243 margin-block-start: 2.375rem;
244 }
245
246 .headline {
247 display: flex;
248 align-items: center;
249 column-gap: 0.5rem;
250 padding-block-end: 1.25rem;
251
252 &::before {
253 font-family: 'Font Awesome 6 Free';
254 font-weight: 900;
255 font-size: 0.875rem;
256 }
257 }
258
259 // Margins between rows
260
261 .headline,
262 .details-row {
263 border-block-end: 0.0625rem solid #f2f2f2;
264 }
265
266 .details-row {
267 padding-block: 0.9375rem;
268 }
269
270 // Donor Details
271 .details-donor-details .headline::before {
272 content: '\f007';
273 }
274
275 // Donation Details
276 .details-donation-details .headline::before {
277 content: '\f004';
278 }
279
280 // Donation Details
281 .details-event-tickets-details .headline::before {
282 content: '\f3ff';
283 }
284 }
285
286 .receipt-header {
287 &-top-wrap {
288 border-top-left-radius: 0.5rem;
289 border-top-right-radius: 0.5rem;
290 background-color: var(--givewp-primary-color);
291 max-width: min(100%, 51.5rem);
292 margin: 0 auto;
293 display: grid;
294 justify-items: center;
295 row-gap: 1.5rem;
296 padding: 3rem;
297 color: #fff;
298 text-align: center;
299
300 @media screen and (min-width: map-get(variables.$breakpoints, "md")) {
301 padding: 3rem;
302 }
303 }
304
305 &-heading, &-heading * {
306 position: relative;
307 font-size: 1.75rem;
308 font-weight: 600;
309 line-height: 1.2;
310 text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15);
311 color: currentColor;
312
313 > * {
314 color: currentColor;
315 }
316 }
317
318 &-heading {
319 margin-block-end: 1rem;
320
321 > br {
322 display: none;
323 }
324
325 &:not(:empty)::after {
326 position: absolute;
327 content: '';
328 display: block;
329 border-radius: 9999px;
330 inline-size: 4.375rem;
331 block-size: 0.3125rem;
332 background-color: #fff;
333 inset-inline-start: 50%;
334 inset-block-start: calc(100% + 1.25rem);
335 transform: translate(-50%);
336 }
337 }
338
339 &-description, &-description * {
340 font-size:1.125rem;
341 line-height: 1.45;
342 margin: 0 auto;
343 max-inline-size: 42ch;
344 color: currentColor;
345 }
346 }
347
348 .givewp-form-secure-badge {
349 display: inline-flex;
350 column-gap: 0.5rem;
351 align-items: center;
352 padding-block: 0.5rem;
353 padding-inline: 0.9rem;
354 border-radius: 9999px;
355 background-color: #fff;
356 box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.25);
357 color: #333;
358 font-size: 0.9rem;
359 font-weight: 500;
360 line-height: 1;
361 }
362
363 .givewp-form-secure-badge-icon {
364 color: var(--givewp-secondary-color);
365 }
366