ildi-wp/dev/scss/components/_global-head.scss

54 lines
931 B
SCSS
Raw Normal View History

2018-07-24 18:52:51 -05:00
.global-head {
display: flex;
flex-wrap: wrap;
align-content: center;
align-items: center;
2018-08-10 15:08:34 -05:00
margin: 0 auto;
2018-07-24 18:52:51 -05:00
width: 83%;
2018-08-10 15:08:34 -05:00
> * {
flex: 0 0 auto;
2018-07-24 18:52:51 -05:00
}
2018-08-10 15:08:34 -05:00
.logo-banner { order: 1; }
.search-form { order: 2; }
.header-menu { order: 3; }
.social-menu { order: 4; }
2018-07-24 18:52:51 -05:00
}
@media screen and (min-width: #{$screen-tablet}) {
.global-head {
width: $container-tablet;
2018-08-10 15:08:34 -05:00
.social-menu { order: 1; }
.search-form { order: 2; }
.logo-banner { order: 3; }
.header-menu { order: 4; }
2018-07-24 18:52:51 -05:00
.social-menu,
.search-form {
2018-08-10 15:08:34 -05:00
flex: 1 0 auto;
2018-07-24 18:52:51 -05:00
width: auto;
}
}
}
@media screen and (min-width: #{$screen-tablet-lg}) {
.global-head {
width: $container-tablet-lg;
}
}
@media screen and (min-width: #{$screen-desktop}) {
.global-head {
width: $container-desktop;
}
}
@media screen and (min-width: #{$screen-desktop-lg}) {
.global-head {
width: $container-desktop-lg;
}
}