Dashboard: Make some imbrovents in sidebar in order to avoid flickering
This commit is contained in:
parent
96d4ac8ed1
commit
4455b94804
|
@ -1,7 +1,7 @@
|
||||||
:root {
|
:root {
|
||||||
--dashboard-sidebar-width: 280px;
|
--dashboard-sidebar-width: 280px;
|
||||||
--dashboard-sidebar-mini-width: 100px;
|
--dashboard-sidebar-mini-width: 100px;
|
||||||
--dashboard-transition-delay: 0.5s;
|
--dashboard-transition-delay: 0.25s;
|
||||||
}
|
}
|
||||||
|
|
||||||
@dashboard-page-content-background: @global-background;
|
@dashboard-page-content-background: @global-background;
|
||||||
|
@ -152,7 +152,11 @@
|
||||||
|
|
||||||
&.uk-parent {
|
&.uk-parent {
|
||||||
& > a {
|
& > a {
|
||||||
padding: @dashboard-menu-section-item-padding-vertical (3*@dashboard-menu-section-item-padding-horizontal) @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
|
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
|
||||||
|
|
||||||
|
& > .uk-flex {
|
||||||
|
margin-right: @dashboard-menu-section-item-padding-horizontal;
|
||||||
|
}
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
color: @dashboard-menu-section-item-parent-icon-color;
|
color: @dashboard-menu-section-item-parent-icon-color;
|
||||||
|
@ -329,12 +333,8 @@
|
||||||
|
|
||||||
& > ul > li {
|
& > ul > li {
|
||||||
&.uk-parent {
|
&.uk-parent {
|
||||||
& > a {
|
& > a::after {
|
||||||
padding-right: @dashboard-menu-section-item-padding-horizontal !important;
|
content: '';
|
||||||
|
|
||||||
&::after {
|
|
||||||
content: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
& .uk-nav-sub {
|
& .uk-nav-sub {
|
||||||
|
|
Loading…
Reference in New Issue