// ------------------------------------------------------------------------------
// <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 menuItemElementRetroStyle() {
    return css `
:host {
  --menu-item-background-color: var(--retro-scheme-background);
  --menu-item-border-color: var(--retro-scheme-highlight);
  --menu-item-border-radius: var(--retro-layout-radius);
  --menu-item-border-style: solid;
  --menu-item-border-width: 0px;
  --menu-item-focus-ring-active-width: 8px;
  --menu-item-focus-ring-color: unset;
  --menu-item-focus-ring-inward-offset: 2px;
  --menu-item-focus-ring-outward-offset: 2px;
  --menu-item-font-family: var(--retro-font-family);
  --menu-item-font-letter-spacing: var(--retro-typography-body1-letter-spacing);
  --menu-item-font-line-height: var(--retro-typography-body1-line-height);
  --menu-item-font-size: var(--retro-typography-body1-font-size);
  --menu-item-font-text-decoration: var(--retro-typography-body1-text-decoration);
  --menu-item-font-text-transform: var(--retro-typography-body1-text-transform);
  --menu-item-font-weight: var(--retro-typography-body1-font-weight);
  --menu-item-foreground-color: var(--retro-scheme-foreground);
  --menu-item-gap: calc(var(--retro-layout-space) * 2);
  --menu-item-height: 45px;
  --menu-item-indent-color: var(--retro-scheme-highlight);
  --menu-item-indent-offset: calc(var(--retro-layout-space) * 2);
  --menu-item-indent-size: var(--retro-layout-thickness);
  --menu-item-padding-bottom: var(--retro-layout-space);
  --menu-item-padding-left: calc(var(--retro-layout-space) * 2);
  --menu-item-padding-right: calc(var(--retro-layout-space) * 2);
  --menu-item-padding-top: var(--retro-layout-space);
  --menu-item-ripple-color: unset;
  --menu-item-ripple-duration: .2s;
  --menu-item-shadow: var(--retro-elevation-none);
  --menu-item-transition-duration: .2s;
  --menu-item-transition-mode: ease;
  --menu-item-transition-property: background-color, color, border-color, opacity, box-shadow;
  --menu-item-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 [part="root"] {
  font-family: var(--menu-item-font-family);
  font-size: var(--menu-item-font-size);
  line-height: var(--menu-item-font-line-height);
  font-weight: var(--menu-item-font-weight);
  letter-spacing: var(--menu-item-font-letter-spacing);
  -webkit-text-decoration: var(--menu-item-font-text-decoration);
  text-decoration: var(--menu-item-font-text-decoration);
  text-transform: var(--menu-item-font-text-transform);
  transition-duration: var(--menu-item-transition-duration);
  transition-timing-function: var(--menu-item-transition-mode);
  transition-property: var(--menu-item-transition-property);
  background-color: var(--menu-item-background-color);
  color: var(--menu-item-foreground-color);
  border: var(--menu-item-border-width) var(--menu-item-border-style) var(--menu-item-border-color);
  border-radius: var(--menu-item-border-radius);
  padding: var(--menu-item-padding-top) var(--menu-item-padding-right) var(--menu-item-padding-bottom) var(--menu-item-padding-left);
  min-height: var(--menu-item-height);
  gap: var(--menu-item-gap);
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="text"] {
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
  display: block;
  overflow: hidden;
}

:host slot[name="label"] mosaik-text {
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host slot:not([name]) {
  margin-left: calc(var(--menu-item-padding-left)  + var(--menu-item-gap));
  display: block;
}

:host [part="caret"]::part(icon) {
  transition-property: transform;
  transition-duration: .2s;
  transition-timing-function: ease;
  transform: rotate(-90deg);
}

:host [part="expandable"]::part(content):before {
  content: "";
  top: 0;
  left: var(--menu-item-indent-offset);
  width: var(--menu-item-indent-size);
  background-color: var(--menu-item-indent-color);
  height: 100%;
  position: absolute;
}

:host([is-expanded]) [part="caret"]::part(icon) {
  transform: rotate(-45deg);
}

:host([role="link"]) {
  cursor: pointer;
}

    `;
}
//# sourceMappingURL=MenuItemElement.Retro.js.map