Website: machine estimator v3 — the bar shows what the box's memory is used for (still unlisted, R-997)
gates / gates (push) Successful in 6m29s
gates / gates (push) Successful in 6m29s
The bar keeps its length (the fits-well box memory) and is split into base system (box - guest), Felhom's own services, each app's peak (largest first, the dashboard's palette minus amber and its first blue; beyond 8 apps one group) and spare room (guest - peak) — all from the one rule; a test proves the parts sum to the bar within 1 MB. A legend under it (not sticky) and one sentence explain the recommended size. Typical figure moved into the method fold-out. English: 'an 8 GB machine'.
This commit is contained in:
@@ -8,12 +8,32 @@
|
||||
.sizer-sticky { position: sticky; top: 0; z-index: 5; background: var(--bg-0); border-bottom: 1px solid var(--line); padding: 0.75rem 0 0.6rem; margin: 0 0 1rem; }
|
||||
.sizer-meter { padding: 0 0 1.4rem; }
|
||||
.sizer-track { position: relative; height: 12px; background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius); }
|
||||
.sizer-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--blue); border-radius: var(--radius); transition: width 0.25s ease; }
|
||||
.sizer-stack { position: absolute; inset: 0; display: flex; overflow: hidden; border-radius: var(--radius); }
|
||||
.sizer-seg { flex: 0 0 auto; height: 100%; transition: width 0.25s ease; }
|
||||
.sizer-tightmark { position: absolute; top: -4px; bottom: -4px; width: 2px; margin-left: -1px; background: var(--warn); transition: left 0.25s ease; }
|
||||
.sizer-scale { position: relative; height: 1rem; margin-top: 0.3rem; }
|
||||
.sizer-mark { position: absolute; transform: translateX(-100%); padding-right: 2px; border-right: 1px solid var(--line); font-family: var(--font-data); font-size: 0.72rem; color: var(--text-3); white-space: nowrap; line-height: 1rem; }
|
||||
.sizer-line { margin: 0; color: var(--text-1); font-weight: 600; line-height: 1.45; }
|
||||
.sizer-legend { margin: 0.2rem 0 0; color: var(--text-3); font-size: 0.78rem; }
|
||||
|
||||
/* v3: what the box's memory is used for — the controller's „Memória eloszlás” bar, same palette (monitoring.html),
|
||||
minus its amber (amber is the warning colour here) and its first blue (Felhom's own services wear the accent) */
|
||||
.sizer { --sz-c1: #8E7CE8; --sz-c2: #5EC4B6; --sz-c3: #D67BB5; --sz-c4: #7FA6E8;
|
||||
--sz-c5: #59B88C; --sz-c6: #E8935E; --sz-c7: #6FCADF; --sz-c8: #B3A1F0; }
|
||||
.sizer-c1 { background: var(--sz-c1); } .sizer-c2 { background: var(--sz-c2); } .sizer-c3 { background: var(--sz-c3); }
|
||||
.sizer-c4 { background: var(--sz-c4); } .sizer-c5 { background: var(--sz-c5); } .sizer-c6 { background: var(--sz-c6); }
|
||||
.sizer-c7 { background: var(--sz-c7); } .sizer-c8 { background: var(--sz-c8); }
|
||||
.sizer-seg-base { background: var(--text-3); opacity: 0.5; }
|
||||
.sizer-seg-platform { background: var(--blue); }
|
||||
.sizer-seg-more { background: var(--text-2); }
|
||||
.sizer-seg-spare { background: repeating-linear-gradient(135deg, var(--line) 0 4px, var(--bg-2) 4px 8px); }
|
||||
.sizer-seg-tightmark { background: var(--warn); }
|
||||
.sizer-why-line { margin: 0 0 0.5rem; color: var(--text-2); line-height: 1.6; }
|
||||
.sizer-why-line .sizer-num { font-family: var(--font-ui); }
|
||||
.sizer-legend { list-style: none; margin: 0 0 1rem; padding: 0; display: flex; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.85rem; color: var(--text-2); }
|
||||
.sizer-legend-item { display: inline-flex; align-items: center; gap: 0.4rem; }
|
||||
.sizer-dot { width: 10px; height: 10px; border-radius: var(--radius); flex: 0 0 auto; }
|
||||
.sizer-dot.sizer-seg-spare { border: 1px solid var(--line); }
|
||||
.sizer-dot.sizer-seg-tightmark { width: 3px; height: 14px; }
|
||||
|
||||
.sizer-result { margin: 0 0 1.25rem; }
|
||||
.sizer-totals { color: var(--text-2); margin: 0; line-height: 1.7; }
|
||||
|
||||
Reference in New Issue
Block a user