PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.2.0
GiveWP – Donation Plugin and Fundraising Platform v4.2.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 / Campaigns / resources / admin / components / CampaignDetailsPage / CampaignDetailsPage.module.scss
give / src / Campaigns / resources / admin / components / CampaignDetailsPage Last commit date
Components 1 year ago Tabs 1 year ago CampaignDetailsPage.module.scss 1 year ago index.tsx 1 year ago types.ts 1 year ago
CampaignDetailsPage.module.scss
627 lines
1 .container {
2 margin-top: 3rem;
3 padding: 3rem;
4 }
5
6 :global {
7 :root {
8 --give-primary-color: #69b868;
9 }
10
11 .post-type-give_forms #wpbody {
12 box-sizing: border-box;
13 background-color: #f9fafb;
14 min-height: calc(100vh - 32px);
15
16 & > a {
17 text-decoration: underline;
18 }
19 }
20
21 .post-type-give_forms #wpbody-content {
22 box-sizing: border-box;
23 }
24
25 .post-type-give_forms #wpbody::after {
26 all: revert;
27 }
28
29 .give-visually-hidden {
30 position: absolute;
31 width: 1px;
32 height: 1px;
33 padding: 0;
34 margin: -1px;
35 overflow: hidden;
36 clip: rect(0, 0, 0, 0);
37 white-space: nowrap;
38 border-width: 0;
39 }
40
41 #wpcontent {
42 padding: 0;
43 }
44 }
45
46 .page {
47 box-sizing: border-box;
48 color: #333;
49 font-family: Inter, system-ui, sans-serif;
50 font-size: 1rem;
51
52 *,
53 ::before,
54 ::after {
55 box-sizing: inherit;
56 }
57 }
58
59 .pageHeader {
60 background-color: var(--givewp-shades-white);
61 padding-block: 1rem;
62 padding-inline: 1.5rem;
63 }
64
65 .flexContainer {
66 display: flex;
67 flex-wrap: wrap;
68 align-items: center;
69 justify-content: space-between;
70 gap: 1rem;
71 margin-top: var(--givewp-spacing-2);
72
73 & > * {
74 flex-shrink: 0;
75 }
76 }
77
78 .flexRow {
79 position: relative;
80 display: flex;
81 flex-direction: row;
82 align-items: center;
83 column-gap: var(--givewp-spacing-2);
84 margin-top: auto;
85 }
86
87 .flexRow:not(:first-child) {
88 flex: 1;
89 justify-content: flex-end;
90 }
91
92 .justifyContentEnd {
93 flex: 1;
94 justify-content: flex-end;
95 }
96
97 .breadcrumb {
98 display: flex;
99 align-items: center;
100 gap: 0.25rem;
101 line-height: 1.125rem;
102 font-size: 0.75rem;
103
104 & > span {
105 font-weight: bold;
106 color: var(--givewp-neutral-900);
107 }
108
109 & > a {
110 text-decoration: none;
111 color: var(--givewp-neutral-500);
112 font-weight: 400;
113 }
114
115 & > a:hover {
116 text-decoration: underline;
117 }
118 }
119
120 .pageTitle {
121 color: var(--givewp-neutral-900);
122 margin: 0;
123 font-size: 1.5rem;
124 font-weight: 700;
125 line-height: 2.25rem;
126 }
127
128 select[name="campaignId"]="campaignId""] {
129 display: none;
130 }
131
132 .tabs {
133 display: flex;
134 gap: 0.25rem;
135 background-color: #fff;
136 border-bottom: 0.0625rem solid #dbdbdb;
137
138 &:not(.fullWidth) {
139 padding: 0 var(--givewp-spacing-6);
140 }
141
142 &.fullWidth {
143 padding-left: var(--givewp-spacing-6);
144 }
145 }
146
147 .tabs [data-reach-tab]],
148 .tabs [role='tab']='tab'] {
149 position: relative;
150 appearance: none;
151 padding: var(--givewp-spacing-2) var(--givewp-spacing-4);
152 border: 0;
153 background-color: transparent;
154 color: var(--givewp-neutral-700);
155 font-size: 0.8rem;
156 line-height: 1.5rem;
157 text-align: center;
158 cursor: pointer;
159 box-sizing: border-box
160 }
161
162 @media screen and (min-width: 48rem) {
163 .tabs [data-reach-tab]],
164 .tabs [role='tab']='tab'] {
165 font-size: 1rem;
166 }
167 }
168
169 .tabs [data-reach-tab]]::after,
170 .tabs [role='tab']='tab']:after {
171 content: '';
172 display: block;
173 position: absolute;
174 top: calc(100% - 0.1875em);
175 left: 0;
176 right: 0;
177 height: 0.1875rem;
178 background-color: transparent;
179 transition: background-color 100ms ease-in-out;
180 }
181
182 .tabs [role='tab']='tab']:hover,
183 .tabs [data-reach-tab]]:hover {
184 color: var(--givewp-neutral-900);
185 background-color: var(--givewp-neutral-50);
186 }
187
188 .tabs [data-reach-tab]][aria-selected='true']='true'],
189 .tabs [role='tab']='tab'][aria-selected='true']='true'] {
190 font-weight: 600;
191 color: var(--givewp-neutral-900);
192 }
193
194 // set width for each tab to maintain size on hover.
195 .tabs [data-reach-tab]]:first-child,
196 .tabs [role='tab']='tab']:first-child {
197 width: 106px;
198 }
199
200 .tabs [data-reach-tab]]:nth-child(2),
201 .tabs [role='tab']='tab']:nth-child(2) {
202 width: 95px;
203 }
204
205 .tabs [data-reach-tab]]:last-child,
206 .tabs [role='tab']='tab']:last-child {
207 width: 79px;
208 }
209
210 .tabs [data-reach-tab]][aria-selected='true']='true']::after,
211 .tabs [role='tab']='tab'][aria-selected='true']='true']::after {
212 background-color: #66bb6a;
213 }
214
215 .archiveDialogContent {
216 font-size: 16px;
217 font-weight: 500;
218 line-height: 1.5;
219 color: var(--givewp-neutral-700);
220 }
221
222 .archiveDialogButtons {
223 display: flex;
224 flex-direction: row;
225 justify-content: space-between;
226 gap: var(--givewp-spacing-2);
227 margin-top: var(--givewp-spacing-6);
228
229 button {
230 cursor: pointer;
231 display: flex;
232 flex: 1;
233 justify-content: center;
234 border-radius: 4px;
235 font-size: 1rem;
236 font-weight: 500;
237 line-height: 1.5;
238 padding: var(--givewp-spacing-3) var(--givewp-spacing-6);
239 border: none;
240 }
241
242 .cancelButton {
243 border: 1px solid var(--givewp-neutral-300);
244 background-color: var(--givewp-shades-white);
245 color: var(--givewp-neutral-900);
246
247 &:hover {
248 background-color: var(--givewp-neutral-50);
249 }
250 }
251
252 .confirmButton {
253 border: 1px solid var(--givewp-red-500);
254 background-color: var(--givewp-red-500);
255 color: var(--givewp-shades-white);
256
257 &:hover {
258 border: 1px solid var(--givewp-red-400);
259 background-color: var(--givewp-red-400);
260 }
261 }
262 }
263
264 .pageContent {
265 /*padding: 0 var(--givewp-spacing-6) var(--givewp-spacing-6);*/
266
267 &:not(.fullWidth) {
268 padding: var(--givewp-spacing-4) var(--givewp-spacing-6);
269 }
270
271 section {
272 margin-bottom: var(--givewp-spacing-14);
273 position: relative;
274
275 h2 {
276 font-size: 1.125rem;
277 line-height: 1.56;
278 margin: 0 0 var(--givewp-spacing-2);
279 }
280 }
281
282 .sections {
283 display: flex;
284 flex-direction: column;
285 gap: var(--givewp-spacing-6);
286
287 .section {
288 display: flex;
289 align-content: flex-start;
290 flex-direction: row;
291 flex-wrap: wrap;
292 background-color: var(--givewp-shades-white);
293 padding: var(--givewp-spacing-9) var(--givewp-spacing-6);
294 border-radius: var(--givewp-spacing-2);
295
296 @media (max-width: 1100px) {
297 flex-direction: column;
298 }
299
300 .leftColumn {
301 flex: 1;
302 padding-right: var(--givewp-spacing-6);
303
304 @media (max-width: 1100px) {
305 width: 100%;
306 margin-bottom: var(--givewp-spacing-4);
307 }
308 }
309
310 .rightColumn {
311 flex: 2;
312 }
313
314 .sectionTitle {
315 font-size: 18px;
316 font-weight: 600;
317 line-height: 1.56;
318 color: var(--givewp-neutral-900);
319 padding: 0;
320 margin-bottom: var(--givewp-spacing-1);
321 }
322
323 .sectionDescription {
324 font-size: 16px;
325 line-height: 1.5;
326 color: var(--givewp-neutral-500);
327 }
328
329 .sectionSubtitle {
330 font-size: 1rem;
331 font-weight: 500;
332 line-height: 1.5;
333 color: var(--givewp-neutral-700);
334 }
335
336 .sectionField {
337 position: relative;
338
339 display: flex;
340 flex-direction: column;
341 gap: var(--givewp-spacing-1);
342 margin-bottom: var(--givewp-spacing-10);
343
344 input,
345 textarea,
346 select,
347 .upload {
348 margin-top: var(--givewp-spacing-1);
349 color: var(--givewp-neutral-900);
350 font-weight: 500;
351 }
352
353 input, select {
354 padding: var(--givewp-spacing-2) var(--givewp-spacing-4);
355
356 &:not([type="checkbox"]) {
357 height: auto;
358 }
359
360 &:focus {
361 border-color: rgb(34, 113, 177);
362 outline: none;
363 box-shadow: rgb(34, 113, 177) 0px 0px 0px 1px;
364 }
365
366 &:disabled {
367 cursor: not-allowed;
368
369 &:not([type="checkbox"]) {
370 background-color: #f6f7f7;
371 box-shadow: none;
372 border-color: #9ca0af;
373 opacity: 0.7;
374 text-shadow: 0 1px 0 #fff;
375 transform: none;
376 }
377 }
378 }
379 }
380
381 .sectionField:last-child {
382 margin: 0;
383
384 .sectionFieldCurrencyControl {
385 div {
386 margin: 0;
387 }
388 }
389 }
390
391 .sectionFieldDescription {
392 font-size: 14px;
393 line-height: 1.43;
394 color: var(--givewp-neutral-500);
395 }
396
397 .sectionFieldHelpText {
398 font-size: 0.875rem;
399 line-height: 1.43;
400 margin: var(--givewp-spacing-1) 0 0;
401 font-weight: 400;
402 color: var(--givewp-neutral-500);
403 }
404
405 .errorMsg {
406 font-size: 14px;
407 padding: var(--givewp-spacing-2) 0;
408 color: #ff0000;
409 }
410
411 select {
412 max-width: 100%;
413 }
414
415 input,
416 select {
417 font-size: 1rem;
418 line-height: 2;
419 display: block;
420 width: 100%;
421 border: 1px solid #9ca0af;
422 border-radius: var(--givewp-spacing-1);
423 padding: var(--givewp-spacing-2);
424 }
425 }
426 }
427
428 .toggle {
429 margin-top: var(--givewp-spacing-3);
430
431 span:is(:global(.components-form-toggle)) {
432 height: 24px;
433 }
434
435 & > div {
436 margin-bottom: 0;
437 }
438
439 span:is(:global(.components-form-toggle .components-form-toggle__track)) {
440 width: 48px;
441 height: 24px;
442 border-radius: 133.3px;
443 }
444
445 span:is(:global(.components-form-toggle .components-form-toggle__thumb)) {
446 width: 1rem;
447 height: 1rem;
448 top: 4px;
449 left: 4px;
450 }
451
452 span:is(:global(.components-form-toggle.is-checked .components-form-toggle__thumb)) {
453 left: 12px;
454 }
455
456 span:is(:global(.components-form-toggle.is-checked .components-form-toggle__track)) {
457 background-color: #007cba;
458 }
459
460 span:is(:global(.components-form-toggle .components-form-toggle__input:focus+.components-form-toggle__track)) {
461 box-shadow: 0 0 0 var(--wp-admin-border-width-focus) #fff, 0 0 0 calc(var(--wp-admin-border-width-focus) * 2) #007cba;
462 }
463
464 label {
465 font-family: Inter, system-ui, sans-serif;
466 font-size: 1rem;
467 font-weight: 500;
468 line-height: 1.5;
469 color: #1f2937;
470 padding: var(--givewp-spacing-2) 0;
471 margin-left: 0.5rem;
472 }
473
474 p {
475 font-family: Inter, system-ui, sans-serif;
476 font-size: .875rem;
477 color: #4b5563;
478 margin-top: -0.1rem;
479 margin-left: 1.5rem;
480 }
481 }
482
483 .warningNotice {
484 display: flex;
485 gap: 0.3rem;
486 margin-top: var(--givewp-spacing-2);
487 padding: 0 0.5rem 0 0.5rem;
488 background-color: #fffaf2;
489 border-radius: 4px;
490 border: 1px solid var(--givewp-orange-400);
491 border-left-width: 4px;
492 font-size: 0.875rem;
493 font-weight: 500;
494 color: #1a0f00;
495
496 svg {
497 margin: 0.8rem 0.3rem;
498 height: 1.25rem;
499 width: 1.25rem;
500 }
501 }
502
503 .colorControl {
504 margin-top: var(--givewp-spacing-3);
505 }
506 }
507
508 .loadingContainer {
509 display: flex;
510 justify-content: center;
511 align-items: center;
512 height: 100vh;
513
514 .loadingContainerContent {
515 display: flex;
516 background-color: #fff;
517 padding: var(--givewp-spacing-6);
518 border-radius: var(--givewp-spacing-2);
519 margin-bottom: var(--givewp-spacing-4);
520 align-items: center;
521 flex-direction: column;
522 }
523
524 .loadingContainerContentText {
525 padding: var(--givewp-spacing-4);
526 font-size: 1rem;
527 }
528 }
529
530 :global(#give-admin-campaigns-root) {
531
532
533 .createCampaignPageButton,
534 .editCampaignPageButton,
535 .updateCampaignButton {
536 display: flex;
537 align-content: center;
538 border-radius: var(--givewp-rounded-4);
539 font-size: 0.875rem;
540 font-weight: 500;
541 line-height: 1.5;
542 text-align: center;
543 padding: var(--givewp-spacing-2) var(--givewp-spacing-4);
544
545 svg {
546 margin: 3px 0 0 8px !important;
547 }
548 }
549
550 .createCampaignPageButton{
551 background-color: var(--givewp-shades-white);
552
553 &:hover {
554 background-color: #F0F6FC;
555 }
556 }
557
558 .editCampaignPageButton {
559 color: #060c1a;
560 background-color: var(--givewp-neutral-100);
561 border-color: var(--givewp-neutral-100);
562
563 &:hover {
564 background-color: var(--givewp-neutral-200);
565 border-color: var(--givewp-neutral-200);
566 }
567 }
568
569 .campaignButtonDots {
570 background-color: var(--givewp-neutral-100);
571 border-color: var(--givewp-neutral-100);
572 border-radius: var(--givewp-rounded-4);
573 line-height: 0;
574 padding: var(--givewp-spacing-2);
575
576 &:hover, &:active, &:focus {
577 background-color: var(--givewp-neutral-200);
578 border-color: var(--givewp-neutral-200);
579 }
580 }
581
582 .campaignButtonDotsActive {
583 background-color: var(--givewp-neutral-200);
584 border-color: var(--givewp-neutral-200);
585 }
586
587 .contextMenu {
588 position: absolute;
589 display: flex;
590 flex-direction: column;
591 gap: var(--givewp-spacing-1);
592 z-index: 9999;
593 padding: var(--givewp-spacing-1);
594 top: 50px;
595 width: 203px;
596 border-radius: 4px;
597 box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
598 border: solid 1px var(--givewp-neutral-50);
599 background-color: var(--givewp-shades-white);
600
601 .contextMenuItem {
602 text-decoration: none;
603 gap: 4px;
604 display: flex;
605 align-items: center;
606 padding: var(--givewp-spacing-2);
607 font-size: .875rem;
608 font-weight: 500;
609 line-height: 1.43;
610 color: var(--givewp-neutral-700);
611
612
613 &:hover {
614 background-color: #f3f4f6;
615 }
616 }
617
618 .archive {
619 color: var(--givewp-red-500);
620 }
621
622 .draft {
623 font-weight: bold;
624 }
625 }
626 }
627