resize-handle.less

46 lines | 812 B Blame History Raw Download
@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;
}

#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;
    }
}