style(settings): 横线改为分组标题上方的二级分割线,组内行不再画线
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 3m38s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 3m38s
This commit is contained in:
1 parent
e5ff776c5d
commit
7d5ec3f5ee
4 files changed
+5
-4
No files matched your search
@@ -758,14 +758,14 @@ L3 Contract ── 组件整体换肤时才加,能不建就不建
|
||||
| `--iwb-set-row-pad-y` | `var(--iwb-space-6)` | 行上下内边距 |
|
||||
| `--iwb-set-group-gap` | `var(--iwb-space-24)` | 分组之间的间距 |
|
||||
| `--iwb-set-title-gap` | `var(--iwb-space-8)` | 组标题与首行的间距 |
|
||||
| `--iwb-set-divider` | `color-mix(in srgb, var(--iwb-border) 55%, transparent)` | 行间分割线 |
|
||||
| `--iwb-set-divider` | `color-mix(in srgb, var(--iwb-border) 55%, transparent)` | 分组分割线(画在每个二级标题上方) |
|
||||
| `--iwb-set-hint-color` | `var(--iwb-text-dim)` | 说明文字颜色(11px 的对比度下限) |
|
||||
| `--iwb-set-hint-size` | `var(--iwb-font-xs)` | 说明文字字号 |
|
||||
| `--iwb-set-hint-gap` | `var(--iwb-space-2)` | 说明与上方控件的间距 |
|
||||
|
||||
规则:
|
||||
|
||||
- 组标题(15px / 600)在组外;组内不画卡片边框/圆角/底色,只用 `--iwb-set-divider`
|
||||
- 组标题(15px / 600)在组外;分组之间用 `--iwb-set-divider` 画一条横线(标题上方),**组内行间不画线**
|
||||
- 说明文字对齐控件列(缩进 = `--iwb-set-label-w` + `--iwb-set-col-gap`),不占标签列
|
||||
- 说明颜色用 `--iwb-set-hint-color`;11px 下 `text-dim` 已是 AA 下限,不得再调淡到读不清
|
||||
- 长说明折叠为「更多说明」,默认不展开
|
||||
|
||||
Reference in new issue
Block a user