// ------------------------------------------------------------------------------
// <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: 12px;
  --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-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: 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 {
  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"] {
  left: -16px;
}

:host([orientation="horizontal"][collapsed-panel="start"]) [part="divider"] [part="thumb"] {
  right: -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);
}

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