UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

52 lines (44 loc) 1.36 kB
/** * --------------------------------------------------------------------- * 🔒 AUTOGENERATED BY VENDORISM * Removing this comment will prevent it from being managed by it. * --------------------------------------------------------------------- */ /* stylelint-disable */ /* * This file contains utility classes that can't be contained in a component and must be applied to the light DOM. None * of the rules in this stylesheet should target component tags or HTML tags, and all classes *must* start with ".syn-" * to reduce the possibility of collisions. */ @supports (scrollbar-gutter: stable) { .syn-scroll-lock { scrollbar-gutter: var(--syn-scroll-lock-gutter) !important; } .syn-scroll-lock body { overflow: hidden !important; } } /** This can go away once Safari has scrollbar-gutter support. */ @supports not (scrollbar-gutter: stable) { .syn-scroll-lock body { padding-right: var(--syn-scroll-lock-size) !important; overflow: hidden !important; } } .syn-toast-stack { position: fixed; top: 0; inset-inline-end: 0; z-index: var(--syn-z-index-toast); width: 28rem; max-width: 100%; max-height: 100%; overflow: auto; } .syn-toast-stack syn-alert { margin: var(--syn-spacing-small); } .syn-toast-stack syn-alert::part(base) { box-shadow: var(--syn-shadow-large); } /* stylelint-enable */