feat(19-02): add progress-row and list-row CSS, rebuild Tailwind
- Added Section 20b to app.css: .project-card-progress-row, .project-card-progress-label - Added .project-card-progress-bar (uses var(--color-accent) instead of --project-color) - Added .tablo-card-wrapper (display:contents) for transparent grid wrapper - Added .tablo-list-row (hidden by default), .tablo-list-row-title, .tablo-list-row-meta - Added [data-view="list"] toggle rules for #tablos-list container - Rebuilt static/tailwind.css with tailwindcss CLI
This commit is contained in:
parent
4b254e9527
commit
2b786e2014
2 changed files with 70 additions and 1 deletions
|
|
@ -820,6 +820,75 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* ============================================================
|
||||||
|
Section 20b — Dashboard card progress row and list-row
|
||||||
|
============================================================ */
|
||||||
|
|
||||||
|
/* Progress row wrapper on dashboard cards */
|
||||||
|
.project-card-progress-row {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.35rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* "Progression: X%" label text */
|
||||||
|
.project-card-progress-label {
|
||||||
|
color: var(--color-text-muted);
|
||||||
|
font-size: 0.8rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Accent-colored progress bar for dashboard cards (overrides --project-color) */
|
||||||
|
.project-card-progress-bar {
|
||||||
|
background: var(--color-accent);
|
||||||
|
border-radius: 999px;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Transparent grid-item wrapper — children participate in grid/flex directly */
|
||||||
|
.tablo-card-wrapper {
|
||||||
|
display: contents;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* List-view row (hidden by default) */
|
||||||
|
.tablo-list-row {
|
||||||
|
display: none;
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 0.75rem 1rem;
|
||||||
|
border: 1px solid var(--color-border-subtle);
|
||||||
|
border-radius: 0.75rem;
|
||||||
|
background: var(--color-surface-default);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Title cell in list row */
|
||||||
|
.tablo-list-row-title {
|
||||||
|
flex: 1;
|
||||||
|
font-weight: 500;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Metadata cells in list row */
|
||||||
|
.tablo-list-row-meta {
|
||||||
|
color: var(--color-text-muted);
|
||||||
|
display: flex;
|
||||||
|
font-size: 0.875rem;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* data-view="list" toggle rules */
|
||||||
|
#tablos-list[data-view="list"] {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: column;
|
||||||
|
gap: 0.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tablos-list[data-view="list"] .project-card {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
|
#tablos-list[data-view="list"] .tablo-list-row {
|
||||||
|
display: flex;
|
||||||
|
}
|
||||||
|
|
||||||
/* ============================================================
|
/* ============================================================
|
||||||
Section 21 — Tab nav (tablo detail tab bar)
|
Section 21 — Tab nav (tablo detail tab bar)
|
||||||
============================================================ */
|
============================================================ */
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue