PluginProbe
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) / 1.7.0.9
Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) v1.7.0.9
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 / compat / styles / inline-styles.php

inline-styles.php in Charitable – Donation & Fundraising Platform (Donation Forms, Recurring Donations & Fundraising Campaigns) 1.7.0.9, at includes/compat/styles/inline-styles.php

42 lines 2.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Returns an array with all compat styles, ordered by the stylesheet they should be added to.
4 *
5 * @package Charitable/Compat
6 * @author David Bisset
7 * @copyright Copyright (c) 2022, WP Charitable LLC
8 * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License
9 * @since 1.6.29
10 * @version 1.6.55
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 return [
21 'twentytwenty-style' => '.mce-btn button{background: transparent;}'
22 . '.supports-drag-drop .charitable-drag-drop-dropzone,.campaign-summary,.campaign-loop .campaign,.charitable-donation-form .donation-amounts .donation-amount{background-color:#fff;color:#000;}'
23 . '.charitable-form-fields .charitable-fieldset{border:none;padding:0;margin-bottom:2em;}'
24 . '#charitable-donor-fields .charitable-form-header,#charitable-user-fields,#charitable-meta-fields{padding-left:0;padding-right:0;}'
25 . '.campaign-loop.campaign-grid{margin:0 auto 1em;}'
26 . '.charitable-form-field.charitable-form-field-checkbox input[type="checkbox"] {height:1.5rem;width:1.5rem;display:inline-block;}',
27 'hello-elementor' => '.donate-button{color: #fff;}',
28 'divi-style' => '.donate-button.button{color:' . $highlight_colour . ';background:#fff;border-color:' . $highlight_colour . ';}'
29 . '#left-area .donation-amounts{padding: 0;}'
30 . '.charitable-submit-field .button{font-size:20px;}'
31 . '.et_pb_widget .charitable-submit-field .button{font-size:1em;}'
32 . '.et_pb_widget .charitable-submit-field .et_pb_button:after{font-size:1.6em;}',
33 'solopine_style' => '.charitable-button{background-color:#161616;color:#fff;font:700 10px/10px "Montserrat", sans-serif;border:none;text-transform:uppercase;padding:14px 15px 14px 16px;letter-spacing:1.5px;}'
34 . '.charitable-button.donate-button{background-color:' . $highlight_colour . ';}',
35 'twenty-twenty-one-style' => '.charitable-form-field.charitable-form-field-checkbox input[type="checkbox"],.charitable-form-field.charitable-form-field-radio input[type="radio"],.charitable-radio-list input[type=radio] {height:1.5rem;width:1.5rem;display:inline-block;}'
36 . '.supports-drag-drop .charitable-drag-drop-dropzone,.campaign-summary,.campaign-loop .campaign,.charitable-donation-form .donation-amounts .donation-amount{background-color:#fff;color:#000;}'
37 . '.charitable-form-fields .charitable-fieldset{border:none;padding:0;margin-bottom:2em;}'
38 . '#charitable-donor-fields .charitable-form-header,#charitable-user-fields,#charitable-meta-fields{padding-left:0;padding-right:0;}'
39 . '.campaign-loop.campaign-grid{margin:0 auto 1em;}',
40 'tove-styles-front-end' => '.charitable-form-fields .charitable-fieldset{background-color:#fff;}',
41 ];
42