Improve hover properties of icon menu
This commit is contained in:
parent
0b55be6a0e
commit
b47544e73e
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -56,7 +56,7 @@ if ( $header_style === 'wide' ) {
|
||||
fictioneer_icon( 'fa-bars', 'off' );
|
||||
fictioneer_icon( 'fa-xmark', 'on' );
|
||||
?>
|
||||
<span class="mobile-menu-button__label"><?php _ex( 'Menu' , 'Mobile menu label', 'fictioneer'); ?></span>
|
||||
<span class="mobile-menu-button__label"><?php _ex( 'Menu' , 'Mobile menu label', 'fictioneer' ); ?></span>
|
||||
</label>
|
||||
|
||||
<nav class="main-navigation__left" aria-label="<?php echo esc_attr__( 'Main Navigation', 'fictioneer' ); ?>">
|
||||
|
@ -13,6 +13,20 @@
|
||||
letter-spacing: 0;
|
||||
padding: 0 10px;
|
||||
height: var(--navigation-height);
|
||||
|
||||
&:hover {
|
||||
color: var(--navigation-color-hover);
|
||||
}
|
||||
}
|
||||
|
||||
.sub-menu {
|
||||
:where(a, label, button):where(:not(._no-menu-item-style)) {
|
||||
color: var(--navigation-subitem-color, var(--navigation-color));
|
||||
|
||||
&:hover {
|
||||
color: var(--navigation-subitem-color-hover, var(--navigation-color-hover));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&:hover,
|
||||
|
@ -233,6 +233,7 @@
|
||||
}
|
||||
|
||||
&:hover {
|
||||
color: var(--navigation-color-hover);
|
||||
background: var(--navigation-item-background-hover);
|
||||
}
|
||||
|
||||
@ -471,6 +472,7 @@
|
||||
|
||||
&__note {
|
||||
text-transform: uppercase;
|
||||
color: var(--navigation-subitem-color, var(--navigation-color));
|
||||
font-family: var(--ff-note);
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
|
Loading…
x
Reference in New Issue
Block a user