2022-06-16 18:44:05 +02:00
|
|
|
@nav-parent-icon-width: @global-line-height;
|
2022-11-28 15:14:26 +01:00
|
|
|
|
2022-11-03 14:49:40 +01:00
|
|
|
@nav-default-item-color: @global-color;
|
2022-06-16 18:44:05 +02:00
|
|
|
@nav-default-item-hover-color: @global-link-hover-color;
|
2022-12-12 18:01:47 +01:00
|
|
|
@nav-default-item-active-font-weight: 700;
|
2022-11-28 15:14:26 +01:00
|
|
|
@nav-default-header-color: @global-secondary-background;
|
2022-11-03 14:49:40 +01:00
|
|
|
@nav-default-sublist-item-color: @nav-default-item-color;
|
|
|
|
@nav-default-sublist-item-hover-color: @nav-default-item-hover-color;
|
2022-12-12 18:01:47 +01:00
|
|
|
@nav-default-sublist-item-active-font-weight: 600;
|
2022-11-03 14:49:40 +01:00
|
|
|
|
2022-12-12 18:01:47 +01:00
|
|
|
@nav-primary-item-font-weight: 700;
|
2022-11-28 15:14:26 +01:00
|
|
|
@nav-primary-item-color: @global-color;
|
|
|
|
@nav-primary-item-hover-color: @global-secondary-background;
|
|
|
|
@nav-primary-item-active-color: @global-secondary-background;
|
|
|
|
@nav-primary-header-color: @global-secondary-background;
|
2023-08-22 16:09:22 +02:00
|
|
|
@nav-primary-sublist-font-size: @global-font-size;
|
2022-11-28 15:14:26 +01:00
|
|
|
@nav-primary-sublist-item-color: @nav-primary-item-color;
|
|
|
|
@nav-primary-sublist-item-hover-color: @nav-primary-item-hover-color;
|
2022-12-12 18:01:47 +01:00
|
|
|
@nav-primary-sublist-item-active-font-weight: 600;
|
2022-11-28 15:14:26 +01:00
|
|
|
|
|
|
|
@nav-item-padding-horizontal: 30px;
|
|
|
|
@nav-sublist-padding-vertical: 10px;
|
|
|
|
@nav-sublist-padding-left: @nav-item-padding-horizontal + 20px;
|
|
|
|
@nav-sublist-border-width: 2px;
|
|
|
|
@nav-sublist-border-color: fade(@global-secondary-background, 20%);
|
|
|
|
@nav-sublist-border-radius: 40px;
|
2022-11-28 15:24:37 +01:00
|
|
|
@nav-sublist-item-padding-vertical: 5px;
|
2022-11-28 15:14:26 +01:00
|
|
|
|
|
|
|
@nav-header-padding-horizontal: 0;
|
|
|
|
@nav-header-color: @secondary-color;
|
2022-08-02 22:10:50 +02:00
|
|
|
|
2022-06-16 18:44:05 +02:00
|
|
|
.hook-nav-default-item-active() {
|
|
|
|
font-weight: @nav-default-item-active-font-weight;
|
|
|
|
}
|
2022-08-02 22:10:50 +02:00
|
|
|
|
2022-11-28 15:14:26 +01:00
|
|
|
.hook-nav-primary-item() {
|
|
|
|
font-weight: @nav-primary-item-font-weight;
|
|
|
|
}
|
|
|
|
|
2022-08-02 22:10:50 +02:00
|
|
|
.hook-nav-header() {
|
|
|
|
color: @nav-header-color;
|
|
|
|
}
|
2022-11-03 14:49:40 +01:00
|
|
|
|
2022-11-28 15:14:26 +01:00
|
|
|
.hook-nav-sub() {
|
|
|
|
position: relative;
|
|
|
|
|
|
|
|
&:before {
|
|
|
|
content: "";
|
|
|
|
left: @nav-sublist-padding-left - 15px;
|
|
|
|
top: @nav-sublist-padding-vertical;
|
|
|
|
position: absolute;
|
|
|
|
height: calc(100% - 2*@nav-sublist-padding-vertical);
|
|
|
|
border-left: @nav-sublist-border-width solid @nav-sublist-border-color;
|
|
|
|
border-radius: @nav-sublist-border-radius;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2022-11-03 14:49:40 +01:00
|
|
|
.hook-nav-misc() {
|
2022-12-01 09:50:12 +01:00
|
|
|
.uk-nav-sub ul {
|
|
|
|
&:before {
|
2022-12-01 10:10:38 +01:00
|
|
|
content: none;
|
2022-12-01 09:50:12 +01:00
|
|
|
}
|
|
|
|
}
|
2022-11-03 14:49:40 +01:00
|
|
|
|
|
|
|
.uk-nav-default .uk-nav-sub li.uk-active > a {
|
2022-11-28 15:14:26 +01:00
|
|
|
font-weight: @nav-default-sublist-item-active-font-weight;
|
|
|
|
}
|
|
|
|
|
|
|
|
.uk-nav-primary .uk-nav-sub li.uk-active > a {
|
|
|
|
font-weight: @nav-primary-sublist-item-active-font-weight;
|
2022-11-03 14:49:40 +01:00
|
|
|
}
|
|
|
|
|
2023-08-22 16:09:22 +02:00
|
|
|
.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";
|
|
|
|
}
|
2022-11-03 14:49:40 +01:00
|
|
|
}
|
2022-11-28 15:24:37 +01:00
|
|
|
|
|
|
|
.uk-nav-sub .uk-nav-divider {
|
|
|
|
margin-top: @nav-sublist-item-padding-vertical;
|
|
|
|
margin-bottom: @nav-sublist-item-padding-vertical;
|
|
|
|
}
|
2022-11-03 14:49:40 +01:00
|
|
|
}
|