From 62fe32ea9953740d83e2de357e63a79b10f2d3c1 Mon Sep 17 00:00:00 2001 From: DIKER0K Date: Sat, 13 Dec 2025 23:17:14 +0500 Subject: [PATCH] restyle TopBar --- src/renderer/components/TopBar.tsx | 43 +++++++++++++++++++++++------- 1 file changed, 34 insertions(+), 9 deletions(-) diff --git a/src/renderer/components/TopBar.tsx b/src/renderer/components/TopBar.tsx index bf91840..bad4657 100644 --- a/src/renderer/components/TopBar.tsx +++ b/src/renderer/components/TopBar.tsx @@ -194,15 +194,22 @@ export default function TopBar({ onRegister, username }: TopBarProps) { top: 0, left: 0, right: 0, - height: '9vh', + height: '8vh', zIndex: 1000, width: '100%', WebkitAppRegion: 'drag', overflow: 'hidden', justifyContent: 'space-between', alignItems: 'center', - // marginLeft: '1em', - // marginRight: '1em', + + // убрать если не оч + + // стиль как в Registration + background: + 'linear-gradient(71deg, rgba(242,113,33,0.18) 0%, rgba(233,64,205,0.14) 70%, rgba(138,35,135,0.16) 100%)', + backdropFilter: 'blur(10px)', + borderBottom: '1px solid rgba(255,255,255,0.08)', + boxShadow: '0 8px 30px rgba(0,0,0,0.35)', }} > {/* Левая часть */} @@ -240,11 +247,28 @@ export default function TopBar({ onRegister, username }: TopBarProps) { @@ -449,10 +473,11 @@ export default function TopBar({ onRegister, username }: TopBarProps) { mt: '0.5vw', borderRadius: '1vw', minWidth: '16vw', - bgcolor: 'rgba(0,0,0,0.92)', color: 'white', - boxShadow: '0 0 20px rgba(0,0,0,0.6)', - border: '1px solid rgba(255,77,77,0.35)', + bgcolor: 'rgba(0,0,0,0.82)', + backdropFilter: 'blur(10px)', + border: '1px solid rgba(233,64,205,0.25)', + boxShadow: '0 18px 40px rgba(0,0,0,0.55)', }, }} >