feat(promptlib): 1.14.3 参考图勾选框改成自绘蓝色实心勾(与样式节点一致)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m13s
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m13s
- styles.css:.iwb-plp-nref 的 input[type=checkbox] 改 appearance:none 自绘:14px 圆角方块, 选中时 brand 底 + 白色对勾(对勾用 --iwb-on-brand,不写死 #fff —— 插件主题契约禁止裸中性色) 圆角用 --iwb-radius-chip(尺度闭集,否则 plugin-scale-contract 棘轮报新增 4px) - .iwb-plp-nref.is-on:选中时药丸底色切成 brand 淡底 + brand 文字(同样式节点) - main.js:st 里带上 refRow,同步时 toggle is-on
This commit is contained in:
1 parent
de92f0ec90
commit
016d837aae
4 files changed
+14
-8
No files matched your search
@@ -154,6 +154,11 @@
|
||||
/* v1.14.2:参考图开关移到头部(与样式节点一致)——做成浅色药丸,不再是底部分隔行 */
|
||||
.iwb-plp-nref{display:inline-flex;align-items:center;gap:6px;margin-top:6px;padding:2px 8px;border-radius:6px;background:color-mix(in srgb, var(--iwb-plp-accent,#7c4dff) 10%, transparent);color:var(--iwb-plp-accent,#5a4bd0);font-size: 12px;cursor:pointer;align-self:flex-start}
|
||||
.iwb-plp-nref em{font-style:normal;color:var(--iwb-text2,#8b929c)}
|
||||
/* v1.14.3:勾选框改成自绘的蓝色实心勾(与样式节点视觉一致;原生 macOS 勾选框在不同外观下不一致) */
|
||||
.iwb-plp-nref input[type="checkbox"]{appearance:none;-webkit-appearance:none;margin:0;width:14px;height:14px;flex:0 0 auto;border-radius:var(--iwb-radius-chip,6px);border:1.5px solid var(--iwb-border2,#c9ccd4);background:var(--iwb-plugin-surface,#fff);cursor:pointer;position:relative;transition:background .12s ease,border-color .12s ease}
|
||||
.iwb-plp-nref input[type="checkbox"]:checked{background:var(--iwb-brand,#1677ff);border-color:var(--iwb-brand,#1677ff)}
|
||||
.iwb-plp-nref input[type="checkbox"]:checked::after{content:"";position:absolute;left:4px;top:1px;width:4px;height:8px;border:solid var(--iwb-on-brand,#ffffff);border-width:0 2px 2px 0;transform:rotate(45deg)}
|
||||
.iwb-plp-nref.is-on{background:color-mix(in srgb, var(--iwb-brand,#1677ff) 14%, transparent);color:var(--iwb-brand,#1677ff)}
|
||||
.iwb-plp-nprev{margin-top:2px;border-top:1px dashed var(--iwb-border,#e3e5e9);padding-top:6px;color:var(--iwb-text2,#5b6472);font-size: 12px;line-height:1.6;max-height:88px;overflow:hidden}
|
||||
|
||||
/* v1.5.0:变量编辑器 / 详情变量 */
|
||||
|
||||
Reference in new issue
Block a user