diff --git a/templates/index.html b/templates/index.html index 8cbb63a..e0ab8be 100644 --- a/templates/index.html +++ b/templates/index.html @@ -42,6 +42,13 @@ .stat .s-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 3px; } .stat .s-val { font-size: 1.35rem; font-weight: 600; font-family: var(--mono); letter-spacing: -0.02em; } .stat .s-sub { font-size: 10px; color: var(--muted); margin-top: 1px; } + .budget-block { display: flex; align-items: center; justify-content: space-between; gap: 1rem; background: var(--green-light); border: 1px solid #a8d5bc; border-radius: 10px; padding: 0.8rem 1.1rem; margin-bottom: 1.5rem; } + .bb-label { font-size: 13px; font-weight: 600; color: var(--text); } + .bb-status { font-size: 11px; color: var(--green); margin-top: 2px; font-weight: 500; } + .bb-val { font-size: 1.75rem; font-weight: 600; font-family: var(--mono); color: var(--green); letter-spacing: -0.02em; white-space: nowrap; } + .bb-val.over { color: var(--accent); } + .budget-block:has(.bb-val.over) { background: var(--accent-light); border-color: #f0b8a8; } + .budget-block:has(.bb-val.over) .bb-status { color: var(--accent); } .section { margin-bottom: 1.25rem; } .section-header { display: flex; align-items: center; gap: 8px; padding: 0.55rem 0.875rem; background: var(--text); color: white; border-radius: 8px 8px 0 0; font-size: 12px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; } @@ -221,6 +228,15 @@ + +