Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
/*********** General ***********/
$this->registerColorChooser( array(
'id' => 'body_color',
'selector' => 'body, .body_color',
'name' => __('Body Text Color'),
'foreground' => true,
'default' => '000000',
'group' => __('General'),
) );
$this->registerColorChooser( array(
'id' => 'body_bg',
'selector' => 'body, .body_bg',
'name' => __('Body Background Color'),
'foreground' => false,
'default' => 'FFFFFF',
'group' => __('General'),
) );
$this->registerColorChooser( array(
'id' => 'inner_bg',
'selector' => '.inner, .inner_bg, .button.alt, .google-ads-miniad',
'name' => __('Main Area Background Color'),
'foreground' => false,
'default' => 'B2B2B2',
'hasOpacity' =>true,
'defaultOpacity' => 100,
'group' => __('General'),
) );
/*********** Top Hat ***********/
$this->registerColorChooser( array(
'id' => 'top_hat_link_color',
'selector' => '.top_hat a, .top_hat_link_color',
'name' => __('Link Color'),
'foreground' => true,
'default' => '3c95fc',
'group' => __('Top Hat'),
) );
$this->registerColorChooser( array(
'id' => 'top_hat_link_color_hover',
'selector' => '.top_hat a:hover, .top_hat_link_color:hover',
'name' => __('Link Color Hover'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Top Hat'),
) );
$this->registerColorChooser( array(
'id' => 'top_hat_text_color',
'selector' => '.sso_links',
'name' => __('Top Hat Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Top Hat'),
) );
$this->registerColorChooser( array(
'id' => 'top_hat_bg',
'selector' => '.top_hat, .top_hat_bg',
'name' => __('Background'),
'foreground' => false,
'default' => '000000',
'hasImage' => true,
'backgroundImageDirectory' => 'gradients',
'defaultImage' => 'light.png',
'group' => __('Top Hat'),
) );
/*********** Navigation ***********/
$this->registerColorChooser( array(
'id' => 'nav_link_color',
'selector' => '.nav a, .nav a:visited, .nav_link_color',
'name' => __('Link Color'),
'foreground' => true,
'default' => '3c95fc',
'group' => __('Navigation'),
) );
$this->registerColorChooser( array(
'id' => 'nav_link_color_hover',
'selector' => '.nav a:hover, .nav_link_color:hover, .nav_link_color_hover',
'name' => __('Link Color Hover'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Navigation'),
) );
$this->registerColorChooser( array(
'id' => 'nav_bg',
'selector' => '.nav, .nav_bg, .nav .sub-menu li, .tec-calendar td.tec-present .daynum',
'name' => __('Background'),
'foreground' => false,
'default' => '474747',
'hasImage' => true,
'backgroundImageDirectory' => 'gradients',
'defaultImage' => 'light.png',
'group' => __('Navigation'),
) );
/*********** Content ***********/
$this->registerColorChooser( array(
'id' => 'post_title_link',
'selector' => '.title a',
'name' => __('Post Title Link Color'),
'foreground' => true,
'default' => 'ff9900',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'post_title_link_hover',
'selector' => '.title a:hover',
'name' => __('Post Title Link Hover'),
'foreground' => true,
'default' => 'f00000',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'the_content_h',
'selector' => '.the_content h1, .the_content h2, .the_content h3, .the_content h4, .the_content h5, .the_content h6, .content_h',
'name' => __('Content Header Color'),
'foreground' => true,
'default' => '3F6517',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'link_color',
'selector' => 'a, .link_color, a:visited',
'name' => __('Link Color'),
'foreground' => true,
'default' => '3c95fc',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'link_hover',
'selector' => 'a:hover, .link_hover',
'name' => __('Link Hover Color'),
'foreground' => true,
'default' => '307bd1',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'more_link',
'selector' => '.more_link a',
'name' => __('More link'),
'foreground' => true,
'default' => 'F00000',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'more_link_hover',
'selector' => '.more_link a:hover',
'name' => __('More link Hover'),
'foreground' => true,
'default' => 'FF9900',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'content_bg',
'selector' => '.content, .content_bg, .on_air_message, #sb-body, #sb-loading',
'name' => __('Content Background Color'),
'foreground' => false,
'defaultOpacity' => 100,
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'category_header_bg',
'selector' => '#location_wrap',
'name' => __('Category Header Background'),
'foreground' => false,
'default' => 'ffffff',
'group' => __('Content'),
) );
$this->registerColorChooser( array(
'id' => 'header_input_bg',
'selector' => '#header #search_input',
'name' => __('Header Input Background'),
'foreground' => false,
'default' => 'ffffff',
'group' => __('Content'),
) );
/*********** Alternate Content ***********/
$this->registerColorChooser( array(
'id' => 'alt_color',
'selector' => '.alt_color',
'name' => __('Text Color'),
'foreground' => true,
'default' => '777777',
'group' => __('Alternate Content'),
) );
$this->registerColorChooser( array(
'id' => 'alt_heading_color',
'selector' => '.alt_heading_color',
'name' => __('Heading Color'),
'foreground' => true,
'default' => '444444',
'group' => __('Alternate Content'),
) );
$this->registerColorChooser( array(
'id' => 'alt_link_color',
'selector' => 'a.alt_link_color, .alt_link_color a, #footer-links a',
'name' => __('Link Color'),
'foreground' => true,
'default' => '3f6517',
'group' => __('Alternate Content'),
) );
$this->registerColorChooser( array(
'id' => 'alt_content_bg',
'selector' => '.alt_content_bg, ol.comments-list .comment-content, polldaddy-inline',
'name' => __('Background Color'),
'foreground' => false,
'default' => 'F6F6F6',
'group' => __('Alternate Content'),
) );
/*********** Pagination ***********/
$this->registerColorChooser( array(
'id' => 'secondary',
'selector' => '.secondary_bg,.loop .pagination_wrap .pagination .page_current,.loop .pagination_wrap .pagination a.pagi_item:hover,.shows_nav_links span.active a, .shows_nav_links span a:hover',
'name' => __('Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Pagination'),
) );
$this->registerColorChooser( array(
'id' => 'deactive',
'selector' => '.deactive',
'name' => __('Deactivate Text Color'),
'foreground' => true,
'default' => '999999',
'group' => __('Pagination'),
) );
$this->registerColorChooser( array(
'id' => 'secondary_bg',
'selector' => '.secondary_bg,.loop .pagination_wrap .pagination .page_current, .loop .pagination_wrap .pagination a.pagi_item:hover,.button.alt.active, .shows_nav_links span.active a, .shows_nav_links span a:hover',
'name' => __('Background Color'),
'foreground' => false,
'default' => '595959',
'group' => __('Pagination'),
) );
/*********** Widget ***********/
$this->registerColorChooser( array(
'id' => 'widget_header_bg',
'selector' => '.widget_header',
'name' => __('Header Background'),
'foreground' => false,
'default' => '595959',
'hasImage' => true,
'backgroundImageDirectory' => 'gradients',
'defaultImage' => 'light.png',
'group' => __('Widgets'),
) );
$this->registerColorChooser( array(
'id' => 'widget_header',
'selector' => '.widget_header, .widget_header a',
'name' => __('Header Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Widgets'),
) );
$this->registerColorChooser( array(
'id' => 'widget_bg',
'selector' => '.widget_bg',
'name' => __('Body Background Color'),
'foreground' => false,
'default' => 'E4E4E4',
'group' => __('Widgets'),
) );
/*********** Forms ***********/
$this->registerColorChooser( array(
'id' => 'button',
'selector' => '.button, .button a, .button a:hover, a.button, a.button:hover, .button_bg a, .pds-vote-button, .pds-vote-button-load, .pds-vote-button:hover, .pds-vote-button-load:hover',
'name' => __('Button Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Forms'),
) );
$this->registerColorChooser( array(
'id' => 'button_bg',
'selector' => '.button, .button_bg, .pds-vote-button, .pds-vote-button-load',
'name' => __('Button Background Color'),
'foreground' => false,
'default' => '3F6517',
'hasImage' => true,
'backgroundImageDirectory' => 'gradients',
'defaultImage' => 'light.png',
'group' => __('Forms'),
) );
$this->registerColorChooser( array(
'id' => 'input_color',
'selector' => 'input, .input_color',
'name' => __('Input Text Color'),
'foreground' => true,
'default' => '959595',
'group' => __('Forms'),
) );
$this->registerColorChooser( array(
'id' => 'input_focus',
'selector' => 'input:focus, input_focus',
'name' => __('Input:focus Text Color (after selection)'),
'foreground' => true,
'default' => '000000',
'group' => __('Forms'),
) );
/*********** Calendar ***********/
$this->registerColorChooser( array(
'id' => 'calendar_th_past',
'selector' => '.tec-past .daynum',
'name' => __('Day Header - Past'),
'foreground' => false,
'default' => 'CCCCCC',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_th_future',
'selector' => '.tec-present .daynum',
'name' => __('Day Header - Present'),
'foreground' => false,
'default' => '999999',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_th_present',
'selector' => '.tec-future .daynum',
'name' => __('Day Header - Future'),
'foreground' => false,
'default' => '999999',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_th_main',
'selector' => '.tec-calendar th ',
'name' => __('Cell Header'),
'foreground' => false,
'default' => '333333',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_th_text',
'selector' => '.tec-calendar th ',
'name' => __('Cell Header Text'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_td_present',
'selector' => 'td.tec-present',
'name' => __('Present Day Cell'),
'foreground' => false,
'default' => 'FFFFFF',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_td_past',
'selector' => 'td.tec-past',
'name' => __('Past Day Cell'),
'foreground' => false,
'default' => 'CCCCCC',
'group' => __('Calendar'),
) );
$this->registerColorChooser( array(
'id' => 'calendar_td_future',
'selector' => '.tec-calendar td.tec-future',
'name' => __('Future Day Cell'),
'foreground' => false,
'default' => 'FFFFFF',
'group' => __('Calendar'),
) );
// Border Styles
$this->registerColorChooser( array(
'id' => 'input_border',
'selector' => '.input_border',
'name' => __('Input Border Color'),
'foreground' => false,
'default' => '999'
) );
/*********** Features ***********/
$this->registerColorChooser( array(
'id' => 'featured_default_caption',
'selector' => '.nivo-caption, .featured_default_caption p, .pds-answer-feedback',
'name' => __('Caption Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('Features'),
) );
$this->registerColorChooser( array(
'id' => 'featured_default_caption_bg',
'selector' => '.nivo-caption, .featured_default_caption, .pds-answer-feedback-bar',
'name' => __('Caption Background'),
'foreground' => false,
'default' => '3C95FC',
'hasImage' => true,
'backgroundImageDirectory' => 'gradients',
'defaultImage' => 'light.png',
'group' => __('Features'),
) );
/*********** Carousel ***********/
$this->registerColorChooser( array(
'id' => 'carousel_link',
'selector' => '.footer_post h5.small_title, .footer_post a ',
'name' => __('Link Color'),
'foreground' => true,
'default' => '333333',
'group' => __('Carousel'),
) );
$this->registerColorChooser( array(
'id' => 'carousel_bg',
'selector' => '.footer_post',
'name' => __('Background Color'),
'foreground' => false,
'default' => '999999',
'group' => __('Carousel'),
) );
/*********** Now Playing ***********/
$this->registerColorChooser( array(
'id' => 'on_air_active_background',
'selector' => '.on_air .active_background',
'name' => __('Active On Air Text Color'),
'foreground' => true,
'default' => 'FFFFFF',
'group' => __('On Air'),
) );
$this->registerColorChooser( array(
'id' => 'on_air_bg',
'selector' => '.on_air .active_background',
'name' => __('Active Background Color ( i.e. Shows)'),
'foreground' => false,
'default' => 'F28D20',
'group' => __('On Air'),
) );
$this->registerColorChooser( array(
'id' => 'live_on_air',
'selector' => '.live',
'name' => __('Listen Live BG Color'),
'foreground' => false,
'default' => 'CCCCCC',
'group' => __('On Air'),
) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.