# charitable/1.6.31/includes/compat/styles/inline-styles.php

Charitable – Donation &amp; Fundraising Platform (Donation Forms, Recurring Donations &amp; Fundraising Campaigns), version 1.6.31. 33 lines.

- Page: https://pluginprobe.com/plugins/charitable/1.6.31/code/includes/compat/styles/inline-styles.php
- Raw: https://pluginprobe.com/plugins/charitable/1.6.31/raw/includes/compat/styles/inline-styles.php
- Modified: 2020-01-22T06:15:36+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/charitable/1.6.31/code/includes/compat/styles/inline-styles.php#L10-L20`.

```php
<?php
/**
 * Returns an array with all compat styles, ordered by the stylesheet they should be added to.
 *
 * @package   Charitable/Compat
 * @author    Eric Daams
 * @copyright Copyright (c) 2020, Studio 164a
 * @license   http://opensource.org/licenses/gpl-2.0.php GNU Public License
 * @since     1.6.29
 * @version   1.6.29
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

$highlight_colour = charitable_get_option( 'highlight_colour', apply_filters( 'charitable_default_highlight_colour', '#f89d35' ) );

return [
	'twentytwenty-style' => '.mce-btn button{background: transparent;}'
							. '.supports-drag-drop .charitable-drag-drop-dropzone,.campaign-summary,.campaign-loop .campaign,.charitable-donation-form .donation-amounts .donation-amount{background-color:#fff;color:#000;}'
							. '.charitable-form-fields .charitable-fieldset{border:none;padding:0;margin-bottom:2em;}'
							. '#charitable-donor-fields .charitable-form-header,#charitable-user-fields,#charitable-meta-fields{padding-left:0;padding-right:0;}'
							. '.campaign-loop.campaign-grid{margin:0 auto 1em;}',
	'hello-elementor'    => '.donate-button{color: #fff;}',
	'divi-style'         => '.donate-button.button{color:' . $highlight_colour . ';background:#fff;border-color:' . $highlight_colour . ';}'
							. '#left-area .donation-amounts{padding: 0;}'
							. '.charitable-submit-field .button{font-size:20px;}'
							. '.et_pb_widget .charitable-submit-field .button{font-size:1em;}'
							. '.et_pb_widget .charitable-submit-field .et_pb_button:after{font-size:1.6em;}',
];

```
