Add service mode set-list view with screen wake lock
This commit is contained in:
@@ -2458,3 +2458,271 @@ input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.25); }
|
||||
}
|
||||
.ve-marker-a { left: 0; }
|
||||
.ve-marker-b { right: 0; }
|
||||
|
||||
/* ===================== Service Mode (Set-List View) ===================== */
|
||||
.service-mode {
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
height: 100dvh;
|
||||
background: var(--bg);
|
||||
color: var(--text);
|
||||
z-index: 110;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: calc(env(safe-area-inset-top, 0px) + 24px)
|
||||
calc(env(safe-area-inset-right, 0px) + 28px)
|
||||
calc(env(safe-area-inset-bottom, 0px) + 28px)
|
||||
calc(env(safe-area-inset-left, 0px) + 28px);
|
||||
box-sizing: border-box;
|
||||
animation: fade 0.2s var(--ease);
|
||||
overflow-y: auto;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.service-topbar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.service-wake-state {
|
||||
font-family: var(--ui);
|
||||
font-size: 13px;
|
||||
color: var(--text-dim);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
letter-spacing: 0.01em;
|
||||
transition: color 0.2s var(--ease);
|
||||
}
|
||||
|
||||
.service-wake-state::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--line);
|
||||
transition: background 0.2s var(--ease), box-shadow 0.2s var(--ease);
|
||||
}
|
||||
|
||||
.service-wake-state.awake {
|
||||
color: var(--text-2);
|
||||
}
|
||||
|
||||
.service-wake-state.awake::before {
|
||||
background: #34d399;
|
||||
box-shadow: 0 0 10px rgba(52, 211, 153, 0.6);
|
||||
}
|
||||
|
||||
.service-exit-btn {
|
||||
background: var(--bg-3);
|
||||
border: 1px solid var(--line);
|
||||
color: var(--text);
|
||||
padding: 9px 18px;
|
||||
border-radius: var(--radius-sm);
|
||||
font-family: var(--ui);
|
||||
font-size: 13.5px;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 40px;
|
||||
touch-action: manipulation;
|
||||
transition: all 0.16s var(--ease);
|
||||
}
|
||||
|
||||
.service-exit-btn:hover {
|
||||
background: var(--bg-2);
|
||||
border-color: var(--accent);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
|
||||
.service-exit-btn:active {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.service-center {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
text-align: center;
|
||||
max-width: 900px;
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
padding: 24px 0;
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
|
||||
.service-meta {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.service-title {
|
||||
margin: 0 0 12px;
|
||||
font-family: var(--display);
|
||||
font-weight: 800;
|
||||
font-size: clamp(28px, 5.5vw, 56px);
|
||||
line-height: 1.15;
|
||||
letter-spacing: -0.02em;
|
||||
color: var(--text);
|
||||
max-width: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.service-channel {
|
||||
font-family: var(--ui);
|
||||
font-size: clamp(16px, 2.5vw, 22px);
|
||||
color: var(--text-2);
|
||||
font-weight: 500;
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
|
||||
.service-note {
|
||||
background: var(--bg-2);
|
||||
border: 1px solid var(--line);
|
||||
border-radius: var(--radius-sm);
|
||||
padding: 14px 20px;
|
||||
margin: 12px 0 0;
|
||||
color: var(--text);
|
||||
font-family: var(--ui);
|
||||
font-size: clamp(14px, 2vw, 17px);
|
||||
line-height: 1.5;
|
||||
max-width: 680px;
|
||||
width: calc(100% - 32px);
|
||||
text-align: left;
|
||||
white-space: pre-wrap;
|
||||
word-break: break-word;
|
||||
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
|
||||
}
|
||||
|
||||
.service-upnext {
|
||||
margin-top: 24px;
|
||||
font-family: var(--ui);
|
||||
font-size: clamp(15px, 2.2vw, 20px);
|
||||
color: var(--text-dim);
|
||||
font-weight: 500;
|
||||
letter-spacing: -0.01em;
|
||||
max-width: 100%;
|
||||
word-break: break-word;
|
||||
}
|
||||
|
||||
.service-bottom {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
width: 100%;
|
||||
max-width: 900px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.service-time {
|
||||
font-family: var(--mono);
|
||||
font-size: clamp(17px, 2.8vw, 24px);
|
||||
color: var(--text-2);
|
||||
letter-spacing: 0.04em;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.service-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: clamp(18px, 4vw, 36px);
|
||||
}
|
||||
|
||||
.service-btn {
|
||||
background: var(--bg-2);
|
||||
border: 1px solid var(--line);
|
||||
color: var(--text);
|
||||
border-radius: 50%;
|
||||
width: clamp(56px, 12vw, 70px);
|
||||
height: clamp(56px, 12vw, 70px);
|
||||
font-size: clamp(20px, 4vw, 26px);
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
cursor: pointer;
|
||||
touch-action: manipulation;
|
||||
transition: all 0.16s var(--ease);
|
||||
}
|
||||
|
||||
.service-btn:hover {
|
||||
background: var(--bg-3);
|
||||
border-color: var(--text-dim);
|
||||
transform: scale(1.06);
|
||||
}
|
||||
|
||||
.service-btn:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
.service-btn-play {
|
||||
width: clamp(72px, 15vw, 92px);
|
||||
height: clamp(72px, 15vw, 92px);
|
||||
font-size: clamp(28px, 5.5vw, 38px);
|
||||
background: linear-gradient(145deg, var(--accent-bright), var(--accent-deep));
|
||||
border: none;
|
||||
color: #fff;
|
||||
box-shadow: 0 10px 28px -6px var(--accent-glow);
|
||||
}
|
||||
|
||||
.service-btn-play:hover {
|
||||
background: linear-gradient(145deg, var(--accent-bright), var(--accent-deep));
|
||||
box-shadow: 0 14px 34px -4px var(--accent-glow);
|
||||
transform: scale(1.06);
|
||||
}
|
||||
|
||||
.service-btn-play:active {
|
||||
transform: scale(0.95);
|
||||
}
|
||||
|
||||
@media (max-height: 520px) {
|
||||
.service-mode {
|
||||
padding: 12px 20px;
|
||||
}
|
||||
.service-center {
|
||||
padding: 8px 0;
|
||||
}
|
||||
.service-title {
|
||||
font-size: clamp(22px, 4.5vh, 32px);
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.service-channel {
|
||||
font-size: 14px;
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
.service-upnext {
|
||||
margin-top: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
.service-bottom {
|
||||
gap: 10px;
|
||||
}
|
||||
.service-time {
|
||||
font-size: 15px;
|
||||
}
|
||||
.service-btn {
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.service-btn-play {
|
||||
width: 58px;
|
||||
height: 58px;
|
||||
font-size: 22px;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user