adding bg-inverse navbar

This commit is contained in:
Holger Könemann 2017-01-06 20:41:04 +01:00
parent e543a0295e
commit 80004d7755
5 changed files with 24 additions and 3 deletions

View File

@ -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;

2
css/theme.min.css vendored

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -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 ); ?>">

View File

@ -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;