Remove alternate and add link color setting

This commit is contained in:
Brian Miyaji
2014-05-10 22:44:07 +10:00
parent 39a2bcffb1
commit bbf851eb94
4 changed files with 16 additions and 9 deletions

View File

@@ -108,11 +108,11 @@ class SP_Frontend_Scripts {
if ( isset( $colors['text'] ) )
echo '.sp-data-table tbody,.sp-calendar tbody{color: ' . $colors['text'] . ' !important}';
if ( isset( $colors['link'] ) )
echo '.sp-data-table tbody a,.sp-data-table tbody a:hover,.sp-calendar tbody a:focus{color: ' . $colors['link'] . ' !important}';
if ( isset( $colors['background'] ) )
echo '.sp-data-table tbody,.sp-calendar tbody{background: ' . $colors['background'] . ' !important}';
if ( isset( $colors['alternate'] ) )
echo '.sp-data-table tbody tr.odd,.sp-data-table tbody tr.alternate,.sp-calendar tbody td#today{background: ' . $colors['alternate'] . ' !important}';
}
if ( ! empty( $custom ) )