style(settings): 统一分组块间距为 --iwb-set-group-gap(32px);去掉外观页重复标题
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m59s
No files matched your search
@@ -770,6 +770,7 @@ L3 Contract ── 组件整体换肤时才加,能不建就不建
|
||||
|
||||
- 组标题(15px / 600)在页面底色上,不放进浅色容器;左内边距 = `--iwb-set-group-pad-x`,与容器内文字左对齐
|
||||
- **组标题下不加说明/副标题**;解释性文字只放在行内说明或「更多说明」里
|
||||
- 所有设置页的分组块间距 = `--iwb-set-group-gap`(32px);禁止各页再写自己的 gap/padding 覆盖(生图服务曾因旧规则 8px 与通用不一致)
|
||||
- 组内容容器用 `--iwb-set-group-bg` + `--iwb-set-group-radius`,不加外边框
|
||||
- 容器内行间用 `--iwb-set-divider`;首行不画线
|
||||
- 说明对齐控件列(缩进 = label-w + col-gap),颜色用 hint-color,不得私自调淡
|
||||
|
||||
@@ -487,7 +487,6 @@ function SettingsModal(props) {
|
||||
const A = (typeof window !== 'undefined') ? window.IWBUIApearance : null
|
||||
if (!A || !A.AppearanceTab) return el('div', { className: 'iwb-hint' }, '外观模块未就绪(请刷新页面)')
|
||||
return el('div', { className: 'iwb-section' },
|
||||
el('div', { className: 'iwb-section-title' }, '外观'),
|
||||
el(A.AppearanceTab, { draft, setDraft, theme, setTheme, applyTheme }),
|
||||
)
|
||||
})()
|
||||
|
||||
@@ -2382,3 +2382,6 @@ html { scrollbar-width: thin; scrollbar-color: var(--iwb-border2) color-mix(in s
|
||||
.iwb-model-more-del{width:100%;text-align:left;border:0;background:transparent;color:var(--iwb-err);font-size:var(--iwb-font-sm);padding:var(--iwb-space-6) var(--iwb-space-8);border-radius:var(--iwb-radius-chip);cursor:pointer}
|
||||
.iwb-model-more-del:hover{background:color-mix(in srgb,var(--iwb-err) 10%,transparent)}
|
||||
.iwb-model-more-hint{padding:var(--iwb-space-6) var(--iwb-space-8);font-size:var(--iwb-font-xs);color:var(--iwb-text2)}
|
||||
|
||||
/* 设置页统一:所有分组块间距只允许用 --iwb-set-group-gap */
|
||||
.iwb-settings-modal .iwb-provider-card{gap:var(--iwb-set-group-gap)}
|
||||
|
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 81 KiB |
|
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 84 KiB |
|
Before Width: | Height: | Size: 93 KiB After Width: | Height: | Size: 93 KiB |
|
Before Width: | Height: | Size: 95 KiB After Width: | Height: | Size: 95 KiB |