All Downloads are FREE. Search and download functionalities are using the official Maven repository.

split-layoutpackage.theme.material.vaadin-split-layout-styles.js Maven / Gradle / Ivy

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' },
);




© 2015 - 2024 Weber Informatics LLC | Privacy Policy