// ------------------------------------------------------------------------------
// <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 tickBarElementJoyStyle() {
    return css `
:host {
  --tick-bar-background-color: var(--joy-scheme-transparent);
  --tick-bar-border-color: var(--joy-scheme-highlight);
  --tick-bar-border-radius: var(--joy-layout-radius);
  --tick-bar-border-style: none;
  --tick-bar-border-width: 0px;
  --tick-bar-font-family: var(--joy-font-family);
  --tick-bar-font-letter-spacing: var(--joy-typography-caption-letter-spacing);
  --tick-bar-font-line-height: var(--joy-typography-caption-line-height);
  --tick-bar-font-size: var(--joy-typography-caption-font-size);
  --tick-bar-font-text-decoration: var(--joy-typography-caption-text-decoration);
  --tick-bar-font-text-transform: var(--joy-typography-caption-text-transform);
  --tick-bar-font-weight: var(--joy-typography-caption-font-weight);
  --tick-bar-foreground-color: var(--joy-scheme-highlight);
  --tick-bar-gap: 0px;
  --tick-bar-padding-bottom: 0px;
  --tick-bar-padding-left: 0px;
  --tick-bar-padding-right: 0px;
  --tick-bar-padding-top: 0px;
  --tick-bar-shadow: var(--joy-elevation-none);
  --tick-bar-tick-height: 16px;
  --tick-bar-tick-size: 2px;
  --tick-bar-tick-text-gap: 4px;
  --tick-bar-tick-width: var(--joy-layout-thickness);
  --tick-bar-transition-duration: var(--joy-duration-short);
  --tick-bar-transition-mode: ease;
  --tick-bar-transition-property: background-color, color, border-color, opacity, transform;
  --tick-bar-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 {
  font-family: var(--tick-bar-font-family);
  font-size: var(--tick-bar-font-size);
  line-height: var(--tick-bar-font-line-height);
  font-weight: var(--tick-bar-font-weight);
  letter-spacing: var(--tick-bar-font-letter-spacing);
  -webkit-text-decoration: var(--tick-bar-font-text-decoration);
  text-decoration: var(--tick-bar-font-text-decoration);
  text-transform: var(--tick-bar-font-text-transform);
  inline-size: 100%;
  height: var(--tick-bar-tick-height);
  justify-content: space-between;
  display: flex;
  position: relative;
}

:host [part="tick"] {
  padding-top: var(--tick-bar-padding-top);
  padding-right: var(--tick-bar-padding-right);
  padding-bottom: var(--tick-bar-padding-bottom);
  padding-left: var(--tick-bar-padding-left);
  gap: var(--tick-bar-gap);
  border-width: var(--tick-bar-border-width);
  border-radius: var(--tick-bar-border-radius);
  border-style: var(--tick-bar-border-style);
  inline-size: var(--tick-bar-tick-size);
  background-color: var(--tick-bar-border-color);
  block-size: 100%;
  position: relative;
}

:host [part="label"] {
  font: inherit;
  transform-origin: center;
  color: var(--tick-bar-foreground-color);
  justify-content: center;
  align-items: center;
  margin-block-start: calc(var(--tick-bar-tick-height) + var(--tick-bar-tick-text-gap));
  display: flex;
  position: absolute;
  transform: translateX(-50%);
}

:host([label-position="before"]) [part="tick"] {
  border-radius: var(--tick-bar-border-radius) var(--tick-bar-border-radius) 0 0;
}

:host([label-position="before"]) [part="label"] {
  bottom: calc(var(--tick-bar-tick-height) + var(--tick-bar-tick-text-gap));
  margin-block-start: calc((var(--tick-bar-tick-height) + var(--tick-bar-tick-text-gap)) * -1);
}

:host(:not([label-position])) [part="tick"], :host([label-position="after"]) [part="tick"] {
  border-radius: 0 0 var(--tick-bar-border-radius) var(--tick-barr-border-radius);
}

:host(:not([label-position])) [part="label"], :host([label-position="after"]) [part="label"] {
  margin-block-start: calc(var(--tick-bar-tick-height) + var(--tick-bar-tick-text-gap));
}

:host([orientation="vertical"]) {
  height: 100%;
  inline-size: auto;
}

:host([orientation="vertical"]) [part="tick"] {
  block-size: var(--tick-bar-tick-height);
  inline-size: 100%;
}

:host([orientation="vertical"]) [part="label"] {
  margin-block-start: 0;
  margin-inline-start: calc(var(--tick-bar-tick-height) + var(--tick-bar-tick-text-gap));
}

:host([orientation="vertical"][label-position="before"]) [part="label"] {
  margin-inline-end: var(--tick-bar-tick-height);
}

:host([orientation="vertical"][label-position="after"]) [part="label"] {
  margin-inline-start: var(--tick-bar-tick-height);
  transform: rotate(90deg);
}

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