47 lines
828 B
CSS
47 lines
828 B
CSS
#box-drag-container {
|
|
position: relative;
|
|
margin: 20px 0;
|
|
}
|
|
#pdf-canvas {
|
|
box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.384);
|
|
width: 100%;
|
|
}
|
|
.draggable-buttons-box {
|
|
position: absolute;
|
|
top: 0;
|
|
padding: 10px;
|
|
width: 100%;
|
|
display: flex;
|
|
gap: 5px;
|
|
}
|
|
.draggable-buttons-box > button {
|
|
z-index: 10;
|
|
background-color: rgba(13, 110, 253, 0.1);
|
|
}
|
|
.draggable-canvas {
|
|
border: 1px solid red;
|
|
position: absolute;
|
|
touch-action: none;
|
|
user-select: none;
|
|
top: 0px;
|
|
left: 0;
|
|
transform-origin: center center;
|
|
}
|
|
.rotate-handle {
|
|
width: 10px;
|
|
height: 10px;
|
|
background: blue;
|
|
position: absolute;
|
|
top: -20px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
cursor: pointer;
|
|
}
|
|
.rotate-button {
|
|
background-color: rgba(13, 110, 253, 0.1);
|
|
border: none;
|
|
cursor: pointer;
|
|
padding: 5px;
|
|
margin: 2px;
|
|
}
|