// ------------------------------------------------------------------------------
// <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 menuElementJoyStyle() {
    return css `
:host {
  --menu-background-color: var(--joy-scheme-background, var(--menu-background-color));
  --menu-border-color: var(--joy-scheme-highlight);
  --menu-border-radius: var(--joy-layout-radius);
  --menu-border-style: solid;
  --menu-border-width: 0px;
  --menu-font-family: var(--joy-font-family);
  --menu-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --menu-font-line-height: var(--joy-typography-body1-line-height);
  --menu-font-size: var(--joy-typography-body1-font-size);
  --menu-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --menu-font-text-transform: var(--joy-typography-body1-text-transform);
  --menu-font-weight: var(--joy-typography-body1-font-weight);
  --menu-foreground-color: var(--joy-scheme-foreground);
  --menu-gap: unset;
  --menu-padding-bottom: var(--joy-layout-spacing);
  --menu-padding-left: calc(var(--joy-layout-spacing) * 2);
  --menu-padding-right: calc(var(--joy-layout-spacing) * 2);
  --menu-padding-top: var(--joy-layout-spacing);
  --menu-shadow: var(--joy-elevation-none);
  --menu-transition-duration: var(--joy-duration-short);
  --menu-transition-mode: ease;
  --menu-transition-property: background-color, color, border-color, box-shadow;
  --menu-translate: unset;
}

@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(--menu-font-family);
  font-size: var(--menu-font-size);
  line-height: var(--menu-font-line-height);
  font-weight: var(--menu-font-weight);
  letter-spacing: var(--menu-font-letter-spacing);
  -webkit-text-decoration: var(--menu-font-text-decoration);
  text-decoration: var(--menu-font-text-decoration);
  text-transform: var(--menu-font-text-transform);
  background-color: var(--menu-background-color);
  color: var(--menu-foreground-color);
  border-color: var(--menu-border-color);
  border-width: var(--menu-border-width);
  border-radius: var(--menu-border-radius);
  border-style: var(--menu-border-style);
  transition-duration: var(--menu-transition-duration);
  transition-timing-function: var(--menu-transition-mode);
  transition-property: var(--menu-transition-property);
  box-shadow: var(--menu-shadow);
  padding-top: var(--menu-padding-top);
  padding-left: var(--menu-padding-left);
  padding-bottom: var(--menu-padding-bottom);
  padding-right: var(--menu-padding-right);
}

:host [part="root"] {
  gap: var(--menu-gap);
}

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

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

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

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

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