Update: 锁定一些元素拖拽时的光标样式

This commit is contained in:
王立帮
2025-03-11 17:39:40 +08:00
parent 3aa62633c1
commit 14a2ddf6fd
5 changed files with 38 additions and 36 deletions

View File

@@ -40,14 +40,6 @@
animation-fill-mode: forwards;
}
.drag-w-resize * {
cursor: w-resize !important;
}
.drag-s-resize * {
cursor: s-resize !important;
}
/* 由于拖拽而产生尺寸改变元素的容器 */
.drag-s-container {
display: flex;
@@ -93,20 +85,6 @@ html[data-bs-theme=dark] .drag-w-elem {
background-color: rgb(8 105 170);
}
.drag-elem-shadow {
display: none;
position: absolute;
width: 100%;
height: 100%;
z-index: 99;
background-color: transparent;
opacity: 0;
}
.drag-elem-shadow.active {
display: block;
}
.drag-disable * {
pointer-events: none !important;
}