fix(header): header responsive

This commit is contained in:
Mikhail Hryb 2017-09-12 21:55:09 +03:00 committed by KostyaDanovsky
parent decad34572
commit 713d3708e6

View file

@ -58,11 +58,11 @@
}
.theme-switch {
width: 12rem;
display: flex;
justify-content: space-between;
align-items: center;
cursor: pointer;
margin: 0;
& > span {
font-size: 1.125rem;
@ -71,10 +71,12 @@
&.light {
color: nb-theme(color-fg-text);
padding-right: 10px;
}
&.cosmic {
color: nb-theme(color-fg);
padding-left: 10px;
}
@include nb-for-theme(cosmic) {
@ -164,14 +166,33 @@
}
}
@include media-breakpoint-down(xs) {
@include media-breakpoint-down(is) {
.header-container {
.logo {
font-size: 1.25rem;
}
}
.toggle-layout {
display: none;
}
.switcher-container {
.light, .cosmic {
display: none;
}
}
}
@include media-breakpoint-down(xs) {
.right /deep/ {
display: none;
}
.switcher-container {
align-items: flex-end;
}
}
}