accordionpackage.theme.material.vaadin-accordion-panel-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
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',
});