navbar mobile consistency
This commit is contained in:
parent
1625ad6236
commit
ef0330eae9
|
@ -32,6 +32,7 @@ $navbar-inverse-link-hover-color: #ffffff;
|
|||
$navbar-inverse-link-hover-bg: transparent;
|
||||
$navbar-inverse-link-active-color: #ffffff;
|
||||
$navbar-inverse-link-active-bg: transparent;
|
||||
$navbar-inverse-link-active-bg-mobile: darken(#5e35b1, 7%);
|
||||
$navbar-inverse-link-disabled-color: darken(#fff, 12.5%);
|
||||
$navbar-inverse-link-disabled-bg: transparent;
|
||||
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
||||
|
|
|
@ -133,7 +133,8 @@
|
|||
border: none;
|
||||
}
|
||||
|
||||
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
||||
@media (min-width: 768px) {
|
||||
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
position: relative;
|
||||
|
||||
|
@ -162,4 +163,24 @@ nav.navbar .nav > li:not(.profile--image-dropdown) {
|
|||
&.active:before {
|
||||
height: 4px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
nav.navbar .nav {
|
||||
margin-bottom: 0;
|
||||
margin-top: 0;
|
||||
|
||||
& > li {
|
||||
&.active a {
|
||||
background-color: $navbar-inverse-link-active-bg-mobile !important;
|
||||
}
|
||||
|
||||
&.dropdown.profile--image-dropdown a .visible-xs {
|
||||
padding-left: 15px;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue