diff --git a/site/config/loader.py b/site/config/loader.py index 30118d2..d3f0d79 100644 --- a/site/config/loader.py +++ b/site/config/loader.py @@ -80,7 +80,7 @@ SERVICES = _DF["SERVICES"] OPS_INDEX = _DF["OPS_INDEX"] DELAY = float(os.getenv("MOCK_OP_DELAY", "0.1")) -VERSION = "0.5.14" +VERSION = "0.5.15" def get_services(stand_id): diff --git a/site/static/style.css b/site/static/style.css index c16a5fc..8b2f397 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -83,50 +83,47 @@ body { color: var(--brand-gray); } -/* ── Stands section (centered big cards) ── */ -.stands-section { +/* ── Header stands ── */ +.header-stands { display: flex; - justify-content: center; - gap: 16px; - padding: 32px 0 8px; + gap: 12px; + margin-top: 8px; } -.stands-section .stand-card { - min-width: 160px; - padding: 20px 24px; - background: var(--bg); +.stand-card-sm { + display: flex; + flex-direction: column; + align-items: center; + padding: 8px 20px; + background: var(--brand-grey-light); border: 2px solid var(--border); - border-radius: var(--radius); + border-radius: var(--radius-sm); text-decoration: none; - text-align: center; transition: all 0.15s; } -.stands-section .stand-card:hover { +.stand-card-sm:hover { border-color: var(--brand-primary); - box-shadow: 0 2px 8px rgba(37, 99, 235, 0.1); } -.stands-section .stand-name { - display: block; - font-size: 24px; +.stand-card-sm .stand-name { + font-size: 15px; font-weight: 800; text-transform: uppercase; color: var(--text); - margin-bottom: 4px; } -.stands-section .stand-count { - font-size: 14px; +.stand-card-sm .stand-count { + font-size: 11px; color: var(--text-muted); } -.stands-section .stand-active { +.stand-active { border-color: var(--brand-primary); background: #eff6ff; } -.stands-section .stand-active .stand-name { +.stand-active .stand-name { color: var(--brand-primary); } diff --git a/site/templates/index.html b/site/templates/index.html index 3962c46..f49faa2 100644 --- a/site/templates/index.html +++ b/site/templates/index.html @@ -25,22 +25,20 @@ · Задержка: {{ delay }}s + {% if stands_list|length > 1 %} +
+ {% for s in stands_list %} + + {{ s.id }} + {{ s.count }} сервисов + + {% endfor %} +
+ {% endif %}
- -{% if stands_list|length > 1 %} -
- {% for s in stands_list %} - - {{ s.id }} - {{ s.count }} сервисов - - {% endfor %} -
-{% endif %} -