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-hover-bg: transparent;
|
||||||
$navbar-inverse-link-active-color: #ffffff;
|
$navbar-inverse-link-active-color: #ffffff;
|
||||||
$navbar-inverse-link-active-bg: transparent;
|
$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-color: darken(#fff, 12.5%);
|
||||||
$navbar-inverse-link-disabled-bg: transparent;
|
$navbar-inverse-link-disabled-bg: transparent;
|
||||||
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
$navbar-inverse-brand-color: $navbar-inverse-link-color;
|
||||||
|
|
|
@ -133,6 +133,7 @@
|
||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media (min-width: 768px) {
|
||||||
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
nav.navbar .nav > li:not(.profile--image-dropdown) {
|
||||||
-moz-osx-font-smoothing: grayscale;
|
-moz-osx-font-smoothing: grayscale;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
@ -163,3 +164,23 @@ nav.navbar .nav > li:not(.profile--image-dropdown) {
|
||||||
height: 4px;
|
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