Improve hamburguer menu in v2, still not perfect.

This commit is contained in:
Paulo Reis 2018-02-15 11:46:40 +00:00
parent f01b027da0
commit e2874998b3
2 changed files with 7 additions and 2 deletions

View file

@ -52,7 +52,6 @@
overflow-x: visible;
padding-right: @navbar-padding-horizontal;
padding-left: @navbar-padding-horizontal;
box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
&:extend(.clearfix all);
-webkit-overflow-scrolling: touch;
@ -569,3 +568,9 @@
}
}
.navbar-default when (@is-overleaf = true) {
@media (min-width: @grid-float-breakpoint) {
padding: @navbar-default-padding-v 0;
}
}

View file

@ -96,7 +96,7 @@
// Navbar
@navbar-default-padding-v : (@grid-gutter-width / 2);
@navbar-default-padding-h : 0;
@navbar-default-padding-h : 10px;
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
@navbar-default-link-color : #FFF;
@navbar-default-link-hover-bg : @ol-green;