diff --git a/design-refs/mockup/color-system.html b/design-refs/mockup/color-system.html index e576404..de72dd7 100644 --- a/design-refs/mockup/color-system.html +++ b/design-refs/mockup/color-system.html @@ -74,12 +74,13 @@ /* ====== 色板 ====== */ .group-label { font-size: 13px; font-weight: 700; color: #1a1a1a; margin-bottom: 3px; } .group-label i { font-style: normal; font-weight: 400; font-size: 11.5px; color: #6b6b6b; margin-left: 8px; } - .swrow { display: grid; gap: 8px; margin-bottom: 14px; } + .swrow { display: grid; gap: 8px; margin-bottom: 10px; } .sw { min-width: 0; } .sw .blk { - height: 42px; border-radius: 8px; + height: 34px; border-radius: 8px; position: relative; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(26,26,26,0.05); } + .sw .blk .ov { position: absolute; inset: 0; } .sw .tk { font-family: "DejaVu Sans Mono", monospace; font-size: 9.5px; font-weight: 700; color: #1a1a1a; margin-top: 5px; white-space: nowrap; overflow: hidden; } .sw .hx { font-family: "DejaVu Sans Mono", monospace; font-size: 9px; color: #6b6b6b; white-space: nowrap; } .sw .use { font-size: 9.5px; color: #8a8a8a; margin-top: 1px; white-space: nowrap; overflow: hidden; } @@ -139,6 +140,44 @@ .rcard .rt { display: flex; align-items: center; gap: 6px; margin-top: 8px; } .rcard .rt .icotile { width: 18px; height: 18px; border-radius: 6px; font-size: 10px; flex: none; display: flex; align-items: center; justify-content: center; } .rcard .rt b { font-size: 12.5px; flex: 1; } + + /* ====== 玻璃风格(第 3 页) ====== */ + .glass { + border-radius: 14px; border: 1px solid rgba(255,255,255,0.65); + box-shadow: 0 8px 24px rgba(26,26,26,0.10), inset 0 1px 0 rgba(255,255,255,0.9); + backdrop-filter: blur(8px); + } + .glass.strong { background: rgba(255,255,255,0.72); } + .glass.mid { background: rgba(255,255,255,0.55); } + .glass.light { background: rgba(255,255,255,0.40); } + .gtopbar { position: absolute; display: flex; align-items: center; gap: 18px; padding: 0 16px; height: 44px; } + .gtopbar .glogo { font-size: 13px; font-weight: 800; color: #1a1a1a; letter-spacing: 0.5px; } + .gtopbar .gmenu { display: flex; gap: 14px; font-size: 11.5px; color: #555555; } + .gtopbar .gmenu span.on { color: #1a1a1a; font-weight: 700; } + .gpill { + height: 24px; border-radius: 999px; background: rgba(255,255,255,0.45); + border: 1px solid rgba(255,255,255,0.6); display: flex; align-items: center; + padding: 0 12px; font-size: 10.5px; color: #6b6b6b; gap: 6px; + } + .gcard { position: absolute; padding: 10px; } + .gcard .gzone { + border-radius: 8px; background: rgba(255,255,255,0.25); + border: 1px solid rgba(255,255,255,0.4); + display: flex; align-items: center; justify-content: center; position: relative; + } + .gcard .gzone span { font-size: 28px; } + .gcard .gzone i { + position: absolute; right: 6px; bottom: 6px; font-style: normal; + font-size: 8.5px; color: #3d3d3d; background: rgba(255,255,255,0.72); + padding: 1px 5px; border-radius: 999px; font-weight: 600; + } + .gcard .gt { display: flex; align-items: center; gap: 6px; margin-top: 8px; } + .gcard .gt .gico { + width: 18px; height: 18px; border-radius: 6px; + background: rgba(255,255,255,0.55); border: 1px solid rgba(255,255,255,0.6); + display: flex; align-items: center; justify-content: center; font-size: 10px; + } + .gcard .gt b { font-size: 12.5px; flex: 1; color: #1a1a1a; }
@@ -193,6 +232,15 @@| token | 值 | 用途 |
|---|---|---|
glass-strong | white ·72 | 文字面 |
glass | white ·55 | 卡面 |
glass-light | white ·40 | HUD / 图例 |
glass-line | 1px ·65 | 亮边 |
glass-edge | inset ·90 | 内高光 |
glass-shadow | 0 8 24 ·.10 | 投影 |