2022-02-20 11:51:55 +00:00
|
|
|
.resizable {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
width: 100px;
|
|
|
|
height: 100px;
|
|
|
|
max-width: 100%;
|
2022-04-27 13:21:24 +00:00
|
|
|
box-sizing: border-box;
|
2022-05-21 01:08:20 +00:00
|
|
|
overflow: visible;
|
2022-04-27 13:21:24 +00:00
|
|
|
|
2022-04-27 14:24:30 +00:00
|
|
|
.cloneNodeWrap {
|
|
|
|
position: absolute;
|
2022-04-29 09:17:30 +00:00
|
|
|
z-index: -1;
|
2022-04-27 14:24:30 +00:00
|
|
|
display: flex;
|
|
|
|
font-size: 14px;
|
|
|
|
color: #333;
|
2022-04-27 14:25:01 +00:00
|
|
|
background-color: rgb(179 212 255 / 30%);
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2022-04-27 14:24:30 +00:00
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
2022-04-27 13:21:24 +00:00
|
|
|
.resizer {
|
|
|
|
position: absolute;
|
|
|
|
z-index: 9999;
|
|
|
|
width: 10px;
|
|
|
|
height: 10px;
|
|
|
|
background: white;
|
|
|
|
border: 3px solid #4286f4;
|
|
|
|
border-radius: 50%;
|
|
|
|
opacity: 0;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resizer.topLeft {
|
|
|
|
top: -5px;
|
|
|
|
left: -5px;
|
|
|
|
cursor: nwse-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resizer.topRight {
|
|
|
|
top: -5px;
|
|
|
|
right: -5px;
|
|
|
|
cursor: nesw-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resizer.bottomLeft {
|
|
|
|
bottom: -5px;
|
|
|
|
left: -5px;
|
|
|
|
cursor: nesw-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.resizer.bottomRight {
|
|
|
|
right: -5px;
|
|
|
|
bottom: -5px;
|
|
|
|
cursor: nwse-resize;
|
|
|
|
}
|
2022-02-20 11:51:55 +00:00
|
|
|
|
|
|
|
&.isActive {
|
|
|
|
.resizer {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|