From 6196c39d250446b3d1dc1985a02765559c564897 Mon Sep 17 00:00:00 2001 From: NotBigGhost Date: Fri, 26 Jun 2026 16:36:54 +0300 Subject: [PATCH] =?UTF-8?q?UI:=20=D0=BA=D1=80=D1=83=D0=B3=20=D1=81=D0=BE?= =?UTF-8?q?=D0=B7=D0=B4=D0=B0=D0=BD=D0=B8=D1=8F=20=D0=BF=D0=B0=D1=80=D1=82?= =?UTF-8?q?=D0=B8=D0=B8=20=E2=80=94=20=D0=BA=D1=80=D1=83=D0=BF=D0=BD=D0=B5?= =?UTF-8?q?=D0=B5,=20=D0=BF=D0=BE=D0=BB=D1=83=D0=BA=D1=80=D1=83=D0=B3,=20?= =?UTF-8?q?=D0=BF=D0=BE=20=D1=86=D0=B5=D0=BD=D1=82=D1=80=D1=83=20=D1=80?= =?UTF-8?q?=D0=B0=D0=B7=D0=B4=D0=B5=D0=BB=D1=8F=D0=B5=D1=82=20=D1=81=D0=BB?= =?UTF-8?q?=D0=BE=D1=82=D1=8B,=20=D1=81=D0=BC=D0=B5=D1=89=D1=91=D0=BD=20?= =?UTF-8?q?=D0=B2=D0=BD=D0=B8=D0=B7=20=D0=B8=20=D0=BD=D0=B0=20=D0=BF=D0=B5?= =?UTF-8?q?=D1=80=D0=B5=D0=B4=D0=BD=D0=B8=D0=B9=20=D0=BF=D0=BB=D0=B0=D0=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- frontend/src/styles/layout.css | 14 +++++++++----- frontend/src/styles/tokens.css | 4 ++-- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/frontend/src/styles/layout.css b/frontend/src/styles/layout.css index c0fd8da..ea09fec 100644 --- a/frontend/src/styles/layout.css +++ b/frontend/src/styles/layout.css @@ -60,26 +60,30 @@ .bottom-bar .slot .name { color: var(--text); font-weight: 600; max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .bottom-bar .spacer { width: var(--fab-width); flex: 0 0 var(--fab-width); } +/* Круг создания партии: полукруг-купол, по центру разделяет слоты, смещён вниз + (база у нижней кромки панели) и поднят на передний план (z-index выше панели). */ .fab { position: absolute; left: 50%; transform: translateX(-50%); - bottom: calc(var(--bottombar-height) + var(--safe-bottom) - 2px); + bottom: calc(var(--safe-bottom) + 8px); width: var(--fab-width); height: var(--fab-height); border: 1px solid var(--accent); border-bottom: none; - border-top-left-radius: var(--fab-width); - border-top-right-radius: var(--fab-width); + /* Радиус = половина ширины → ровный полукруг (ширина = 2× высоты). */ + border-top-left-radius: calc(var(--fab-width) / 2); + border-top-right-radius: calc(var(--fab-width) / 2); border-bottom-left-radius: 0; border-bottom-right-radius: 0; display: grid; place-items: center; background: var(--accent); color: #fff; - box-shadow: 0 -4px 14px rgba(224, 83, 61, 0.45); + box-shadow: 0 -4px 16px rgba(224, 83, 61, 0.5); + z-index: 25; } -.fab svg { margin-top: 6px; } +.fab svg { margin-top: 8px; } .fab[aria-disabled="true"] { background: var(--surface-2); border-color: var(--border); diff --git a/frontend/src/styles/tokens.css b/frontend/src/styles/tokens.css index 5aedade..f341a39 100644 --- a/frontend/src/styles/tokens.css +++ b/frontend/src/styles/tokens.css @@ -15,8 +15,8 @@ /* Размеры */ --app-max-w: 480px; --bottombar-height: 64px; - --fab-width: 88px; - --fab-height: 44px; + --fab-width: 100px; + --fab-height: 50px; --radius: 14px; --radius-sm: 10px; --safe-bottom: env(safe-area-inset-bottom, 0px);