resize-handle.less
Home
/
codeeditor-app /
elements /
resize-handle /
resize-handle.less
@import url('../../../shared/theme.less');
resize-handle {
background: transparent;
position: absolute !important;
z-index: 9;
cursor: ew-resize;
transition: 1s ease-in;
flex: none !important;
}
resize-handle[dir="horizontal"] {
cursor: ew-resize;
width: 8px;
top: 0;
bottom: 0;
}
resize-handle[dir="vertical"] {
cursor: ns-resize;
height: 8px;
left: 0;
right: 0;
bottom: 0;
}
resize-handle:hover, resize-handle.active {
background: @primary-interaction-highlight-white;
transition: none;
}
resize-handle[dir="vertical"][place='top'] {
top: 0;
bottom: auto;
}
resize-handle[dir="horizontal"][place='right'] {
top: 0;
bottom: 0;
right: 0;
left: auto;
}
#fixed-resize-overlay {
position: fixed;
left: 0;
top: 0;
bottom: 0;
right: 0;
z-index: 10;
}
@media (prefers-color-scheme: dark) {
resize-handle:hover {
background: @primary-interaction-highlight-dark;
}
}