_dsgnsystm: Adds translation strings to menu states

This commit is contained in:
Allan Cole 2019-07-18 12:03:55 -04:00
parent fa7d7b0705
commit 0868a848bf
2 changed files with 8 additions and 8 deletions

View file

@ -34,8 +34,8 @@
<?php _e( 'Menu', '_dsgnsystm' ); ?>
<span class="dropdown-icon open">+</span>
<span class="dropdown-icon close">&times;</span>
<span class="hide-visually expanded-text">expanded</span>
<span class="hide-visually collapsed-text">collapsed</span>
<span class="hide-visually expanded-text"><?php _e( 'expanded', '_dsgnsystm' ); ?></span>
<span class="hide-visually collapsed-text"><?php _e( 'collapsed', '_dsgnsystm' ); ?></span>
</label>
<?php
wp_nav_menu(

View file

@ -1973,6 +1973,12 @@ table th,
display: block;
}
.main-navigation #toggle:focus + #toggle-menu {
background-color: indigo;
outline: inherit;
text-decoration: underline;
}
.main-navigation .dropdown-icon.close {
display: none;
}
@ -1985,12 +1991,6 @@ table th,
display: inline;
}
.main-navigation #toggle:focus + #toggle-menu {
background-color: indigo;
outline: inherit;
text-decoration: underline;
}
@media only screen and (min-width: 560px) {
.main-navigation > div {
display: block;