add navbar toggle
This commit is contained in:
parent
0701d2dee6
commit
38616ca7bc
|
@ -33,7 +33,7 @@
|
|||
<div class="wrapper">
|
||||
|
||||
<!-- nav -->
|
||||
<div id="header">
|
||||
<div id="header" class="navigation">
|
||||
<div class="container-fluid">
|
||||
<!-- vagrant logo -->
|
||||
<div class="navbar-header">
|
||||
|
@ -42,10 +42,9 @@
|
|||
<a class="by-hashicorp" href="https://hashicorp.com/"><span class="svg-wrap">by</span><%= partial "layouts/svg/svg-by-hashicorp" %><%= partial "layouts/svg/svg-hashicorp-logo" %>Hashicorp</a>
|
||||
</div>
|
||||
<button class="navbar-toggle" type="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
<span class="bar"></span>
|
||||
<span class="bar"></span>
|
||||
<span class="bar"></span>
|
||||
</button>
|
||||
</div>
|
||||
<div class="buttons hidden-xs">
|
||||
|
|
|
@ -27,10 +27,19 @@
|
|||
.navbar-toggle{
|
||||
height: @header-height;
|
||||
margin: 0;
|
||||
border-radius: 0;
|
||||
.icon-bar{
|
||||
border: 1px solid @black;
|
||||
border-radius: 0;
|
||||
position: relative;
|
||||
float: right;
|
||||
padding: 9px 10px;
|
||||
background-color: transparent;
|
||||
background-image: none;
|
||||
border: none;
|
||||
|
||||
.bar{
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 2px;
|
||||
margin-top: 4px;
|
||||
background-color: @black;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue