// ------------------------------------------------------------------------------
// <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-max: 100%;
  --split-min: 0%;
  --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: unset;
  --split-transition-mode: unset;
  --split-transition-property: unset;
  --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: 1;
  cursor: col-resize;
  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="divider"] [part="thumb"] {
  border-radius: var(--split-thumb-border-radius);
  border-style: solid;
  border-width: 2px;
  border-color: var(--split-thumb-border-color);
  background: var(--split-thumb-background-color);
  width: 24px;
  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="horizontal"]) {
  flex-direction: column;
}

:host([orientation="horizontal"]) [part="divider"] {
  cursor: row-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([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);
  --split-divider-foreground-color: var(--joy-color-primary-0);
}

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

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