feat(ui): add EPG source priority controls (#24)
Render active and inactive EPG priority lists, support move controls, and persist complete EPG source ordering from the settings UI. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@ -1646,9 +1646,96 @@ video::cue {
|
||||
|
||||
.source-actions {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
.epg-sources-section h4 {
|
||||
margin: var(--space-lg) 0 var(--space-xs);
|
||||
}
|
||||
|
||||
.epg-sources-section .setting-hint + .setting-hint {
|
||||
margin-top: 2px;
|
||||
}
|
||||
|
||||
.epg-order-status {
|
||||
min-height: 1.25rem;
|
||||
margin: var(--space-sm) 0;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.8125rem;
|
||||
}
|
||||
|
||||
.epg-order-status[data-state="success"] {
|
||||
color: var(--color-success);
|
||||
}
|
||||
|
||||
.epg-order-status[data-state="error"] {
|
||||
color: var(--color-error);
|
||||
}
|
||||
|
||||
.epg-priority-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-sm);
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.epg-priority-rank {
|
||||
display: grid;
|
||||
min-width: 68px;
|
||||
color: var(--color-text-muted);
|
||||
font-size: 0.6875rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.epg-priority-rank strong {
|
||||
color: var(--color-text-primary);
|
||||
font-size: 1.125rem;
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
.epg-move-actions {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 44px);
|
||||
gap: var(--space-xs);
|
||||
}
|
||||
|
||||
.epg-move-actions .btn,
|
||||
.epg-source-item .source-actions .btn {
|
||||
min-width: 44px;
|
||||
min-height: 44px;
|
||||
}
|
||||
|
||||
.epg-empty-state {
|
||||
padding: var(--space-lg);
|
||||
border: 1px dashed var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.inactive-sources-heading {
|
||||
margin-top: var(--space-xl) !important;
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.epg-source-item {
|
||||
align-items: flex-start;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.epg-priority-controls {
|
||||
width: 100%;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.epg-source-item .source-info {
|
||||
min-width: calc(100% - 64px);
|
||||
}
|
||||
|
||||
.epg-source-item .source-actions {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/* Hidden Items */
|
||||
.hidden-list {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user