hide header-bar when header is hidden

also reduce the amount of CSS used to accomplish the 1px line (no negative margins)
Min RK 11 years ago
parent 5965e58eb5
commit e2de7a928a

@ -33,9 +33,8 @@ div#header {
.header-bar {
width: 100%;
height: 0px;
border-bottom: 1px solid @navbar-default-border;
margin-bottom: -1px;
height: 1px;
background: @navbar-default-border;
}
@media print {

@ -207,7 +207,8 @@ define([
// View
this.element.find('#toggle_header').click(function () {
$('div#header-container').toggle();
$('#header-container').toggle();
$('.header-bar').toggle();
that._size_header();
});
this.element.find('#toggle_toolbar').click(function () {

@ -1,6 +1,5 @@
#menubar {
.border-box-sizing();
margin-top: 1px;
.navbar {
border-top: 1px;

@ -8283,9 +8283,8 @@ div#header #header-container {
}
div#header .header-bar {
width: 100%;
height: 0px;
border-bottom: 1px solid #e7e7e7;
margin-bottom: -1px;
height: 1px;
background: #e7e7e7;
}
@media print {
div#header {
@ -10267,7 +10266,6 @@ select[multiple].celltoolbar select {
box-sizing: border-box;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
margin-top: 1px;
}
#menubar .navbar {
border-top: 1px;

Loading…
Cancel
Save