# mailchimp/1.6.0/views/css/frontend.php

Mailchimp List Subscribe Form, version 1.6.0. 87 lines.

- Page: https://pluginprobe.com/plugins/mailchimp/1.6.0/code/views/css/frontend.php
- Raw: https://pluginprobe.com/plugins/mailchimp/1.6.0/raw/views/css/frontend.php
- Modified: 2024-09-24T14:28:20+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/mailchimp/1.6.0/code/views/css/frontend.php#L10-L20`.

```php
<?php
/**
 * Renders the frontend CSS stylesheet.
 *
 * @package Mailchimp
 */

?>
.mc_error_msg {
	color: red;
	margin-bottom: 1.0em;
}
.mc_success_msg {
	color: green;
	margin-bottom: 1.0em;
}
.mc_merge_var{
	padding:0;
	margin:0;
}
<?php
/**
 * If we're utilizing custom styles
 */

if ( get_option( 'mc_custom_style' ) === 'on' ) {
	?>
	#mc_signup_form {
		padding:5px;
		border-width: <?php echo absint( get_option( 'mc_form_border_width' ) ); ?>px;
		border-style: <?php echo ( get_option( 'mc_form_border_width' ) === 0 ) ? 'none' : 'solid'; ?>;
		border-color: #<?php echo esc_attr( get_option( 'mc_form_border_color' ) ); ?>;
		color: #<?php echo esc_attr( get_option( 'mc_form_text_color' ) ); ?>;
		background-color: #<?php echo esc_attr( get_option( 'mc_form_background' ) ); ?>;
	}


	.mc_custom_border_hdr {
		border-width: <?php echo absint( get_option( 'mc_header_border_width' ) ); ?>px;
		border-style: <?php echo ( get_option( 'mc_header_border_width' ) === 0 ) ? 'none' : 'solid'; ?>;
		border-color: #<?php echo esc_attr( get_option( 'mc_header_border_color' ) ); ?>;
		color: #<?php echo esc_attr( get_option( 'mc_header_text_color' ) ); ?>;
		background-color: #<?php echo esc_attr( get_option( 'mc_header_background' ) ); ?>;
		<!--    font-size: 1.2em;-->
		padding:5px 10px;
		width: 100%;
	}
	<?php
}
?>
	#mc_signup_container {}
	#mc_signup_form {}
	#mc_signup_form .mc_var_label {}
	#mc_signup_form .mc_input {}
	#mc-indicates-required {
		width:100%;
	}
	.mc_interests_header {
		font-weight:bold;
	}
	div.mc_interest{
		width:100%;
	}
	#mc_signup_form input.mc_interest {}
	#mc_signup_form select {}
	#mc_signup_form label.mc_interest_label {
		display:inline;
	}
	.mc_signup_submit {
		text-align:center;
	}
	ul.mc_list {
		list-style-type: none;
		margin-left: 0;
		padding-left: 0;
	}
	ul.mc_list li {
		font-size: 14px;
	}
	#ui-datepicker-div .ui-datepicker-year {
		display: none;
	}
	#ui-datepicker-div.show .ui-datepicker-year {
		display: inline;
		padding-left: 3px
	}

```
