| Current Path : /home/sunflowe/www2/disneyexplorer/wp-content/themes/wide/assets/sass/theme/layouts/ |
| Current File : /home/sunflowe/www2/disneyexplorer/wp-content/themes/wide/assets/sass/theme/layouts/_header.scss |
//Hearder
//Keep - Header
.header-placeholder{
display: none;
&.fixed{
display: block;
}
}
.header-content {
// border-top: 1px solid rgba(0, 0, 0, 0.1);
ul {
li {
a {
text-transform: uppercase;
}
}
}
}
header {
ul {
li {
padding:0;
}
}
.wide-social-icon {
@include rtl-text-align-right();
a{
border: none;
width: initial;
height: initial;
background: initial;
@include rtl-margin-right(30px);
&:last-child {
@include rtl-margin-right(0);
}
i {
color: #aaaaaa;
position: relative;
left: initial;
transform:initial;
line-height: 40px;
@include rtl-margin-right(0);
font-weight: 500;
@include transition(0.2s);
&:hover {
color: $theme-color;
}
}
}
}
}
//boxed
.site-header {
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.13);
background: #FFF;
.boxed{
max-width: 1170px;
margin: auto;
}
}
//HEADER Simple---------------------------------------------------------------------------------------------------------
#wide-header{
position: relative;
}
.wide-header-content{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
.header-content-logo{
min-width: 200px;
}
.header-content-menu {
position: relative;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
vertical-align: middle;
padding: 0 30px;
>.nav-menu{
@include rtl-float-left();
}
}
.header-simple {
#na-menu-primary {
@include rtl-float-right();
}
.header-content-logo {
padding: 0;
}
ul#mega-menu-primary_navigation {
>li{
>a{
text-transform: uppercase;
line-height: 110px;
}
}
}
}
.header-content-right{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-justify-content: space-between;
-ms-flex-pack: justify;
justify-content: space-between;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
}
//HEADER Center---------------------------------------------------------------------------------------------------------
.header-content-logo{
padding: 30px 0 30px;
}
.header-center{
#wide-header{
text-align: center;
}
.wide-header-content{
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
.header-content{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: center;
-ms-flex-pack: center;
justify-content: center;
}
#na-menu-primary ul.mega-menu > li > a{
line-height: 80px;
text-transform: uppercase;
}
}
//HEADER Left---------------------------------------------------------------------------------------------------------
.header-left{
&.site-header{
//box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}
#buggy-header{
@include rtl-text-align-left();
}
.header-content-logo{
padding: 20px 0;
}
.header-content{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
border-top:1px solid rgba(0, 0, 0, 0.13);
justify-content: flex-start;
}
.wide-header-content{
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
}
.header-content-right{
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
}
#na-menu-primary ul.mega-menu > li > a{
line-height: 70px;
}
#na-menu-primary ul.mega-menu > li:first-child > a{
@include rtl-padding-left(0);
}
.header-content-logo{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-flex-direction: row;
-ms-flex-direction: row;
flex-direction: row;
-webkit-flex-wrap: nowrap;
-ms-flex-wrap: nowrap;
flex-wrap: nowrap;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
}
.header-middle{
-webkit-justify-content: flex-end;
-ms-flex-pack: end;
justify-content: flex-end;
-webkit-flex: 1 1 auto;
-ms-flex: 1 1 auto;
flex: 1 1 auto;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
.site-logo{
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-align-items: center;
-ms-flex-align: center;
align-items: center;
-webkit-justify-content: flex-start;
-ms-flex-pack: start;
justify-content: flex-start;
}
}
//HEADER drawer---------------------------------------------------------------------------------------------------------
.header-drawer{
background: $menu-bg;
#wide-top-navbar{
background:transparent ;
}
#wide-header{
background: transparent;
}
.na-cart .mini-cart {
@include rtl-padding-left(20px);
@include rtl-padding-right(30px);
padding-top: 10px;
}
.search-menu{
background: $search-menu ;
max-width: 700px;
min-width: 600px;
border-radius: 3px !important;
vertical-align: middle;
display: inline-block;
.btn-primary{
background: transparent;
color: $search-color;
cursor: text;
&:hover{
color: #e0e0e0;
}
}
.form-control{
background:$search-menu ;
border-radius: 3px !important;
border-color: $search-menu ;
padding: 7px 20px;
height: 44px;
color:$search-color;
&:focus{
border-color: $search-menu ;
&::-moz-placeholder{
opacity: 0;
}
}
&::-moz-placeholder{
color: $search-color
}
}
}
.searchform, .woocommerce-product-search{
padding: 0;
}
.header-content-menu{
text-align: center;
}
}
//Menu Drawer ---------------------------------------------------------------------------------------------------------
.menu-drawer{
position: fixed;
z-index: 9999;
background: #FFF;
left: 0;
width: 250px;
@include rtl-border-right(1px solid #EFEFEF);
height: 100%;
>*{
padding-top: 30px;
}
@include transition(0.2s);
transform: translateX(-250px);
-webkit-transform: translateX(-250px);
-ms-transform: translateX(-250px);
-o-transform: translateX(-250px);
&.show{
transform: translateX(0px);
-webkit-transform: translateX(0px);
-ms-transform: translateX(0px);
-o-transform: translateX(0px);
}
#na-menu-primary{
ul.mega-menu > li{
float: none;
&:hover{
background: #E5E5E5;
}
}
ul.mega-menu > li > a{
display: block;
line-height: 50px;
padding: 0 30px;
text-transform: capitalize;
color: #757575;
&:hover{
color: $theme-color;
}
}
ul > li[class*="-has-children"] > a::before{
right: 20px;
color:#757575 ;
}
//lv2
ul.mega-menu > li ul{
top:100%;
left: 100%;
}
ul.mega-menu > li:hover ul{
top:0;
}
ul.mega-menu li.mega-menu-megamenu{
position:relative;
}
ul.mega-menu {
> li.mega-menu-flyout > ul{
min-width: 300px;
}
> li > ul{
min-width: 900px;
max-width: 1170px;
}
}
//lv3
ul.mega-menu li ul ul{
margin: 0;
padding: 0;
display: block;
left: 0;
position: relative;
}
}
}
//Login ----------------------------------------------------------------------------------------------------------------
.wide-header-content .user-login {
cursor: pointer;
position: relative;
.author-img{
padding: 0;
}
&:hover {
#menu-topbar-menu{
top: 45px;
opacity: 1;
visibility: visible;
@include transition(0.4s);
}
}
#menu-topbar-menu{
background: #FFFFFF none repeat scroll 0 0;
box-shadow: 1px 5px 10px 0 rgba(0, 0, 0, 0.15);
min-width: 125px;
padding: 10px;
position: absolute;
@include rtl-right(0);
top: 60px;
@include transition(0.4s);
opacity: 0;
visibility: hidden;
li{
float: none;
font-size: 12px;
>a{
padding: 5px;
&:hover,&:focus{
background: none;
}
}
}
}
}
//Menu Vertical ---------------------------------------------------------------------------------------------------------
.header-vertical{
.header-content-menu{
padding: 23px 30px;
text-align: center;
border-bottom:1px solid rgba(225, 225, 225, 0.5) ;
}
background: $menu-bg;
#wide-top-navbar{
background:transparent ;
}
#wide-header{
background: transparent;
}
.na-cart .mini-cart {
@include rtl-padding-left(20);
@include rtl-padding-right(30px);
padding-top: 10px;
}
.search-menu{
background: $search-menu;
max-width: 700px;
min-width: 600px;
border-radius: 3px !important;
vertical-align: middle;
display: inline-block;
.btn-primary{
background: transparent;
color: $search-color;
cursor: text;
&:hover{
color: $search-color;
}
}
.form-control{
background: $search-menu;
border-radius: 3px !important;
border-color: $search-menu;
padding: 7px 20px;
height: 44px;
color:$search-color;
&:focus{
border-color: $search-menu;
&::-moz-placeholder{
opacity: 0;
}
}
&::-moz-placeholder{
color: $search-color;
}
}
}
.searchform, .woocommerce-product-search{
padding: 0;
}
}
.layout-header-vertical {
.site-content >.container ,#na-footer >*{
transform: translateX(120px);
-webkit-transform: translateX(120px);
-ms-transform: translateX(120px);
-o-transform: translateX(120px);
}
}
.menu-vertical{
position: fixed;
z-index: 9999;
background: $menu-bg;
left: 0;
width: 250px;
height: 100%;
@include rtl-border-right(1px solid #dedede);
>*{
padding-top: 10px;
}
.header-content-logo{
@include rtl-padding-left(30px);
padding-bottom: 10px;
border-bottom:1px solid rgba(225, 225, 225, 0.5) ;
}
#na-menu-primary{
ul.mega-menu > li{
float: none;
&:hover{
background: #E5E5E5;
}
}
ul.mega-menu > li > a{
display: block;
line-height: 50px;
padding: 0 30px;
text-transform: capitalize;
color:$menu-color;
&:hover{
color: $theme-color;
}
}
ul > li[class*="-has-children"] > a::before{
@include rtl-right(20px);
color:#757575 ;
}
//lv2
ul.mega-menu > li ul{
top:100%;
left: 100%;
}
ul.mega-menu > li:hover ul{
top:0;
}
ul.mega-menu li.mega-menu-megamenu{
position:relative;
}
ul.mega-menu {
> li.mega-menu-flyout > ul{
min-width: 300px;
}
> li > ul{
min-width: 900px;
max-width: 1170px;
}
}
//lv3
ul.mega-menu li ul ul{
margin: 0;
padding: 0;
display: block;
left: 0;
position: relative;
}
}
}
//wide icon -----------------------------------------------------------------------------------------------------------
.wide_icon{
display: inline-block;
vertical-align: middle;
cursor:pointer;
margin-right: 30px;
margin-left: 30px;
.wide_icon-bar{
background: $icon-bar;
display: block;
height: 2px;
margin: 4px;
position: relative;
width: 22px;
@include transition(0.4s);
}
&:hover{
.wide_icon-bar{
@include transition(0.4s);
background: $icon-bar-hover;
}
}
}
.topbar-left {
@include rtl-float-left();
}
.topbar-right {
@include rtl-float-right ();
}