| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482 |
- .fixed-header-box {
- position: relative;
- z-index: 10;
- margin: 0 auto;
- .sticky-header.sticky-header-type-below &,
- .had-sticky-header.sticky-header-type-below & {
- position: -webkit-sticky;
- position: sticky;
- top: 0;
- .admin-bar& {
- top: 32px;
- }
- }
- &.sticky-header-state-stuck {
- box-shadow: 0 2px 40px 0 rgba(0,0,0,0.05);
- }
- &.hbox-filler {
- background: var( --vamtam-header-background-background-image ) center top / var( --vamtam-header-background-background-size ) var( --vamtam-header-background-background-repeat ) var( --vamtam-header-background-background-attachment ) var( --vamtam-header-background-background-color );
- }
- .logo-wrapper {
- display: flex;
- flex-direction: column;
- justify-content: center;
- text-align: center;
- .logo {
- text-decoration: none !important;
- line-height: 1;
- display: block;
- position: relative;
- border: none;
- img {
- clear: both;
- padding: 0;
- border: 0 !important;
- vertical-align: bottom;
- body.sticky-header & {
- width: auto;
- }
- }
- &.text-logo {
- .vamtam-font(logo-);
- line-height: 30px;
- white-space: nowrap;
- border: var( --vamtam-no-border-link );
- &, &:hover {
- color: var( --vamtam-logo-color );
- }
- }
- }
- .site-tagline {
- display: block;
- padding-top: 5px;
- color: var( --vamtam-accent-color-1 );
- font-family: var( --vamtam-additional-font-2-font-family );
- font-size: 0.9em;
- line-height: 1em;
- }
- }
- }
- .header-background {
- background: var( --vamtam-header-background-background-image ) center top / var( --vamtam-header-background-background-size ) var( --vamtam-header-background-background-repeat ) var( --vamtam-header-background-background-attachment ) var( --vamtam-header-background-background-color );
- margin-top: 0;
- transition: background .3s ease-out;
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & {
- background-color: transparent;
- background-image: none;
- border-bottom: 1px solid fade(#fff, 10%);
- }
- }
- header.main-header {
- @menu-height: 49px;
- padding: 0;
- box-sizing: border-box;
- .sticky-header-state-stuck & {
- border-bottom-color: transparent;
- }
- body.sticky-header-type-over.sticky-header .sticky-header-state-stuck &,
- body.sticky-header-type-normal & {
- &:not( .layout-single-row ) {
- .second-row {
- background: var( --vamtam-sub-header-background-background-image ) center top / var( --vamtam-sub-header-background-background-size ) var( --vamtam-sub-header-background-background-repeat ) scroll var( --vamtam-sub-header-background-background-color );
- }
- }
- }
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & .first-row {
- .normal-logo {
- opacity: 0;
- }
- .alternative-logo {
- opacity: 1;
- }
- }
- body.sticky-header &:not(.layout-single-row) {
- transition: background .3s ease-out, border .3s ease-out;
- }
- body.sticky-header-type-over.sticky-header &.layout-single-row {
- transition: none;
- }
- .first-row {
- display: flex;
- align-items: center;
- justify-content: center;
- width: 100%;
- height: calc( var( --vamtam-header-height ) - @menu-height );
- box-sizing: border-box;
- .alternative-logo {
- position: absolute;
- top: 0;
- left: 50%;
- transform: translateX( -50% );
- opacity: 0;
- }
- }
- .second-row {
- clear: both;
- min-height: @menu-height;
- width: 100%;
- .second-row-columns {
- display: flex;
- align-items: center;
- box-sizing: border-box;
- position : relative;
- width: 100%;
- }
- }
- .header-left {
- padding: 0;
- min-width: 160px;
- white-space: nowrap;
- }
- .header-center {
- width: 100%;
- text-align: center;
- padding: 0px;
- &:after {
- display: block;
- clear: both;
- content: "";
- }
- #megaMenu #megaMenuToggle {
- position: relative;
- padding-right: 30px;
- .megaMenuToggle-icon {
- position: absolute;
- top: 50%;
- right: 10px;
- margin-top: 4px;
- }
- }
- }
- .header-right {
- position: relative;
- padding: 0;
- text-align: right;
- }
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & {
- .vamtam-cart-dropdown-link {
- .icon,
- .products {
- color: var( --vamtam-main-menu-text-sticky-color ) !important;
- }
- }
- .vamtam-overlay-menu-toggle {
- span.top-line,
- span.bottom-line,
- span.middle-line {
- background: var( --vamtam-accent-color-5 );
- }
- &:hover {
- span.top-line,
- span.bottom-line,
- span.middle-line {
- background: var( --vamtam-accent-color-1 );
- }
- }
- }
- }
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & {
- .logo-tagline {
- .site-tagline,
- .logo {
- color: var( --vamtam-main-menu-text-sticky-color );
- }
- }
- }
- #header-text {
- padding: 10px 0px;
- white-space: nowrap;
- transition: color .3s;
- font-size: 11px;
- h4 {
- margin: 0;
- line-height: 10px;
- a {
- font-size: 16px;
- font-weight: 600;
- color: var( --vamtam-accent-color-1 );
- &:hover {
- color: var( --vamtam-accent-color-3 );
- }
- }
- }
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & {
- &, p, .icon {
- color: var( --vamtam-main-menu-text-sticky-color ) !important;
- }
- }
- }
- button.header-search {
- border: 0;
- background: none;
- color: var( --vamtam-accent-color-6 );
- font-size: 1.4em;
- vertical-align: middle;
- transition: color 0.3s;
- font-family: 'theme' !important;
- body.sticky-header-type-over.sticky-header .sticky-header-state-reset & {
- color: var( --vamtam-main-menu-text-sticky-color );
- }
- &:hover {
- color: var( --vamtam-accent-color-1 );
- }
- }
- &.layout-standard {
- .logo {
- height: auto;
- display: inline-block;
- }
- .logo-wrapper {
- height: calc( var( --vamtam-header-height ) - @menu-height );
- }
- .first-row {
- border-bottom: solid 1px var( --vamtam-default-line-color );
- box-sizing: border-box;
- }
- .header-left,
- .header-right {
- display: block;
- min-width: 100px;
- flex: 1 1 100px ;
- }
- .header-left {
- justify-content: flex-start;
- &, #header-text {
- white-space: normal;
- }
- }
- .header-right {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- }
- .header-center {
- display: block;
- flex: 100 1 auto ;
- }
- .search-wrapper,
- .cart-dropdown {
- display: inline-block;
- }
- }
- &.layout-single-row {
- .header-contents {
- display: flex;
- align-items: center;
- }
- .first-row {
- width: auto;
- height: auto;
- background: transparent;
- box-sizing: border-box;
- .logo-wrapper {
- min-height: var( --vamtam-header-height );
- position: relative;
- text-align: left;
- }
- }
- .second-row {
- width: 100%;
- background: transparent;
- text-align: right;
- &:last-child #menus {
- margin-right: -10px;
- }
- &:not(:last-child) #menus {
- }
- }
- .search-wrapper,
- #header-text {
- padding-left: 20px;
- body.sticky-header-type-over.sticky-header &:last-child {
- padding-right: 2px;
- }
- }
- #header-text {
- padding-left: 15px;
- }
- }
- &.layout-logo-text-menu {
- .first-row {
- height: auto;
- box-sizing: content-box;
- .alternative-logo {
- left: 0;
- transform: none;
- }
- .first-row-right-inner {
- width: 100%;
- display: flex;
- align-items: center;
- }
- .first-row-left .logo-wrapper,
- .first-row-right {
- min-height: calc( var( --vamtam-header-height ) - @menu-height );
- }
- .first-row-left {
- .logo-wrapper {
- text-align: left;
- .logo-tagline {
- width: 450px;
- }
- }
- }
- .first-row-right {
- width: 100%;
- text-align: right;
- }
- #header-text {
- padding: 0;
- width: 100%;
- > div {
- padding: 10px 0 10px 40px;
- text-align: right;
- max-width: 50%;
- margin-left: auto;
- }
- p {
- display: inline-block;
- padding-left: 10px;
- text-align: left;
- font-size: 1em;
- strong {
- font-weight: 500;
- font-size: 1.2em;
- }
- }
- }
- }
- .second-row {
- #main-menu .menu {
- text-align: left;
- }
- .header-center {
- padding-right: 0;
- padding-left: 0;
- }
- .search-wrapper {
- padding-left: 10px;
- }
- }
- }
- .mobile-top-bar,
- .mobile-logo-additions {
- display: none;
- }
- }
- #top-nav-sidebar {
- .widget {
- display: inline-block;
- margin: 0 var( --vamtam-horizontal-padding ) 0 0;
- vertical-align: middle;
- &:last-child {
- margin-right: 0;
- }
- }
- .widgettitle {
- display: none;
- }
- .vamtam_icon_link {
- .content {
- display: none !important;
- }
- }
- }
- .header-middle {
- position: relative;
- z-index: 9;
- transform: translateZ(0);
- > h5 {
- padding: 30px 0px 0px 0px;
- }
- body.boxed & {
- > .limit-wrapper > .row,
- > .row {
- margin: 0;
- }
- }
- }
|