PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.13
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.13
1.8.13.1 1.8.13 1.8.12.3 1.8.12.2 1.8.12.1 1.8.12 1.8.11.3 1.8.11.2 1.8.11.1 1.8.11 1.6.6 1.6.60 1.6.7 1.6.8 1.6.9 1.7.0 1.7.0.1 1.7.0.11 1.7.0.12 1.7.0.14 1.7.0.2 1.7.0.3 1.7.0.5 1.7.0.6 1.7.0.7 All 212 releases
charitable / includes / css-templates / frontend / club-organization.php

club-organization.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.13, at includes/css-templates/frontend/club-organization.php

546 lines 22.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 // Exit if accessed directly.
4 if ( ! defined( 'ABSPATH' ) ) {
5 exit;
6 }
7
8 /**
9 * Display custom CSS for Club Organization campaign template.
10 *
11 * @package Charitable
12 * @author WP Charitable LLC
13 * @copyright Copyright (c) 2024, WP Charitable LLC
14 * @license GPL-2.0+
15 * @since 1.0.0
16 */
17
18 header( 'Content-type: text/css; charset: UTF-8' );
19
20 require_once dirname( __DIR__, 2 ) . '/admin/campaign-builder/templates/functions-campaign-templates.php';
21
22 if ( ! function_exists( 'charitable_sanitize_hex_color' ) ) {
23 /**
24 * Sanitize a hex color.
25 *
26 * @param string $color The color to sanitize.
27 * @return string|null The sanitized color or null if the color is invalid.
28 */
29 function charitable_sanitize_hex_color( $color ) {
30 // Ensure the value is a string.
31 $color = trim( $color );
32
33 // Check if it's a valid 6-character hex color including the hash.
34 if ( preg_match( '/^#[a-fA-F0-9]{6}$/', $color ) ) {
35 return $color;
36 }
37
38 // Optionally return a default color or handle errors.
39 return null; // Or return default color.
40 }
41 }
42
43 if ( ! function_exists( 'charitable_esc_attr_php' ) ) {
44 /**
45 * Escapes a string for use in PHP.
46 *
47 * @param string $text The text to escape.
48 * @return string The escaped text.
49 */
50 function charitable_esc_attr_php( $text ) {
51 return htmlspecialchars( $text, ENT_QUOTES, 'UTF-8' );
52 }
53 }
54
55 // @codingStandardsIgnoreStart
56
57 $primary = isset( $_GET['p'] ) ? '#' . substr( preg_replace( '/[^A-Fa-f0-9]/', '', $_GET['p'] ), 0, 6 ) : '#3E4735';
58 $secondary = isset( $_GET['s'] ) ? '#' . substr( preg_replace( '/[^A-Fa-f0-9]/', '', $_GET['s'] ), 0, 6 ) : '#B49A5F';
59 $tertiary = isset( $_GET['t'] ) ? '#' . substr( preg_replace( '/[^A-Fa-f0-9]/', '', $_GET['t'] ), 0, 6 ) : '#F4F0EE';
60 $button = isset( $_GET['b'] ) ? '#' . substr( preg_replace( '/[^A-Fa-f0-9]/', '', $_GET['b'] ), 0, 6 ) : '#B49A5F';
61 $mobile_width = isset( $_GET['mw'] ) ? intval( $_GET['mw'] ) : 800;
62
63 $slug = 'club-organization';
64 $wrapper = '.charitable-campaign-wrap.template-' . $slug;
65 $preview_wrapper = '.charitable-campaign-wrap.is-charitable-preview.template-' . $slug;
66
67 ?>
68
69 :root {
70 --charitable_campaign_theme_primary: <?php echo charitable_sanitize_hex_color( $primary ); // phpcs:ignore ?>;
71 --charitable_campaign_theme_secondary: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
72 --charitable_campaign_theme_tertiary: <?php echo charitable_sanitize_hex_color( $tertiary ); // phpcs:ignore ?>;
73 --charitable_campaign_theme_button: <?php echo charitable_sanitize_hex_color( $button ); // phpcs:ignore ?>;
74 }
75
76 /* this narrows things down a little to the preview area header/tabs */
77 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> {
78 font-family: -apple-system, BlinkMacSystemFont, sans-serif;
79 }
80 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-row {
81 background-color: <?php echo charitable_sanitize_hex_color( $primary ); // phpcs:ignore ?>;
82 color: #606060;
83 padding: 25px;
84 }
85 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-row > * {
86 color: #D8DAD7;
87 }
88
89 /* aligns */
90
91
92 /* column specifics */
93
94 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-column:nth-child(even) {
95 flex: 2;
96 padding-top: 50px;
97 }
98 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-column:nth-child(odd) {
99 flex: 1;
100 padding-top: 15px;
101 padding-bottom: 15px;
102 padding-left: 15px;
103 padding-right: 15px;
104 }
105 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-column.charitable-campaign-column-2 {
106 padding: 0;
107 }
108 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-column:nth-child(even) .charitable-campaign-field {
109 margin-top: 0;
110 margin-bottom: 0;
111 }
112
113
114 /* headlines in general */
115
116 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> h5.charitable-field-template-headline,
117 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-title,
118 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-headline {
119 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?> !important;
120 }
121
122 /* field: campaign title */
123
124 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field_campaign-title h1 {
125 margin: 5px 0 5px 0;
126 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?> !important;
127 font-size: 24px !important;
128 line-height: 28px !important;
129 font-weight: 100 !important;
130 word-wrap: anywhere;
131 }
132
133 /* field: campaign description */
134
135 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-description .charitable-campaign-builder-placeholder-template-text {
136 padding: 0;
137 color: inherit !important;
138 }
139 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-description .charitable-campaign-builder-placeholder-template-text,
140 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-description .charitable-campaign-builder-placeholder-template-text p {
141 font-size: 24px;
142 line-height: 38px;
143 font-weight: 300;
144 color: inherit !important;
145 }
146
147
148 /* field: campaign text */
149
150
151 /* field: html */
152
153
154 /* field: button */
155
156 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-donate-button button.button,
157 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-donate-button a.donate-button {
158 background-color: <?php echo charitable_sanitize_hex_color( $button ); // phpcs:ignore ?> !important;
159 border-color: <?php echo charitable_sanitize_hex_color( $button ); // phpcs:ignore ?> !important;
160 color: <?php echo charitable_get_constracting_text_color($button); // phpcs:ignore ?>;
161 text-transform: uppercase;
162 border-radius: 10px;
163 margin-top: 10px;
164 margin-bottom: 10px;
165 width: 100%;
166 font-weight: 400;
167 min-height: 50px;
168 height: 50px;
169 font-size: 16px;
170 line-height: 16px;
171 display: flex; /* Changed from block to flex */
172 align-items: center; /* Vertically centers the text */
173 justify-content: center; /* Optionally centers the text horizontally too */
174 padding: 0;
175 text-align: center !important;
176 text-decoration: none !important;
177 transition: filter 0.3s; /* Smooth transition */
178 }
179
180
181 /* field: photo */
182
183
184 /* field: photo */
185
186
187 /* field: progress bar */
188
189 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-progress-bar .progress-bar-info-row div.campaign-percent-raised {
190 color: #FFFFFF;
191 font-size: 21px;
192 line-height: 21px;
193 font-weight: 100;
194 padding-left: 0;
195 }
196 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-progress-bar .progress-bar-info-row div.campaign-goal {
197 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
198 font-weight: 100;
199 font-size: 21px;
200 line-height: 21px;
201 }
202 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-progress-bar .progress {
203 border: 0;
204 padding: 0;
205 background-color: #E0E0E0;
206 border-radius: 0px;
207 margin-top: 15px;
208 }
209 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-progress-bar .progress-bar {
210 background-color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
211 height: 13px !important;
212 border-radius: 0px;
213 text-align: right;
214 }
215 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-progress-bar .progress-bar span {
216 display: none;
217 }
218
219 /* field: social linking */
220
221 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-social-links {
222 margin-top: 20px;
223 margin-bottom: 20px;
224 }
225 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking {
226 display: table;
227 }
228
229 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-template-social-linking-headline-container {
230 float: none;
231 display: table;
232 vertical-align: middle;
233 padding: 0;
234 }
235 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking-headline-container h5 {
236 margin-right: 10px;
237 }
238 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-row {
239 display: block;
240 float: left;
241 width: auto;
242 margin: 0 0 0 0;
243 }
244 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-row p {
245 display: none;
246 }
247 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking h5.charitable-field-template-headline {
248 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
249 margin: 0 0 10px 0;
250 padding: 0;
251 font-size: 16px;
252 line-height: 16px;
253 font-weight: 700;
254 }
255 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-placeholder {
256 padding: 10px;
257 }
258 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-row .charitable-field-column {
259 float: left;
260 margin-right: 20px;
261 }
262 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-row .charitable-field-column .charitable-campaign-social-link {
263 margin-top: 5px;
264 min-height: 20px !important;
265 }
266
267 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-linking .charitable-field-row .charitable-campaign-social-link a:hover {
268 opacity: 0.65;
269 }
270
271
272 /* field: social sharing */
273
274 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-social-sharing {
275 margin-top: 20px;
276 margin-bottom: 20px;
277 }
278 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing {
279 display: table;
280 }
281
282 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-template-social-sharing-headline-container {
283 float: none;
284 display: table;
285 vertical-align: middle;
286 padding: 0;
287 }
288 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing-headline-container h5.charitable-field-template-headline {
289 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
290 margin: 0 0 10px 0;
291 padding: 0;
292 font-size: 16px !important;
293 line-height: 16px !important;
294 font-weight: 700 !important;
295 }
296 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-row {
297 display: block;
298 float: none;
299 width: auto;
300 margin: 0 0 0 0;
301 }
302
303 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-row p {
304 display: none;
305 }
306 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing h5.charitable-field-template-headline {
307 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
308 margin: 0 0 10px 0;
309 padding: 0;
310 font-size: 16px;
311 line-height: 16px;
312 font-weight: 700;
313 }
314 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-placeholder {
315 padding: 10px;
316 }
317 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-row .charitable-field-column {
318 float: left;
319 margin-right: 20px;
320 }
321 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-row .charitable-field-column .charitable-campaign-social-link {
322 margin-top: 5px;
323 min-height: 20px !important;
324 }
325
326 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-field-template-social-sharing .charitable-field-row .charitable-campaign-social-link a:hover {
327 opacity: 0.65;
328 }
329
330 /* field: social sharing AND linking */
331
332 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-social-links .charitable-field-row .charitable-campaign-social-link,
333 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-social-sharing .charitable-field-row .charitable-campaign-social-link {
334 border: 1px solid <?php echo charitable_sanitize_hex_color( $tertiary ); // phpcs:ignore ?>;
335 border-radius: 40px;
336 padding: 10px;
337 }
338 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-social-links .charitable-field-template-social-linking,
339 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-social-sharing .charitable-field-template-social-sharing {
340 border: 1px solid rgba(0, 0, 0, 0.20);
341 border-radius: 10px;
342 display: table;
343 width: 100%;
344 padding: 15px;
345 }
346
347
348 /* field: campaign summary */
349
350 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary {
351 padding-left: 0;
352 padding-right: 0;
353 }
354 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div {
355 font-weight: 400;
356 font-size: 14px;
357 line-height: 16px;
358 }
359 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div span {
360 font-weight: 100 !important;
361 font-size: 32px !important;
362 line-height: 38px !important;
363 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?> !important;
364 }
365 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div.campaign-summary-item {
366 border: 0;
367 margin-top: 5px;
368 margin-bottom: 5px;
369 color: #D8DAD7;
370 }
371 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div.campaign-summary-item.campaign_hide_percent_raised {
372 width: 34%;
373 }
374 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div.campaign-summary-item.campaign_hide_amount_donated {
375 width: 43%;
376 }
377 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div.campaign-summary-item.campaign_hide_number_of_donors {
378 width: 23%;
379 }
380 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field-campaign-summary div.campaign-summary-item.campaign_hide_time_remaining {
381 width: 100%;
382 }
383
384 /* field: donate amount */
385
386 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-donate-amount .charitable-template-donation-amount.selected {
387 border-color: <?php echo charitable_sanitize_hex_color( $tertiary ); // phpcs:ignore ?> !important;
388 }
389 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-donate-amount label,
390 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-donate-amount input.custom-donation-input[type="text"] {
391 color: <?php echo charitable_sanitize_hex_color( $primary ); // phpcs:ignore ?>;
392 border-color: <?php echo charitable_sanitize_hex_color( $primary ); // phpcs:ignore ?> !important;
393 }
394 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-donate-amount ul li.suggested-donation-amount.selected {
395 border-color: <?php echo charitable_sanitize_hex_color( $tertiary ); // phpcs:ignore ?>;
396 }
397 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-field-donate-amount ul li.suggested-donation-amount.selected span.amount {
398 color: <?php echo charitable_sanitize_hex_color( $primary ); // phpcs:ignore ?>;
399 }
400
401 /* field: donate form */
402
403
404 /* field: shortcode */
405
406
407 /* tabs: container */
408
409 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article {
410 background-color: <?php echo charitable_sanitize_hex_color( $tertiary ); // phpcs:ignore ?>;
411 padding: 25px;
412 }
413
414 /* tabs: tab nav */
415
416 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article {
417 padding: 30px;
418 }
419 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article nav.charitable-campaign-nav {
420 border: 1px solid <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
421 width: auto;
422 }
423 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article nav.charitable-campaign-nav li {
424 border-top: 0;
425 border-right: 1px solid <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
426 border-bottom: 0;
427 border-left: 0;
428 margin: 0;
429 padding: 0;
430 }
431 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article nav.charitable-campaign-nav li a {
432
433 display: block;
434 font-weight: 500 !important;
435 font-size: 17px !important;
436 line-height: 17px !important;
437 text-transform: none;
438 }
439 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article nav.charitable-campaign-nav li.active {
440 background-color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
441 border: 0;
442 }
443 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .section[data-section-type="tabs"] article nav.charitable-campaign-nav li.active a {
444 color: black;
445 }
446
447 /* tabs: style */
448
449 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li {
450 background-color: transparent;
451 }
452 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li a {
453 color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
454 }
455 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li:hover {
456 background-color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
457 }
458 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li:hover a {
459 color: white;
460 }
461 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li.active {
462 background-color: <?php echo charitable_sanitize_hex_color( $secondary ); // phpcs:ignore ?>;
463 }
464 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-boxed li.active a {
465 color: white;
466 }
467
468 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-rounded li {
469
470 }
471 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-rounded li a {
472
473 }
474 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-minimum li {
475
476 }
477 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-style-minimum li a {
478
479 }
480
481 /* tabs: sized */
482
483 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-small li {
484
485 }
486 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-small li a {
487
488 }
489 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-medium li {
490
491 }
492 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-medium li a {
493
494 }
495 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-large li {
496
497 }
498 <?php echo charitable_esc_attr_php( $wrapper ); // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav.charitable-tab-size-large li a {
499
500 }
501
502 /* field: donor wall */
503
504
505 /* field: organizer */
506
507 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-container {
508 container-type: inline-size;
509 container-name: campaign-<?php echo $slug; ?>-area;
510 }
511 @container campaign-<?php echo $slug; ?>-area (max-width: 700px) {
512 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-column:nth-child(odd) {
513 padding: 0 !important;
514 }
515 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-column:nth-child(even) {
516 padding-top: 0 !important;
517 }
518 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-align-center.charitable-campaign-field-photo .charitable-campaign-primary-image {
519 width: 100%;
520 display: block;
521 }
522 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-field.charitable-campaign-align-center.charitable-campaign-field-photo .charitable-campaign-primary-image img {
523 width: 100%;
524 height: auto;
525 }
526 <?php echo $wrapper; // phpcs:ignore ?> .charitable-campaign-container .section[data-section-type="tabs"] article nav {
527 margin-top: 20px;
528 margin-bottom: 0px;
529 }
530 <?php echo $wrapper; // phpcs:ignore ?> .charitable-tabs {
531 margin-bottom: 0;
532 }
533 .charitable-campaign-wrap .charitable-campaign-column,
534 .charitable-campaign-wrap .charitable-campaign-column:nth-child(even),
535 .charitable-campaign-wrap .charitable-campaign-column:nth-child(odd) {
536 flex: 0 0 100% !important;
537 padding-top: 0;
538 padding-bottom: 0;
539 padding-left: 0;
540 padding-right: 0;
541 }
542 }
543
544 // @codingStandardsIgnoreEnd
545
546