Remove calendar link background when styles active

This commit is contained in:
Brian Miyaji
2014-10-28 11:22:07 +11:00
parent 6617d26540
commit 792f427561

View File

@@ -166,6 +166,8 @@ class SP_Frontend_Scripts {
if ( $enabled == 'yes' && sizeof( $colors ) > 0 ) {
echo ' /* SportsPress Frontend CSS */ ';
echo '.sp-event-calendar tbody td a,.sp-event-calendar tbody td a:hover{background: none;}';
if ( isset( $colors['primary'] ) )
echo '.sp-data-table th,.sp-calendar th,.sp-data-table tfoot,.sp-calendar tfoot,.sp-button,.sp-heading{background:' . $colors['primary'] . ' !important}.sp-data-table tbody a,.sp-calendar tbody a{color:' . $colors['primary'] . ' !important}';