Improved torrent UI
Build and Publish / Build and Publish Docker Image (push) Successful in 2m45s

This commit is contained in:
Ultradesu
2026-05-26 16:21:21 +03:00
parent 3878d746d2
commit 82923c871e
6 changed files with 293 additions and 53 deletions
+80 -3
View File
@@ -1864,6 +1864,38 @@ button.user-stat:hover {
cursor: pointer;
}
.torrent-session-add {
width: 100%;
grid-template-columns: auto minmax(0, 1fr);
align-items: center;
border: 0;
border-bottom: 1px solid var(--border-color);
background: transparent;
color: var(--text-secondary);
text-align: left;
font: inherit;
font-size: 13px;
font-weight: 800;
}
.torrent-session-add:disabled {
cursor: default;
opacity: 0.6;
}
.torrent-session-add-icon {
display: inline-flex;
align-items: center;
justify-content: center;
width: 22px;
height: 22px;
border-radius: 999px;
border: 1px solid rgba(29,185,84,0.38);
color: #9ff0b9;
font-size: 16px;
line-height: 1;
}
.torrent-session-row:last-child { border-bottom: 0; }
.torrent-session-row:hover,
.torrent-session-row.active { background: var(--bg-hover); }
@@ -2005,12 +2037,44 @@ button.user-stat:hover {
}
.torrent-progress-details {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 8px;
margin-top: 8px;
color: var(--text-subdued);
min-height: 38px;
}
.torrent-progress-details.completed {
grid-template-columns: minmax(0, 1fr);
}
.torrent-progress-metric {
min-width: 0;
min-height: 38px;
padding: 5px 7px;
border-radius: 6px;
background: var(--bg-secondary);
display: flex;
flex-direction: column;
justify-content: center;
gap: 2px;
}
.torrent-progress-label {
color: var(--text-muted);
font-size: 10px;
line-height: 12px;
text-transform: uppercase;
font-weight: 800;
}
.torrent-progress-value {
color: var(--text-secondary);
font-size: 12px;
line-height: 14px;
font-weight: 700;
overflow-wrap: anywhere;
}
.history-modal {
@@ -2074,6 +2138,11 @@ button.user-stat:hover {
max-width: 360px;
}
.torrent-import-panel,
.torrent-workspace-empty {
min-height: 150px;
}
.torrent-modal label {
display: block;
margin-bottom: 6px;
@@ -2753,6 +2822,14 @@ button.user-stat:hover {
gap: 4px;
}
.torrent-progress-details {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.torrent-progress-details.completed {
grid-template-columns: minmax(0, 1fr);
}
.torrent-modal h3 {
margin-bottom: 12px;
}