_x-header.scss
This is an include file, which goes into the x-general.css.
Header main file. All the classes and IDs must be in this file.
WARNING: All the classes bellow are required.
- Include all required Vtex components.
- Include all the config files for the classes and IDs bellow.
.x-header
The main header element.
.x-header-wrapper
.x-top-nav-bar
.x-top-nav-bar-wrapper
.x-logo
For the store logo style.
.x-menu
The main menu.
.x-header-search
The header's search element.
.x-header-cart
The header's cart element.
@import "compass/reset";
@import "compass/css3";
@import "vtex/general/_AmountItemsInCart.scss";
@import "vtex/general/_departmentLinks.scss";
@import "vtex/general/_departmentNavigator.scss";
@import "vtex/general/_newsletterOptIn.scss";
@import "vtex/general/_fullTextSearchBox.scss";
@import "config/header";
@import "config/logo";
header.x-header{
}
.x-header-wrapper{
}
.x-top-nav-bar{
}
.x-top-nav-bar-wrapper{
}
.x-logo{
display: inline-block;
width: $logo_width;
height: $logo_height;
a{
background: url($logo_src) no-repeat;
width: 100%;
height: 100%;
display: inline-block;
overflow: hidden;
text-indent: 200%;
}
}
.x-menu{
}
.x-header-search{
}
.x-header-cart{
}