// ------------------------------------------------------------------------------
// <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 sliderElementRetroStyle() {
    return css `
:host {
  --slider-background-color: unset;
  --slider-border-color: unset;
  --slider-border-radius: unset;
  --slider-border-style: unset;
  --slider-border-width: unset;
  --slider-component-name-thumb-background-color: unset;
  --slider-font-family: unset;
  --slider-font-letter-spacing: unset;
  --slider-font-line-height: unset;
  --slider-font-size: unset;
  --slider-font-text-decoration: unset;
  --slider-font-text-transform: unset;
  --slider-font-weight: unset;
  --slider-foreground-color: unset;
  --slider-gap: unset;
  --slider-padding-bottom: unset;
  --slider-padding-left: unset;
  --slider-padding-right: unset;
  --slider-padding-top: unset;
  --slider-shadow: unset;
  --slider-thumb-background-color: unset;
  --slider-thumb-border-color: unset;
  --slider-thumb-border-radius: unset;
  --slider-thumb-border-style: unset;
  --slider-thumb-border-width: unset;
  --slider-thumb-foreground-color: unset;
  --slider-thumb-size: unset;
  --slider-tick-bar-border-color: unset;
  --slider-tick-bar-foreground-color: unset;
  --slider-tick-bar-tick-height: unset;
  --slider-tick-bar-tick-text-gap: unset;
  --slider-tick-gap: unset;
  --slider-tooltip-background-color: unset;
  --slider-tooltip-border-color: unset;
  --slider-tooltip-border-radius: unset;
  --slider-tooltip-border-style: unset;
  --slider-tooltip-border-width: unset;
  --slider-tooltip-font-family: unset;
  --slider-tooltip-font-letter-spacing: unset;
  --slider-tooltip-font-line-height: unset;
  --slider-tooltip-font-size: unset;
  --slider-tooltip-font-text-decoration: unset;
  --slider-tooltip-font-text-transform: unset;
  --slider-tooltip-font-weight: unset;
  --slider-tooltip-foreground-color: unset;
  --slider-tooltip-gap: unset;
  --slider-tooltip-padding-bottom: unset;
  --slider-tooltip-padding-left: unset;
  --slider-tooltip-padding-right: unset;
  --slider-tooltip-padding-top: unset;
  --slider-tooltip-shadow: unset;
  --slider-tooltip-transition-duration: unset;
  --slider-tooltip-transition-mode: unset;
  --slider-tooltip-transition-property: unset;
  --slider-track-size: unset;
  --slider-transition-duration: unset;
  --slider-transition-mode: unset;
  --slider-transition-property: unset;
  --slider-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(--slider-font-family);
  font-size: var(--slider-font-size);
  line-height: var(--slider-font-line-height);
  font-weight: var(--slider-font-weight);
  letter-spacing: var(--slider-font-letter-spacing);
  -webkit-text-decoration: var(--slider-font-text-decoration);
  text-decoration: var(--slider-font-text-decoration);
  text-transform: var(--slider-font-text-transform);
  align-items: center;
  gap: var(--slider-gap);
  flex-direction: row;
  width: 100%;
  display: flex;
}

:host [part="root"] {
  gap: var(--slider-tick-gap);
  flex-direction: column;
  flex: 1;
  display: flex;
}

:host [part="input"] {
  width: 100%;
  height: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: inherit;
  z-index: 1;
  outline: none;
  margin: 0;
  display: block;
  position: relative;
}

:host [part="input"]:hover::-webkit-slider-thumb, :host [part="input"]:active::-webkit-slider-thumb, :host [part="input"]:focus::-webkit-slider-thumb {
  transform: scale(1.1);
}

:host [part="input"]:hover::-moz-range-thumb, :host [part="input"]:active::-moz-range-thumb, :host [part="input"]:focus::-moz-range-thumb {
  transform: scale(1.1);
}

:host [part="input"]::-webkit-slider-thumb {
  background-color: var(--slider-thumb-background-color);
  border-color: var(--slider-thumb-border-color);
  border-width: var(--slider-thumb-border-width);
  border-style: var(--slider-thumb-border-style);
  height: var(--slider-thumb-size);
  width: var(--slider-thumb-size);
  -webkit-appearance: none;
  appearance: none;
  margin-top: calc((var(--slider-thumb-size) / 2 + var(--slider-track-size) / 2 * -1) * -1);
  transition-duration: var(--slider-transition-duration);
  transition-timing-function: var(--slider-transition-mode);
  -webkit-transition-property: var(--slider-transition-property);
  transition-property: var(--slider-transition-property);
  anchor-name: --thumb;
  cursor: pointer;
  border-radius: 50%;
}

:host [part="input"]::-moz-range-thumb {
  background-color: var(--slider-thumb-background-color);
  border-color: var(--slider-thumb-border-color);
  border-width: var(--slider-thumb-border-width);
  border-style: var(--slider-thumb-border-style);
  height: var(--slider-thumb-size);
  width: var(--slider-thumb-size);
  -moz-appearance: none;
  appearance: none;
  margin-top: calc((var(--slider-thumb-size) / 2 + var(--slider-track-size) / 2 * -1) * -1);
  transition-duration: var(--slider-transition-duration);
  transition-timing-function: var(--slider-transition-mode);
  -moz-transition-property: var(--slider-transition-property);
  transition-property: var(--slider-transition-property);
  anchor-name: --thumb;
  cursor: pointer;
  border-radius: 50%;
}

:host [part="input"]::-webkit-slider-runnable-track {
  background-color: var(--slider-border-color);
  border-radius: var(--slider-border-radius);
  height: var(--slider-track-size);
  width: 100%;
}

:host [part="input"]::-moz-range-track {
  background-color: var(--slider-border-color);
  border-radius: var(--slider-border-radius);
  height: var(--slider-track-size);
  width: 100%;
}

:host [part="tooltip"] {
  font-family: var(--slider-tooltip-font-family);
  font-size: var(--slider-tooltip-font-size);
  line-height: var(--slider-tooltip-font-line-height);
  font-weight: var(--slider-tooltip-font-weight);
  letter-spacing: var(--slider-tooltip-font-letter-spacing);
  -webkit-text-decoration: var(--slider-tooltip-font-text-decoration);
  text-decoration: var(--slider-tooltip-font-text-decoration);
  text-transform: var(--slider-tooltip-font-text-transform);
  padding-top: var(--slider-tooltip-padding-top);
  padding-right: var(--slider-tooltip-padding-right);
  padding-bottom: var(--slider-tooltip-padding-bottom);
  padding-left: var(--slider-tooltip-padding-left);
  gap: var(--slider-tooltip-gap);
  border-width: var(--slider-tooltip-border-width);
  border-radius: var(--slider-tooltip-border-radius);
  border-style: var(--slider-tooltip-border-style);
  box-shadow: var(--slider-tooltip-shadow);
  background-color: var(--slider-tooltip-background-color);
  border-color: var(--slider-tooltip-border-color);
  color: var(--slider-tooltip-foreground-color);
  transition-duration: var(--slider-tooltip-transition-duration);
  transition-timing-function: var(--slider-tooltip-transition-mode);
  transition-property: var(--slider-tooltip-transition-property);
  opacity: 0;
  position-anchor: --thumb;
  inset-area: top span-all;
  text-align: center;
  margin: 0 0 var(--slider-gap) 0;
  position: absolute;
}

:host [part="tooltip"] transition-propertytransition-property [part="text"] {
  font: inherit;
}

:host [part="tickBar"] {
  --tick-bar-tick-height: 8px;
  --tick-bar-tick-text-gap: 4px;
  --tick-bar-border-color: base. component-property($ props, border-color);
  --tick-bar-foreground-color: base. component-property($ props, foreground-color);
  padding-inline: 8px;
}

:host([disabled]:not([disabled="false"])) [part="input"] {
  cursor: default;
}

:host([disabled]:not([disabled="false"])) [part="input"]::-webkit-slider-thumb {
  box-shadow: none;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
  cursor: default;
  transform: scale(1);
}

:host([disabled]:not([disabled="false"])) [part="input"]::-moz-range-thumb {
  box-shadow: none;
  pointer-events: none;
  -moz-user-select: none;
  user-select: none;
  cursor: default;
  transform: scale(1);
}

:host(:hover) [part="tooltip"], :host([is-focused]) [part="tooltip"] {
  opacity: 1;
}

:host([orientation="vertical"]) {
  width: unset;
  writing-mode: vertical-lr;
  direction: rtl;
  height: 100%;
}

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

:host([orientation="vertical"]) [part="tickBar"], :host([orientation="vertical"]) [part="input"], :host([orientation="vertical"]) [part="input"] {
  width: unset;
  height: 100%;
}

:host([tick-placement="none"]) [part="ticks"] {
  display: none;
}

:host([tooltip-placement="before"]) [part="tooltip"] {
  inset-area: top span-all;
  margin: 0 0 var(--slider-gap) 0;
  inset-block-start: calc(var(--slider-thumb-size) / 2 + var(--slider-gap));
}

:host([tooltip-placement="after"]) [part="tooltip"] {
  inset-area: bottom span-all;
  margin: var(--slider-gap) 0 0 0;
  inset-block-end: calc(var(--slider-thumb-size) / 2 + var(--slider-gap));
}

:host([track]) [part="input"]::-webkit-slider-thumb {
  box-shadow: -407px 0 0 400px #f50;
}

:host([track]) [part="input"]::-moz-range-thumb {
  box-shadow: -407px 0 0 400px #f50;
}

    `;
}
//# sourceMappingURL=SliderElement.Retro.js.map