// ------------------------------------------------------------------------------
// <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 splitElementJoyStyle() {
    return css `
:host {
  --split-divider-background-color: var(--joy-scheme-highlight);
  --split-divider-foreground-color: var(--joy-scheme-foreground);
  --split-divider-hit-area: calc(var(--joy-layout-space) * 1.5);
  --split-divider-width: 2px;
  --split-font-family: unset;
  --split-font-letter-spacing: unset;
  --split-font-line-height: unset;
  --split-font-size: unset;
  --split-font-text-decoration: unset;
  --split-font-text-transform: unset;
  --split-font-weight: unset;
  --split-gap: unset;
  --split-padding-bottom: unset;
  --split-padding-left: unset;
  --split-padding-right: unset;
  --split-padding-top: unset;
  --split-shadow: unset unset unset unset unset;
  --split-shadow-blur: unset;
  --split-shadow-color: unset;
  --split-shadow-offset-x: unset;
  --split-shadow-offset-y: unset;
  --split-shadow-spread: unset;
  --split-thumb-background-color: var(--joy-scheme-background);
  --split-thumb-border-color: var(--joy-scheme-highlight);
  --split-thumb-border-radius: var(--joy-layout-radius);
  --split-thumb-foreground-color: var(--joy-scheme-foreground);
  --split-transition-duration: var(--joy-duration-short);
  --split-transition-mode: ease;
  --split-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --split-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 {
  display: grid;
  overflow: hidden;
}

:host [part="divider"] {
  flex: 0 0 var(--split-divider-width);
  background-color: var(--split-divider-background-color);
  color: var(--split-divider-foreground-color);
  z-index: 2;
  cursor: col-resize;
  transition-duration: var(--split-transition-duration);
  transition-timing-function: var(--split-transition-mode);
  transition-property: var(--split-transition-property);
  outline: none;
  justify-content: center;
  align-items: center;
  display: flex;
  position: relative;
}

:host [part="divider"]:after {
  content: "";
  width: var(--split-divider-hit-area);
  height: 100%;
  left: calc(var(--split-divider-hit-area) / -2 + var(--split-divider-width) / 2);
  position: absolute;
}

:host [part^="panel"] {
  overflow: hidden;
}

:host([disabled]:not([disabled="false"])) [part="divider"] {
  cursor: default;
  pointer-events: none;
}

:host([orientation="vertical"]) [part="divider"] {
  cursor: row-resize;
}

:host([orientation="vertical"]) [part="divider"]:after {
  content: "";
  width: var(--split-divider-hit-area);
  height: 100%;
  left: calc(var(--split-divider-hit-area) / -2 + var(--split-divider-width) / 2);
  position: absolute;
}

:host([orientation="vertical"][collapsed-panel="end"]) [part="divider"] [part="thumb"] {
  bottom: 16px;
}

:host([orientation="vertical"][collapsed-panel="start"]) [part="divider"] [part="thumb"] {
  top: 16px;
}

:host([orientation="horizontal"]) {
  flex-direction: column;
}

:host([orientation="horizontal"]) [part="divider"] {
  cursor: col-resize;
}

:host([orientation="horizontal"]) [part="divider"]:after {
  content: "";
  width: 100%;
  top: calc(var(--split-divider-hit-area) / -2 + var(--split-divider-width) / 2);
  height: var(--split-divider-hit-area);
  position: absolute;
}

:host([orientation="horizontal"][collapsed-panel="end"]) [part="divider"] [part="thumb"] {
  right: 16px;
}

:host([orientation="horizontal"][collapsed-panel="start"]) [part="divider"] [part="thumb"] {
  left: 16px;
}

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

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

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

:host(:not([disabled]:not([disabled="false"]))) [part="divider"]:hover, :host(:not([disabled]:not([disabled="false"]))) [part="divider"]:active, :host(:not([disabled]:not([disabled="false"]))) [part="divider"]:focus {
  --split-divider-background-color: var(--joy-color-primary-500);
}

@keyframes bubblegum-pop-center {
  0% {
    filter: blur(2px);
    transform: scale(.15);
  }

  12% {
    filter: blur(.5px);
    transform: scaleX(.5) scaleY(.4);
  }

  24% {
    filter: blur();
    transform: scaleX(1.5) scaleY(.55);
  }

  40% {
    transform: scaleX(.68) scaleY(1.35);
  }

  54% {
    transform: scaleX(1.18) scaleY(.86);
  }

  66% {
    transform: scaleX(.92) scaleY(1.09);
  }

  78% {
    transform: scaleX(1.04) scaleY(.97);
  }

  90% {
    transform: scaleX(.99) scaleY(1.01);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bubblegum-pop-start {
  0% {
    filter: blur(2px);
    transform: scale(.15);
  }

  12% {
    filter: blur(.5px);
    transform: scaleX(.5) scaleY(.4);
  }

  24% {
    filter: blur();
    transform: scaleX(1.5) scaleY(.55);
  }

  40% {
    transform: scaleX(.68) scaleY(1.35);
  }

  54% {
    transform: scaleX(1.18) scaleY(.86);
  }

  66% {
    transform: scaleX(.92) scaleY(1.09);
  }

  78% {
    transform: scaleX(1.04) scaleY(.97);
  }

  90% {
    transform: scaleX(.99) scaleY(1.01);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bubblegum-pop-end {
  0% {
    filter: blur(2px);
    transform: scale(.15);
  }

  12% {
    filter: blur(.5px);
    transform: scaleX(.5) scaleY(.4);
  }

  24% {
    filter: blur();
    transform: scaleX(1.5) scaleY(.55);
  }

  40% {
    transform: scaleX(.68) scaleY(1.35);
  }

  54% {
    transform: scaleX(1.18) scaleY(.86);
  }

  66% {
    transform: scaleX(.92) scaleY(1.09);
  }

  78% {
    transform: scaleX(1.04) scaleY(.97);
  }

  90% {
    transform: scaleX(.99) scaleY(1.01);
  }

  100% {
    transform: scale(1);
  }
}

:host([collapsed-panel="none"]) [part="divider"] [part="thumb"], :host(:not([collapsed-panel])) [part="divider"] [part="thumb"] {
  animation: bubblegum-pop-center var(--joy-duration-long) ease-out backwards;
}

:host([collapsed-panel="start"]) [part="divider"] [part="thumb"] {
  animation: bubblegum-pop-start var(--joy-duration-long) ease-out backwards;
}

:host([collapsed-panel="end"]) [part="divider"] [part="thumb"] {
  animation: bubblegum-pop-end var(--joy-duration-long) ease-out backwards;
}

:host(:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"] {
  transition: transform var(--joy-duration-short) ease-out;
}

:host([orientation="horizontal"][collapsed-panel="none"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active, :host([orientation="horizontal"]:not([collapsed-panel]):not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: center;
  transform: scaleX(1.3) scaleY(.78);
}

:host([orientation="horizontal"][collapsed-panel="start"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: 0;
  transform: scaleX(1.3) scaleY(.78);
}

:host([orientation="horizontal"][collapsed-panel="end"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: 100%;
  transform: scaleX(1.3) scaleY(.78);
}

:host([orientation="vertical"][collapsed-panel="none"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active, :host([orientation="vertical"]:not([collapsed-panel]):not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: center;
  transform: scaleX(.78) scaleY(1.3);
}

:host([orientation="vertical"][collapsed-panel="start"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: top;
  transform: scaleX(.78) scaleY(1.3);
}

:host([orientation="vertical"][collapsed-panel="end"]:not([disabled]:not([disabled="false"]))) [part="divider"] [part="thumb"]:active {
  transform-origin: bottom;
  transform: scaleX(.78) scaleY(1.3);
}

@media (prefers-reduced-motion: reduce) {
  :host [part="divider"] [part="thumb"] {
    transition: none;
    animation: none;
  }
}

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