/*================================================ 02. Header CSS =================================================*/ header { color: $text-color-two; } /*---Header Top Bar---*/ #ic-top-bar { font-size: 14px; padding: 16px 0; border-bottom: 1px solid #ceb69a; ul { li { list-style-type: none; display: inline-block; } } .ic-top-ul-left { color: $primary; li { position: relative; &:not(:last-child)::after { position: absolute; right: 0; content: ""; top: 0; width: 2px; height: 100%; background: $primary; } &:first-child { padding-right: 20px; margin-right: 18px; } div { display: inline-block; } .ic-icon { padding-right: 15px; } .ic-text { span { color: $text-color-two; } } } } } .ic-social-ul-text { text-align: right; li { list-style-type: none; display: inline-block; a { color: $text-color-two; display: inline-block; position: relative; @include transition(all .3s); } &:not(:last-child) a::after { content: '.'; padding-left: 10px; padding-right: 6px; @include transition(all .3s); } &:hover { a { color: $primary; &::after { color: $text-color-two; } } } } } /*---Main Navbar---*/ .ic-nav .navbar-brand img { @include transition(.2s); &:hover { opacity: .8; } } .ic-nav-close-btn { color: #fff; font-size: 24px; position: fixed; z-index: 1111; right: 0; top: 0px; background-color: $text-color-two; border: none; opacity: 0; visibility: hidden; } .ic-nav { padding: 0; font-family: 'Playfair Display', serif; .navbar-brand { margin-right: 0; } .ic-nav-search { float: right; margin-left: 5%; .ic-icon { i { @include transition(.3s linear); } } &:hover { .ic-icon { i { color: $primary; } } } } } .ic-nav-ul { li { list-style-type: none; a { color: $text-color-two !important; @include transition(.3s linear); span { font-family: auto; } } } li.nav-item { z-index: 11; a.nav-link { i { display: inline-block; @include transition(all .25s); } } } } @media screen and (min-width:1200px) { .ic-dropdown-li-nav.ic-sort-screen { .ic-dropdown-menu-ul { display: block; } } } /*---Navbar Fix scroll---*/ body.ic-nav-fix { @media screen and (min-width:1200px) { main { padding-top: 104px; } } #ic-main-navbar { position: fixed; width: 100%; top: 0; left: 0; background: #fff; z-index: 111; @include box-shadow(0 0 15px 1px rgba(0, 0, 0, .07)); animation: fadeInDownDefault 700ms ease-in-out 0s 1; } } /*---Navbar Search Dropdown---*/ .ic-icon.ic-icon-search { @include transition(.3s); cursor: pointer; color: $text-color-two; padding-right: 0 !important; } .search-tp { position: absolute; top: 100%; z-index: 11; right: 0; padding: 12px; background: #fff; min-width: 350px; text-align: right; @include box-shadow(1px 1px 15px rgba(0, 0, 0, 0.15)); opacity: 0; visibility: hidden; border: 1px solid #eee; @include transition(all .4s ease); @include translateY(20px); input { width: 100%; border: 0; border-bottom: 1px solid #ddd; } button.btn.ic-btn-search { background: #9e6d36; color: #fff; @include border-radius(0); font-size: 23px; &:hover { background-color: #8c602e; } } } .ic-nav-search.active { .ic-icon.ic-icon-search::before, .search-tp { opacity: 1; visibility: visible; @include translateY(0px); } } @media screen and (max-width:400px) { .search-tp { min-width: 100%; } } /*---Navbar Dropdown Mobile---*/ @media screen and (max-width:1199.98px) { .ic-dropdown-li-nav.ic-sort-screen { &.ic-active { >a { color: $primary; i { -webkit-transform: rotate(180deg); -moz-transform: rotate(180deg); -ms-transform: rotate(180deg); transform: rotate(180deg); -webkit-transform-origin: center center; -moz-transform-origin: center center; -ms-transform-origin: center center; transform-origin: center center; } } } } } /*---Hamburger-icon---*/ .navbar-toggler { border: none; background: transparent !important; -webkit-transform: scaleX(-1); -moz-transform: scaleX(-1); -ms-transform: scaleX(-1); -o-transform: scaleX(-1); transform: scaleX(-1); &:hover { background: transparent !important; .icon-bar { width: 22px !important; background-color: $primary; } } .icon-bar { -moz-transition: all 0.2s ease-out; -o-transition: all 0.2s ease-out; -webkit-transition: all 0.2s ease-out; transition: all 0.2s ease-out; background-color: $text-color-two; display: block; width: 22px; height: 2px; @include border-radius(1px); &:nth-child(2) { width: 18px; } &:nth-child(3) { width: 14px; -webkit-transition-delay: .1s; -moz-transition-delay: .1s; -o-transition-delay: .1s; transition-delay: .1s; } &+.icon-bar { margin-top: 4px; } } }