为 XHChat 增加品牌标志与 Windows 图标
This commit is contained in:
1 parent
b1f55df263
commit
570ce704fd
10 files changed
+18
-13
No files matched your search
+3
-6
@@ -31,13 +31,10 @@ small, .muted { color: var(--muted); }
|
||||
.auth-shell { display: grid; grid-template-columns: 1fr 1.1fr; min-height: 100vh; }
|
||||
.auth-brand { position: relative; overflow: hidden; display: grid; align-content: space-between; padding: clamp(26px, 6vw, 80px); background: #12372d; color: #ecf8ee; min-height: 100%; }
|
||||
.brand { display: flex; align-items: center; gap: 14px; font-size: 23px; font-weight: 700; }
|
||||
.mark { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: #ceef9a; color: #12372d; font: 800 22px/1 system-ui, sans-serif; text-decoration: none; }
|
||||
.mark { display: block; width: 40px; height: 40px; }
|
||||
.mark img { display: block; width: 100%; height: 100%; }
|
||||
.platform { color: #bad5c5; }
|
||||
.brand-art { width: min(100%, 430px); aspect-ratio: 1; position: relative; margin: 36px auto; }
|
||||
.brand-art span { position: absolute; inset: 5% 11% 11% 5%; border: 1px solid #7aab94; border-radius: 45% 45% 10% 45%; }
|
||||
.brand-art span:nth-child(2) { inset: 16% 4% 0% 16%; }
|
||||
.brand-art span:nth-child(3) { inset: 24% 23% 24% 23%; background: #ceef9a; border-color: #ceef9a; border-radius: 50% 50% 50% 10%; }
|
||||
.brand-art span:nth-child(4) { inset: 45% 38% 45% 38%; background: #12372d; border: 0; border-radius: 20px; }
|
||||
.brand-art { display: block; width: min(70%, 300px); aspect-ratio: 1; margin: 36px auto; }
|
||||
.auth-content { display: grid; align-items: center; justify-items: center; background: var(--surface); padding: 32px clamp(22px, 6vw, 72px); }
|
||||
.auth-form { display: grid; gap: 19px; width: min(100%, 390px); }
|
||||
.tabs { display: flex; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
|
||||
|
||||
@@ -33,8 +33,8 @@ async function submit() {
|
||||
<template>
|
||||
<main class="auth-shell">
|
||||
<aside class="auth-brand">
|
||||
<div class="brand"><span class="mark" aria-hidden="true">X</span>XHChat</div>
|
||||
<div class="brand-art" aria-hidden="true"><span></span><span></span><span></span><span></span></div>
|
||||
<div class="brand"><img class="mark" src="/brand/xhchat.png" alt="">XHChat</div>
|
||||
<img class="brand-art" src="/brand/xhchat.png" alt="">
|
||||
<p class="platform">{{ platform === 'windows' ? 'Windows 客户端' : 'Web 客户端' }}</p>
|
||||
</aside>
|
||||
<section class="auth-content">
|
||||
|
||||
@@ -23,7 +23,7 @@ async function act(action: () => Promise<void>) {
|
||||
<template>
|
||||
<main v-if="session.identity" class="workspace">
|
||||
<nav class="rail" aria-label="主导航">
|
||||
<RouterLink class="mark" to="/devices" aria-label="XHChat">X</RouterLink>
|
||||
<RouterLink class="mark" to="/devices" aria-label="XHChat"><img src="/brand/xhchat.png" alt=""></RouterLink>
|
||||
<RouterLink class="rail-link" to="/chat" title="消息" aria-label="消息">◇</RouterLink>
|
||||
<RouterLink class="rail-link" to="/contacts" title="联系人" aria-label="联系人">人</RouterLink>
|
||||
<RouterLink class="rail-link" to="/devices" title="设备管理" aria-label="设备管理">▣</RouterLink>
|
||||
|
||||
Reference in new issue
Block a user