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

accordionpackage.theme.material.vaadin-accordion-panel-styles.js Maven / Gradle / Ivy

There is a newer version: 24.5.3
Show newest version
import '@vaadin/vaadin-material-styles/color.js';
import { details } from '@vaadin/details/theme/material/vaadin-details-styles.js';
import { css, registerStyles } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';

const accordionPanel = css`
  :host([opened]:not(:first-child)) {
    margin-top: 16px;
  }

  :host([opened]:not(:last-child)) {
    margin-bottom: 16px;
  }
`;

registerStyles('vaadin-accordion-panel', [details, accordionPanel], {
  moduleId: 'material-accordion-panel',
});




© 2015 - 2024 Weber Informatics LLC | Privacy Policy