| 1 |
<?php |
| 2 |
/** |
| 3 |
* Renders the custom styles for Stripe Elements added by Charitable. |
| 4 |
* |
| 5 |
* Override this template by copying it to yourtheme/charitable/charitable-stripe/stripe-elements.css.php |
| 6 |
* |
| 7 |
* @author WP Charitable LLC |
| 8 |
* @package Charitable Stripe/Templates/CSS |
| 9 |
* @since 1.4.0 |
| 10 |
* @version 1.4.0 |
| 11 |
*/ |
| 12 |
|
| 13 |
// Exit if accessed directly. |
| 14 |
if ( ! defined( 'ABSPATH' ) ) { |
| 15 |
exit; |
| 16 |
} |
| 17 |
|
| 18 |
?> |
| 19 |
<style id="charitable-stripe-elements-styles"> |
| 20 |
.StripeElement { |
| 21 |
border: 1px solid #ccc; |
| 22 |
padding: 1em; |
| 23 |
} |
| 24 |
#charitable_stripe_card_errors { |
| 25 |
color: #eb1c26; |
| 26 |
font-size: .8em; |
| 27 |
margin: .5em 0 0 0; |
| 28 |
} |
| 29 |
</style> |
| 30 |
|