'.hgrid', 'property' => 'max-width', 'value' => $grid_width, 'idtag' => 'grid_width', ) ); /* Base Typography and HTML */ hoot_add_css_rule( array( 'selector' => 'a', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); // Overridden in premium hoot_add_css_rule( array( 'selector' => '.invert-typo, .accent-typo', 'property' => array( 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); hoot_add_css_rule( array( 'selector' => '.invert-typo a, .invert-typo a:hover, .invert-typo h1, .invert-typo h2, .invert-typo h3, .invert-typo h4, .invert-typo h5, .invert-typo h6, .invert-typo .title' . ', .accent-typo a, .accent-typo a:hover, .accent-typo h1, .accent-typo h2, .accent-typo h3, .accent-typo h4, .accent-typo h5, .accent-typo h6, .accent-typo .title', 'property' => 'color', 'value' => $accent_font, 'idtag' => 'accent_font', ) ); hoot_add_css_rule( array( 'selector' => 'input[type="submit"], #submit, .button', 'property' => array( 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); hoot_add_css_rule( array( 'selector' => 'input[type="submit"]:hover, #submit:hover, .button:hover, input[type="submit"]:focus, #submit:focus, .button:focus', 'property' => array( 'background' => array( $accent_color_dark, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); /* Layout */ hoot_add_css_rule( array( 'selector' => 'body', 'property' => 'background', 'idtag' => 'background', ) ); if ( $site_layout == 'boxed' ) { hoot_add_css_rule( array( 'selector' => '#page-wrapper', 'property' => 'background', 'idtag' => 'box_background', ) ); } /* Header */ hoot_add_css_rule( array( 'selector' => '#site-title, #site-title a', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); // Overridden in premium /* Header (Topbar, Header, Main Nav Menu) */ // Logo (with icon) if ( intval( $site_title_icon_size ) ) { hoot_add_css_rule( array( 'selector' => '.site-logo-with-icon #site-title i', 'property' => 'font-size', 'value' => $site_title_icon_size, 'idtag' => 'site_title_icon_size', ) ); } /* Header (Topbar, Header, Main Nav Menu) */ // Mixed Logo (with image) if ( !empty( $logo_image_width ) ) : hoot_add_css_rule( array( 'selector' => '.site-logo-mixed-image, .site-logo-mixed-image img', 'property' => 'max-width', 'value' => $logo_image_width, 'idtag' => 'logo_image_width', ) ); endif; /* Sidebars and Widgets */ hoot_add_css_rule( array( 'selector' => '.content-block-icon', 'property' => array( 'color' => array( $accent_color, 'accent_color' ), 'background' => array( $accent_font, 'accent_font' ), 'border-color' => array( $accent_color, 'accent_color' ), ), ) ); hoot_add_css_rule( array( 'selector' => '.content-block-icon.icon-style-square', 'property' => array( 'color' => array( $accent_font, 'accent_font' ), 'background' => array( $accent_color, 'accent_color' ), ), ) ); hoot_add_css_rule( array( 'selector' => '.content-blocks-widget .content-block:hover .content-block-icon.icon-style-circle', 'property' => array( 'color' => array( $accent_font, 'accent_font' ), 'background' => array( $accent_color, 'accent_color' ), ), ) ); hoot_add_css_rule( array( 'selector' => '.content-blocks-widget .content-block:hover .content-block-icon.icon-style-square', 'property' => array( 'color' => array( $accent_color, 'accent_color' ), 'background' => array( $accent_font, 'accent_font' ), ), ) ); /* Light Slider */ hoot_add_css_rule( array( 'selector' => '.lSSlideOuter .lSPager.lSpg > li:hover a, .lSSlideOuter .lSPager.lSpg > li.active a', 'property' => 'background-color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); /* Plugins */ hoot_add_css_rule( array( 'selector' => '#infinite-handle span' . ',' . '.lrm-form a.button, .lrm-form button, .lrm-form button[type=submit], .lrm-form #buddypress input[type=submit], .lrm-form input[type=submit]', 'property' => array( 'background' => array( $accent_color, 'accent_color' ), 'color' => array( $accent_font, 'accent_font' ), ), ) ); hoot_add_css_rule( array( 'selector' => '.woocommerce nav.woocommerce-pagination ul li a:focus, .woocommerce nav.woocommerce-pagination ul li a:hover', 'property' => 'color', 'value' => $accent_color, 'idtag' => 'accent_color', ) ); // Overridden in premium }