PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 3.1.0
GiveWP – Donation Plugin and Fundraising Platform v3.1.0
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 2 years ago _billingAddress.scss 2 years ago _donation-summary.scss 2 years ago _form-errors.scss 2 years ago _gateways.scss 2 years ago _goal.scss 2 years ago _pagination.scss 2 years ago _receipt.scss 2 years ago
_receipt.scss
345 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
223 .download-btn {
224 font-size: inherit;
225 padding-block: 0.75rem;
226 padding-inline: 1.6875rem;
227 }
228 }
229 }
230
231 .givewp-layouts-receipt {
232 .receipt-body {
233 padding-block-start: 2.375rem;
234 padding-inline: 1.25rem;
235 }
236
237 .details + .details {
238 margin-block-start: 2.375rem;
239 }
240
241 .headline {
242 display: flex;
243 align-items: center;
244 column-gap: 0.5rem;
245 padding-block-end: 1.25rem;
246
247 &::before {
248 font-family: 'Font Awesome 6 Free';
249 font-weight: 900;
250 font-size: 0.875rem;
251 }
252 }
253
254 // Margins between rows
255
256 .headline,
257 .details-row {
258 border-block-end: 0.0625rem solid #f2f2f2;
259 }
260
261 .details-row {
262 padding-block: 0.9375rem;
263 }
264
265 // Donor Details
266 .details-donor-details .headline::before {
267 content: '\f007';
268 }
269
270 // Donation Details
271 .details-donation-details .headline::before {
272 content: '\f004';
273 }
274 }
275
276 .receipt-header {
277 &-top-wrap {
278 border-top-left-radius: 0.5rem;
279 border-top-right-radius: 0.5rem;
280 background-color: var(--givewp-primary-color);
281 max-width: min(100%, 51.5rem);
282 margin: 0 auto;
283 display: grid;
284 justify-items: center;
285 row-gap: 1.5rem;
286 padding: 3rem;
287 color: #fff;
288 text-align: center;
289
290 @media screen and (min-width: map-get(variables.$breakpoints, "md")) {
291 padding: 3rem;
292 }
293 }
294
295 &-heading {
296 position: relative;
297 margin-block-end: 1rem;
298 font-size: 1.75rem;
299 font-weight: 600;
300 line-height: 1.2;
301 text-shadow: 0 0.07em 0.14em rgba(0, 0, 0, 0.15);
302 color: currentColor;
303
304 &::after {
305 position: absolute;
306 content: '';
307 display: block;
308 border-radius: 9999px;
309 inline-size: 4.375rem;
310 block-size: 0.3125rem;
311 background-color: #fff;
312 inset-inline-start: 50%;
313 inset-block-start: calc(100% + 1.25rem);
314 transform: translate(-50%);
315 }
316 }
317
318 &-description {
319 font-size:1.125rem;
320 line-height: 1.45;
321 margin: 0 auto;
322 max-inline-size: 42ch;
323 color: currentColor;
324 }
325 }
326
327 .givewp-form-secure-badge {
328 display: inline-flex;
329 column-gap: 0.5rem;
330 align-items: center;
331 padding-block: 0.5rem;
332 padding-inline: 0.9rem;
333 border-radius: 9999px;
334 background-color: #fff;
335 box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.25);
336 color: #333;
337 font-size: 0.9rem;
338 font-weight: 500;
339 line-height: 1;
340 }
341
342 .givewp-form-secure-badge-icon {
343 color: var(--givewp-secondary-color);
344 }
345