fix(ui): 图库下载钮回右下角(覆盖宿主旧规则)、尺寸 28→26、与输出节点同款
This commit is contained in:
1 parent
eddd635846
commit
dc311ec0a9
3 files changed
+8
-2
No files matched your search
@@ -117,7 +117,7 @@ const SCALE = [
|
||||
['--iwb-radius-popover', '14px', '浮层/菜单/右键'],
|
||||
['--iwb-radius-full', '999px', '圆形/药丸'],
|
||||
// 2026-12-02:下载/浮层「圆形图标按钮」的一组尺寸(宿主 style.css 与 gallery 插件共用同一套变量)
|
||||
['--iwb-dl-size', '28px', '下载按钮:直径'],
|
||||
['--iwb-dl-size', '26px', '下载按钮:直径'],
|
||||
['--iwb-dl-radius', 'var(--iwb-radius-full)', '下载按钮:圆角(胶囊/圆)'],
|
||||
['--iwb-dl-inset', '8px', '下载按钮:距容器右下角内距'],
|
||||
['--iwb-dl-gap', '4px', '下载按钮:多按钮之间的间距'],
|
||||
|
||||
@@ -119,7 +119,7 @@
|
||||
--iwb-radius-panel: 12px; /* 面板/工具栏 */
|
||||
--iwb-radius-popover: 14px; /* 浮层/菜单/右键 */
|
||||
--iwb-radius-full: 999px; /* 圆形/药丸 */
|
||||
--iwb-dl-size: 28px; /* 下载按钮:直径 */
|
||||
--iwb-dl-size: 26px; /* 下载按钮:直径 */
|
||||
--iwb-dl-radius: var(--iwb-radius-full); /* 下载按钮:圆角(胶囊/圆) */
|
||||
--iwb-dl-inset: 8px; /* 下载按钮:距容器右下角内距 */
|
||||
--iwb-dl-gap: 4px; /* 下载按钮:多按钮之间的间距 */
|
||||
|
||||
@@ -2589,3 +2589,9 @@ body .iwb-history-embedded .iwb-history-item.iwb-history-selected:hover img {
|
||||
|
||||
/* 2026-12-02(用户裁定):图库选中只留外框,不显示角标图标 */
|
||||
body .iwb-history-embedded .iwb-history-check { display: none; }
|
||||
|
||||
/* 2026-12-02:图库卡片的下载按钮回到右下角(插件复用了 .iwb-history-actions,
|
||||
宿主旧规则是 left:0;right:0;justify-content:center ⇒ 按钮落在底部中间)。 */
|
||||
body .iwb-history-embedded .iwb-history-actions { left: auto; right: var(--iwb-dl-inset); bottom: var(--iwb-dl-inset); justify-content: flex-end; padding: 0; background-image: none; gap: var(--iwb-dl-gap); }
|
||||
body .iwb-history-embedded .iwb-history-actions .iwb-gal-dl { width: var(--iwb-dl-size); height: var(--iwb-dl-size); border-radius: var(--iwb-dl-radius); border: 1px solid var(--iwb-border2); background: var(--iwb-panel); color: var(--iwb-brand-text, var(--iwb-text)); display: grid; place-items: center; padding: 0; font-size: var(--iwb-font-xs); line-height: 1; cursor: pointer; }
|
||||
body .iwb-history-embedded .iwb-history-actions .iwb-gal-dl:hover { background: var(--iwb-hover); }
|
||||
Reference in new issue
Block a user