PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.6.60
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.6.60
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 1.8.0 All 210 releases
charitable / templates / custom-styles.css.php

custom-styles.css.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.6.60, at templates/custom-styles.css.php

44 lines 1.3 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Renders the custom styles added by Charitable.
4 *
5 * Override this template by copying it to yourtheme/charitable/custom-styles.css.php
6 *
7 * @author Studio 164a
8 * @package Charitable/Templates/CSS
9 * @since 1.0.0
10 * @version 1.0.0
11 */
12
13 // Exit if accessed directly.
14 if ( ! defined( 'ABSPATH' ) ) {
15 exit;
16 }
17
18 $highlight_colour = charitable_get_option( 'highlight_colour', apply_filters( 'charitable_default_highlight_colour', '#f89d35' ) );
19
20 ?>
21 <style id="charitable-highlight-colour-styles">
22 .campaign-raised .amount,
23 .campaign-figures .amount,
24 .donors-count,
25 .time-left,
26 .charitable-form-field a:not(.button),
27 .charitable-form-fields .charitable-fieldset a:not(.button),
28 .charitable-notice,
29 .charitable-notice .errors a { color: <?php echo $highlight_colour; ?>; }
30
31 .campaign-progress-bar .bar,
32 .donate-button,
33 .charitable-donation-form .donation-amount.selected,
34 .charitable-donation-amount-form .donation-amount.selected { background-color: <?php echo $highlight_colour; ?>; }
35
36 .charitable-donation-form .donation-amount.selected,
37 .charitable-donation-amount-form .donation-amount.selected,
38 .charitable-notice,
39 .charitable-drag-drop-images li:hover a.remove-image,
40 .supports-drag-drop .charitable-drag-drop-dropzone.drag-over { border-color: <?php echo $highlight_colour; ?>; }
41
42 <?php do_action( 'charitable_custom_styles', $highlight_colour ) ?>
43 </style>
44