Style install notice

This commit is contained in:
Brian Miyaji
2014-02-15 23:46:50 +11:00
parent 07cb97b33c
commit 85b2cb380d
2 changed files with 46 additions and 3 deletions

View File

@@ -2,9 +2,9 @@
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
?> ?>
<div id="message" class="updated sportspress-message"> <div id="message" class="updated sportspress-message">
<h3><?php _e( '<strong>Welcome to SportsPress</strong> &#8211; Get Started', 'sportspress' ); ?></h3> <p><?php _e( '<strong>Welcome to SportsPress</strong> &#8211; Get Started', 'sportspress' ); ?></p>
<p class="submit"> <p class="submit">
<a class="button button-primary button-hero" href="<?php echo admin_url('options-general.php?page=sportspress'); ?>"><?php _e( 'Go to SportsPress Settings', 'sportspress' ); ?></a> <a class="button button-primary" href="<?php echo admin_url('options-general.php?page=sportspress'); ?>"><?php _e( 'Go to SportsPress Settings', 'sportspress' ); ?></a>
<a class="button button-secondary button-hero" href="<?php echo add_query_arg('sportspress_installed', '1' ); ?>"><?php _e( 'Skip setup', 'sportspress' ); ?></a> <a class="button button-secondary" href="<?php echo add_query_arg('sportspress_installed', '1' ); ?>"><?php _e( 'Skip setup', 'sportspress' ); ?></a>
</p> </p>
</div> </div>

View File

@@ -1,5 +1,35 @@
/* SportsPress admin styles */ /* SportsPress admin styles */
.sportspress-message {
border-left-color: #ff9900 !important;
}
.sportspress-message a.button-primary,
.sportspress-message a.button-secondary {
background: #ff9900;
border-color: #f48600;
-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);
color: #fff;
text-decoration: none;
}
.sportspress-message a.button-primary:hover,
.sportspress-message a.button-secondary:hover {
background: #ff8800;
border-color: #f27000;
-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);
color: #fff;
text-decoration: none;
}
.sportspress-message a.button-secondary {
-moz-opacity: 0.7;
opacity: 0.7;
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
}
.widget[id*="sp_recent_events-"] .widget-title h4:before, .widget[id*="sp_recent_events-"] .widget-title h4:before,
.widget[id*="sp_future_events-"] .widget-title h4:before, .widget[id*="sp_future_events-"] .widget-title h4:before,
.widget[id*="sp_countdown-"] .widget-title h4:before, .widget[id*="sp_countdown-"] .widget-title h4:before,
@@ -82,6 +112,19 @@ table.widefat td.column-sp_icon {
text-align: center; text-align: center;
} }
table.widefat th.column-sp_number,
table.widefat td.column-sp_number {
width: 32px;
}
table.widefat td.column-sp_number .sp-flag {
height: auto;
width: auto;
max-height: 16px;
max-width: 20px;
}
#sp_venue-adder h4, #sp_venue-adder h4,
#sp_team-adder h4, #sp_team-adder h4,
#sp_season-adder h4, #sp_season-adder h4,