PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.8.12.3
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.8.12.3
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 1.7.0.9 All 211 releases
charitable / includes / css-templates / admin / school-trip.php

school-trip.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.8.12.3, at includes/css-templates/admin/school-trip.php

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