From 8126bd3c960ec56594b5af813bf5eea3b9ea29d0 Mon Sep 17 00:00:00 2001 From: codex Date: Fri, 22 May 2026 03:38:29 -0300 Subject: [PATCH] account: polish Wolf card --- frontend/src/components/WolfAccountCard.vue | 77 +++++++++++++++++---- frontend/src/styles/account.css | 69 ++++++++++++++++++ 2 files changed, 132 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/WolfAccountCard.vue b/frontend/src/components/WolfAccountCard.vue index 41a2175..09c5666 100644 --- a/frontend/src/components/WolfAccountCard.vue +++ b/frontend/src/components/WolfAccountCard.vue @@ -1,7 +1,10 @@ diff --git a/frontend/src/styles/account.css b/frontend/src/styles/account.css index c9318ed..374f1e1 100644 --- a/frontend/src/styles/account.css +++ b/frontend/src/styles/account.css @@ -88,6 +88,66 @@ h1 { margin: 10px 0 0; } +.wolf-subtitle { + margin-top: 4px; +} + +.wolf-connection { + display: flex; + align-items: center; + justify-content: space-between; + gap: 12px; + margin-top: 14px; + padding: 12px; + border: 1px solid rgba(125, 208, 255, 0.22); + border-radius: 12px; + background: rgba(125, 208, 255, 0.06); +} + +.wolf-host { + margin-top: 4px; + color: var(--accent-cyan); + overflow-wrap: anywhere; +} + +.wolf-summary { + display: grid; + grid-template-columns: repeat(3, minmax(0, 1fr)); + gap: 8px; + margin-top: 10px; +} + +.wolf-summary-item { + min-width: 0; + padding: 10px; + border: 1px solid var(--card-border); + border-radius: 12px; + background: rgba(255, 255, 255, 0.025); +} + +.wolf-summary-item span, +.wolf-summary-item strong { + display: block; +} + +.wolf-summary-item strong { + margin-top: 4px; + color: var(--text-strong); + overflow-wrap: anywhere; +} + +.wolf-detail { + margin-top: 10px; +} + +.ok-text { + color: rgba(120, 255, 160, 0.95) !important; +} + +.warn-text { + color: rgba(255, 207, 104, 0.95) !important; +} + .kv { margin-top: 12px; border: 1px solid var(--card-border); @@ -273,6 +333,15 @@ button.primary { align-items: stretch; } + .wolf-connection { + align-items: stretch; + flex-direction: column; + } + + .wolf-summary { + grid-template-columns: 1fr; + } + .pair-row, .wolf-controls, .manual-unlock {