// ------------------------------------------------------------------------------
// <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 actionbarItemElementJoyStyle() {
    return css `
:host {
  --actionbar-item-background-color: transparent;
  --actionbar-item-background-color-active: var(--joy-scheme-selected);
  --actionbar-item-background-color-hover: var(--joy-scheme-highlight);
  --actionbar-item-border-radius: var(--joy-layout-radius);
  --actionbar-item-font-family: unset;
  --actionbar-item-font-letter-spacing: unset;
  --actionbar-item-font-line-height: unset;
  --actionbar-item-font-size: unset;
  --actionbar-item-font-text-decoration: unset;
  --actionbar-item-font-text-transform: unset;
  --actionbar-item-font-weight: unset;
  --actionbar-item-gap: unset;
  --actionbar-item-padding-bottom: calc(var(--joy-layout-space) / 2);
  --actionbar-item-padding-left: calc(var(--joy-layout-space) / 2);
  --actionbar-item-padding-right: calc(var(--joy-layout-space) / 2);
  --actionbar-item-padding-top: calc(var(--joy-layout-space) / 2);
  --actionbar-item-shadow: unset unset unset unset unset;
  --actionbar-item-shadow-blur: unset;
  --actionbar-item-shadow-color: unset;
  --actionbar-item-shadow-offset-x: unset;
  --actionbar-item-shadow-offset-y: unset;
  --actionbar-item-shadow-spread: unset;
  --actionbar-item-transition-duration: var(--joy-duration-short);
  --actionbar-item-transition-mode: ease;
  --actionbar-item-transition-property: background-color;
  --actionbar-item-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 {
  background: var(--actionbar-item-background-color);
  border-radius: var(--actionbar-item-border-radius);
  padding-top: var(--actionbar-item-padding-top);
  padding-bottom: var(--actionbar-item-padding-bottom);
  padding-left: var(--actionbar-item-padding-left);
  padding-right: var(--actionbar-item-padding-right);
  transition-duration: var(--actionbar-item-transition-duration);
  transition-timing-function: var(--actionbar-item-transition-mode);
  transition-property: var(--actionbar-item-transition-property);
  justify-content: center;
  align-items: center;
  display: inline-flex;
}

:host [part="root"] {
  justify-content: center;
  align-items: center;
  height: 100%;
  display: inline-flex;
}

:host ::slotted(*) {
  height: 100%;
}

:host(:hover:not([disabled]:not([disabled="false"]))) {
  --actionbar-item-background-color: var(--actionbar-item-background-color-hover);
}

:host([active]:not([disabled]:not([disabled="false"]))) {
  --actionbar-item-background-color: var(--actionbar-item-background-color-active);
}

:host([grow]) {
  flex: 1;
}

:host([shrink]) {
  flex-shrink: 1;
  min-width: 0;
}

:host([selected]:not([disabled]:not([disabled="false"]))) {
  --actionbar-item-background-color: var(--actionbar-item-background-color-active);
}

:host([disabled]:not([disabled="false"])) {
  opacity: .5;
  pointer-events: none;
}

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