diff --git a/public/css/styles.css b/public/css/styles.css index 5e2cbc2..051633e 100644 --- a/public/css/styles.css +++ b/public/css/styles.css @@ -478,7 +478,7 @@ body.dark-mode .wallet-card:not([class*="theme-"]) { display: flex; flex-direction: column; align-items: center; - justify-content: center; + justify-content: flex-start; padding: calc(16px + var(--safe-top)) 20px calc(24px + var(--safe-bottom)) 20px; box-sizing: border-box; overflow-y: auto; @@ -494,27 +494,69 @@ body.dark-mode .modal-qr-sibopay-immersive { top: 0; left: 0; right: 0; - height: 44%; - min-height: 230px; + height: 52%; + min-height: 310px; background: linear-gradient(180deg, #0284c7 0%, #0369a1 100%); border-bottom-left-radius: 36px; border-bottom-right-radius: 36px; display: flex; align-items: flex-start; justify-content: center; - padding-top: calc(34px + var(--safe-top)); + padding-top: calc(48px + var(--safe-top)); box-sizing: border-box; z-index: 1; box-shadow: 0 8px 24px rgba(2, 132, 199, 0.25); pointer-events: none; } +.qr-immersive-brand-header { + display: flex; + flex-direction: column; + align-items: center; + gap: 8px; + pointer-events: auto; +} + +.qr-immersive-brand-logo-wrap { + width: 56px; + height: 56px; + border-radius: 50%; + background: #ffffff; + box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2); + display: flex; + align-items: center; + justify-content: center; + padding: 4px; + box-sizing: border-box; +} + +.qr-immersive-brand-logo { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 50%; + display: block; +} + .qr-immersive-brand-title { - color: #ffffff; - font-size: 2.25rem; + font-size: 2.15rem; font-weight: 900; letter-spacing: -0.6px; - text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15); + line-height: 1.1; + display: inline-flex; + align-items: center; + text-shadow: 0 2px 8px rgba(0, 0, 0, 0.22); +} + +.qr-immersive-brand-title span { + color: #ffffff; +} + +.qr-immersive-brand-title .brand-pay-text { + color: #38bdf8; + font-weight: 900; + margin-left: 1px; + text-shadow: 0 2px 10px rgba(56, 189, 248, 0.5); } .qr-immersive-content { @@ -526,7 +568,7 @@ body.dark-mode .modal-qr-sibopay-immersive { flex-direction: column; align-items: center; gap: 18px; - margin-top: calc(56px + var(--safe-top)); + margin-top: calc(152px + var(--safe-top)); animation: zoomIn 0.25s cubic-bezier(0.16, 1, 0.3, 1); } @@ -621,6 +663,34 @@ body.dark-mode .qr-frame-corner { background: #ffffff; } +.qr-center-logo-badge { + position: absolute; + top: 50%; + left: 50%; + transform: translate(-50%, -50%); + width: 44px; + height: 44px; + background: #ffffff; + border-radius: 50%; + display: flex; + align-items: center; + justify-content: center; + padding: 3px; + box-sizing: border-box; + box-shadow: 0 3px 10px rgba(0, 0, 0, 0.22); + z-index: 10; + border: 2.5px solid #ffffff; + pointer-events: none; +} + +.qr-center-logo-img { + width: 100%; + height: 100%; + object-fit: contain; + border-radius: 50%; + display: block; +} + .qr-card-token-text { margin-top: 18px; font-family: monospace; diff --git a/public/index.html b/public/index.html index 7d2f6f2..736a270 100644 --- a/public/index.html +++ b/public/index.html @@ -12,7 +12,7 @@ - +