feat(player): match the floating bar to the reference
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
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
- charcoal glass capsule with a circular sleeve and minimal transport - one seek line with current and total time - monochrome like, shuffle, repeat and mute actions on the right; removed the extra queue/device/expand controls
This commit is contained in:
1 parent
94decd674c
commit
5c773841f7
3 files changed
+295
-781
No files matched your search
@@ -1,196 +1,83 @@
|
||||
/* Floating glass media bar — 2026 "liquid glass" treatment:
|
||||
translucent saturated blur, cover-tinted ambient light, a thin specular rim
|
||||
and an almost invisible grain layer so the surface reads as material rather
|
||||
than as a flat translucent box. */
|
||||
|
||||
/* The full audio player is a route; keep the floating bar in the DOM until
|
||||
the view transition has captured the old frame, then hide it. */
|
||||
html.player-full-open .audio-player {
|
||||
display: none !important;
|
||||
}
|
||||
/* Floating media bar, matched to the reference:
|
||||
a single wide charcoal glass capsule, circular sleeve, minimal transport,
|
||||
one long seek line and four monochrome actions. */
|
||||
|
||||
.audio-player {
|
||||
--player-accent: #{$clr-accent-default};
|
||||
--player-base: #1b0f2e;
|
||||
--player-deep: #09040f;
|
||||
|
||||
position: fixed;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0.9rem;
|
||||
bottom: 0.85rem;
|
||||
margin: 0 auto;
|
||||
width: min(1460px, calc(100% - 2rem));
|
||||
height: 84px;
|
||||
width: min(1700px, calc(100% - 3rem));
|
||||
height: 82px;
|
||||
box-sizing: border-box;
|
||||
z-index: 100;
|
||||
isolation: isolate;
|
||||
overflow: hidden;
|
||||
|
||||
display: grid;
|
||||
grid-template-columns:
|
||||
minmax(0, 1fr)
|
||||
minmax(320px, 560px)
|
||||
minmax(0, 1fr);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 1.1rem;
|
||||
padding: 0 0.75rem 0 0.85rem;
|
||||
gap: 1.35rem;
|
||||
padding: 0 1.1rem 0 0.6rem;
|
||||
color: #fff;
|
||||
border-radius: 24px;
|
||||
border: 1px solid rgb(255 255 255 / 0.14);
|
||||
|
||||
background-color: rgb(14 11 24 / 0.55);
|
||||
background-image:
|
||||
radial-gradient(
|
||||
100% 190% at 0% 50%,
|
||||
rgb(255 255 255 / 0.08),
|
||||
transparent 62%
|
||||
),
|
||||
linear-gradient(
|
||||
120deg,
|
||||
rgb(255 255 255 / 0.11),
|
||||
rgb(255 255 255 / 0.025) 38%,
|
||||
rgb(7 5 14 / 0.38) 100%
|
||||
);
|
||||
background-image:
|
||||
radial-gradient(
|
||||
100% 190% at 0% 50%,
|
||||
color-mix(in srgb, var(--player-accent) 20%, transparent),
|
||||
transparent 62%
|
||||
),
|
||||
radial-gradient(
|
||||
90% 160% at 100% 30%,
|
||||
color-mix(in srgb, var(--player-deep) 42%, transparent),
|
||||
transparent 68%
|
||||
),
|
||||
linear-gradient(
|
||||
120deg,
|
||||
rgb(255 255 255 / 0.11),
|
||||
rgb(255 255 255 / 0.025) 38%,
|
||||
rgb(7 5 14 / 0.38) 100%
|
||||
);
|
||||
-webkit-backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
|
||||
backdrop-filter: blur(24px) saturate(170%) brightness(1.06);
|
||||
border-radius: 30px;
|
||||
border: 1px solid rgb(255 255 255 / 0.065);
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgb(47 47 50 / 0.92),
|
||||
rgb(37 37 40 / 0.94)
|
||||
);
|
||||
-webkit-backdrop-filter: blur(22px) saturate(125%);
|
||||
backdrop-filter: blur(22px) saturate(125%);
|
||||
box-shadow:
|
||||
0 28px 70px rgb(0 0 0 / 0.55),
|
||||
0 6px 18px rgb(0 0 0 / 0.35),
|
||||
inset 0 1px 0 rgb(255 255 255 / 0.18),
|
||||
inset 0 -1px 0 rgb(0 0 0 / 0.22);
|
||||
box-shadow:
|
||||
0 28px 70px rgb(0 0 0 / 0.55),
|
||||
0 6px 18px rgb(0 0 0 / 0.35),
|
||||
0 0 55px color-mix(in srgb, var(--player-accent) 13%, transparent),
|
||||
inset 0 1px 0 rgb(255 255 255 / 0.18),
|
||||
inset 0 -1px 0 rgb(0 0 0 / 0.22);
|
||||
0 20px 46px rgb(0 0 0 / 0.5),
|
||||
0 4px 14px rgb(0 0 0 / 0.3),
|
||||
inset 0 1px 0 rgb(255 255 255 / 0.07);
|
||||
|
||||
will-change: transform, opacity;
|
||||
transform-origin: 50% 100%;
|
||||
|
||||
/* Grain, kept below the content. */
|
||||
&::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 0;
|
||||
border-radius: inherit;
|
||||
pointer-events: none;
|
||||
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
|
||||
background-size: 140px 140px;
|
||||
opacity: 0.035;
|
||||
mix-blend-mode: soft-light;
|
||||
}
|
||||
|
||||
/* Specular gradient rim. */
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: 1;
|
||||
border-radius: inherit;
|
||||
padding: 1px;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(
|
||||
135deg,
|
||||
rgb(255 255 255 / 0.45),
|
||||
rgb(255 255 255 / 0.06) 30%,
|
||||
rgb(255 255 255 / 0.02) 62%,
|
||||
rgb(255 255 255 / 0.25)
|
||||
);
|
||||
-webkit-mask:
|
||||
linear-gradient(#000 0 0) content-box,
|
||||
linear-gradient(#000 0 0);
|
||||
-webkit-mask-composite: xor;
|
||||
mask:
|
||||
linear-gradient(#000 0 0) content-box,
|
||||
linear-gradient(#000 0 0);
|
||||
mask-composite: exclude;
|
||||
opacity: 0.9;
|
||||
}
|
||||
|
||||
> * {
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
}
|
||||
}
|
||||
|
||||
.media-bar {
|
||||
&-left {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.8rem;
|
||||
width: 100%;
|
||||
flex: 0 0 285px;
|
||||
width: 285px;
|
||||
gap: 0.9rem;
|
||||
min-width: 0;
|
||||
max-width: 380px;
|
||||
}
|
||||
|
||||
&-cover {
|
||||
position: relative;
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
flex: 0 0 58px;
|
||||
width: 64px;
|
||||
height: 64px;
|
||||
flex: 0 0 64px;
|
||||
padding: 0;
|
||||
border: 1px solid rgb(255 255 255 / 0.16);
|
||||
border-radius: 16px;
|
||||
border: 2px solid #d9d9d9;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: rgb(255 255 255 / 0.08);
|
||||
background: #111;
|
||||
color: rgb(255 255 255 / 0.55);
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 8px 22px rgb(0 0 0 / 0.45),
|
||||
inset 0 0 0 1px rgb(255 255 255 / 0.06);
|
||||
box-shadow:
|
||||
0 8px 22px rgb(0 0 0 / 0.45),
|
||||
0 0 22px color-mix(in srgb, var(--player-accent) 22%, transparent),
|
||||
inset 0 0 0 1px rgb(255 255 255 / 0.06);
|
||||
0 0 0 3px rgb(0 0 0 / 0.28),
|
||||
0 6px 16px rgb(0 0 0 / 0.4);
|
||||
|
||||
img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
object-fit: cover;
|
||||
transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
border-radius: inherit;
|
||||
pointer-events: none;
|
||||
background: linear-gradient(
|
||||
180deg,
|
||||
rgb(255 255 255 / 0.2),
|
||||
transparent 34%,
|
||||
rgb(0 0 0 / 0.2)
|
||||
);
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
&:hover img,
|
||||
&:focus-visible img {
|
||||
transform: scale(1.06);
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
img {
|
||||
transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
@@ -207,71 +94,38 @@ html.player-full-open .audio-player {
|
||||
}
|
||||
|
||||
&-title {
|
||||
font-size: 0.92rem !important;
|
||||
font-weight: 650 !important;
|
||||
font-size: 1.18rem !important;
|
||||
font-weight: 600 !important;
|
||||
line-height: 1.2 !important;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
cursor: pointer;
|
||||
text-shadow: 0 1px 10px rgb(0 0 0 / 0.25);
|
||||
|
||||
&:hover,
|
||||
&:focus-visible {
|
||||
text-decoration: underline;
|
||||
text-decoration-color: rgb(255 255 255 / 0.35);
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
}
|
||||
|
||||
&-subtitle {
|
||||
font-size: 0.72rem !important;
|
||||
font-size: 0.9rem !important;
|
||||
line-height: 1.3 !important;
|
||||
opacity: 0.55;
|
||||
letter-spacing: 0.01em;
|
||||
color: rgb(255 255 255 / 0.5) !important;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&-more {
|
||||
flex-shrink: 0;
|
||||
color: rgb(255 255 255 / 0.55) !important;
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
background-color 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
color: #fff !important;
|
||||
background: rgb(255 255 255 / 0.08) !important;
|
||||
}
|
||||
}
|
||||
|
||||
&-center {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
gap: 1px;
|
||||
}
|
||||
|
||||
&-controls {
|
||||
&-transport {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-self: center;
|
||||
gap: 0.05rem;
|
||||
padding: 3px;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 0.045);
|
||||
border: 1px solid rgb(255 255 255 / 0.07);
|
||||
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08);
|
||||
flex: 0 0 auto;
|
||||
gap: 0.7rem;
|
||||
|
||||
.MuiIconButton-root {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
border-radius: 50%;
|
||||
color: rgb(255 255 255 / 0.68);
|
||||
color: rgb(255 255 255 / 0.92);
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
background-color 0.15s ease,
|
||||
@@ -279,188 +133,134 @@ html.player-full-open .audio-player {
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: rgb(255 255 255 / 0.09);
|
||||
transform: translateY(-1px);
|
||||
background: rgb(255 255 255 / 0.06);
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: var(--player-accent);
|
||||
background: color-mix(
|
||||
in srgb,
|
||||
var(--player-accent) 13%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-play {
|
||||
width: 44px !important;
|
||||
height: 44px !important;
|
||||
margin: 0 0.3rem;
|
||||
background: #fff !important;
|
||||
color: #100a1b !important;
|
||||
box-shadow:
|
||||
0 8px 24px rgb(0 0 0 / 0.45),
|
||||
0 0 0 1px rgb(255 255 255 / 0.25);
|
||||
box-shadow:
|
||||
0 8px 24px rgb(0 0 0 / 0.45),
|
||||
0 0 0 1px rgb(255 255 255 / 0.25),
|
||||
0 0 26px color-mix(in srgb, var(--player-accent) 24%, transparent);
|
||||
transition:
|
||||
transform 0.16s ease,
|
||||
box-shadow 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
background: #fff !important;
|
||||
transform: scale(1.06);
|
||||
box-shadow:
|
||||
0 10px 28px rgb(0 0 0 / 0.5),
|
||||
0 0 0 1px rgb(255 255 255 / 0.35),
|
||||
0 0 34px color-mix(
|
||||
in srgb,
|
||||
var(--player-accent) 34%,
|
||||
transparent
|
||||
);
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
font-size: 1.55rem !important;
|
||||
font-size: 1.45rem;
|
||||
font-variation-settings: "FILL" 1;
|
||||
}
|
||||
}
|
||||
|
||||
&-step {
|
||||
width: 40px !important;
|
||||
height: 40px !important;
|
||||
}
|
||||
|
||||
&-play {
|
||||
width: 48px !important;
|
||||
height: 48px !important;
|
||||
margin: 0 0.1rem;
|
||||
background: #fff !important;
|
||||
color: #161616 !important;
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 0.25);
|
||||
|
||||
&:hover {
|
||||
background: #fff !important;
|
||||
transform: scale(1.04);
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
font-size: 1.6rem !important;
|
||||
font-variation-settings: "FILL" 1;
|
||||
}
|
||||
}
|
||||
|
||||
&-progress {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex: 1;
|
||||
min-width: 140px;
|
||||
min-width: 120px;
|
||||
gap: 1rem;
|
||||
padding-right: 0.2rem;
|
||||
|
||||
.MuiSlider-root {
|
||||
padding: 7px 0;
|
||||
color: var(--player-accent);
|
||||
flex: 1;
|
||||
padding: 8px 0;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.MuiSlider-rail {
|
||||
height: 4px;
|
||||
height: 3px;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 0.13);
|
||||
background: rgb(255 255 255 / 0.28);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.MuiSlider-track {
|
||||
height: 4px;
|
||||
height: 3px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgb(255 255 255 / 0.95),
|
||||
var(--player-accent)
|
||||
);
|
||||
box-shadow: 0 0 12px
|
||||
color-mix(in srgb, var(--player-accent) 45%, transparent);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.MuiSlider-thumb {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
background: #fff;
|
||||
box-shadow:
|
||||
0 0 0 4px color-mix(
|
||||
in srgb,
|
||||
var(--player-accent) 16%,
|
||||
transparent
|
||||
),
|
||||
0 2px 8px rgb(0 0 0 / 0.5);
|
||||
box-shadow: 0 0 0 3px rgb(255 255 255 / 0.12);
|
||||
transition:
|
||||
transform 0.15s ease,
|
||||
box-shadow 0.2s ease;
|
||||
box-shadow 0.15s ease;
|
||||
|
||||
&:hover,
|
||||
&.Mui-focusVisible {
|
||||
transform: scale(1.15);
|
||||
box-shadow:
|
||||
0 0 0 6px color-mix(
|
||||
in srgb,
|
||||
var(--player-accent) 20%,
|
||||
transparent
|
||||
),
|
||||
0 2px 10px rgb(0 0 0 / 0.55);
|
||||
transform: scale(1.12);
|
||||
box-shadow: 0 0 0 5px rgb(255 255 255 / 0.14);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.MuiTypography-root {
|
||||
min-width: 2.6em !important;
|
||||
font-family: var(--font-mono);
|
||||
font-size: 0.66rem;
|
||||
opacity: 0.5 !important;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
&-time {
|
||||
flex: 0 0 auto;
|
||||
font-size: 0.8rem;
|
||||
font-weight: 400;
|
||||
color: rgb(255 255 255 / 0.48);
|
||||
font-variant-numeric: tabular-nums;
|
||||
letter-spacing: 0.01em;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
&-right {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: flex-end;
|
||||
gap: 0.05rem;
|
||||
flex-shrink: 0;
|
||||
padding: 3px 4px;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 0.035);
|
||||
border: 1px solid rgb(255 255 255 / 0.055);
|
||||
box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.06);
|
||||
flex: 0 0 auto;
|
||||
gap: 0.35rem;
|
||||
|
||||
.MuiIconButton-root {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
color: rgb(255 255 255 / 0.62);
|
||||
color: rgb(255 255 255 / 0.68);
|
||||
transition:
|
||||
color 0.15s ease,
|
||||
background-color 0.15s ease;
|
||||
|
||||
&:hover {
|
||||
color: #fff;
|
||||
background: rgb(255 255 255 / 0.08);
|
||||
background: rgb(255 255 255 / 0.06);
|
||||
}
|
||||
|
||||
&.active {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.material-symbols-rounded {
|
||||
font-size: 1.2rem;
|
||||
font-size: 1.3rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
&-volume {
|
||||
width: 92px !important;
|
||||
margin: 0 0.25rem 0 0 !important;
|
||||
color: var(--player-accent) !important;
|
||||
&-like {
|
||||
display: flex;
|
||||
filter: grayscale(1);
|
||||
|
||||
.MuiSlider-rail {
|
||||
height: 3px;
|
||||
border-radius: 999px;
|
||||
background: rgb(255 255 255 / 0.14);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.MuiSlider-track {
|
||||
height: 3px;
|
||||
border: 0;
|
||||
border-radius: 999px;
|
||||
background: linear-gradient(
|
||||
90deg,
|
||||
rgb(255 255 255 / 0.9),
|
||||
var(--player-accent)
|
||||
);
|
||||
}
|
||||
|
||||
.MuiSlider-thumb {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
background: #fff;
|
||||
box-shadow: 0 0 0 3px
|
||||
color-mix(in srgb, var(--player-accent) 16%, transparent);
|
||||
.MuiIconButton-root {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 50%;
|
||||
color: rgb(255 255 255 / 0.68);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -469,121 +269,123 @@ html.player-full-open .audio-player {
|
||||
(backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))
|
||||
) {
|
||||
.audio-player {
|
||||
background: rgb(14 11 24 / 0.96);
|
||||
}
|
||||
|
||||
.audio-player::before {
|
||||
display: none;
|
||||
background: rgb(38 38 41 / 0.97);
|
||||
}
|
||||
}
|
||||
|
||||
@media (prefers-reduced-transparency: reduce) {
|
||||
.audio-player {
|
||||
background: rgb(14 11 24 / 0.96);
|
||||
background: rgb(38 38 41 / 0.97);
|
||||
-webkit-backdrop-filter: none;
|
||||
backdrop-filter: none;
|
||||
}
|
||||
|
||||
.audio-player::before {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@media (max-width: 1200px) {
|
||||
.audio-player {
|
||||
gap: 0.8rem;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
.media-bar-left {
|
||||
max-width: 320px;
|
||||
flex: 0 0 240px;
|
||||
width: 240px;
|
||||
}
|
||||
|
||||
.media-bar-volume {
|
||||
width: 72px !important;
|
||||
.media-bar-title {
|
||||
font-size: 1.06rem !important;
|
||||
}
|
||||
|
||||
.media-bar-subtitle {
|
||||
font-size: 0.82rem !important;
|
||||
}
|
||||
|
||||
.media-bar-right {
|
||||
gap: 0.1rem;
|
||||
|
||||
.MuiIconButton-root,
|
||||
.media-bar-like .MuiIconButton-root {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 900px) {
|
||||
.audio-player {
|
||||
width: calc(100% - 1.5rem);
|
||||
gap: 0.7rem;
|
||||
}
|
||||
|
||||
.media-bar-left {
|
||||
min-width: 180px;
|
||||
max-width: none;
|
||||
flex: 0 0 210px;
|
||||
width: 210px;
|
||||
}
|
||||
|
||||
.media-bar-volume,
|
||||
.media-bar-right .MuiSlider-root {
|
||||
display: none;
|
||||
.media-bar-cover {
|
||||
width: 54px;
|
||||
height: 54px;
|
||||
flex: 0 0 54px;
|
||||
}
|
||||
|
||||
.media-bar-time {
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.media-bar-right .MuiIconButton-root,
|
||||
.media-bar-like .MuiIconButton-root {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 700px) {
|
||||
.audio-player {
|
||||
display: flex;
|
||||
width: calc(100% - 1rem);
|
||||
height: 68px;
|
||||
bottom: 0.55rem;
|
||||
height: 64px;
|
||||
bottom: 0.5rem;
|
||||
padding: 0 0.55rem;
|
||||
gap: 0.45rem;
|
||||
border-radius: 20px;
|
||||
gap: 0.5rem;
|
||||
border-radius: 22px;
|
||||
}
|
||||
|
||||
.media-bar-left {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
max-width: none;
|
||||
flex: 1 1 auto;
|
||||
width: auto;
|
||||
gap: 0.55rem;
|
||||
}
|
||||
|
||||
.media-bar-cover {
|
||||
width: 46px;
|
||||
height: 46px;
|
||||
flex: 0 0 46px;
|
||||
border-radius: 13px;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
flex: 0 0 44px;
|
||||
border-width: 1.5px;
|
||||
}
|
||||
|
||||
.media-bar-more {
|
||||
display: none;
|
||||
.media-bar-title {
|
||||
font-size: 0.92rem !important;
|
||||
}
|
||||
|
||||
.media-bar-center {
|
||||
.media-bar-subtitle {
|
||||
font-size: 0.72rem !important;
|
||||
}
|
||||
|
||||
.media-bar-transport {
|
||||
flex: 0 0 auto;
|
||||
gap: 0;
|
||||
}
|
||||
|
||||
.media-bar-controls {
|
||||
padding: 2px;
|
||||
|
||||
> :first-child,
|
||||
> :last-child {
|
||||
.media-bar-step {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.MuiIconButton-root {
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
.media-bar-play {
|
||||
width: 40px !important;
|
||||
height: 40px !important;
|
||||
margin: 0;
|
||||
}
|
||||
}
|
||||
|
||||
.media-bar-play {
|
||||
width: 40px !important;
|
||||
height: 40px !important;
|
||||
margin: 0 0.15rem;
|
||||
}
|
||||
|
||||
.media-bar-progress,
|
||||
.media-bar-right {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.media-bar-title {
|
||||
font-size: 0.86rem !important;
|
||||
}
|
||||
|
||||
.media-bar-subtitle {
|
||||
font-size: 0.67rem !important;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user