PluginProbe
GiveWP – Donation Plugin and Fundraising Platform / 4.16.9
GiveWP – Donation Plugin and Fundraising Platform v4.16.9
4.16.9 4.16.8.1 4.16.8 4.16.7.2 4.16.7.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 All 255 releases
give / src / Campaigns / resources / admin / components / FormModal / FormModal.module.scss

FormModal.module.scss in GiveWP – Donation Plugin and Fundraising Platform 4.16.9, at src/Campaigns/resources/admin/components/FormModal/FormModal.module.scss

117 lines 3.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 .formModal {
2 :global {
3 .givewp-modal-dialog {
4 max-width: 35rem;
5
6 .givewp-modal-header {
7 font-size: 1.25rem;
8 font-weight: 600;
9 line-height: 1.6;
10 }
11
12 .givewp-modal-close {
13 translateY: 4.5px;
14 }
15 }
16
17 .givewp-campaigns {
18 &__form {
19 label {
20 color: var(--givewp-neutral-700);
21 font-size: 1rem;
22 font-weight: 500;
23 line-height: 1.5;
24 }
25
26 input, textarea {
27 border-color: var(--givewp-grey-400);
28 font-size: 1rem;
29 font-weight: 400;
30 line-height: 1.5;
31 padding: var(--givewp-spacing-3) var(--givewp-spacing-4);
32
33 &::placeholder {
34 color: var(--givewp-grey-400);
35 }
36
37 &[aria-invalid="true"]="true""] {
38 border-color: var(--givewp-red-500);
39 outline-color: var(--givewp-red-500);
40 }
41 }
42
43 span:not(.givewp-field-required, .givewp-textarea-control__counter) {
44 color: var(--givewp-neutral-500);
45 font-size: 0.875rem;
46 line-height: 1.5;
47 margin-bottom: var(--givewp-spacing-2);
48
49 strong {
50 color: var(--givewp-neutral-600);
51 font-weight: 600;
52 }
53 }
54
55 button.button {
56 &[type="button"]="button""],
57 &[type="submit"]="submit""] {
58 display: block;
59 font-size: 1rem;
60 font-weight: 500;
61 line-height: 1.5;
62 padding: var(--givewp-spacing-3) var(--givewp-spacing-5);
63 width: 100%;
64 border-radius: 8px;
65
66 &.button-secondary {
67 color: #060c1a;
68 border-color: #9ca0af;
69 background-color: white;
70 }
71 }
72 }
73 }
74
75 &__form-row {
76 display: flex;
77 flex-direction: column;
78 gap: var(--givewp-spacing-1);
79 margin-bottom: var(--givewp-spacing-6);
80
81 &--half {
82 flex-direction: row;
83 gap: var(--givewp-spacing-6);
84 }
85 }
86
87 &__form-column {
88 display: flex;
89 flex: 1;
90 flex-direction: column;
91 gap: var(--givewp-spacing-1);
92 }
93
94 &__form-errors {
95
96 padding-left: var(--givewp-spacing-1);
97
98 ul {
99 list-style: disc;
100 margin-bottom: var(--givewp-spacing-6);
101 margin-top: 0;
102 padding-left: var(--givewp-spacing-4);
103 }
104
105 p,
106 li {
107 color: var(--givewp-red-500);
108 font-size: 0.875rem;
109 font-weight: 500;
110 line-height: 1.5;
111 margin: 0;
112 }
113 }
114 }
115 }
116 }
117