Update: 锁定一些元素拖拽时的光标样式
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user