Created
October 24, 2017 14:48
-
-
Save konratnox/8bc2fbb4fea67405caf5d4e01e9ff8ac to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Мобильное меню*/ | |
@media (max-width: 991px) { | |
.navbar-header { | |
float: none; | |
} | |
.navbar-left,.navbar-right { | |
float: none !important; | |
} | |
.navbar-toggle { | |
display: block; | |
} | |
.navbar-collapse { | |
border-top: 1px solid $silver; | |
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: 0; | |
} | |
.navbar-nav>li { | |
float: none; | |
} | |
.navbar-nav>li>a { | |
//padding-top: 10px; | |
//padding-bottom: 10px; | |
} | |
.collapse.in{ | |
display:block !important; | |
} | |
} | |
/* Мобильное меню*/ | |
.row--relative { | |
position: relative; | |
} | |
.fixed-menu { | |
position: fixed; | |
top: 0px; | |
background: $off-white; | |
padding-top: 15px; | |
z-index: 5; | |
@include media(sm) { | |
padding-top: 20px; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment