PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.8.0
GiveWP – Donation Plugin and Fundraising Platform v4.8.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 / Views / Components / ListTable / InterweaveSSR / styles.scss
give / src / Views / Components / ListTable / InterweaveSSR Last commit date
index.tsx 3 years ago styles.scss 10 months ago
styles.scss
456 lines
1 @use '@givewp/css/Safe-Rem/functions' as *;
2
3 .interweave {
4 .statusBadge {
5 display: flex;
6 justify-content: center;
7 align-items: center;
8 width: fit-content;
9 height: safe-rem(1.375);
10 padding: 0.125rem 0.75rem 0.125rem 0.75rem;
11 background-color: black;
12 color: #fff;
13 border-radius: safe-rem(1);
14 letter-spacing: 0.04rem;
15 transform: translateY(0.075rem);
16 column-gap: safe-rem(1);
17 text-transform: capitalize;
18
19 div,
20 p {
21 font-size: safe-rem(0.75);
22 font-weight: 600;
23 line-height: safe-rem(1.125);
24 -webkit-font-smoothing: antialiased;
25 -moz-osx-font-smoothing: grayscale;
26 }
27
28 &--completed,
29 &--complete {
30 background: var(--givewp-emerald-100);
31 color: var(--givewp-emerald-900);
32 }
33
34 &--active,
35 &--publish,
36 &--published {
37 background: var(--givewp-green-100);
38 color: var(--givewp-green-900);
39 }
40
41 &--archived,
42 &--inactive {
43 background: var(--givewp-grey-100);
44 color: var(--givewp-grey-900);
45 }
46
47 &--failing {
48 background: var(--givewp-yellow-100);
49 color: var(--givewp-yellow-900);
50 }
51
52 &--failed,
53 &--revoked,
54 &--abandoned,
55 &--cancelled,
56 &--expired {
57 background: var(--givewp-red-100);
58 color: var(--givewp-red-900);
59 }
60
61 &--draft {
62 background: var(--givewp-orange-100);
63 color: var(--givewp-orange-900);
64 }
65
66 &--pending,
67 &--processing {
68 background: var(--givewp-blue-100);
69 color: var(--givewp-blue-900);
70 }
71
72 &--upgraded {
73 background: var(--givewp-purple-50);
74 color: var(--givewp-purple-900);
75 }
76
77 &--refunded {
78 background: var(--givewp-blue-700);
79 color: var(--givewp-blue-25);
80 }
81 }
82
83 .subscriptionStatus {
84 display: flex;
85 gap: 10px;
86
87 &__container {
88 position: relative;
89 display: flex;
90 align-items: center;
91 justify-content: center;
92 }
93
94 &__message {
95 display: flex;
96 justify-content: space-between;
97 position: absolute;
98 top: -55px;
99 right: 0;
100 max-width: 27.75rem;
101 width: max-content;
102 height: max-content;
103 padding-inline: 1.25rem;
104 font-size: 0.75rem;
105 font-weight: 400;
106 line-height: 2.5rem;
107 border-radius: 2px;
108 background: #ffffff;
109 visibility: hidden;
110 z-index: 999;
111
112 & img {
113 margin-right: 10px;
114 }
115
116 &--exceeded {
117 top: -75px;
118 }
119
120 &--failed, &--exceeded {
121 border: 1px solid #e5301b;
122 }
123
124 &--indefinite {
125 border: 1px solid #69b868;
126 }
127
128 &--limited {
129 border: 1px solid #f49420;
130 }
131
132 &:before {
133 content: '';
134 position: absolute;
135 bottom: -4.775px;
136 right: 6px;
137 display: inline-block;
138 height: 9px;
139 width: 9px;
140 background: #ffffff;
141 transform: rotate(45deg);
142 border-bottom: inherit;
143 border-right: inherit;
144 }
145 }
146 }
147
148 .subscriptionStatus:hover .subscriptionStatus__message {
149 visibility: visible;
150 }
151
152 .subscriptionDonationTypeBadge {
153 --border-width: 1px;
154 --padding-x: calc(var(--givewp-spacing-3) - var(--border-width));
155 --padding-y: calc(var(--givewp-spacing-1) - var(--border-width));
156 align-items: center;
157 background-color: var(--givewp-neutral-25);
158 border-radius: 1.5rem;
159 border: var(--border-width) solid var(--givewp-neutral-600);
160 color: var(--givewp-neutral-900);
161 display: inline-flex;
162 justify-content: center;
163 padding: var(--padding-y) var(--padding-x);
164
165 p {
166 font-size: 0.75rem;
167 font-weight: 600;
168 line-height: 1.5;
169 margin: 0;
170 -webkit-font-smoothing: antialiased;
171 -moz-osx-font-smoothing: grayscale;
172 }
173 }
174
175 .badge {
176 display: inline-flex;
177 align-items: center;
178 justify-content: space-between;
179 position: relative;
180 inline-size: -moz-fit-content;
181 max-inline-size: fit-content;
182 block-size: 2rem;
183 margin: 0;
184 padding: 0;
185 background-color: white;
186 font-family: Open Sans;
187 border: 0;
188 border-radius: safe-rem(0.1875);
189 box-shadow: inset 0 0 0 1px rgba(203, 203, 203, 1);
190 overflow: hidden;
191
192 & > * {
193 flex: 0 0 auto;
194 }
195
196 .icon {
197 display: inline;
198 min-width: 1.75rem;
199 max-width: 1.75rem;
200 border-top-left-radius: 0.1875rem;
201 border-bottom-left-radius: 0.1875rem;
202 font-size: 1.125rem;
203 font-weight: 700;
204 letter-spacing: 0;
205 color: #555555;
206 box-sizing: content-box !important;
207 overflow: hidden;
208
209 &--onetime,
210 &--single {
211 background: #556e79;
212 block-size: 1.125rem;
213 inline-size: 1.375rem;
214 padding-block: 0.575rem;
215 padding-inline: 0.3rem;
216 transform: translateY(2px);
217 }
218
219 &--recurring,
220 &--subscription,
221 &--subscriber {
222 background: linear-gradient(225.34deg, #59ad70 0%, #2ebbbb 101.17%);
223 block-size: 1.125rem;
224 inline-size: 1.375rem;
225 padding-block: 0.4375rem;
226 padding-inline: 0.3125rem;
227 }
228
229 &--repeat {
230 background: #f49420;
231 block-size: 1.125rem;
232 inline-size: 1.375rem;
233 padding-block: 0.4375rem;
234 padding-inline: 0.2025rem;
235 border-left: 4px solid #f49420;
236 }
237
238 &--new {
239 background: #000000;
240 block-size: 1.125rem;
241 inline-size: 1.375rem;
242 padding-block: 0.4375rem;
243 padding-inline: 0.2125rem;
244 padding: 16px 0 0 8px;
245 }
246 }
247
248 &__label {
249 flex-basis: fit-content;
250 margin: 0;
251 padding: safe-rem(0.6125) safe-rem(0.65);
252 color: #555555;
253 font-size: safe-rem(0.75);
254 font-weight: 400;
255 text-align: center;
256 text-transform: uppercase;
257 cursor: default;
258 }
259
260 .star {
261 display: inline;
262 color: rgba(255, 215, 0, 1);
263 position: absolute;
264 z-index: 2;
265 top: safe-rem(-0.5);
266 right: safe-rem(-0.5);
267 }
268 }
269
270 .donorInformation {
271 position: relative;
272 display: flex;
273 flex-flow: column wrap;
274 align-content: flex-start;
275 justify-content: center;
276 column-gap: safe-rem(0.6125);
277 row-gap: safe-rem(0.25);
278 height: safe-rem(4);
279 width: 100%;
280
281 & > a {
282 color: #0878b0;
283 font-size: 1.125rem;
284 font-weight: 700;
285 }
286
287 &__email {
288 min-width: 0;
289 overflow: hidden;
290 }
291
292 &__gravatar {
293 border-radius: 9999px;
294 width: safe-rem(4);
295 height: safe-rem(4);
296 }
297
298 &__name {
299 display: inline;
300 inline-size: -webkit-fit-content;
301 inline-size: -moz-fit-content;
302 inline-size: fit-content;
303 font-size: safe-rem(1.125);
304 text-decoration: none;
305 }
306
307 &__email {
308 font-style: normal;
309 font-weight: 400;
310 line-height: 150%;
311 max-width: calc(100% - 4rem);
312 white-space: nowrap;
313 text-overflow: ellipsis;
314 }
315 }
316
317 .giveDonationFormsLink {
318 color: #2271b1;
319 display: block;
320 font-size: 1rem;
321 font-weight: 700;
322 max-width: 32ch;
323 overflow: hidden;
324 position: relative;
325 text-decoration: none;
326 text-overflow: ellipsis;
327 white-space: nowrap;
328 }
329
330 .shortcode {
331 flex-shrink: 1;
332 min-inline-size: 0;
333 inline-size: 100%;
334 color: #2c3338;
335 background-color: #f6f7f7;
336 padding-block: 0.445rem;
337 padding-inline: 1.5rem;
338 text-indent: -1rem;
339 border: 1px solid grey;
340 border-radius: 4px;
341 cursor: text;
342 white-space: nowrap;
343 overflow: hidden;
344
345 &:hover {
346 border-color: #2271b1;
347 border-width: 2px;
348 }
349 }
350
351 .goalProgress {
352 width: 95%;
353 height: 0.5rem;
354 position: relative;
355 background: rgba(238, 238, 238);
356 border-radius: 1.5625rem;
357 overflow: hidden;
358 margin: 0.3125rem 0 0.125rem;
359
360 &--achieved {
361 position: absolute;
362 display: flex;
363 font-size: 0.8rem;
364 padding-block: 6px;
365 }
366
367 & > span {
368 display: block;
369 height: 100%;
370 border-radius: 1.25rem 0.5rem 0.5rem 1.25rem;
371 background-color: rgba(43, 194, 83);
372 position: relative;
373 overflow: hidden;
374 }
375 }
376
377 .subscriptions .date {
378 font-size: safe-rem(0.8);
379 font-weight: 600;
380 white-space: nowrap;
381 }
382
383 .amount {
384 font-size: safe-rem(1.125);
385 font-weight: 700;
386 color: #69b868;
387 }
388 }
389
390 .idBadge {
391 display: inline-flex;
392 flex-shrink: 0;
393 flex-grow: 0;
394 align-items: center;
395 background-color: #f3f2ec;
396 border: safe-rem(0.0625) solid #e0dfd9;
397 border-radius: 9999px;
398 color: #5f5f5f;
399 padding-block: 0.1em;
400 padding-inline: 0.5em;
401 text-align: center;
402 width: -webkit-fit-content;
403 width: -moz-fit-content;
404 width: fit-content;
405 }
406
407 .idBadge::before {
408 content: '#';
409 font-size: 0.615em;
410 padding-inline-end: 0.25em;
411 }
412
413 .list-table-page-container--new-design {
414 .interweave {
415 .campaignLink {
416 font-weight: 600;
417 }
418
419 .statusBadge {
420 border-radius: 0.75rem;
421 font-size: 0.75rem;
422 font-weight: 600;
423 height: auto;
424 letter-spacing: 0;
425 line-height: 1.5;
426 padding: var(--givewp-spacing-1) var(--givewp-spacing-3);
427
428 p {
429 margin: 0;
430 }
431 }
432
433 .amount {
434 color: var(--givewp-neutral-700);
435 font-size: 1rem;
436 font-weight: 500;
437 }
438 }
439
440 .idBadge {
441 background-color: var(--givewp-neutral-50);
442 border-radius: 0.5rem;
443 border: 1px solid var(--givewp-neutral-200);
444 color: var(--givewp-neutral-700);
445 font-size: 0.8125rem;
446 font-weight: 600;
447 line-height: normal;
448 padding: 0.1875rem 0.5rem;
449
450 &::before {
451 font-size: 0.5rem;
452 padding: 0;
453 }
454 }
455 }
456