.pdfFieldItem { background: white; padding: 10px; border-radius: 4px; cursor: pointer; } .drawToolBoxContainer { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; z-index: 50; .drawToolBox { display: flex; gap: 10px; min-width: 100px; background-color: white; padding: 15px; box-shadow: 0 0 10px 1px #0000003b; border-radius: 4px; .toolItem { display: flex; flex-direction: column; align-items: center; border: 1px solid rgba(0, 0, 0, 0.137); padding: 5px; cursor: pointer; user-select: none; &.selected { border-color: #01aaad; color: #01aaad; } &:not(.selected) { &:hover { border-color: #01aaad79; } } } } } .pdfImageWrapper { position: relative; user-select: none; &.drawing { cursor: crosshair; } } .drawingRectangle { position: absolute; border: 1px solid #01aaad; //width: 40px; //height: 40px; z-index: 50; background-color: #01aaad4b; cursor: pointer; display: flex; justify-content: center; &.nonEditable { cursor: default; } .resizeHandle { position: absolute; right: -5px; bottom: -5px; width: 10px; height: 10px; background-color: #fff; border: 1px solid rgb(160, 160, 160); border-radius: 50%; cursor: pointer; } .removeHandle { position: absolute; display: flex; justify-content: center; align-items: center; top: -30px; width: 20px; height: 20px; background-color: #fff; border: 1px solid rgb(160, 160, 160); border-radius: 50%; color: #E74C3C; font-size: 10px; cursor: pointer; } .userSelect { position: absolute; display: flex; justify-content: center; align-items: center; bottom: -60px; min-width: 170px; min-height: 30px; background: #fff; padding: 5px 0; } }