// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function listElementJoyStyle() {
    return css `
:host {
  --list-background-color: var(--joy-scheme-background, var(--list-background-color));
  --list-border-color: var(--joy-scheme-highlight);
  --list-border-radius: var(--joy-layout-radius);
  --list-border-style: solid;
  --list-border-width: 0px;
  --list-font-family: var(--joy-font-family);
  --list-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --list-font-line-height: var(--joy-typography-body1-line-height);
  --list-font-size: var(--joy-typography-body1-font-size);
  --list-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --list-font-text-transform: var(--joy-typography-body1-text-transform);
  --list-font-weight: var(--joy-typography-body1-font-weight);
  --list-foreground-color: var(--joy-scheme-foreground);
  --list-gap: var(--joy-layout-space);
  --list-padding-bottom: var(--joy-layout-spacing);
  --list-padding-left: calc(var(--joy-layout-spacing) * 2);
  --list-padding-right: calc(var(--joy-layout-spacing) * 2);
  --list-padding-top: var(--joy-layout-spacing);
  --list-shadow: unset unset unset unset unset;
  --list-shadow-blur: unset;
  --list-shadow-color: unset;
  --list-shadow-offset-x: unset;
  --list-shadow-offset-y: unset;
  --list-shadow-spread: unset;
  --list-transition-duration: var(--joy-duration-short);
  --list-transition-mode: ease;
  --list-transition-property: all;
  --list-translate: none;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--list-font-family);
  font-size: var(--list-font-size);
  line-height: var(--list-font-line-height);
  font-weight: var(--list-font-weight);
  letter-spacing: var(--list-font-letter-spacing);
  -webkit-text-decoration: var(--list-font-text-decoration);
  text-decoration: var(--list-font-text-decoration);
  text-transform: var(--list-font-text-transform);
  background-color: var(--list-background-color);
  color: var(--list-foreground-color);
  border-color: var(--list-border-color);
  border-width: var(--list-border-width);
  border-radius: var(--list-border-radius);
  border-style: var(--list-border-style);
  transition-duration: var(--list-transition-duration);
  transition-timing-function: var(--list-transition-mode);
  transition-property: var(--list-transition-property);
  box-shadow: var(--list-shadow);
  padding-top: var(--list-padding-top);
  padding-left: var(--list-padding-left);
  padding-bottom: var(--list-padding-bottom);
  padding-right: var(--list-padding-right);
  gap: var(--list-gap);
  overflow: overlay;
  outline: none;
  width: 100%;
  height: 100%;
}

:host [part="filter"] {
  z-index: 2;
  position: sticky;
  top: 8px;
}

:host [part="items"] {
  gap: var(--list-gap);
  flex-direction: column;
  display: flex;
}

:host([orientation="horizontal"]) [part="items"] {
  flex-flow: wrap;
}

:host([inset*="none"]), :host([empty]) {
  --list-padding-top: 0px;
  --list-padding-left: 0px;
  --list-padding-bottom: 0px;
  --list-padding-right: 0px;
}

:host([mosaik-dropdown-button-projection]), :host([mosaik-split-button-projection]) {
  --list-border-radius: unset;
}

:host([mosaik-dropdown-button-projection]) ::slotted(mosaik-menu-item), :host([mosaik-split-button-projection]) ::slotted(mosaik-menu-item) {
  --list-item-border-radius: unset;
}

:host([mosaik-dropdown-button-projection]) ::slotted(mosaik-menu-item-group), :host([mosaik-split-button-projection]) ::slotted(mosaik-menu-item-group) {
  --list-item-group-border-radius: unset;
}

    `;
}
//# sourceMappingURL=ListElement.Joy.js.map