li.current-menu-item > a:before', 'border-bottom-color' ), array( '.infinite-loader', 'color' ), array( '#infinite-handle span', 'background-color' ), /* * Has Constrast */ array( '.site-title, .site-intro, .site-description', 'color', 'link' ), ), __( 'Color 3' ) ); add_color_rule( 'fg2', '#000000', array( /* * No Contrast */ // border array( 'a img, hr, pre code, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input.input-text, textarea, input[type="submit"], .button, input[type="button"], .navigation-post a, .navigation-paging a, .more-link, .comments .bypostauthor .comment-content:before, form.searchform input#searchsubmit, #infinite-handle span', 'border-color' ), array( 'html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,font,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td', 'border-color' ), array( '.main-nav', 'border-right-color' ), // background colours array( '.main-nav ul.menu ul li:hover > a, .main-nav ul.menu ul li.current-menu-item > a, .main-nav ul.menu ul li > a:hover', 'background-color' ), /* * Has Constrast */ array( '#secondary h1, #secondary h2, #secondary h3, #secondary h4, #secondary h5, #secondary h6', 'color', 'bg', 3 ), array( 'table tr th, table tr td', 'border-bottom-color', 'bg', 3 ), array( '.main-nav ul.menu > li:hover > a, .main-nav ul.menu > li > a:hover, .main-nav ul.menu ul a', 'color', 'link', 5 ), array( '.main-nav ul.menu ul li:hover > a, .main-nav ul.menu ul a:hover', 'color', 'fg2', 3 ), array( 'code, pre, input[type="text"], input[type="password"], input[type="email"], input[type="search"], input.input-text, textarea, .more-link', 'background-color', 'bg', 1 ), array( 'input[type="text"], input[type="password"], input[type="email"], input[type="search"], input.input-text, textarea, .more-link', 'color', 'fg2', 12 ), array( '::-webkit-input-placeholder', 'color', 'fg2', 12 ), array( ':-moz-placeholder', 'color', 'fg2', 12 ), array( '::-moz-placeholder', 'color', 'fg2', 12 ), array( ':-ms-input-placeholder', 'color', 'fg2', 12 ), ), __( 'Color 4' ) ); add_color_rule( 'link', '#53A1B8', array( /* * No Contrast */ array( 'input[type="submit"], .button, input[type="button"], .navigation-post a, .navigation-paging a, #infinite-handle span, .header, .main-nav ul.menu ul, .main-nav ul.menu > li:hover > a, .main-nav ul.menu > li > a:hover', 'background-color' ), array( '.main-nav ul.menu > li.current-menu-item > a:before, .infinite-loader', 'color' ), /* * Has Contrast */ array( 'h1 a, h2 a, h3 a, h4 a, h5 a, h6 a', 'color', 'bg', 3 ), array( 'a', 'color', 'bg', 3 ), array( '#secondary a', 'color', 'bg', 7 ), ), __( 'Color 2' ) ); add_color_rule( 'txt', '#666A76', array( /* * No Contrast */ array( 'hr, input[type="radio"], input[type="checkbox"]', 'background-color' ), /* * Has Contrast */ array( 'body', 'color', 'bg', 4 ), array( 'body, button, input, select, textarea, input[type="text"], input[type="password"], input[type="email"], input.input-text, textarea, form.contact-form label span, .entry-author:before, .format-aside .entry-format:before, .format-link .entry-format:before, .format-quote .entry-format:before, .format-status .entry-format:before, .format-image .entry-format:before, .format-video .entry-format:before, .format-audio .entry-format:before, #infinite-handle span button, #infinite-handle span button:hover, #infinite-handle span button:focus', 'color', 'bg', 3 ), array( '.post-title, .page-title, h1, h2, h3, h4, h5, h6, .heading', 'color', 'bg', 6), ), __( 'Color 1' ) ); /* * CSS specific to when color annotations are enabled */ add_theme_support( 'custom_colors_extra_css', 'highwind_extra_css' ); function highwind_extra_css() { ?> #secondary .widget-area{ padding-right: 3.157rem; } #secondary { -webkit-box-shadow: none; box-shadow: none; } .comments .comment-author .comment-meta a { filter: alpha(opacity=50); -moz-opacity: 0.5; -khtml-opacity: 0.5; opacity: 0.5; }