PluginProbe ʕ •ᴥ•ʔ
GiveWP – Donation Plugin and Fundraising Platform / 4.13.1
GiveWP – Donation Plugin and Fundraising Platform v4.13.1
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 8 months ago styles.scss 8 months ago
styles.scss
312 lines
1 @use '@givewp/css/Safe-Rem/functions' as *;
2
3 .interweave {
4 .statusBadge {
5 --color: var(--givewp-shades-white);
6 --bg-color: var(--givewp-shades-black);
7
8 align-items: center;
9 background-color: var(--bg-color);
10 border-radius: 0.75rem;
11 color: var(--color);
12 column-gap: safe-rem(1);
13 display: inline-flex;
14 font-size: 0.75rem;
15 font-weight: 600;
16 justify-content: center;
17 line-height: 1.5;
18 padding: var(--givewp-spacing-1) var(--givewp-spacing-3);
19 text-transform: capitalize;
20 transform: translateY(0.075rem);
21 width: fit-content;
22
23 div,
24 p {
25 font-size: safe-rem(0.75);
26 font-weight: 600;
27 line-height: safe-rem(1.125);
28 -webkit-font-smoothing: antialiased;
29 -moz-osx-font-smoothing: grayscale;
30 }
31
32 p {
33 margin: 0;
34 }
35
36 &--completed,
37 &--complete {
38 --bg-color: var(--givewp-emerald-100);
39 --color: var(--givewp-emerald-900);
40 }
41
42 &--active,
43 &--publish,
44 &--published {
45 --bg-color: var(--givewp-green-100);
46 --color: var(--givewp-green-900);
47 }
48
49 &--archived,
50 &--inactive {
51 --bg-color: var(--givewp-grey-100);
52 --color: var(--givewp-grey-900);
53 }
54
55 &--failing {
56 --bg-color: var(--givewp-yellow-100);
57 --color: var(--givewp-yellow-900);
58 }
59
60 &--failed,
61 &--revoked,
62 &--abandoned,
63 &--cancelled,
64 &--expired {
65 --bg-color: var(--givewp-red-100);
66 --color: var(--givewp-red-900);
67 }
68
69 &--draft {
70 --bg-color: var(--givewp-orange-100);
71 --color: var(--givewp-orange-900);
72 }
73
74 &--pending,
75 &--processing {
76 --bg-color: var(--givewp-blue-100);
77 --color: var(--givewp-blue-900);
78 }
79
80 &--upgraded {
81 --bg-color: var(--givewp-purple-50);
82 --color: var(--givewp-purple-900);
83 }
84
85 &--refunded {
86 --bg-color: var(--givewp-blue-700);
87 --color: var(--givewp-blue-25);
88 }
89
90 &--give_subscription {
91 --bg-color: var(--givewp-green-700);
92 --color: var(--givewp-green-25);
93 }
94
95 &--trash,
96 &--trashed {
97 --bg-color: var(--givewp-red-700);
98 --color: var(--givewp-red-25);
99 }
100 }
101
102 .subscriptionStatus {
103 display: flex;
104 gap: 10px;
105 justify-content: center;
106
107 &__container {
108 position: relative;
109 display: flex;
110 align-items: center;
111 justify-content: center;
112 }
113
114 &__message {
115 display: flex;
116 justify-content: space-between;
117 position: absolute;
118 top: -55px;
119 right: 0;
120 max-width: 27.75rem;
121 width: max-content;
122 height: max-content;
123 padding-inline: 1.25rem;
124 font-size: 0.75rem;
125 font-weight: 400;
126 line-height: 2.5rem;
127 border-radius: 2px;
128 background: #ffffff;
129 visibility: hidden;
130 z-index: 999;
131
132 & img {
133 margin-right: 10px;
134 }
135
136 &--exceeded {
137 top: -75px;
138 }
139
140 &--failed, &--exceeded {
141 border: 1px solid #e5301b;
142 }
143
144 &--indefinite {
145 border: 1px solid #69b868;
146 }
147
148 &--limited {
149 border: 1px solid #f49420;
150 }
151
152 &:before {
153 content: '';
154 position: absolute;
155 bottom: -4.775px;
156 right: 6px;
157 display: inline-block;
158 height: 9px;
159 width: 9px;
160 background: #ffffff;
161 transform: rotate(45deg);
162 border-bottom: inherit;
163 border-right: inherit;
164 }
165 }
166 }
167
168 .subscriptionStatus:hover .subscriptionStatus__message {
169 visibility: visible;
170 }
171
172 .badge {
173 --border-width: 1px;
174 --padding-x: calc(var(--givewp-spacing-3) - var(--border-width));
175 --padding-y: calc(var(--givewp-spacing-1) - var(--border-width));
176 align-items: center;
177 background-color: var(--givewp-neutral-25);
178 border-radius: 1.5rem;
179 border: var(--border-width) solid var(--givewp-neutral-600);
180 color: var(--givewp-neutral-900);
181 display: inline-flex;
182 justify-content: center;
183 padding: var(--padding-y) var(--padding-x);
184
185 p {
186 font-size: 0.75rem;
187 font-weight: 600;
188 line-height: 1.5;
189 margin: 0;
190 -webkit-font-smoothing: antialiased;
191 -moz-osx-font-smoothing: grayscale;
192 }
193 }
194
195 .donorInformation {
196 position: relative;
197 display: flex;
198 flex-flow: column;
199 gap: var(--givewp-spacing-1);
200
201 & > a {
202 color: #2271b1;
203 font-size: 1rem;
204 font-weight: 600;
205 line-height: 1.5;
206 }
207
208 &__email {
209 font-size: 0.875rem;
210 line-height: 1.43;
211 max-width: calc(100% - 4rem);
212 min-width: 0;
213 overflow: hidden;
214 text-overflow: ellipsis;
215 white-space: nowrap;
216 }
217 }
218
219 .giveDonationFormsLink {
220 color: #2271b1;
221 display: block;
222 font-size: 1rem;
223 font-weight: 700;
224 max-width: 32ch;
225 overflow: hidden;
226 position: relative;
227 text-decoration: none;
228 text-overflow: ellipsis;
229 white-space: nowrap;
230 }
231
232 .shortcode {
233 flex-shrink: 1;
234 min-inline-size: 0;
235 inline-size: 100%;
236 color: #2c3338;
237 background-color: #f6f7f7;
238 padding-block: 0.445rem;
239 padding-inline: 1.5rem;
240 text-indent: -1rem;
241 border: 1px solid grey;
242 border-radius: 4px;
243 cursor: text;
244 white-space: nowrap;
245 overflow: hidden;
246
247 &:hover {
248 border-color: #2271b1;
249 border-width: 2px;
250 }
251 }
252
253 .goalProgress {
254 width: 95%;
255 height: 0.5rem;
256 position: relative;
257 background: rgba(238, 238, 238);
258 border-radius: 1.5625rem;
259 overflow: hidden;
260 margin: 0.3125rem 0 0.125rem;
261
262 &--achieved {
263 position: absolute;
264 display: flex;
265 font-size: 0.8rem;
266 padding-block: 6px;
267 }
268
269 & > span {
270 display: block;
271 height: 100%;
272 border-radius: 1.25rem 0.5rem 0.5rem 1.25rem;
273 background-color: rgba(43, 194, 83);
274 position: relative;
275 overflow: hidden;
276 }
277 }
278
279 .subscriptions .date {
280 font-size: safe-rem(0.8);
281 font-weight: 600;
282 white-space: nowrap;
283 }
284
285 .amount {
286 color: var(--givewp-neutral-700);
287 font-size: 1rem;
288 font-weight: 500;
289 }
290 }
291
292 .idBadge {
293 align-items: center;
294 background-color: var(--givewp-neutral-50);
295 border-radius: var(--givewp-rounded-8);
296 border: 1px solid var(--givewp-neutral-200);
297 color: var(--givewp-neutral-700);
298 display: inline-flex;
299 flex-grow: 0;
300 flex-shrink: 0;
301 font-size: 0.875rem;
302 font-weight: 600;
303 line-height: 1.25rem;
304 padding: calc(0.5 * var(--givewp-spacing-1)) var(--givewp-spacing-2);
305 text-align: center;
306 width: fit-content;
307
308 &::before {
309 content: '#';
310 }
311 }
312