From bd96782229877bdc3114eaf61ba3b582fc45223a Mon Sep 17 00:00:00 2001 From: naturallaw777 <99053422+naturallaw777@users.noreply.github.com> Date: Tue, 4 Aug 2026 16:27:36 +0000 Subject: [PATCH] Match OS version badge styling to service modal version badges The header badge now uses the exact visual treatment of .creds-title-version-badge from modals.css: neutral translucent pill (rgba(255,255,255,0.06) background, 0.08 white border, 12px radius, --text-secondary text, 0.72rem/600/2px-10px padding), no hover animation, and a bare version number like the modals show (e.g. "2.8.4") instead of the green pill with a "v" prefix. The badge markup flattens to a single text span; the .version-label and .version-number rules are removed. Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com> --- .../static/css/header.css | 42 +++++-------------- app/sovran_systemsos_web/templates/index.html | 7 +--- 2 files changed, 12 insertions(+), 37 deletions(-) diff --git a/app/sovran_systemsos_web/static/css/header.css b/app/sovran_systemsos_web/static/css/header.css index 862b643..0eaf428 100644 --- a/app/sovran_systemsos_web/static/css/header.css +++ b/app/sovran_systemsos_web/static/css/header.css @@ -54,45 +54,23 @@ letter-spacing: 0.03em; } -/* ── OS Version Badge (inline, right after "Hub" in the title ──── - ── mirrors the version badge next to modal titles) ────────────── */ +/* ── OS Version Badge — identical styling to the version badge ──── + ── shown next to titles in the service modal windows ──────────── */ .os-version-badge { + background-color: rgba(255, 255, 255, 0.06); + color: var(--text-secondary); + font-size: 0.72rem; + font-weight: 600; + padding: 2px 10px; + border-radius: 12px; + border: 1px solid rgba(255, 255, 255, 0.08); + letter-spacing: 0.02em; display: inline-flex; align-items: center; - background: linear-gradient(145deg, #1a2a22, #0f1a15); - border: 1px solid rgba(74, 222, 128, 0.25); - border-radius: 9999px; - padding: 2px 14px 2px 10px; - font-size: 0.75rem; - font-weight: 600; - color: #4ade80; - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); - transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; flex-shrink: 0; } -.os-version-badge:hover { - border-color: rgba(74, 222, 128, 0.45); - box-shadow: 0 4px 8px rgba(74, 222, 128, 0.15); - transform: translateY(-1px); -} - -.os-version-badge .version-label { - font-size: 0.68rem; - font-weight: 500; - color: #4ade80; - opacity: 0.85; - margin-right: 2px; -} - -.os-version-badge .version-number { - font-family: 'JetBrains Mono', 'Fira Code', monospace; - font-weight: 700; - letter-spacing: 0.5px; - color: #86efac; -} - /* ── IP bar ─────────────────────────────────────────────────────── */ .ip-bar { diff --git a/app/sovran_systemsos_web/templates/index.html b/app/sovran_systemsos_web/templates/index.html index 555120b..97fe935 100644 --- a/app/sovran_systemsos_web/templates/index.html +++ b/app/sovran_systemsos_web/templates/index.html @@ -25,11 +25,8 @@