// ------------------------------------------------------------------------------
// <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 menuItemElementCosmopolitanStyle() {
    return css `
:host {
  --menu-item-background-color: unset;
  --menu-item-border-color: unset;
  --menu-item-border-radius: unset;
  --menu-item-border-style: unset;
  --menu-item-border-width: unset;
  --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: unset;
  --menu-item-font-letter-spacing: unset;
  --menu-item-font-line-height: unset;
  --menu-item-font-size: unset;
  --menu-item-font-text-decoration: unset;
  --menu-item-font-text-transform: unset;
  --menu-item-font-weight: unset;
  --menu-item-foreground-color: unset;
  --menu-item-gap: unset;
  --menu-item-height: unset;
  --menu-item-indent-color: var(--cosmopolitan-scheme-highlight);
  --menu-item-indent-offset: calc(var(--cosmopolitan-layout-space) * 2);
  --menu-item-indent-size: var(--cosmopolitan-layout-thickness);
  --menu-item-padding-bottom: unset;
  --menu-item-padding-left: unset;
  --menu-item-padding-right: unset;
  --menu-item-padding-top: unset;
  --menu-item-ripple-color: unset;
  --menu-item-ripple-duration: .2s;
  --menu-item-shadow: unset;
  --menu-item-transition-duration: unset;
  --menu-item-transition-mode: unset;
  --menu-item-transition-property: unset;
  --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 {
  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);
  cursor: pointer;
}

:host [part="root"] {
  transition-duration: inherit;
  transition-timing-function: inherit;
  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;
  transition-property: inherit;
  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[name="icon"] mosaik-icon {
  color: var(--menu-item-foreground-color);
  flex-shrink: 0;
}

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

:host [part="caret"]::part(icon) {
  color: var(--menu-item-foreground-color);
  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([disabled]:not([disabled="false"])) {
  cursor: default;
}

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

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