Skip to content

Commit

Permalink
Hide header on render page behind button
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsquared committed Aug 18, 2015
1 parent a503373 commit e2f8754
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
40 changes: 40 additions & 0 deletions visualization/influxdb-dashboard/public/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
body {
padding-top: 70px;
}
@media (max-width: 2000px) {
.navbar-header {
float: none;
}
.navbar-left,
.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-collapse.collapse {
display: none !important;
}
.navbar-nav {
float: none !important;
margin-top: 7.5px;
}
.navbar-nav>li {
float: none;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.collapse.in {
display: block !important;
}
}
41 changes: 41 additions & 0 deletions visualization/influxdb-dashboard/public/css/style.styl
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
body {
padding-top:70px;
}


@media (max-width: 2000px) {
.navbar-header {
float: none;
}
.navbar-left,.navbar-right {
float: none !important;
}
.navbar-toggle {
display: block;
}
.navbar-collapse {
border-top: 1px solid transparent;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
}
.navbar-fixed-top {
top: 0;
border-width: 0 0 1px;
}
.navbar-collapse.collapse {
display: none!important;
}
.navbar-nav {
float: none!important;
margin-top: 7.5px;
}
.navbar-nav>li {
float: none;
}
.navbar-nav>li>a {
padding-top: 10px;
padding-bottom: 10px;
}
.collapse.in{
display:block !important;
}
}

0 comments on commit e2f8754

Please sign in to comment.