feat(image-annotate): 1.2.4 选择态就地改形状参数(描边/实心/线宽) + 顶栏命令带(更多菜单图标化: 新建/导入图层、置顶/上/下/置底、适应窗口、收起侧栏) + 选区命令入竖工具条

This commit is contained in:
qiqi committed 2026-11-04 21:12:36 +08:00
1 parent b83b8f3755
commit 77b4f7d5fe
8 files changed
+307 -147

No files matched your search

+23
View File
@@ -1546,3 +1546,26 @@
/* ---- v1.2.3:侧栏只留调色板 + 缩放 ---- */
/* 笔刷粗细/快捷点从侧栏移除后,缩放条直接挂在 aside 下:贴底,与调色板拉开距离 */
.iwb-editor-left > .iwb-editor-zoom { margin-top: auto; border-top: 1px solid #313244; padding-top: 10px; }
/* ================================================================
v1.2.4:顶栏命令带(原「更多 ▾」图标化)
布局:标题 | 撤销·重做·还原 | ⟨图层 新建/导入⟩ ⟨顺序 置顶/上移/下移/置底⟩ ⟨视图 适应/侧栏⟩ | …… | 输出·下载·新建·覆盖·退出
================================================================ */
.iwb-editor-header > .iwb-editor-history { order: 1; }
.iwb-editor-header > .iwb-editor-commands { order: 3; display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.iwb-editor-header > .iwb-editor-commands .iwb-editor-divider { width: 1px; height: 20px; background: #313244; flex: 0 0 auto; }
.iwb-editor-cmdgroup { display: flex; align-items: center; gap: 4px; }
.iwb-editor-cmdgroup[data-group="order"] { gap: 2px; }
/* 顶栏里的命令按钮统一 30×30 方角,和撤销/重做同款 */
.iwb-editor-header > .iwb-editor-commands .iwb-editor-action,
.iwb-editor-header > .iwb-editor-commands .iwb-editor-layer-btn {
width: 30px; height: 30px; min-width: 30px; padding: 0; border: 0; border-radius: 8px;
background: #313244; color: #cdd6f4;
display: inline-flex; align-items: center; justify-content: center; cursor: pointer;
}
.iwb-editor-header > .iwb-editor-commands .iwb-editor-action:hover:not(:disabled),
.iwb-editor-header > .iwb-editor-commands .iwb-editor-layer-btn:hover:not(:disabled) { background: #45475a; }
.iwb-editor-header > .iwb-editor-commands .iwb-editor-layer-btn:disabled { opacity: 0.35; cursor: not-allowed; }
/* 竖工具条里的选区命令(全选/反选/取消)与工具按钮区分一点点:命令用中性色底 */
.iwb-editor-header > .iwb-editor-tools .iwb-editor-selcmd { background: #26263a; }
.iwb-editor-header > .iwb-editor-tools .iwb-editor-selcmd:hover { background: #45475a; }