color fixes for dalston, mayland and rivington

This commit is contained in:
Maggie Cabrera 2020-12-22 15:53:22 +01:00
parent 97f4fe13bd
commit 8129e9bd31
3 changed files with 33 additions and 6 deletions

View file

@ -19,7 +19,11 @@ add_color_rule( 'bg', '#FFFFFF', array(
.site-header .main-navigation > div > ul > li.focus li:hover > a, .site-header .main-navigation > div > ul > li.focus li.focus > a,
.site-header .main-navigation > div > ul > li.focus li.current-menu-item > a, .site-header .main-navigation > div > ul > li.current-menu-item li:hover > a,
.site-header .main-navigation > div > ul > li.current-menu-item li.focus > a,
.site-header .main-navigation > div > ul > li.current-menu-item li.current-menu-item > a', 'background-color' ),
.site-header .main-navigation > div > ul > li.current-menu-item li.current-menu-item > a,
.site-header .main-navigation > div > ul > li .sub-menu a,
.main-navigation > div > ul > li.current-menu-item li.current-menu-item > a,
.mobile-nav-side .site-header #site-navigation.main-navigation .woocommerce-menu-container,
.mobile-nav-side .site-header #site-navigation.main-navigation > div', 'background-color' ),
// Text-color
array( '.a8c-posts-list-item__featured span,
@ -400,7 +404,12 @@ add_color_rule( 'fg1', '#0d1b24', array(
array( '.has-secondary-color[class]', 'color' ),
// Background-color
array( '.has-secondary-background-color[class]', 'background-color' ),
array( '.has-secondary-background-color[class],
input:hover[type="submit"],
.main-navigation .button:focus,
.main-navigation .button:hover,
.main-navigation #toggle:focus + #toggle-menu,
.has-secondary-background-color', 'background-color' ),
), __( 'Secondary Color' ) );

View file

@ -10,7 +10,11 @@ add_color_rule( 'bg', '#ffffff', array(
body,
body .widget_eu_cookie_law_widget #eu-cookie-law,
body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept,
.main-navigation > div > ul > li > .sub-menu', 'background-color' ),
.main-navigation > div > ul > li > .sub-menu,
.site-header .main-navigation > div > ul > li .sub-menu a,
.main-navigation > div > ul > li.current-menu-item li.current-menu-item > a,
.mobile-nav-side .site-header #site-navigation.main-navigation .woocommerce-menu-container,
.mobile-nav-side .site-header #site-navigation.main-navigation > div', 'background-color' ),
// Text-color
array( '.a8c-posts-list-item__featured span,
@ -363,7 +367,12 @@ add_color_rule( 'fg1', '#1a1a1a', array(
// Background-color
array( '.has-secondary-background-color[class],
.has-secondary-background-color.has-background-dim[class]', 'background-color' ),
.has-secondary-background-color.has-background-dim[class],
input:hover[type="submit"],
.main-navigation .button:focus,
.main-navigation .button:hover,
.main-navigation #toggle:focus + #toggle-menu,
.has-secondary-background-color', 'background-color' ),
), __( 'Secondary Color' ) );

View file

@ -22,7 +22,11 @@ add_color_rule( 'bg', '#060f29', array(
.site-header .main-navigation > div > ul > li.focus li:hover > a,
.site-header .main-navigation > div > ul > li:hover li.current-menu-item > a,
.site-header .main-navigation > div > ul > li:hover li.focus > a,
.site-header .main-navigation > div > ul > li:hover li:hover > a', 'background-color' ),
.site-header .main-navigation > div > ul > li:hover li:hover > a,
.site-header .main-navigation > div > ul > li .sub-menu a,
.main-navigation > div > ul > li.current-menu-item li.current-menu-item > a,
.mobile-nav-side .site-header #site-navigation.main-navigation .woocommerce-menu-container,
.mobile-nav-side .site-header #site-navigation.main-navigation > div', 'background-color' ),
// Text-color
array( '.a8c-posts-list-item__featured span,
@ -385,7 +389,12 @@ add_color_rule( 'fg1', '#EE4266', array(
array( '.has-secondary-color[class]', 'color' ),
// Background-color
array( '.has-secondary-background-color[class]', 'background-color' ),
array( '.has-secondary-background-color[class],
input:hover[type="submit"],
.main-navigation .button:focus,
.main-navigation .button:hover,
.main-navigation #toggle:focus + #toggle-menu,
.has-secondary-background-color', 'background-color' ),
), __( 'Secondary Color' ) );