update
Continuous Integration / build_web (push) Failing after 0s
Continuous Integration / build (macos-latest) (push) Skipped
Continuous Integration / build (ubuntu-22.04) (push) Skipped
Continuous Integration / build (windows-11-arm) (push) Skipped
Continuous Integration / build (windows-latest) (push) Skipped
Continuous Integration / nightly_release (push) Skipped

This commit is contained in:
1xDed committed 2026-12-02 08:37:23 +03:00
1 parent 7fb3d6cfa4
commit cbb750a413
67 files changed
+5399 -3413

No files matched your search

+50 -92
View File
@@ -1,57 +1,40 @@
@media (max-width: 980px) {
.library-header-cast,
.library-header-favorite {
display: none !important;
}
.library-toolbar {
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem 1.5rem;
padding: 0 $page-margin;
margin-bottom: 0.25rem;
&-heading {
display: flex;
align-items: center;
gap: 0.6rem;
min-width: 0;
}
&-title {
font-size: 1.35rem !important;
font-weight: 650 !important;
letter-spacing: -0.01em;
}
&-count {
height: 1.7rem !important;
border-radius: 999px !important;
color: rgb(255 255 255 / 0.75) !important;
}
&-controls {
display: flex;
align-items: center;
gap: 0.5rem;
flex-wrap: wrap;
min-width: 0;
}
}
.library-header {
display: flex;
align-items: center;
justify-content: space-between;
// Fixed at the very top so the row of controls sits on the same level as
// the home page header instead of floating further down the page.
inset: 1em 2em auto 2em !important;
border-radius: 9999px;
margin: 0 auto;
position: fixed;
width: calc(100vw - 4em) !important;
z-index: 10;
// Keep the scrolled pill surface behind the controls but above the page.
isolation: isolate;
padding: 0.25em !important;
transition: background-color 0.2s ease-in-out, opacity 0.2s ease-in-out;
html.is-macos & {
// The window has an overlay titlebar: shift the whole pill clear of the
// traffic lights, matching the home header's left edge for the controls.
width: calc(100vw - 4em - 64px) !important;
left: calc(2em + 64px) !important;
right: 2em !important;
}
&::after {
content: "";
position: absolute;
inset: -0.35em;
pointer-events: none;
border-radius: inherit;
// Solid titlebar surface: no glass/blur.
background-color: $clr-background-default;
border: 1px solid rgb(255 255 255 / 0.08);
box-shadow: 0 4px 20px rgb(0 0 0 / 0.4);
opacity: 0;
z-index: -1;
transition: opacity 150ms;
}
&.scrolling {
&::after {
opacity: 1;
}
}
}
.music-shuffle-button {
.material-symbols-rounded {
font-size: 1.15rem;
@@ -70,39 +53,26 @@
}
@media (max-width: 700px) {
.library-header {
inset: calc(0.5em + var(--safe-top)) 0.5em auto 0.5em !important;
width: auto !important;
flex-wrap: wrap;
border-radius: 22px;
padding: 0.3em 0.5em !important;
row-gap: 0.2em;
.library-toolbar {
align-items: flex-start;
gap: 0.4rem;
padding: 0 1rem;
margin-bottom: 0.15rem;
html.is-macos & {
left: 76px !important;
right: 0.5em !important;
width: auto !important;
}
> .flex.flex-row:first-child {
[aria-label="Главная"] {
display: none;
}
}
.library-header-center {
order: 3;
&-heading {
width: 100%;
padding-top: 0.35em;
border-top: 1px solid rgb(255 255 255 / 0.08);
gap: 0.4em !important;
}
.library-title-count {
display: none;
}
&-title {
font-size: 1.15rem !important;
}
&-controls {
width: 100%;
gap: 0.35rem;
.MuiTextField-root {
flex: 1 1 0;
flex: 1 1 8rem;
min-width: 0;
}
@@ -114,17 +84,5 @@
display: none;
}
}
.library-header-actions {
gap: 0.15em !important;
}
}
.library-items {
padding: calc(8.4em + var(--safe-top)) 0.75rem calc(7.5em + var(--safe-bottom)) !important;
}
.alpha-selector {
display: none !important;
}
}