Only apply horizontal paddings (to align with the header).

This commit is contained in:
Paulo Reis 2018-02-15 11:12:32 +00:00
parent ebad9091c7
commit 058a58d099
3 changed files with 7 additions and 3 deletions

View file

@ -101,7 +101,7 @@
margin: 0;
background-color: @navbar-default-bg;
border-bottom: solid 1px @navbar-default-border;
padding: @navbar-default-padding;
padding: 0 @navbar-default-padding-h;
}
}
// Both navbar header and collapse

View file

@ -811,7 +811,9 @@
// Navbar
@navbar-title-color : #666;
@navbar-title-color-hover : #333;
@navbar-default-padding : 1rem 2rem;
@navbar-default-padding-v : 1rem;
@navbar-default-padding-h : 2rem;
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
@navbar-brand-width : 180px;
@navbar-btn-font-size : @font-size-base * 0.8;
@navbar-btn-border-radius : @border-radius-base;

View file

@ -95,7 +95,9 @@
@labels-font-size : 85%;
// Navbar
@navbar-default-padding : (@grid-gutter-width / 2) 0;
@navbar-default-padding-v : (@grid-gutter-width / 2);
@navbar-default-padding-h : 0;
@navbar-default-padding : @navbar-default-padding-v @navbar-default-padding-h;
@navbar-default-link-color : #FFF;
@navbar-default-link-hover-bg : @ol-green;
@navbar-default-link-active-bg : @ol-green;