openaire-theme/less/nav.less

43 lines
1.0 KiB
Plaintext

@nav-parent-icon-width: @global-line-height;
@nav-default-item-color: @global-color;
@nav-default-item-hover-color: @global-link-hover-color;
@nav-default-item-active-font-weight: 600;
@nav-item-padding-horizontal: 30px;
@nav-sublist-padding-left: 45px;
@nav-default-sublist-item-color: @nav-default-item-color;
@nav-default-sublist-item-hover-color: @nav-default-item-hover-color;
@nav-default-sublist-item-active-font-weight: @nav-default-item-active-font-weight;
@nav-header-color: @global-emphasis-color;
.hook-nav-default-item-active() {
font-weight: @nav-default-item-active-font-weight;
}
.hook-nav-header() {
color: @nav-header-color;
}
.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-default .uk-nav-sub li.uk-active > a {
font-weight: @nav-default-item-active-font-weight;
}
.uk-nav-parent-icon > .uk-parent.uk-open > a::after {
content: "\e5c7";
}
}