feat(编辑能力): 完善继承样式编辑与受限提示,优化编辑入口和工具栏布局
build.yaml / build (push) Successful in 37s

This commit is contained in:
xiaoqidun committed 2026-09-16 13:27:05 +08:00
1 parent 237487b53c
commit 0034e0edbd
11 files changed
+234 -52

No files matched your search

+32
View File
@@ -374,6 +374,34 @@ button:not(:disabled):hover {
transform: translate(-50%, -50%) rotate(90deg);
}
.edit-icon {
position: relative;
width: 15px;
height: 15px;
transform: rotate(-45deg);
}
.edit-icon::before {
position: absolute;
top: 5px;
left: 4px;
width: 9px;
height: 3px;
border: 1px solid currentColor;
content: "";
}
.edit-icon::after {
position: absolute;
top: 5px;
left: 0;
width: 4px;
height: 5px;
background: currentColor;
clip-path: polygon(0 50%, 100% 0, 100% 100%);
content: "";
}
.toolbar-space {
flex: 1 1 auto;
}
@@ -1305,6 +1333,10 @@ button.outline-link:hover {
outline: calc(1px / var(--surface-scale)) solid var(--accent);
}
.edit-object.read-only {
cursor: default;
}
.edit-line::before {
position: absolute;
inset: calc(-4px / var(--surface-scale));