.main-header { min-height: unset; background: unset; .navbar-header { min-height: unset; .navbar-line { .navbar-nav { >.nav-item { > .nav-link { min-height: unset; } } } } .more { background: transparent; border: 0; font-size: 22px; padding: 0; } &[data-background-color="dark"] .page-navigation > .nav-item ul li a, &[data-background-color="dark2"] .page-navigation > .nav-item ul li a { color: #b9babf; &:before { background: #b9babf; } } } .nav-top, .nav-bottom { background: #fff; } } .main-panel { height: calc(100vh - 66px); min-height: calc(100vh - 66px); > .container { min-height: calc(100% - 76px); } } @mixin darkNavbarHeader($color){ .page-navigation { background: $color !important; } } @media screen and (min-width: 992px) { .main-header { &.fixed { max-height: 58px !important; .nav-top { .container { z-index: 1000; } } .nav-bottom { transition: unset; opacity: 0; z-index: -1; transform: translateY(-10%); visibility: hidden; padding-top: 0 !important; padding-bottom: 0 !important; } &.up { max-height: unset !important; .nav-top { box-shadow: none; } .nav-bottom { opacity: 1; animation-name: animateNavBottom; animation-duration: .4s; transform: translateY(0); visibility: visible; } } } } #menuHeader { display: block !important; } .btn-toggle { display: none; } .topbar-toggler { display: none; } } @media screen and (max-width: 991.5px){ .main-header .nav-bottom { background: transparent; } .page_navigation_open { .main-header .nav-bottom { background: transparent; } } .topbar_open { #menuIconHeader { transform: translate3d(0, 63px, 0) !important; } } .main-header { min-height: 65px; .navbar-header { min-height: 65px; .nav-toggle { display: block; position: absolute; left: 15px; } .more { position: absolute; right: 15px; } .navbar-brand { position: absolute; left: 50%; transform: translateX(-50%); } } .nav-controls { position: relative; width: 100%; display: flex; justify-content: center; align-items: center; } } #menuHeader { height: 100%; width: 100%; position: fixed; z-index: 1200; left: 0 !important; right: 0; top: 0; margin-top: 0px; overflow-y: auto; .body-overlay { display: none; } .page-navigation { min-height: 100vh; width: 275px; max-width: calc(100% - 40px); padding-bottom: 60px; overflow-y: auto; overflow-x: hidden; display: block; z-index: 2001; position: relative; -webkit-transform: translate3d(-275px, 0, 0); -moz-transform: translate3d(-275px, 0, 0); -o-transform: translate3d(-275px, 0, 0); -ms-transform: translate3d(-275px, 0, 0); transform: translate3d(-275px, 0, 0) !important; transition: all .5s; background: #fff; .title-menu { font-size: 14px; margin: 0; color: #fff; height: 56px; display: flex; align-items: center; padding: 0 20px; position: relative; font-weight: 300; text-transform: uppercase; border-bottom: 1px solid rgba(255, 255, 255, 0.1); .close-menu { color: #fff; position: absolute; top: 50%; right: 15px; transform: translateY(-50%); cursor: pointer; font-size: 18px; } } > .nav-item{ width: 100%; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding: 0; &:first-child > a { margin-left: 0; } &.active { &:before { width: 100%; } } > .nav-link { width: 100%; position: relative; padding-left: 18px; padding-right: 18px; } .navbar-dropdown { position: relative; top: 0; border: 0; box-shadow: none; ul { padding: 15px 25px !important; } } &.submenu { > .nav-link { &:after { position: absolute; right: 35px; height: unset; } } } &.mega-menu { .navbar-dropdown { padding: 5px !important; } } .category-heading { padding-top: 0px; } &.show-submenu { .navbar-dropdown { display: block; } } &:not(.show-submenu) { > .nav-link { &:after { transform: rotate(0deg) !important; } } } } &.page-navigation-style-2 { > .nav-item { flex-direction: column; margin-bottom: 10px; > .nav-link { } .navbar-dropdown { width: 100%; margin-top: 5px; } } } } &.show { .page-navigation { -webkit-transform: translate3d(0px, 0, 0); -moz-transform: translate3d(0px, 0, 0); -o-transform: translate3d(0px, 0, 0); -ms-transform: translate3d(0px, 0, 0); transform: translate3d(0px, 0, 0) !important; } .body-overlay { display: block; } } } #menuIconHeader { position: absolute; width: 100%; z-index: 1001; transition: all 0.5s ease 0s; transform: translate3d(0px, -70px, 0px) !important; min-height: 62px; display: flex; left: 0; } .nav-bottom { .navbar-header { background: transparent !important; &[data-background-color="dark"] { @include darkNavbarHeader($black-color); } &[data-background-color="dark2"] { @include darkNavbarHeader($black2-color); } } } } @keyframes animateNavBottom { 0% { z-index: -1; transform: translateY(-100%); } 99% { z-index: -1; } 100% { opacity: 1; z-index: 1000; transform: translateY(0); } }