mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
fix(header): header responsive
This commit is contained in:
parent
decad34572
commit
713d3708e6
1 changed files with 23 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue