From ae7e623418e7362e80cf9f65db7a004c0857d239 Mon Sep 17 00:00:00 2001 From: "k.triantafyllou" Date: Tue, 22 Aug 2023 17:09:03 +0300 Subject: [PATCH] Update to Uikit 3.16.24 --- less/dashboard.less | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) diff --git a/less/dashboard.less b/less/dashboard.less index a725dd5..bbeab06 100644 --- a/less/dashboard.less +++ b/less/dashboard.less @@ -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; + } } }