// ------------------------------------------------------------------------------
// <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 timelineElementJoyStyle() {
    return css `
:host {
  --timeline-content-gap: var(--joy-layout-space);
  --timeline-font-family: var(--joy-font-family);
  --timeline-font-letter-spacing: unset;
  --timeline-font-line-height: 1.5;
  --timeline-font-size: unset;
  --timeline-font-text-decoration: unset;
  --timeline-font-text-transform: unset;
  --timeline-font-weight: 400;
  --timeline-foreground-color: var(--joy-scheme-foreground);
  --timeline-gap: calc(var(--joy-layout-space) * 2);
  --timeline-line-color: var(--joy-scheme-highlight);
  --timeline-line-offset: calc(var(--joy-layout-space) * 4);
  --timeline-line-thickness: var(--joy-layout-thickness);
  --timeline-marker-border-color: var(--joy-scheme-highlight);
  --timeline-marker-border-width: var(--joy-layout-thickness);
  --timeline-marker-color: var(--joy-scheme-background);
  --timeline-marker-size: calc(var(--joy-layout-space) * 2.5);
  --timeline-padding-bottom: var(--joy-layout-space);
  --timeline-padding-left: var(--joy-layout-space);
  --timeline-padding-right: var(--joy-layout-space);
  --timeline-padding-top: var(--joy-layout-space);
  --timeline-transition-duration: var(--joy-duration-short);
  --timeline-transition-mode: ease;
  --timeline-transition-property: color, background-color, transform;
  --timeline-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 {
  gap: var(--timeline-gap);
  padding: var(--timeline-padding-top) var(--timeline-padding-right) var(--timeline-padding-bottom) var(--timeline-padding-left);
  color: var(--timeline-foreground-color);
  font-family: var(--timeline-font-family);
  transition-duration: var(--timeline-transition-duration);
  transition-timing-function: var(--timeline-transition-mode);
  transition-property: var(--timeline-transition-property);
  display: flex;
  position: relative;
}

:host [part="line"] {
  background: var(--timeline-line-color);
  position: absolute;
}

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

:host([orientation="horizontal"]) {
  flex-direction: row;
  align-items: stretch;
}

:host([orientation="vertical"]) [part="line"] {
  width: var(--timeline-line-thickness);
  top: 0;
  bottom: 0;
}

:host([orientation="vertical"][align="start"]) [part="line"] {
  left: var(--timeline-line-offset);
  transform: translateX(-50%);
}

:host([orientation="vertical"][align="end"]) [part="line"] {
  left: calc(100% - var(--timeline-line-offset));
  transform: translateX(-50%);
}

:host([orientation="vertical"][align="alternate"]) [part="line"] {
  left: 50%;
  transform: translateX(-50%);
}

:host([orientation="horizontal"]) [part="line"] {
  height: var(--timeline-line-thickness);
  left: 0;
  right: 0;
}

:host([orientation="horizontal"][align="start"]) [part="line"] {
  top: var(--timeline-line-offset);
  transform: translateY(-50%);
}

:host([orientation="horizontal"][align="end"]) [part="line"] {
  top: calc(100% - var(--timeline-line-offset));
  transform: translateY(-50%);
}

:host([orientation="horizontal"][align="alternate"]) [part="line"] {
  top: 50%;
  transform: translateY(-50%);
}

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