mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-09-22 05:50:48 +02:00
style(setting button): dashify class names (#2007)
This commit is contained in:
parent
1f56f2aeb2
commit
82129ef0ae
2 changed files with 6 additions and 6 deletions
|
@ -21,7 +21,7 @@
|
|||
border-bottom-left-radius: nb-theme(radius);
|
||||
right: 0;
|
||||
|
||||
&.sidebarEnd {
|
||||
&.sidebar-end {
|
||||
border-top-left-radius: 0;
|
||||
border-bottom-left-radius: 0;
|
||||
right: auto;
|
||||
|
@ -36,7 +36,7 @@
|
|||
border-bottom-right-radius: nb-theme(radius);
|
||||
left: 0;
|
||||
|
||||
&.sidebarEnd {
|
||||
&.sidebar-end {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
left: auto;
|
||||
|
@ -50,7 +50,7 @@
|
|||
@include nb-ltr(transform, translate(-19rem, -50%));
|
||||
@include nb-rtl(transform, translate(19rem, -50%));
|
||||
|
||||
&.sidebarEnd {
|
||||
&.sidebar-end {
|
||||
@include nb-rtl(transform, translate(-19rem, -50%));
|
||||
@include nb-ltr(transform, translate(19rem, -50%));
|
||||
}
|
||||
|
@ -89,7 +89,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
&:not(.wasExpanded) i {
|
||||
&:not(.was-expanded) i {
|
||||
animation-name: gear-pulse;
|
||||
animation-duration: 1s;
|
||||
animation-iteration-count: infinite;
|
||||
|
|
|
@ -9,8 +9,8 @@ import { StateService } from '../../../@core/utils';
|
|||
<button class="toggle-settings"
|
||||
(click)="toggleSettings()"
|
||||
[class.expanded]="expanded"
|
||||
[class.sidebarEnd]="sidebarEnd"
|
||||
[class.wasExpanded]="wasExpanded"
|
||||
[class.sidebar-end]="sidebarEnd"
|
||||
[class.was-expanded]="wasExpanded"
|
||||
>
|
||||
<i class="nb-gear"></i>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue