From fa74edf07675f827eaa351623beb2f96ef86949c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNaeel=E2=80=9D?= Date: Mon, 3 Aug 2026 09:05:47 +0400 Subject: [PATCH] =?UTF-8?q?v0.5.12:=20header=20sticky=20+=20=D1=81=D0=B8?= =?UTF-8?q?=D0=BD=D1=8F=D1=8F=20=D0=BB=D0=B8=D0=BD=D0=B8=D1=8F=20=D0=BE?= =?UTF-8?q?=D0=B1=D1=80=D0=B0=D1=82=D0=BD=D0=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- site/config/loader.py | 2 +- site/static/style.css | 5 ++++- site/templates/swagger.html | 1 + 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/site/config/loader.py b/site/config/loader.py index 325f3c0..69a2c48 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.11" +VERSION = "0.5.12" def get_services(stand_id): diff --git a/site/static/style.css b/site/static/style.css index 02bc148..38150f0 100644 --- a/site/static/style.css +++ b/site/static/style.css @@ -37,8 +37,11 @@ body { /* ── Header ── */ .header { background: var(--bg); + border-bottom: 4px solid var(--brand-primary); padding: 16px 24px 12px; - margin-bottom: 24px; + position: sticky; + top: 0; + z-index: 100; } .header-top { diff --git a/site/templates/swagger.html b/site/templates/swagger.html index 326f824..e4cf98e 100644 --- a/site/templates/swagger.html +++ b/site/templates/swagger.html @@ -16,6 +16,7 @@ /* Nubes-брендированный topbar */ .swagger-ui .topbar { background: #fff; + border-bottom: 4px solid #2563eb; padding: 10px 0; } .swagger-ui .topbar .wrapper {