feat(关闭文档): 新增文档关闭并完善未保存提示
build.yaml / build (push) Successful in 44s

This commit is contained in:
xiaoqidun committed 2026-10-18 02:12:23 +08:00
1 parent 0d2e1ccdf2
commit c2751ae186
3 files changed
+129 -3

No files matched your search

+16
View File
@@ -583,6 +583,7 @@ button:not(:disabled):hover {
content: "";
}
.close-icon,
.new-icon {
position: relative;
width: 15px;
@@ -590,6 +591,8 @@ button:not(:disabled):hover {
border: 1px solid currentColor;
}
.close-icon::before,
.close-icon::after,
.new-icon::before,
.new-icon::after {
position: absolute;
@@ -606,6 +609,19 @@ button:not(:disabled):hover {
transform: translate(-50%, -50%) rotate(90deg);
}
.close-icon::before,
.close-icon::after {
width: 8px;
}
.close-icon::before {
transform: translate(-50%, -50%) rotate(45deg);
}
.close-icon::after {
transform: translate(-50%, -50%) rotate(-45deg);
}
.save-icon {
width: 16px;
height: 16px;