changes
Some checks failed
Build and Deploy (internal) / Build Transmission Manager Image (push) Failing after 2m56s
Build and Deploy (internal) / Deploy Transmission Manager (internal) (push) Has been skipped

This commit is contained in:
2026-07-08 17:27:30 -03:00
parent 9981d0bc19
commit ec3e1ee6a3
7 changed files with 933 additions and 219 deletions

View File

@@ -218,8 +218,8 @@ button { font-family: inherit; }
border-radius: var(--radius);
padding: 16px;
transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
animation: cardIn .35s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card.is-new { animation: cardIn .35s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes cardIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-2); transform: translateY(-1px); }
.card.is-error { border-color: rgba(248, 113, 113, 0.3); }
@@ -265,6 +265,38 @@ button { font-family: inherit; }
font-size: 13px; font-weight: 700; color: var(--text-0);
font-variant-numeric: tabular-nums; min-width: 44px; text-align: right;
}
.card-actions {
flex: 0 0 auto;
display: flex;
align-items: center;
gap: 10px;
}
.action-btn {
min-width: 78px;
border: 1px solid var(--border-strong);
border-radius: 999px;
background: var(--bg-3);
color: var(--text-1);
cursor: pointer;
font-size: 11px;
font-weight: 700;
letter-spacing: 0.04em;
padding: 6px 11px;
text-transform: uppercase;
transition: background .15s, border-color .15s, color .15s, transform .15s, opacity .15s;
}
.action-btn:hover:not(:disabled) {
border-color: var(--border-hover);
color: var(--text-0);
transform: translateY(-1px);
}
.action-btn.pause { color: var(--warn); background: rgba(251, 191, 36, 0.08); border-color: rgba(251, 191, 36, 0.22); }
.action-btn.resume { color: var(--accent); background: var(--accent-soft); border-color: rgba(0, 212, 255, 0.24); }
.action-btn:disabled {
cursor: wait;
opacity: 0.62;
transform: none;
}
.badge {
display: inline-flex; align-items: center; gap: 6px;
@@ -346,6 +378,15 @@ button { font-family: inherit; }
color: #fca5a5;
font-size: 12px;
}
.action-error {
margin-top: 10px;
padding: 8px 12px;
background: rgba(248, 113, 113, 0.08);
border: 1px solid rgba(248, 113, 113, 0.25);
border-radius: 8px;
color: #fca5a5;
font-size: 12px;
}
/* ---------- Empty / error states ---------- */
.empty-state, .error-state {
@@ -384,11 +425,16 @@ button { font-family: inherit; }
.refresh-indicator { margin-left: 0; width: 100%; justify-content: flex-end; }
.sort-group { width: 100%; overflow-x: auto; }
.card { padding: 14px; }
.card-top { align-items: flex-start; }
.card-actions { flex-direction: column; align-items: flex-end; gap: 7px; }
.card-bottom { grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); }
.pct { min-width: 40px; }
}
@media (max-width: 440px) {
.brand-text h1 { font-size: 15px; }
.stat-pill .stat-label { display: none; }
.card-status-col { flex-direction: column-reverse; align-items: flex-end; gap: 6px; }
.card-top { flex-wrap: wrap; }
.card-body { flex-basis: calc(100% - 42px); }
.card-actions { width: 100%; flex-direction: row; justify-content: space-between; }
.card-status-col { flex-direction: column-reverse; align-items: flex-start; gap: 6px; }
}