@phosphor/widgets
Version:
PhosphorJS - Widgets
57 lines (40 loc) • 1.09 kB
CSS
/*-----------------------------------------------------------------------------
| Copyright (c) 2014-2017, PhosphorJS Contributors
|
| Distributed under the terms of the BSD 3-Clause License.
|
| The full license is in the file LICENSE, distributed with this software.
|----------------------------------------------------------------------------*/
.p-SplitPanel-child {
z-index: 0;
}
.p-SplitPanel-handle {
z-index: 1;
}
.p-SplitPanel-handle.p-mod-hidden {
display: none ;
}
.p-SplitPanel-handle:after {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
content: '';
}
.p-SplitPanel[data-orientation='horizontal'] > .p-SplitPanel-handle {
cursor: ew-resize;
}
.p-SplitPanel[data-orientation='vertical'] > .p-SplitPanel-handle {
cursor: ns-resize;
}
.p-SplitPanel[data-orientation='horizontal'] > .p-SplitPanel-handle:after {
left: 50%;
min-width: 8px;
transform: translateX(-50%);
}
.p-SplitPanel[data-orientation='vertical'] > .p-SplitPanel-handle:after {
top: 50%;
min-height: 8px;
transform: translateY(-50%);
}