mirror of
https://github.com/akveo/ngx-admin.git
synced 2026-02-18 14:08:07 +01:00
feat(settings): redesign setting sidebar (#1982)
This commit is contained in:
parent
47d232b606
commit
a73662f1d9
12 changed files with 210 additions and 29 deletions
|
|
@ -14,7 +14,6 @@
|
|||
size="medium"
|
||||
[class.right]="position === 'normal'"
|
||||
[class.left]="position === 'inverse'">
|
||||
<nb-action icon="nb-gear" class="toggle-layout" (click)="toggleSettings()"></nb-action>
|
||||
<nb-action *nbIsGranted="['view', 'user']" >
|
||||
<nb-user [nbContextMenu]="userMenu" [name]="user?.name" [picture]="user?.picture"></nb-user>
|
||||
</nb-action>
|
||||
|
|
|
|||
|
|
@ -94,7 +94,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.toggle-layout /deep/ a {
|
||||
.toggle-settings /deep/ a {
|
||||
display: block;
|
||||
text-decoration: none;
|
||||
line-height: 1;
|
||||
|
|
@ -155,7 +155,7 @@
|
|||
|
||||
@include media-breakpoint-down(md) {
|
||||
|
||||
nb-action:not(.toggle-layout) {
|
||||
nb-action:not(.toggle-settings) {
|
||||
border: none;
|
||||
}
|
||||
|
||||
|
|
@ -163,7 +163,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
.toggle-layout {
|
||||
.toggle-settings {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
|
@ -191,7 +191,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
.toggle-layout {
|
||||
.toggle-settings {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
|
@ -199,7 +199,7 @@
|
|||
display: none;
|
||||
}
|
||||
|
||||
nb-action:not(.toggle-layout) {
|
||||
nb-action:not(.toggle-settings) {
|
||||
padding: 0;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue