Update to Uikit 3.16.24

This commit is contained in:
Konstantinos Triantafyllou 2023-08-22 17:09:03 +03:00
parent 9cb1f835a9
commit ae7e623418
1 changed files with 14 additions and 6 deletions

View File

@ -33,8 +33,9 @@
@dashboard-sidebar-toggle-size: @icon-button-small-size;
@dashboard-sidebar-toggle-top: 50%;
@dashboard-menu-section-font-size: @global-small-font-size;
@dashboard-menu-section-line-height: 1.5 * @global-small-font-size;
@dashboard-menu-section-margin: 10px;
@dashboard-menu-section-item-line-height: @global-control-small-height;
@dashboard-menu-section-item-padding-vertical: 5px;
@dashboard-menu-section-item-padding-horizontal: 20px;
@dashboard-menu-section-item-padding-horizontal-s: 30px;
@ -85,7 +86,7 @@
}
.sidebar_mobile_toggle {
line-height: @dashboard-menu-section-item-line-height;
line-height: @dashboard-menu-section-line-height;
& .menu-icon {
background-color: @dashboard-primary-background;
@ -102,7 +103,7 @@
& > a {
position: relative;
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
line-height: @dashboard-menu-section-item-line-height;
line-height: @dashboard-menu-section-line-height;
&:not(.uk-flex) {
display: block;
@ -119,7 +120,7 @@
& > a {
padding: @dashboard-menu-section-item-padding-vertical @dashboard-menu-section-item-padding-horizontal;
&::after {
.uk-nav-parent-icon::after {
color: @dashboard-menu-section-item-parent-icon-color;
}
@ -128,7 +129,7 @@
right: (@dashboard-menu-section-item-padding-horizontal/2);
top: 50%;
transform: translate(-50%, -50%);
line-height: (@dashboard-menu-section-item-line-height - 10px);
line-height: (@dashboard-menu-section-line-height - 10px);
}
}
@ -203,8 +204,15 @@
}
}
&:not(.mobile) .uk-nav-default:extend(.uk-text-small) {
&:not(.mobile) .uk-nav-default {
font-size: @dashboard-menu-section-font-size;
line-height: @dashboard-menu-section-line-height;
margin-left: @dashboard-menu-section-margin;
& .uk-nav-sub > li {
font-size: @dashboard-menu-section-font-size;
line-height: @dashboard-menu-section-line-height;
}
}
}