konratnox
10/24/2017 - 2:48 PM

Bootstrap 3 mobile menu on 991px

/* Мобильное меню*/


@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;
  }
}