PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.3.4
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.3.4
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.3.4, at templates/custom-styles.css.php

40 lines 1.1 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/Donation Receipt
9 * @since 1.0.0
10 * @version 1.0.0
11 */
12
13 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
14
15 $highlight_colour = charitable_get_option( 'highlight_colour', apply_filters( 'charitable_default_highlight_colour', '#f89d35' ) );
16
17 ?>
18 <style id="charitable-highlight-colour-styles">
19 .campaign-raised .amount,
20 .campaign-figures .amount,
21 .donors-count,
22 .time-left,
23 .charitable-form-field a:not(.button),
24 .charitable-form-fields .charitable-fieldset a:not(.button),
25 .charitable-notice,
26 .charitable-notice .errors a {
27 color: <?php echo $highlight_colour ?>;
28 }
29
30 .campaign-progress-bar .bar,
31 .donate-button,
32 #charitable-donation-form .donation-amount.selected {
33 background-color: <?php echo $highlight_colour ?>;
34 }
35
36 #charitable-donation-form .donation-amount.selected,
37 .charitable-notice {
38 border-color: <?php echo $highlight_colour ?>;
39 }
40 </style>