2023-02-28 08:29:30 +00:00
|
|
|
.layout-sidebar {
|
2023-10-07 14:52:00 +00:00
|
|
|
position: sticky;
|
2023-02-28 08:29:30 +00:00
|
|
|
left: 0;
|
2023-10-09 07:21:14 +00:00
|
|
|
top: 6rem;
|
2023-10-07 19:43:10 +00:00
|
|
|
height: calc(100vh - 9rem);
|
2023-02-28 08:29:30 +00:00
|
|
|
user-select: none;
|
2023-10-07 19:43:10 +00:00
|
|
|
transition: transform .4s cubic-bezier(.05,.74,.2,.99), opacity .3s;
|
2023-02-28 08:29:30 +00:00
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
2023-10-07 19:43:10 +00:00
|
|
|
padding: 0 0 0 0;
|
2023-10-07 15:46:59 +00:00
|
|
|
flex: 0 0 250px;
|
2024-10-21 07:46:05 +00:00
|
|
|
margin-inline-end: 4rem;
|
2023-10-07 19:43:10 +00:00
|
|
|
overflow: auto;
|
2023-02-28 08:29:30 +00:00
|
|
|
|
|
|
|
.logo {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
2024-10-21 07:46:05 +00:00
|
|
|
padding: 0;
|
|
|
|
padding-inline-end: 1rem;
|
2023-10-13 22:20:40 +00:00
|
|
|
margin: 0;
|
2023-02-28 08:29:30 +00:00
|
|
|
flex-grow: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.layout-menu {
|
|
|
|
list-style: none;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
|
|
|
|
> li {
|
2023-09-16 12:01:29 +00:00
|
|
|
margin-bottom: .25rem;
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2024-03-28 14:34:15 +00:00
|
|
|
> button,
|
2023-02-28 08:29:30 +00:00
|
|
|
> a {
|
|
|
|
display: flex;
|
|
|
|
width: 100%;
|
|
|
|
align-items: center;
|
2024-02-11 21:25:50 +00:00
|
|
|
padding: .5rem 1px;
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-color);
|
2023-02-28 08:29:30 +00:00
|
|
|
font-weight: 600;
|
2024-02-11 21:25:50 +00:00
|
|
|
transition: outline-color 0.2s;
|
|
|
|
outline-color: transparent;
|
2024-02-04 22:21:29 +00:00
|
|
|
position: relative;
|
2024-03-28 14:34:15 +00:00
|
|
|
background: transparent;
|
|
|
|
font-size: 1rem;
|
|
|
|
border: 0 none;
|
|
|
|
margin: 0;
|
2024-07-25 06:24:30 +00:00
|
|
|
text-align: left;
|
2024-03-28 14:34:15 +00:00
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
2024-07-25 06:24:30 +00:00
|
|
|
--p-focus-ring-offset: -1px;
|
2024-03-28 14:34:15 +00:00
|
|
|
@include focus-visible();
|
2023-02-28 08:29:30 +00:00
|
|
|
|
|
|
|
.menu-icon {
|
|
|
|
width: 2rem;
|
|
|
|
height: 2rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
border-radius: 6px;
|
2024-10-21 07:46:05 +00:00
|
|
|
margin-inline-end: .5rem;
|
2024-02-11 21:25:50 +00:00
|
|
|
border: 1px solid var(--border-color);
|
2023-02-28 08:29:30 +00:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2023-09-16 12:01:29 +00:00
|
|
|
transition: all .2s;
|
2024-02-04 22:21:29 +00:00
|
|
|
position: relative;
|
|
|
|
background-color: transparent;
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
i {
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
transition: all .2s;
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
}
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
.menu-toggle-icon {
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-secondary-color);
|
2024-10-21 07:46:05 +00:00
|
|
|
margin-inline-start: auto;
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
2023-09-16 12:01:29 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
.menu-icon {
|
2024-02-11 21:25:50 +00:00
|
|
|
background-color: var(--card-background);
|
2024-02-04 22:21:29 +00:00
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
i {
|
2024-02-11 21:25:50 +00:00
|
|
|
color: var(--primary-text-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.menu-toggle-icon {
|
2024-02-11 21:25:50 +00:00
|
|
|
color: var(--text-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.router-link-active {
|
2024-02-11 21:25:50 +00:00
|
|
|
color: var(--primary-text-color);
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
> .menu-icon {
|
|
|
|
i {
|
2024-02-11 21:25:50 +00:00
|
|
|
color: var(--primary-text-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
> div {
|
2024-05-20 11:17:48 +00:00
|
|
|
overflow: hidden;
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
ol {
|
2024-10-21 07:46:05 +00:00
|
|
|
margin: 0;
|
|
|
|
margin-inline-start: 1rem;
|
2023-09-16 12:01:29 +00:00
|
|
|
padding: .25rem 0;
|
|
|
|
list-style: none;
|
|
|
|
|
|
|
|
li {
|
|
|
|
a {
|
2024-10-21 07:46:05 +00:00
|
|
|
border-inline-start: 1px solid var(--border-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
transition: all .2s;
|
2023-10-10 11:59:58 +00:00
|
|
|
font-weight: 450;
|
2023-09-16 12:01:29 +00:00
|
|
|
display: flex;
|
2024-02-04 22:21:29 +00:00
|
|
|
align-items: center;
|
2024-10-21 07:46:05 +00:00
|
|
|
padding: .5rem;
|
|
|
|
padding-inline-start: 1rem;
|
2024-06-12 21:12:30 +00:00
|
|
|
color: var(--text-secondary-color);
|
2024-02-11 21:25:50 +00:00
|
|
|
transition: outline-color 0.2s, border-color .2s;
|
|
|
|
outline-color: transparent;
|
2024-02-04 22:21:29 +00:00
|
|
|
position: relative;
|
2024-04-02 07:44:31 +00:00
|
|
|
--p-focus-ring-offset: -1px;
|
2024-07-25 06:24:30 +00:00
|
|
|
@include focus-visible();
|
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
&:hover {
|
2024-02-11 21:25:50 +00:00
|
|
|
border-left-color: var(--hover-border-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
&.router-link-active {
|
2024-02-11 21:25:50 +00:00
|
|
|
color: var(--primary-text-color);
|
|
|
|
border-left-color: var(--primary-text-color);
|
2023-09-16 12:01:29 +00:00
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
ol {
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
|
2023-09-16 12:01:29 +00:00
|
|
|
&:has(.menu-child-category) {
|
|
|
|
margin-top: 1rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:has(.menu-child-category):first-child {
|
|
|
|
margin-top: 0rem;
|
|
|
|
}
|
|
|
|
}
|
2023-02-28 08:29:30 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2024-02-04 22:21:29 +00:00
|
|
|
.p-tag {
|
|
|
|
position: absolute;
|
2024-10-21 07:46:05 +00:00
|
|
|
inset-inline-end: 0;
|
2024-02-04 22:21:29 +00:00
|
|
|
top: 50%;
|
|
|
|
transform: translateY(-50%);
|
2024-07-25 06:24:30 +00:00
|
|
|
|
2024-07-27 14:43:22 +00:00
|
|
|
.p-tag-label {
|
2024-02-04 22:21:29 +00:00
|
|
|
line-height: 1;
|
2024-07-27 14:43:22 +00:00
|
|
|
font-size: 0.75rem;
|
2024-02-04 22:21:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-02-28 08:29:30 +00:00
|
|
|
.menu-child-category {
|
|
|
|
display: flex;
|
2024-10-21 07:46:05 +00:00
|
|
|
padding: .5rem;
|
|
|
|
padding-inline-start: 0;
|
2023-02-28 08:29:30 +00:00
|
|
|
font-size: .875rem;
|
2023-09-16 12:01:29 +00:00
|
|
|
font-weight: 600;
|
2023-02-28 08:29:30 +00:00
|
|
|
letter-spacing: 1px;
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--text-secondary-color);
|
2023-02-28 08:29:30 +00:00
|
|
|
margin-bottom: .25rem;
|
|
|
|
}
|
|
|
|
}
|
2024-07-25 06:24:30 +00:00
|
|
|
}
|