288 lines
7.2 KiB
CSS
288 lines
7.2 KiB
CSS
.vxe-split {
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
.vxe-split.is--vertical > .vxe-split-wrapper {
|
|
flex-direction: column;
|
|
}
|
|
.vxe-split.is--vertical > .vxe-split-wrapper > .vxe-split-pane {
|
|
width: 100%;
|
|
}
|
|
.vxe-split.is--drag {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
}
|
|
.vxe-split.is--drag.is-resize--immediate.is--horizontal {
|
|
cursor: w-resize;
|
|
}
|
|
.vxe-split.is--drag.is-resize--immediate.is--vertical {
|
|
cursor: n-resize;
|
|
}
|
|
.vxe-split.is--drag.is-resize--lazy.is--horizontal {
|
|
cursor: col-resize;
|
|
}
|
|
.vxe-split.is--drag.is-resize--lazy.is--vertical {
|
|
cursor: row-resize;
|
|
}
|
|
.vxe-split.is--drag > .vxe-split-wrapper > .vxe-split-pane > .vxe-split-pane--wrapper::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 1;
|
|
background: transparent;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.vxe-split--resizable-split-tip {
|
|
display: none;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
z-index: 7;
|
|
pointer-events: none;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
cursor: col-resize;
|
|
}
|
|
.vxe-split--resizable-split-tip.is-resize--lazy:before {
|
|
content: "";
|
|
display: block;
|
|
height: 100%;
|
|
background-color: var(--vxe-ui-split-resizable-drag-line-color);
|
|
}
|
|
.vxe-split--resizable-split-tip.is--horizontal {
|
|
width: 1px;
|
|
height: 100%;
|
|
}
|
|
.vxe-split--resizable-split-tip.is--horizontal .vxe-split--resizable-split-number-prev {
|
|
right: 0;
|
|
}
|
|
.vxe-split--resizable-split-tip.is--horizontal .vxe-split--resizable-split-number-next {
|
|
left: 1px;
|
|
}
|
|
.vxe-split--resizable-split-tip.is--vertical {
|
|
width: 100%;
|
|
height: 1px;
|
|
}
|
|
.vxe-split--resizable-split-tip.is--vertical .vxe-split--resizable-split-number-prev {
|
|
bottom: 0;
|
|
}
|
|
.vxe-split--resizable-split-tip.is--vertical .vxe-split--resizable-split-number-next {
|
|
top: 1px;
|
|
}
|
|
|
|
.vxe-split--resizable-split-tip-number {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.vxe-split--resizable-split-number-prev,
|
|
.vxe-split--resizable-split-number-next {
|
|
position: absolute;
|
|
padding: 0.25em 0.25em;
|
|
font-size: 12px;
|
|
border-radius: var(--vxe-ui-border-radius);
|
|
white-space: nowrap;
|
|
color: #ffffff;
|
|
background-color: var(--vxe-ui-split-resizable-drag-line-color);
|
|
}
|
|
|
|
.vxe-split-wrapper {
|
|
height: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.vxe-split-slots {
|
|
display: none;
|
|
}
|
|
|
|
.vxe-split-pane-handle {
|
|
display: flex;
|
|
position: relative;
|
|
flex-shrink: 0;
|
|
-webkit-user-select: none;
|
|
-moz-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
.vxe-split-pane--wrapper {
|
|
position: relative;
|
|
word-break: break-word;
|
|
overflow: hidden;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
.vxe-split-pane--inner {
|
|
height: 100%;
|
|
width: 100%;
|
|
overflow: auto;
|
|
}
|
|
.vxe-split-pane--inner > .vxe-split {
|
|
height: 100%;
|
|
}
|
|
|
|
.vxe-split-pane-handle-bar {
|
|
background-color: var(--vxe-ui-split-handle-bar-background-color);
|
|
}
|
|
.vxe-split-pane-handle-bar:hover {
|
|
background-color: var(--vxe-ui-split-handle-bar-hover-background-color);
|
|
}
|
|
|
|
.vxe-split-pane-action-btn-wrapper {
|
|
position: absolute;
|
|
display: flex;
|
|
top: 50%;
|
|
left: 50%;
|
|
transform: translate(-50%, -50%);
|
|
z-index: 2;
|
|
}
|
|
|
|
.vxe-split-pane-action-btn {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: var(--vxe-ui-base-border-radius);
|
|
color: var(--vxe-ui-layout-background-color);
|
|
background-color: var(--vxe-ui-split-handle-button-background-color);
|
|
border: 1px solid var(--vxe-ui-input-border-color);
|
|
cursor: pointer;
|
|
transition: transform 0.1s ease-in-out;
|
|
}
|
|
.vxe-split-pane-action-btn:hover {
|
|
color: #ffffff;
|
|
background-color: var(--vxe-ui-font-primary-color);
|
|
}
|
|
.vxe-split-pane-action-btn:active {
|
|
transform: scale(0.9);
|
|
}
|
|
.vxe-split-pane-action-btn > i {
|
|
font-size: 0.6em;
|
|
}
|
|
|
|
.vxe-split-pane-handle.is--horizontal {
|
|
flex-direction: row;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal.is--border {
|
|
border-width: 1px 0 1px 0;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal .vxe-split-pane-action-btn-wrapper {
|
|
flex-direction: column;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal .vxe-split-pane-action-btn-wrapper div {
|
|
margin-top: 1em;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal .vxe-split-pane-action-btn-wrapper div:first-child {
|
|
margin-top: 0;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal .vxe-split-pane-handle-bar {
|
|
width: var(--vxe-ui-split-handle-bar-horizontal-width);
|
|
height: 100%;
|
|
}
|
|
.vxe-split-pane-handle.is--horizontal .vxe-split-pane-action-btn {
|
|
width: var(--vxe-ui-split-handle-bar-horizontal-width);
|
|
height: var(--vxe-ui-split-handle-bar-horizontal-height);
|
|
}
|
|
.vxe-split-pane-handle.is--vertical {
|
|
flex-direction: column;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical.is--border {
|
|
border-width: 0 1px 0 1px;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical .vxe-split-pane-action-btn-wrapper {
|
|
flex-direction: row;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical .vxe-split-pane-action-btn-wrapper div {
|
|
margin-left: 1em;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical .vxe-split-pane-action-btn-wrapper div:first-child {
|
|
margin-left: 0;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical .vxe-split-pane-handle-bar {
|
|
height: var(--vxe-ui-split-handle-bar-vertical-height);
|
|
width: 100%;
|
|
}
|
|
.vxe-split-pane-handle.is--vertical .vxe-split-pane-action-btn {
|
|
width: var(--vxe-ui-split-handle-bar-vertical-width);
|
|
height: var(--vxe-ui-split-handle-bar-vertical-height);
|
|
}
|
|
.vxe-split-pane-handle.is--resize.is-resize--immediate.is--horizontal .vxe-split-pane-handle-bar {
|
|
cursor: w-resize;
|
|
}
|
|
.vxe-split-pane-handle.is--resize.is-resize--immediate.is--vertical .vxe-split-pane-handle-bar {
|
|
cursor: n-resize;
|
|
}
|
|
.vxe-split-pane-handle.is--resize.is-resize--immediate > .vxe-split-pane-handle-bar:active {
|
|
background-color: var(--vxe-ui-font-primary-color);
|
|
}
|
|
.vxe-split-pane-handle.is--resize.is-resize--lazy.is--horizontal .vxe-split-pane-handle-bar {
|
|
cursor: col-resize;
|
|
}
|
|
.vxe-split-pane-handle.is--resize.is-resize--lazy.is--vertical .vxe-split-pane-handle-bar {
|
|
cursor: row-resize;
|
|
}
|
|
|
|
.vxe-split-pane {
|
|
display: flex;
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
.vxe-split-pane.is--fill {
|
|
flex-grow: 1;
|
|
}
|
|
.vxe-split-pane.is--hidden.is--horizontal {
|
|
width: 0;
|
|
}
|
|
.vxe-split-pane.is--hidden.is--vertical {
|
|
height: 0;
|
|
}
|
|
.vxe-split-pane.is--padding > .vxe-split-pane--wrapper {
|
|
padding: var(--vxe-ui-layout-padding-default);
|
|
}
|
|
.vxe-split-pane.is--hidden, .vxe-split-pane.is--width, .vxe-split-pane.is--height {
|
|
flex-shrink: 0;
|
|
}
|
|
.vxe-split-pane.is--border > .vxe-split-pane--wrapper {
|
|
border: 1px solid var(--vxe-ui-base-popup-border-color);
|
|
}
|
|
|
|
.vxe-split--render-vars {
|
|
width: 0;
|
|
height: 0;
|
|
overflow: hidden;
|
|
}
|
|
.vxe-split--render-vars .vxe-split--handle-bar-info {
|
|
width: var(--vxe-ui-split-handle-bar-horizontal-width);
|
|
height: var(--vxe-ui-split-handle-bar-vertical-height);
|
|
}
|
|
|
|
.vxe-modal--content > .vxe-split {
|
|
height: 100%;
|
|
}
|
|
|
|
.vxe-split {
|
|
font-size: var(--vxe-ui-font-size-default);
|
|
}
|
|
.vxe-split.size--medium {
|
|
font-size: var(--vxe-ui-font-size-medium);
|
|
}
|
|
.vxe-split.size--small {
|
|
font-size: var(--vxe-ui-font-size-small);
|
|
}
|
|
.vxe-split.size--mini {
|
|
font-size: var(--vxe-ui-font-size-mini);
|
|
} |