// ------------------------------------------------------------------------------
// <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 splitButtonElementRetroStyle() {
    return css `
:host {
  --split-button-background-color: var(--retro-scheme-background);
  --split-button-border-color: var(--retro-scheme-highlight);
  --split-button-border-radius: var(--retro-layout-radius);
  --split-button-border-style: solid;
  --split-button-border-width: var(--retro-layout-thickness);
  --split-button-focus-ring-active-width: 8px;
  --split-button-focus-ring-color: unset;
  --split-button-focus-ring-inward-offset: 2px;
  --split-button-focus-ring-outward-offset: 2px;
  --split-button-font-family: var(--retro-typography-button-font-family);
  --split-button-font-letter-spacing: var(--retro-typography-button-letter-spacing);
  --split-button-font-line-height: var(--retro-typography-button-line-height);
  --split-button-font-size: var(--retro-typography-button-font-size);
  --split-button-font-text-decoration: var(--retro-typography-button-text-decoration);
  --split-button-font-text-transform: var(--retro-typography-button-text-transform);
  --split-button-font-weight: var(--retro-typography-button-font-weight);
  --split-button-foreground-color: var(--retro-scheme-foreground);
  --split-button-gap: var(--retro-layout-space);
  --split-button-height: auto;
  --split-button-line-height: calc(var(--split-button-font-line-height)  - 4px);
  --split-button-padding-bottom: var(--retro-layout-space);
  --split-button-padding-left: var(--retro-layout-space);
  --split-button-padding-right: var(--retro-layout-space);
  --split-button-padding-top: var(--retro-layout-space);
  --split-button-progress-thickness: var(--retro-layout-thickness);
  --split-button-ripple-color: unset;
  --split-button-ripple-duration: .2s;
  --split-button-shadow: var(--retro-elevation-none);
  --split-button-transition-duration: var(--retro-layout-transition);
  --split-button-transition-mode: ease;
  --split-button-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --split-button-translate: none;
  --split-button-width: auto;
}

@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(--split-button-font-family);
  font-size: var(--split-button-font-size);
  line-height: var(--split-button-font-line-height);
  font-weight: var(--split-button-font-weight);
  letter-spacing: var(--split-button-font-letter-spacing);
  -webkit-text-decoration: var(--split-button-font-text-decoration);
  text-decoration: var(--split-button-font-text-decoration);
  text-transform: var(--split-button-font-text-transform);
  transition-duration: var(--split-button-transition-duration);
  transition-timing-function: var(--split-button-transition-mode);
  transition-property: var(--split-button-transition-property);
  cursor: pointer;
  border-start-start-radius: var(--split-button-border-radius);
  border-start-end-radius: var(--split-button-border-radius);
  border-end-end-radius: var(--split-button-border-radius);
  border-end-start-radius: var(--split-button-border-radius);
  width: auto;
  height: auto;
  display: flex;
}

:host [part="button"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  transition-duration: inherit;
  transition-timing-function: inherit;
  padding-top: var(--split-button-padding-top);
  padding-right: var(--split-button-padding-right);
  padding-bottom: var(--split-button-padding-bottom);
  padding-left: var(--split-button-padding-left);
  gap: var(--split-button-gap);
  background-color: var(--split-button-background-color);
  color: var(--split-button-foreground-color);
  border-top-left-radius: var(--split-button-border-radius);
  border-bottom-left-radius: var(--split-button-border-radius);
  border-color: var(--split-button-border-color);
  border-width: var(--split-button-border-width);
  border-style: var(--split-button-border-style);
  width: inherit;
  height: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  z-index: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-height: 40px;
  cursor: inherit;
  pointer-events: inherit;
  border-style: solid;
  border-start-start-radius: inherit;
  border-start-end-radius: inherit;
  border-end-end-radius: inherit;
  border-end-start-radius: inherit;
  outline-style: none;
  flex: 1;
  margin: 0;
  text-decoration: none;
  transition-property: inherit;
  position: relative;
  overflow: hidden;
}

:host [part="button"]:before {
  border-top-left-radius: var(--split-button-border-radius);
  border-bottom-left-radius: var(--split-button-border-radius);
  content: "";
  opacity: 0;
  pointer-events: none;
  width: 100%;
  height: 100%;
  transition: inherit;
  position: absolute;
  inset: 0;
}

:host [part="button"] [part="icon"] {
  color: inherit;
}

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

:host [part="button"] [part="iconCaret"] {
  transition-property: transform;
  transition-duration: .2s;
  transition-timing-function: ease;
  transform: rotate(0);
}

:host [part="progressRing"] {
  margin: -12px 0 0 -12px;
  position: absolute;
  top: 50%;
  left: 50%;
}

:host [part="popup"] {
  z-index: 100;
}

:host [part="popup"] ::slotted(mosaik-menu) {
  padding: 0;
}

:host [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host [part="buttonSplit"] {
  border-top-right-radius: var(--split-button-border-radius);
  border-bottom-right-radius: var(--split-button-border-radius);
  border-color: var(--split-button-border-color);
  border-width: var(--split-button-border-width);
  border-style: var(--split-button-border-style);
  background-color: var(--split-button-background-color);
  color: var(--split-button-foreground-color);
  transition-duration: inherit;
  transition-timing-function: inherit;
  border: none;
  margin-left: 2px;
  transition-property: inherit;
  position: relative;
}

:host(:not([has-icon])) {
  min-width: 64px;
}

:host([has-icon]) {
  min-width: 40px;
}

:host(:active) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
  pointer-events: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

:host([is-drop-down-open]) [part="iconCaret"] {
  transform: rotate(180deg);
}

:host([is-busy]) {
  pointer-events: none;
  position: relative;
}

:host([is-busy]) [part="button"]:before {
  opacity: .26;
  background-color: currentColor;
}

:host([is-busy]) [part="label"], :host([is-busy]) [part="icon"] {
  visibility: hidden;
}

:host([appearance="outline"]) {
  --split-button-border-style: solid;
}

:host([appearance="outline"]) [part="focusRing"], :host([appearance="plain"]:not([disabled]:not([disabled="false"]))) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="soft"]) {
  --split-button-border-width: 0px;
}

:host([appearance="soft"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([appearance="solid"]) {
  --split-button-border-width: 0px;
}

:host([appearance="solid"]) [part="focusRing"] {
  --focus-ring-outward-offset: 0px;
}

:host([size="tiny"]) {
  --split-button-font-size: calc(var(--split-button-font-size)  - 4px);
  --split-button-line-height: calc(var(--split-button-font-line-height)  - 4px);
}

:host([size="small"]) {
  --split-button-font-size: calc(var(--split-button-font-size)  - 2px);
  --split-button-line-height: calc(var(--split-button-font-line-height)  - 2px);
}

:host([size="large"]) {
  --split-button-font-size: calc(var(--split-button-font-size)  + 2px);
  --split-button-line-height: calc(var(--split-button-font-line-height)  + 2px);
}

:host([size="giant"]) {
  --split-button-font-size: calc(var(--split-button-font-size)  + 4px);
  --split-button-line-height: calc(var(--split-button-font-line-height)  + 4px);
}

:host([fit="width"]) {
  width: 100%;
}

:host([fit="height"]) {
  height: 100%;
}

:host([fit="both"]) {
  width: 100%;
  height: 100%;
}

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