UNPKG

@eclipse-scout/core

Version:
54 lines (44 loc) 1.09 kB
/* * Copyright (c) 2010, 2023 BSI Business Systems Integration AG * * This program and the accompanying materials are made * available under the terms of the Eclipse Public License 2.0 * which is available at https://www.eclipse.org/legal/epl-2.0/ * * SPDX-License-Identifier: EPL-2.0 */ .splitter { position: absolute; /* | */ &.x-axis { top: 0; height: 100%; width: @splitter-size; &:not(.disabled) { cursor: col-resize; } &.line { padding-right: floor((@splitter-size - @splitter-line-size) / 2); padding-left: ceil((@splitter-size - @splitter-line-size) / 2); } } &.y-axis { left: 0; width: 100%; height: @splitter-size; &:not(.disabled) { cursor: row-resize; } &.line { padding-top: floor((@splitter-size - @splitter-line-size) / 2); padding-bottom: ceil((@splitter-size - @splitter-line-size) / 2); } } &.line { background-clip: content-box; background-color: @border-color; &:not(.disabled):hover { background-color: @hover-color; } } }