split-layoutpackage.theme.material.vaadin-split-layout-styles.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
import '@vaadin/vaadin-material-styles/color.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
registerStyles(
'vaadin-split-layout',
css`
[part='splitter'] {
min-width: 8px;
min-height: 8px;
background-color: var(--_material-split-layout-splitter-background-color, #000);
}
[part='handle'] {
display: flex;
align-items: center;
justify-content: center;
}
[part='handle']::after {
content: '';
display: block;
width: 2px;
height: 24px;
background-color: var(--material-background-color);
}
:host([orientation='vertical']) [part='handle']::after {
transform: rotate(90deg);
}
`,
{ moduleId: 'material-split-layout' },
);