progress bar + better ui

This commit is contained in:
Ludwig Lehnert
2026-03-27 20:08:40 +01:00
parent 31c7f92d7c
commit 83fbeff16c
8 changed files with 474 additions and 29 deletions

View File

@@ -5,6 +5,7 @@
--bg-accent: #d9ece4;
--surface: #ffffff;
--surface-soft: #f7fafc;
--surface-glass: rgb(255 255 255 / 0.72);
--text-main: #10243a;
--text-muted: #566b81;
--line: #d6e0ea;
@@ -59,7 +60,7 @@ p {
margin: 0 auto;
padding: 2.2rem 0 3.5rem;
display: grid;
gap: 1.5rem;
gap: 1.6rem;
animation: page-enter 240ms ease-out both;
}
@@ -73,6 +74,11 @@ p {
align-items: center;
justify-content: space-between;
gap: 0.9rem;
background: linear-gradient(170deg, var(--surface-glass), rgb(255 255 255 / 0.5));
border: 1px solid rgb(214 224 234 / 0.9);
border-radius: var(--radius);
padding: 0.95rem 1.05rem;
backdrop-filter: blur(6px);
}
.header-main {
@@ -92,11 +98,34 @@ p {
border: 1px solid var(--line);
border-radius: var(--radius);
box-shadow: var(--shadow);
padding: 1.1rem;
padding: 1.2rem;
display: grid;
gap: 0.95rem;
}
.panel.panel-soft {
background: linear-gradient(180deg, #f5fafc, #ffffff);
}
.panel.panel-spotlight {
position: relative;
overflow: hidden;
}
.panel.panel-spotlight::before {
content: '';
position: absolute;
inset: 0;
pointer-events: none;
background:
radial-gradient(circle at 90% 0%, rgb(15 118 110 / 0.12), transparent 45%),
radial-gradient(circle at 10% 100%, rgb(15 118 110 / 0.08), transparent 40%);
}
.panel.panel-spotlight > * {
position: relative;
}
.panel.centered {
text-align: center;
justify-items: center;
@@ -184,6 +213,12 @@ p {
transform: translateY(1px);
}
.btn:disabled {
opacity: 0.7;
cursor: not-allowed;
transform: none;
}
.btn.secondary {
background: #fff;
border-color: var(--line);
@@ -245,6 +280,64 @@ p {
letter-spacing: -0.02em;
}
.dashboard-top-grid {
display: grid;
gap: 1rem;
grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.9fr);
}
.info-stack {
display: grid;
gap: 0.65rem;
}
.info-card {
border-radius: var(--radius-sm);
border: 1px solid var(--line);
background: #fff;
padding: 0.7rem 0.8rem;
display: grid;
gap: 0.2rem;
}
.info-card strong {
font-family: var(--font-heading);
letter-spacing: -0.02em;
font-size: 1.02rem;
}
.upload-progress {
display: grid;
gap: 0.45rem;
border-radius: var(--radius-sm);
border: 1px solid #bde1d9;
background: #ecf8f4;
padding: 0.58rem 0.66rem;
}
.upload-progress-row {
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.6rem;
font-size: 0.86rem;
}
.upload-progress-track {
width: 100%;
height: 8px;
border-radius: 999px;
overflow: hidden;
background: #d7ebe4;
}
.upload-progress-fill {
height: 100%;
width: 0%;
background: linear-gradient(90deg, #0f766e, #189181);
transition: width 140ms linear;
}
.table-wrap {
width: 100%;
overflow-x: auto;
@@ -343,10 +436,18 @@ tbody tr:hover {
padding-top: 1.3rem;
}
.page-header {
padding: 0.8rem;
}
.panel {
padding: 0.85rem;
}
.dashboard-top-grid {
grid-template-columns: 1fr;
}
table {
min-width: 620px;
}