修复布局

This commit is contained in:
CN-JS-HuiBai
2026-04-02 23:01:20 +08:00
parent 52c8466ddd
commit 47246061b2
3 changed files with 74 additions and 15 deletions

View File

@@ -616,7 +616,8 @@ header p {
position: relative;
z-index: 12;
margin: -5.75rem 1rem 0;
padding: 0.9rem 1rem;
width: calc(100% - 2rem);
padding: 0.7rem 0.8rem;
border-radius: 14px;
border: 1px solid var(--panel-border);
background: linear-gradient(180deg, rgba(15, 23, 42, 0.18), rgba(15, 23, 42, 0.86));
@@ -642,7 +643,7 @@ header p {
.controls-right {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 0.5rem;
flex-wrap: nowrap;
flex: 0 0 auto;
}
@@ -708,12 +709,25 @@ header p {
background: rgba(30, 41, 59, 0.9);
color: #f8fafc;
border-radius: 999px;
padding: 0.65rem 1rem;
padding: 0.45rem 0.7rem;
font-size: 0.82rem;
font-weight: 600;
cursor: pointer;
transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.icon-btn {
min-width: 2rem;
width: 2rem;
height: 2rem;
padding: 0;
display: inline-flex;
align-items: center;
justify-content: center;
font-size: 0.95rem;
line-height: 1;
}
.control-btn:hover {
transform: translateY(-1px);
background: rgba(51, 65, 85, 0.95);
@@ -729,29 +743,42 @@ header p {
.volume-control {
display: flex;
align-items: center;
gap: 0.65rem;
min-width: 180px;
gap: 0.45rem;
min-width: 132px;
}
.volume-slider {
width: 96px;
width: 72px;
accent-color: #60a5fa;
cursor: pointer;
}
.volume-value {
min-width: 3.5rem;
min-width: 2.7rem;
color: rgba(226, 232, 240, 0.88);
font-size: 0.9rem;
font-size: 0.8rem;
font-variant-numeric: tabular-nums;
}
.progress-chip {
display: inline-flex;
align-items: center;
padding: 0.34rem 0.55rem;
border-radius: 999px;
background: rgba(15, 23, 42, 0.7);
border: 1px solid rgba(148, 163, 184, 0.16);
color: rgba(226, 232, 240, 0.92);
font-size: 0.76rem;
font-weight: 600;
white-space: nowrap;
}
.speed-control {
display: inline-flex;
align-items: center;
gap: 0.55rem;
gap: 0.4rem;
color: rgba(226, 232, 240, 0.88);
font-size: 0.9rem;
font-size: 0.8rem;
font-weight: 600;
}
@@ -760,7 +787,8 @@ header p {
border: 1px solid rgba(148, 163, 184, 0.24);
background: rgba(30, 41, 59, 0.9);
color: #f8fafc;
padding: 0.55rem 0.85rem;
padding: 0.42rem 0.65rem;
font-size: 0.8rem;
outline: none;
cursor: pointer;
}
@@ -997,6 +1025,7 @@ header p {
.custom-controls {
align-items: center;
margin: -6.25rem 0.75rem 0;
width: calc(100% - 1.5rem);
}
.controls-left,
@@ -1015,12 +1044,12 @@ header p {
.volume-control {
width: auto;
min-width: 150px;
min-width: 112px;
}
.volume-slider {
flex: 0 0 auto;
width: 84px;
width: 64px;
}
.control-seek {