adding bg-inverse navbar
This commit is contained in:
parent
e543a0295e
commit
80004d7755
|
@ -6816,6 +6816,15 @@ a.skip-link {
|
|||
display: inline;
|
||||
width: auto; }
|
||||
|
||||
.bg-primary .dropdown-menu {
|
||||
background-color: #895cd1; }
|
||||
|
||||
.bg-success .dropdown-menu {
|
||||
background-color: #5cb85c; }
|
||||
|
||||
.bg-inverse .dropdown-menu {
|
||||
background-color: #292b2c; }
|
||||
|
||||
.dropdown-menu .dropdown-menu {
|
||||
position: relative;
|
||||
display: block;
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -33,7 +33,7 @@ $container = get_theme_mod( 'understrap_container_type' );
|
|||
<a class="skip-link screen-reader-text sr-only" href="#content"><?php _e( 'Skip to content',
|
||||
'understrap' ); ?></a>
|
||||
|
||||
<nav class="navbar navbar-toggleable-md navbar-light bg-faded">
|
||||
<nav class="navbar navbar-toggleable-md navbar-inverse bg-inverse">
|
||||
|
||||
<div class="<?php echo esc_html( $container ); ?>">
|
||||
|
||||
|
|
|
@ -69,6 +69,18 @@ a.skip-link {
|
|||
width: auto;
|
||||
}
|
||||
|
||||
.bg-primary .dropdown-menu {
|
||||
background-color:$brand-primary;
|
||||
}
|
||||
|
||||
.bg-success .dropdown-menu {
|
||||
background-color:$brand-success;
|
||||
}
|
||||
|
||||
.bg-inverse .dropdown-menu {
|
||||
background-color:$brand-inverse;
|
||||
}
|
||||
|
||||
// Fixing BS dropdown in a dropdown
|
||||
.dropdown-menu .dropdown-menu {
|
||||
position: relative;
|
||||
|
|
Reference in New Issue