192 lines
5.0 KiB
CSS
192 lines
5.0 KiB
CSS
/* ═══════════════════════════════════════════
|
|
MOBILE LIST VIEW
|
|
═══════════════════════════════════════════ */
|
|
.mobile-view {
|
|
display: none;
|
|
flex: 1;
|
|
overflow-y: auto;
|
|
min-height: 0;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
.mobile-channel {
|
|
border-bottom: 2px solid var(--border-bright);
|
|
}
|
|
|
|
.mobile-channel-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
padding: 10px 14px;
|
|
background: var(--surface);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 10;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.mobile-programs {
|
|
padding: 6px 10px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
|
|
.mobile-program {
|
|
display: flex;
|
|
align-items: stretch;
|
|
border-radius: 4px;
|
|
overflow: hidden;
|
|
border: 1px solid var(--border);
|
|
background: var(--surface2);
|
|
position: relative;
|
|
}
|
|
.mobile-program.is-live { border-color: var(--accent2); background: #0d1a2e; }
|
|
.mobile-program.is-past { opacity: 0.4; }
|
|
|
|
.mobile-program-progress {
|
|
position: absolute;
|
|
bottom: 0; left: 0;
|
|
height: 2px;
|
|
background: var(--accent2);
|
|
}
|
|
|
|
.mobile-program-time {
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 10px;
|
|
color: var(--text-dim);
|
|
padding: 8px 10px;
|
|
background: var(--surface);
|
|
border-right: 1px solid var(--border);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
min-width: 72px;
|
|
flex-shrink: 0;
|
|
gap: 2px;
|
|
}
|
|
.mobile-program.is-live .mobile-program-time { color: var(--accent2); }
|
|
|
|
.mobile-program-info {
|
|
padding: 8px 10px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
.mobile-program-title {
|
|
font-size: 13px;
|
|
font-weight: 600;
|
|
color: var(--text-bright);
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
.mobile-program-dur {
|
|
font-size: 10px;
|
|
color: var(--text-dim);
|
|
margin-top: 2px;
|
|
font-family: 'Share Tech Mono', monospace;
|
|
}
|
|
|
|
.mobile-live-badge {
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 9px;
|
|
color: var(--accent-live);
|
|
background: rgba(255,68,68,0.12);
|
|
border: 1px solid var(--accent-live);
|
|
border-radius: 2px;
|
|
padding: 2px 5px;
|
|
letter-spacing: 0.1em;
|
|
align-self: center;
|
|
margin-right: 8px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* TOOLTIP */
|
|
.tooltip {
|
|
position: fixed;
|
|
background: var(--surface);
|
|
border: 1px solid var(--accent2);
|
|
border-radius: 4px;
|
|
padding: 10px 14px;
|
|
z-index: 999;
|
|
pointer-events: none;
|
|
max-width: 300px;
|
|
opacity: 0;
|
|
transition: opacity 0.15s;
|
|
}
|
|
.tooltip.visible { opacity: 1; }
|
|
.tooltip-title { font-size: 14px; font-weight: 700; color: var(--text-bright); margin-bottom: 4px; }
|
|
.tooltip-time { font-family: 'Share Tech Mono', monospace; font-size: 10px; color: var(--accent2); margin-bottom: 6px; }
|
|
.tooltip-desc { font-size: 12px; color: var(--text); line-height: 1.4; max-height: 80px; overflow: hidden; }
|
|
|
|
/* LOADING */
|
|
.loading {
|
|
position: fixed; inset: 0;
|
|
background: var(--bg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
gap: 20px;
|
|
}
|
|
.loading-text {
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 12px;
|
|
color: var(--text-dim);
|
|
letter-spacing: 0.2em;
|
|
text-transform: uppercase;
|
|
}
|
|
.loading-bar {
|
|
width: 200px; height: 2px;
|
|
background: var(--border);
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.loading-bar::after {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0; left: -60%;
|
|
width: 60%; height: 100%;
|
|
background: var(--accent);
|
|
animation: loading-anim 1.2s ease-in-out infinite;
|
|
}
|
|
@keyframes loading-anim { to { left: 110%; } }
|
|
|
|
.error-msg {
|
|
position: fixed; inset: 0;
|
|
background: var(--bg);
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 1000;
|
|
gap: 16px;
|
|
display: none;
|
|
padding: 20px;
|
|
}
|
|
.err-title { font-family: 'Share Tech Mono', monospace; font-size: 14px; color: var(--accent-live); letter-spacing: 0.1em; }
|
|
.err-sub { font-size: 13px; color: var(--text-dim); text-align: center; max-width: 400px; line-height: 1.5; }
|
|
.epg-input-bar { display: flex; gap: 8px; margin-top: 8px; flex-wrap: wrap; justify-content: center; }
|
|
.epg-input {
|
|
background: var(--surface2);
|
|
border: 1px solid var(--border-bright);
|
|
color: var(--text-bright);
|
|
font-family: 'Share Tech Mono', monospace;
|
|
font-size: 12px;
|
|
padding: 8px 12px;
|
|
width: 320px;
|
|
outline: none;
|
|
}
|
|
.epg-input:focus { border-color: var(--accent); }
|
|
.epg-btn {
|
|
background: var(--accent);
|
|
border: none; color: #000;
|
|
font-family: 'Barlow Condensed', sans-serif;
|
|
font-weight: 700; font-size: 13px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
padding: 8px 18px;
|
|
cursor: pointer;
|
|
}
|