2025-12-04 21:07:18 +03:30
|
|
|
@use "mixins" as *;
|
2024-12-27 16:00:31 +03:00
|
|
|
|
|
|
|
|
.layout-topbar {
|
2025-12-04 21:07:18 +03:30
|
|
|
position: fixed;
|
|
|
|
|
height: 4rem;
|
|
|
|
|
z-index: 997;
|
|
|
|
|
right: 0;
|
|
|
|
|
top: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 0 2rem;
|
|
|
|
|
background-color: var(--surface-card);
|
|
|
|
|
transition: left var(--layout-section-transition-duration);
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
|
|
.layout-topbar-logo-container {
|
|
|
|
|
width: 28rem;
|
2024-12-27 16:00:31 +03:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
2025-12-04 21:07:18 +03:30
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-logo {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
border-radius: var(--content-border-radius);
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
|
|
|
|
|
svg {
|
|
|
|
|
width: 3rem;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
&:focus-visible {
|
|
|
|
|
@include focused();
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-action {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
align-items: center;
|
|
|
|
|
color: var(--text-color-secondary);
|
|
|
|
|
border-radius: 50%;
|
|
|
|
|
width: 2.5rem;
|
|
|
|
|
height: 2.5rem;
|
|
|
|
|
color: var(--text-color);
|
|
|
|
|
transition: background-color var(--element-transition-duration);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: var(--surface-hover);
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
&:focus-visible {
|
|
|
|
|
@include focused();
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
i {
|
|
|
|
|
font-size: 1.25rem;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
span {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
&.layout-topbar-action-highlight {
|
|
|
|
|
background-color: var(--primary-color);
|
|
|
|
|
color: var(--primary-contrast-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-menu-button {
|
|
|
|
|
margin-inline-end: 0.5rem;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-menu-button {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-actions {
|
|
|
|
|
margin-inline-start: auto;
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-menu-content {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-config-menu {
|
|
|
|
|
display: flex;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
@media (max-width: 991px) {
|
|
|
|
|
.layout-topbar {
|
|
|
|
|
padding: 0 2rem;
|
|
|
|
|
|
|
|
|
|
.layout-topbar-logo-container {
|
|
|
|
|
width: auto;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-menu-button {
|
|
|
|
|
margin-inline-start: 0;
|
|
|
|
|
margin-inline-end: 0.5rem;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-menu-button {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-menu {
|
|
|
|
|
position: absolute;
|
|
|
|
|
background-color: var(--surface-overlay);
|
|
|
|
|
transform-origin: top;
|
|
|
|
|
box-shadow:
|
|
|
|
|
0px 3px 5px rgba(0, 0, 0, 0.02),
|
|
|
|
|
0px 0px 2px rgba(0, 0, 0, 0.05),
|
|
|
|
|
0px 1px 4px rgba(0, 0, 0, 0.08);
|
|
|
|
|
border-radius: var(--content-border-radius);
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
left: 2rem;
|
|
|
|
|
top: 4rem;
|
|
|
|
|
min-width: 15rem;
|
|
|
|
|
border: 1px solid var(--surface-border);
|
|
|
|
|
|
|
|
|
|
.layout-topbar-menu-content {
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-action {
|
|
|
|
|
display: flex;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: auto;
|
|
|
|
|
justify-content: flex-start;
|
|
|
|
|
border-radius: var(--content-border-radius);
|
|
|
|
|
padding: 0.5rem 1rem;
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
i {
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
margin-inline-end: 0.5rem;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
|
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
span {
|
|
|
|
|
font-weight: medium;
|
|
|
|
|
display: block;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
2025-12-04 21:07:18 +03:30
|
|
|
}
|
|
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
|
2025-12-04 21:07:18 +03:30
|
|
|
.layout-topbar-menu-content {
|
|
|
|
|
flex-direction: column;
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|
2025-12-04 21:07:18 +03:30
|
|
|
}
|
2024-12-27 16:00:31 +03:00
|
|
|
}
|