- 管理台空态改用新线性图标 widget-empty-line.svg(虚线框+加号,currentColor 可着色) - 桌面小工具面板空态还原原版 widget-empty.svg(内嵌灰度仪表盘 PNG,4279f99 版) - _widget.scss 拖拽态翻白:背景/边框/阴影与前景令牌一并反转,避免重演「白底压白字」
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
<svg width="120" height="120" viewBox="0 0 120 120" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<rect x="14" y="14" width="92" height="92" rx="10" fill="none" stroke="currentColor" stroke-width="2" stroke-dasharray="6 7" stroke-linecap="round"/>
|
||||
<path d="M60 44v32M44 60h32" stroke="currentColor" stroke-width="2" stroke-linecap="round"/>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 350 B |
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 12 KiB |
@@ -85,12 +85,25 @@
|
||||
}
|
||||
}
|
||||
|
||||
// 拖拽态加深 + 加强模糊(旧版翻白 → 浅灰图标压浅白,是这轮修掉的反向翻车)
|
||||
// 拖拽态翻白(沿用旧版白色语义:面板与 header 一并提亮,模糊略加强)。
|
||||
// ⚠️ 该元素同时挂着 .widget-wrap,--wg-fg* 是给深色玻璃配的白字,
|
||||
// 翻白后必须同步反转为深色,否则重演「白底压白字 / 浅灰图标不可见」。
|
||||
&__drag {
|
||||
background: rgba(15, 23, 42, 0.56);
|
||||
--wg-glass-bg: rgba(255, 255, 255, 0.6);
|
||||
--wg-glass-border: rgba(15, 23, 42, 0.08);
|
||||
--wg-glass-shadow: 0 14px 44px rgba(15, 23, 42, 0.2);
|
||||
--wg-fg: #1f2d3d;
|
||||
--wg-fg-dim: rgba(31, 45, 61, 0.62);
|
||||
--wg-fg-shadow: none;
|
||||
|
||||
background: var(--wg-glass-bg);
|
||||
backdrop-filter: blur(22px) saturate(150%);
|
||||
-webkit-backdrop-filter: blur(22px) saturate(150%);
|
||||
box-shadow: 0 14px 44px rgba(0, 0, 0, 0.38);
|
||||
box-shadow: var(--wg-glass-shadow);
|
||||
|
||||
.widget-header {
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user