Adjust default color scheme

This commit is contained in:
Brian Miyaji
2014-06-01 00:57:25 +10:00
parent 2a4933d76f
commit 8bc9a171b2
3 changed files with 13 additions and 13 deletions

View File

@@ -1,16 +1,16 @@
/* Messages */
.sportspress-message {
border-left-color: #00a69c !important;
border-left-color: #364c74 !important;
}
.sportspress-message a.button-primary,
.sportspress-message a.button-secondary,
p.sportspress-actions input.button-primary,
p.sportspress-actions input.button-primary:active {
background: #3bbab3;
border-color: #15a29a;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
background: #39507b;
border-color: #2c3e5f;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.1);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.1);
color: #fff;
text-decoration: none;
}
@@ -19,10 +19,10 @@ p.sportspress-actions input.button-primary:active {
.sportspress-message a.button-secondary:hover,
p.sportspress-actions input.button-primary:hover,
p.sportspress-actions input.button-primary:focus {
background: #00a69c;
border-color: #009187;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.15);
background: #2f4265;
border-color: #263551;
-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.1);
box-shadow: inset 0 1px 0 rgba(255,255,255,.25),0 1px 0 rgba(0,0,0,.1);
color: #fff;
text-decoration: none;
}

View File

@@ -206,11 +206,11 @@ class SP_Settings_General extends SP_Settings_Page {
$colors = array_map( 'esc_attr', (array) get_option( 'sportspress_frontend_css_colors' ) );
// Defaults
if ( empty( $colors['primary'] ) ) $colors['primary'] = '#00a69c';
if ( empty( $colors['primary'] ) ) $colors['primary'] = '#364c74';
if ( empty( $colors['background'] ) ) $colors['background'] = '#f4f4f4';
if ( empty( $colors['text'] ) ) $colors['text'] = '#363f48';
if ( empty( $colors['heading'] ) ) $colors['heading'] = '#ffffff';
if ( empty( $colors['link'] ) ) $colors['link'] = '#ef6848';
if ( empty( $colors['link'] ) ) $colors['link'] = '#00a69c';
// Show inputs
$this->color_picker( __( 'Primary', 'sportspress' ), 'sportspress_frontend_css_primary', $colors['primary'] );

View File

@@ -126,11 +126,11 @@ class SP_Install {
}
// Default color scheme
add_option( 'sportspress_frontend_css_primary', '#00a69c' );
add_option( 'sportspress_frontend_css_primary', '#364c74' );
add_option( 'sportspress_frontend_css_background', '#f4f4f4' );
add_option( 'sportspress_frontend_css_text', '#363f48' );
add_option( 'sportspress_frontend_css_heading', '#ffffff' );
add_option( 'sportspress_frontend_css_link', '#ef6848' );
add_option( 'sportspress_frontend_css_link', '#00a69c' );
if ( ! get_option( 'sportspress_installed' ) ) {
// Configure default sport