feature: AudioPlayerBar Layout Enhancements
This commit is contained in:
@@ -80,7 +80,7 @@
|
|||||||
display: grid;
|
display: grid;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding-right: 2.5rem; /* clear the abs-positioned PlayerWindowControls */
|
/*padding-right: 2.5rem; !* clear the abs-positioned PlayerWindowControls *!*/
|
||||||
}
|
}
|
||||||
|
|
||||||
::deep .transport-zone { grid-area: transport; }
|
::deep .transport-zone { grid-area: transport; }
|
||||||
@@ -112,7 +112,19 @@
|
|||||||
|
|
||||||
/* Narrow (< 600px): transport + volume share the top row; waveform then metadata stack full-width
|
/* Narrow (< 600px): transport + volume share the top row; waveform then metadata stack full-width
|
||||||
below — the most compressed shape. */
|
below — the most compressed shape. */
|
||||||
@media (max-width: 599.98px) {
|
@media (min-width: 420px) and (max-width: 599.98px) {
|
||||||
|
.player-layout {
|
||||||
|
grid-template-columns: auto 1fr auto;
|
||||||
|
grid-template-areas:
|
||||||
|
"transport . volume"
|
||||||
|
"waveform waveform waveform"
|
||||||
|
"meta meta meta";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Very Narrow (< 400px): transport + volume share the top row; waveform then metadata stack full-width
|
||||||
|
below — the most compressed shape. */
|
||||||
|
@media (max-width: 419.98px) {
|
||||||
.player-layout {
|
.player-layout {
|
||||||
grid-template-columns: auto 1fr auto;
|
grid-template-columns: auto 1fr auto;
|
||||||
grid-template-areas:
|
grid-template-areas:
|
||||||
|
|||||||
@@ -67,22 +67,14 @@
|
|||||||
::deep .track-meta-sep {
|
::deep .track-meta-sep {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
@media (max-width: 899.98px) {
|
|
||||||
::deep .track-meta-year {
|
::deep .track-meta-year {
|
||||||
padding-left: 8px;
|
padding-left: 8px;
|
||||||
padding-right: 8px;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* Narrow band (<600): fully vertical — title / artist / genre / year all stacked, left-aligned. */
|
|
||||||
@media (max-width: 599.98px) {
|
|
||||||
.track-meta-row {
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: flex-start;
|
|
||||||
gap: 4px;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
/* Narrow band (<600): fully vertical — title / artist / genre / year all stacked, left-aligned. */
|
||||||
|
@media (min-width: 420px) and (max-width: 599.98px) {
|
||||||
.track-meta-identity {
|
.track-meta-identity {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
align-items: flex-start;
|
align-items: flex-start;
|
||||||
@@ -98,4 +90,16 @@
|
|||||||
::deep .track-meta-sep {
|
::deep .track-meta-sep {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
::deep .track-meta-year {
|
||||||
|
padding-left: 8px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (max-width: 419.98px) {
|
||||||
|
.track-meta-row {
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: flex-start;
|
||||||
|
gap: 4px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user