feat: improve queue card readability and detail controls
Windows CI / verify (push) Canceled after 0s
Windows CI / verify (push) Canceled after 0s
This commit is contained in:
+108
-38
@@ -93,7 +93,6 @@
|
||||
|
||||
.queue-item:has(.status.completed) {
|
||||
border-left-color: var(--success);
|
||||
opacity: 0.85;
|
||||
}
|
||||
|
||||
.queue-item .status {
|
||||
@@ -102,7 +101,7 @@
|
||||
border-radius: 50%;
|
||||
background: var(--text-secondary);
|
||||
flex-shrink: 0;
|
||||
margin-top: 4px;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.queue-item .status.pending { background: var(--warning); box-shadow: 0 0 6px rgba(255, 167, 38, 0.5); }
|
||||
@@ -118,10 +117,15 @@
|
||||
|
||||
.queue-item .title {
|
||||
flex: 1;
|
||||
min-width: 0;
|
||||
display: -webkit-box;
|
||||
-webkit-box-orient: vertical;
|
||||
-webkit-line-clamp: 2;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
cursor: pointer;
|
||||
overflow-wrap: anywhere;
|
||||
font-size: 13px;
|
||||
font-weight: 600;
|
||||
line-height: 19px;
|
||||
}
|
||||
|
||||
.queue-detail-label {
|
||||
@@ -167,19 +171,21 @@
|
||||
.queue-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-height: 16px;
|
||||
gap: 6px;
|
||||
min-height: 32px;
|
||||
margin-bottom: 9px;
|
||||
}
|
||||
|
||||
.queue-status-label {
|
||||
flex-shrink: 0;
|
||||
font-size: 10px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 16px;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--text);
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.queue-meta {
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
color: var(--text-secondary);
|
||||
margin-top: 2px;
|
||||
margin-bottom: 4px;
|
||||
@@ -188,11 +194,50 @@
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.queue-footer,
|
||||
.queue-summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.queue-footer {
|
||||
justify-content: space-between;
|
||||
margin-top: 6px;
|
||||
}
|
||||
|
||||
.queue-date {
|
||||
flex-shrink: 0;
|
||||
margin-left: auto;
|
||||
color: var(--text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.queue-status-badge {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
padding: 2px 7px;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 6px;
|
||||
background: color-mix(in srgb, var(--text-secondary) 8%, transparent);
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.queue-status-badge:has(.status.pending) {
|
||||
background: color-mix(in srgb, var(--warning) 10%, transparent);
|
||||
border-color: color-mix(in srgb, var(--warning) 25%, transparent);
|
||||
}
|
||||
|
||||
.queue-progress-wrap {
|
||||
height: 5px;
|
||||
border-radius: 999px;
|
||||
overflow: hidden;
|
||||
background: rgba(255,255,255,0.10);
|
||||
background: color-mix(in srgb, var(--text-secondary) 18%, transparent);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
@@ -215,7 +260,7 @@
|
||||
animation: none;
|
||||
}
|
||||
|
||||
.status.downloading ~ .queue-main .queue-progress-bar::after {
|
||||
.queue-item:has(.status.downloading) .queue-progress-bar::after {
|
||||
display: block;
|
||||
animation: queue-progress-shimmer 1.8s ease-in-out infinite;
|
||||
}
|
||||
@@ -227,21 +272,20 @@
|
||||
|
||||
.queue-progress-info {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
align-items: flex-start;
|
||||
justify-content: space-between;
|
||||
gap: 8px;
|
||||
margin-top: 3px;
|
||||
font-size: 10px;
|
||||
flex-wrap: wrap;
|
||||
font-size: 12px;
|
||||
color: var(--text-secondary);
|
||||
line-height: 14px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.queue-progress-status,
|
||||
.queue-progress-metrics {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.queue-progress-status.is-starting {
|
||||
@@ -259,22 +303,51 @@
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.queue-item .remove {
|
||||
.queue-item .remove,
|
||||
.queue-item .queue-retry-btn,
|
||||
.queue-details-toggle {
|
||||
display: inline-flex;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
width: 32px;
|
||||
height: 32px;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex: 0 0 16px;
|
||||
flex: 0 0 32px;
|
||||
padding: 0;
|
||||
cursor: pointer;
|
||||
color: var(--error);
|
||||
opacity: 0.7;
|
||||
font-size: 11px;
|
||||
line-height: 16px;
|
||||
color: var(--text-secondary);
|
||||
background: transparent;
|
||||
border: 1px solid var(--border-soft);
|
||||
border-radius: 7px;
|
||||
font-size: 18px;
|
||||
transition: background 0.15s, color 0.15s, border-color 0.15s;
|
||||
}
|
||||
|
||||
.queue-item .remove:hover {
|
||||
opacity: 1;
|
||||
color: var(--error);
|
||||
background: color-mix(in srgb, var(--error) 12%, transparent);
|
||||
border-color: color-mix(in srgb, var(--error) 45%, transparent);
|
||||
}
|
||||
|
||||
.queue-details-toggle {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
flex-basis: 28px;
|
||||
border-color: transparent;
|
||||
}
|
||||
|
||||
.queue-details-toggle:hover,
|
||||
.queue-item .queue-retry-btn:hover {
|
||||
color: var(--text);
|
||||
background: color-mix(in srgb, var(--text-secondary) 12%, transparent);
|
||||
}
|
||||
|
||||
.queue-details-toggle[aria-expanded="true"] svg {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.queue-details-toggle:focus-visible {
|
||||
outline: 2px solid var(--accent);
|
||||
outline-offset: 2px;
|
||||
}
|
||||
|
||||
.queue-item[draggable="true"] {
|
||||
@@ -291,10 +364,13 @@
|
||||
|
||||
.queue-details {
|
||||
display: none;
|
||||
font-size: 10px;
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
color: var(--text-secondary);
|
||||
padding: 4px 0;
|
||||
word-break: break-all;
|
||||
margin-top: 8px;
|
||||
padding: 8px 0 2px;
|
||||
border-top: 1px solid var(--border-soft);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.queue-details.expanded {
|
||||
@@ -330,12 +406,6 @@
|
||||
box-shadow: inset 0 0 0 1px rgba(0, 200, 83, 0.45);
|
||||
}
|
||||
|
||||
.queue-item .title:focus-visible {
|
||||
outline: none;
|
||||
border-radius: 3px;
|
||||
box-shadow: 0 0 0 2px rgba(145, 70, 255, 0.45);
|
||||
}
|
||||
|
||||
.queue-item.merge-group {
|
||||
border-left: 3px solid var(--accent);
|
||||
}
|
||||
@@ -780,7 +850,7 @@ input[type="checkbox"].vod-select-checkbox {
|
||||
display: inline-block;
|
||||
background: #ff4444;
|
||||
color: white;
|
||||
font-size: 9px;
|
||||
font-size: 10px;
|
||||
font-weight: 700;
|
||||
letter-spacing: 0.5px;
|
||||
padding: 1px 5px;
|
||||
|
||||
Reference in New Issue
Block a user