feat(image-annotate): 1.2.2 手柄仅选择工具/高亮跟随绘制目标/选项栏快捷点与裁剪参数/Enter-Esc 裁剪
This commit is contained in:
1 parent
1bf8220c05
commit
f50b734fd7
11 files changed
+340
-164
No files matched your search
@@ -1502,3 +1502,41 @@
|
||||
@media (max-width: 1100px) {
|
||||
.iwb-opt-range { width: 64px; }
|
||||
}
|
||||
|
||||
/* ---- v1.2.2 ---- */
|
||||
/* 选项栏快捷值圆点(笔刷大小 / 矢量描边推荐值),与侧栏描边快捷点同交互 */
|
||||
.iwb-opt-dots { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; }
|
||||
.iwb-opt-dot {
|
||||
display: inline-flex; align-items: center; justify-content: center;
|
||||
width: 20px; height: 20px; padding: 0; border: 0; border-radius: 50%;
|
||||
background: transparent; cursor: pointer;
|
||||
}
|
||||
.iwb-opt-dot i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #e8a735; border: 1px solid #f6d38a; }
|
||||
.iwb-opt-dot:nth-child(2) i { width: 7px; height: 7px; }
|
||||
.iwb-opt-dot:nth-child(3) i { width: 9px; height: 9px; }
|
||||
.iwb-opt-dot:nth-child(4) i { width: 11px; height: 11px; }
|
||||
.iwb-opt-dot:nth-child(5) i { width: 14px; height: 14px; }
|
||||
.iwb-opt-dot:nth-child(6) i { width: 17px; height: 17px; }
|
||||
.iwb-opt-dot:nth-child(7) i { width: 20px; height: 20px; }
|
||||
.iwb-opt-dot:hover { background: #313244; }
|
||||
|
||||
/* 裁剪控件在选项栏内联布局(旧 .iwb-editor-crop-bar 的绝对定位容器已删除) */
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-info {
|
||||
min-width: 88px; text-align: center; color: #e8a735;
|
||||
font-size: 11px; font-variant-numeric: tabular-nums; flex: 0 0 auto;
|
||||
}
|
||||
.iwb-editor-optionbar-body .iwb-editor-size-input {
|
||||
width: 52px; padding: 2px 5px; font-size: 11px;
|
||||
background: #1e2030; color: #e5e9f0;
|
||||
border: 1px solid #45475a; border-radius: 4px;
|
||||
}
|
||||
.iwb-editor-optionbar-body .iwb-editor-size-input:focus { outline: none; border-color: #4488ff; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-size-input::-webkit-inner-spin-button { -webkit-appearance: none; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-confirm,
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-cancel {
|
||||
padding: 3px 10px; border: 0; border-radius: 4px; cursor: pointer; font-size: 12px; flex: 0 0 auto;
|
||||
}
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-confirm { background: #1a7f37; color: #fff; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-confirm:hover { background: #15803d; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-cancel { background: #cf222e; color: #fff; }
|
||||
.iwb-editor-optionbar-body .iwb-editor-crop-cancel:hover { background: #b91c1c; }
|
||||
Reference in new issue
Block a user