updated some UI elements and calculations
This commit is contained in:
parent
409d2560bc
commit
55d7c736c9
13 changed files with 378 additions and 121 deletions
|
|
@ -444,10 +444,33 @@ a:hover { text-decoration: underline; }
|
|||
|
||||
/* ─── Stats widgets ───────────────────────────────────────────────────────── */
|
||||
|
||||
/* Horizontal group grid — always 4 columns, 2x2, or 1 column; never 3+1 */
|
||||
.dashboard-groups {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 20px;
|
||||
align-items: start;
|
||||
}
|
||||
@media (min-width: 1200px) {
|
||||
.dashboard-groups { grid-template-columns: repeat(4, 1fr); }
|
||||
}
|
||||
@media (max-width: 540px) {
|
||||
.dashboard-groups { grid-template-columns: 1fr; }
|
||||
}
|
||||
|
||||
.dashboard-group-label {
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
color: var(--fg-muted);
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.06em;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.stat-grid {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
|
||||
gap: 16px;
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
gap: 10px;
|
||||
}
|
||||
|
||||
.stat-card {
|
||||
|
|
@ -455,9 +478,12 @@ a:hover { text-decoration: underline; }
|
|||
border: 1px solid var(--border);
|
||||
border-radius: var(--radius);
|
||||
padding: 14px;
|
||||
min-height: 88px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.stat-card .stat-label { font-size: 11px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.5px; }
|
||||
.stat-card .stat-value { font-size: 24px; font-weight: 700; font-family: var(--font-mono); margin-top: 4px; }
|
||||
.stat-card .stat-proj { font-size: 13px; font-family: var(--font-mono); color: var(--fg-muted); margin-top: 3px; }
|
||||
.stat-card .stat-sub { font-size: 12px; color: var(--fg-muted); margin-top: 2px; }
|
||||
.stat-card.positive .stat-value { color: var(--success); }
|
||||
.stat-card.negative .stat-value { color: var(--danger); }
|
||||
|
|
@ -655,6 +681,10 @@ select.ss-input { cursor: pointer; }
|
|||
.ss-value { padding: 7px 10px; }
|
||||
.ss-actions { padding: 0 4px; text-align: center; white-space: nowrap; }
|
||||
|
||||
/* Outstanding payment toggle */
|
||||
.ss-outstanding-btn { font-size: 14px; padding: 2px 6px; opacity: 0.4; }
|
||||
.ss-outstanding-btn[data-outstanding="true"] { opacity: 1; color: var(--warning, #f59e0b); }
|
||||
|
||||
/* Existing data rows */
|
||||
.ss-row:hover { background: var(--bg-elev-2); }
|
||||
.ss-row:hover .ss-cell:hover { background: var(--accent-muted); }
|
||||
|
|
@ -829,7 +859,7 @@ select.ss-input { cursor: pointer; }
|
|||
.app-header { position: relative; }
|
||||
.hamburger-btn { display: inline-flex; }
|
||||
.header-status { margin-left: auto; }
|
||||
.kofi-header-btn { display: none; }
|
||||
.kofi-header-btn span.kofi-label { display: none; }
|
||||
.app-nav {
|
||||
display: none;
|
||||
flex-direction: column;
|
||||
|
|
@ -851,7 +881,6 @@ select.ss-input { cursor: pointer; }
|
|||
/* Small phones (≤640px) — extra compact spacing */
|
||||
@media (max-width: 640px) {
|
||||
.app-body { padding: 10px; }
|
||||
.stat-grid { grid-template-columns: repeat(2, 1fr); }
|
||||
.stat-card .stat-value { font-size: 20px; }
|
||||
.timer-display { font-size: 36px; }
|
||||
.timer-earned { font-size: 20px; }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue