From 469b45855135176ea89272e03814823cb0259c55 Mon Sep 17 00:00:00 2001 From: "smx.pusha" <139338836+smxpusha@users.noreply.github.com> Date: Tue, 18 Aug 2026 09:54:22 +0200 Subject: [PATCH] ENH - add transparent VaultX header mark Replace the framed header glyph with a background-free faceted VaultX mark that echoes the app icon while remaining crisp and transparent in the compact navbar. --- .../src/views/apps/CryptoApp.contract.test.ts | 2 + frontend/src/views/apps/CryptoApp.vue | 49 ++++++++++++++----- 2 files changed, 40 insertions(+), 11 deletions(-) diff --git a/frontend/src/views/apps/CryptoApp.contract.test.ts b/frontend/src/views/apps/CryptoApp.contract.test.ts index b5643c8..83ab2ae 100644 --- a/frontend/src/views/apps/CryptoApp.contract.test.ts +++ b/frontend/src/views/apps/CryptoApp.contract.test.ts @@ -65,6 +65,8 @@ describe('VaultX crypto app contracts', () => { it('uses the compact Flare-style navigation and polished overlay transitions', () => { expect(source).toContain('class="vault-navbar"') + expect(source).toContain('class="vault-header-logo"') + expect(source).not.toContain('.vault-header-brand > i') expect(source).toContain(':show-back="Boolean(detail)"') expect(source).not.toMatch(/)/) expect(source).toContain('class="vault-view"') diff --git a/frontend/src/views/apps/CryptoApp.vue b/frontend/src/views/apps/CryptoApp.vue index afc0fc1..4c08c90 100644 --- a/frontend/src/views/apps/CryptoApp.vue +++ b/frontend/src/views/apps/CryptoApp.vue @@ -273,7 +273,38 @@ onMounted(() => void crypto.load()) v-if="!detail && (!authenticated || tab === 'portfolio')" class="vault-header-brand" > - + {{ t('name') }} @@ -1654,16 +1685,12 @@ onMounted(() => void crypto.load()) gap: 8px; align-items: center; } -.vault-header-brand > i { - display: grid; - place-items: center; - width: 25px; - height: 25px; - color: #07100e; - background: linear-gradient(145deg, #9affe4, #5f9dff); - border: 1px solid rgba(255, 255, 255, 0.38); - border-radius: 8px; - box-shadow: 0 7px 18px rgba(101, 251, 210, 0.16); +.vault-header-logo { + width: 27px; + height: 27px; + flex: 0 0 auto; + overflow: visible; + filter: drop-shadow(0 4px 6px rgba(49, 214, 170, 0.24)); } .vault-section-title { font-size: 17px;