diff --git a/less/nav.less b/less/nav.less index f3d9ae0..c2a342d 100644 --- a/less/nav.less +++ b/less/nav.less @@ -13,6 +13,7 @@ @nav-primary-item-hover-color: @global-secondary-background; @nav-primary-item-active-color: @global-secondary-background; @nav-primary-header-color: @global-secondary-background; +@nav-primary-sublist-font-size: @global-font-size; @nav-primary-sublist-item-color: @nav-primary-item-color; @nav-primary-sublist-item-hover-color: @nav-primary-item-hover-color; @nav-primary-sublist-item-active-font-weight: 600; @@ -54,16 +55,6 @@ } } -.hook-nav-parent-icon() { - background-image: none !important; - font-family: "Material Icons"; - font-weight: 400 !important; - font-size: 1.5em; - width: auto; - height: auto; - content: "\e5c5"; -} - .hook-nav-misc() { .uk-nav-sub ul { &:before { @@ -79,8 +70,18 @@ font-weight: @nav-primary-sublist-item-active-font-weight; } - .uk-nav-parent-icon > .uk-parent.uk-open > a::after { - content: "\e5c7"; + .uk-nav-parent-icon { + display: flex; + flex-direction: column; + align-items: center; + + &::after { + background-image: none !important; + font-family: "Material Icons"; + font-weight: 400 !important; + font-size: 1.5em; + content: "\e5c5"; + } } .uk-nav-sub .uk-nav-divider { diff --git a/less/offcanvas.less b/less/offcanvas.less index b8eef85..258fe88 100644 --- a/less/offcanvas.less +++ b/less/offcanvas.less @@ -16,7 +16,7 @@ @offcanvas-bar-width: 100vw; @offcanvas-bar-padding-vertical: @global-medium-gutter; @offcanvas-bar-padding-horizontal: @global-medium-gutter; -@offcanvas-bar-width-m: 550px; +@offcanvas-bar-width-s: 550px; @offcanvas-bar-border-radius: @global-small-border-radius; @offcanvas-bar-background: @global-background; @offcanvas-bar-box-shadow: @global-large-box-shadow;