Merge pull request #535 from Automattic/fixes/435-annotations-style-pack-updates

Radcliffe 2: Add style pack, colour annotations to existing fix
This commit is contained in:
Laurel 2019-02-05 12:20:43 -08:00 committed by GitHub
commit e459d7144b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 7 additions and 3 deletions

View file

@ -107,6 +107,7 @@ add_color_rule( 'link', '#ca2017', array(
.main-navigation li.focus > a,
.main-navigation li.current-menu-item > a,
.woocommerce-MyAccount-navigation li.is-active a,
.main-navigation li.current-menu-item ~ li.current-menu-item > a:hover,
.hero-area', 'background-color' ),
array( '.main-navigation ul ul > li:first-child:hover:after,

View file

@ -367,7 +367,8 @@ input[type="submit"]:active,
}
.main-navigation li li:hover > a,
.main-navigation li li.focus > a {
.main-navigation li li.focus > a,
.main-navigation li.current-menu-item ~ li.current-menu-item > a:hover {
background-color: #4ba3c3;
}

View file

@ -134,7 +134,8 @@ input[type="submit"]:active,
@media all and (min-width: 768px) {
.main-navigation li:hover > a,
.main-navigation li.focus > a,
.main-navigation li.current-menu-item > a {
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-item ~ li.current-menu-item > a:hover {
background-color: #e8e8e8;
color: #606060;
}

View file

@ -131,7 +131,8 @@ blockquote:after {
@media all and (min-width: 768px) {
.main-navigation li:hover > a,
.main-navigation li.focus > a,
.main-navigation li.current-menu-item > a {
.main-navigation li.current-menu-item > a,
.main-navigation li.current-menu-item ~ li.current-menu-item > a:hover {
background-color: #2b6e9d;
}
}