ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
92 lines (91 loc) • 2.02 kB
CSS
.nz-resizable-preview {
position: absolute;
top: 0;
left: 0;
z-index: 8;
border: 1px dashed #d1d1d1;
}
.nz-resizable-handle {
position: absolute;
z-index: 9;
user-select: none;
}
.nz-resizable-handle-top {
top: -5px;
left: 0;
width: 100%;
height: 10px;
}
.nz-resizable-handle-right {
top: 0;
right: -5px;
width: 10px;
height: 100%;
}
.nz-resizable-handle-bottom {
bottom: -5px;
left: 0;
width: 100%;
height: 10px;
}
.nz-resizable-handle-left {
top: 0;
left: -5px;
width: 10px;
height: 100%;
}
.nz-resizable-handle-topRight {
top: -5px;
right: -5px;
z-index: 10;
width: 20px;
height: 20px;
}
.nz-resizable-handle-bottomRight {
right: -5px;
bottom: -5px;
z-index: 10;
width: 20px;
height: 20px;
}
.nz-resizable-handle-bottomLeft {
bottom: -5px;
left: -5px;
z-index: 10;
width: 20px;
height: 20px;
}
.nz-resizable-handle-topLeft {
top: -5px;
left: -5px;
z-index: 10;
width: 20px;
height: 20px;
}
.nz-resizable .nz-resizable-handle-cursor-type-window.nz-resizable-handle-top,
.nz-resizable .nz-resizable-handle-cursor-type-window.nz-resizable-handle-bottom {
cursor: ns-resize;
}
.nz-resizable .nz-resizable-handle-cursor-type-window.nz-resizable-handle-right,
.nz-resizable .nz-resizable-handle-cursor-type-window.nz-resizable-handle-left {
cursor: ew-resize;
}
.nz-resizable .nz-resizable-handle-cursor-type-grid.nz-resizable-handle-top,
.nz-resizable .nz-resizable-handle-cursor-type-grid.nz-resizable-handle-bottom {
cursor: row-resize;
}
.nz-resizable .nz-resizable-handle-cursor-type-grid.nz-resizable-handle-right,
.nz-resizable .nz-resizable-handle-cursor-type-grid.nz-resizable-handle-left {
cursor: col-resize;
}
.nz-resizable .nz-resizable-handle-bottomRight,
.nz-resizable .nz-resizable-handle-topLeft {
cursor: nwse-resize;
}
.nz-resizable .nz-resizable-handle-bottomLeft,
.nz-resizable .nz-resizable-handle-topRight {
cursor: nesw-resize;
}
.nz-resizable-disabled .nz-resizable-handle {
pointer-events: none;
}