2024-02-07 22:35:58 +00:00
|
|
|
export default {
|
|
|
|
css: `
|
|
|
|
.p-splitter {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: nowrap;
|
|
|
|
border: 1px solid var(--p-dark-surface-700, var(--p-surface-200));
|
|
|
|
background: var(--p-dark-surface-900, var(--p-surface-0));
|
2024-02-07 22:38:31 +00:00
|
|
|
border-radius: var(--p-border-radius);
|
2024-02-10 08:57:04 +00:00
|
|
|
color: var(--p-dark-surface-0, var(--p-surface-700));
|
2024-02-07 22:35:58 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-vertical {
|
|
|
|
flex-direction: column;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-gutter {
|
|
|
|
flex-grow: 0;
|
|
|
|
flex-shrink: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
z-index: 1;
|
|
|
|
background: var(--p-dark-surface-700, var(--p-surface-200));
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-gutter-handle {
|
2024-02-07 22:38:31 +00:00
|
|
|
border-radius: var(--p-border-radius);
|
2024-02-07 22:35:58 +00:00
|
|
|
background: transparent;
|
2024-02-10 08:57:04 +00:00
|
|
|
transition: outline-color var(--p-transition-duration);
|
2024-02-07 22:35:58 +00:00
|
|
|
outline-color: transparent;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-gutter-handle:focus-visible {
|
|
|
|
outline: var(--p-focus-ring-width) var(--p-focus-ring-style) var(--p-focus-ring-color);
|
|
|
|
outline-offset: var(--p-focus-ring-offset);
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-horizontal.p-splitter-resizing {
|
|
|
|
cursor: col-resize;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-vertical.p-splitter-resizing {
|
|
|
|
cursor: row-resize;
|
|
|
|
user-select: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-horizontal > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
|
|
height: 24px;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-vertical > .p-splitter-gutter > .p-splitter-gutter-handle {
|
|
|
|
width: 24px;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-horizontal > .p-splitter-gutter {
|
|
|
|
cursor: col-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-vertical > .p-splitter-gutter {
|
|
|
|
cursor: row-resize;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-panel {
|
|
|
|
flex-grow: 1;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-panel-nested {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.p-splitter-panel .p-splitter {
|
|
|
|
flex-grow: 1;
|
|
|
|
border: 0 none;
|
|
|
|
}
|
|
|
|
`
|
|
|
|
};
|