// ------------------------------------------------------------------------------
// <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 sliderElementMemphisStyle() {
    return css `
:host {
  --slider-background-color: var(--memphis-scheme-transparent);
  --slider-border-color: var(--memphis-color-light-secondary-400);
  --slider-border-radius: var(--memphis-layout-radius);
  --slider-border-style: solid;
  --slider-border-width: var(--memphis-layout-thickness);
  --slider-component-name-thumb-background-color: var(--memphis-color-light-secondary-200);
  --slider-font-family: var(--memphis-font-family);
  --slider-font-letter-spacing: var(--memphis-typography-body1-letter-spacing);
  --slider-font-line-height: var(--memphis-typography-body1-line-height);
  --slider-font-size: var(--memphis-typography-body1-font-size);
  --slider-font-text-decoration: var(--memphis-typography-body1-text-decoration);
  --slider-font-text-transform: var(--memphis-typography-body1-text-transform);
  --slider-font-weight: var(--memphis-typography-body1-font-weight);
  --slider-foreground-color: var(--memphis-scheme-foreground);
  --slider-gap: var(--memphis-layout-space);
  --slider-padding-bottom: 0px;
  --slider-padding-left: 0px;
  --slider-padding-right: 0px;
  --slider-padding-top: 0px;
  --slider-shadow: var(--memphis-elevation-none);
  --slider-thumb-background-color: var(--memphis-scheme-background);
  --slider-thumb-border-color: var(--memphis-color-light-secondary-500);
  --slider-thumb-border-radius: 50%;
  --slider-thumb-border-style: solid;
  --slider-thumb-border-width: var(--memphis-layout-thickness);
  --slider-thumb-foreground-color: var(--memphis-color-light-secondary-500);
  --slider-thumb-size: calc(var(--memphis-layout-space) * 2);
  --slider-tick-bar-border-color: var(--memphis-color-light-neutral-400);
  --slider-tick-bar-foreground-color: var(--memphis-scheme-foreground);
  --slider-tick-bar-tick-height: 6px;
  --slider-tick-bar-tick-text-gap: calc(var(--memphis-layout-space) / 2);
  --slider-tick-gap: calc(var(--memphis-layout-space) / 2);
  --slider-tooltip-background-color: var(--memphis-color-light-secondary-500);
  --slider-tooltip-border-color: var(--memphis-color-light-secondary-600);
  --slider-tooltip-border-radius: calc(var(--memphis-layout-radius) * 2);
  --slider-tooltip-border-style: solid;
  --slider-tooltip-border-width: 0px;
  --slider-tooltip-font-family: var(--memphis-font-family);
  --slider-tooltip-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --slider-tooltip-font-line-height: var(--memphis-typography-body2-line-height);
  --slider-tooltip-font-size: var(--memphis-typography-body2-font-size);
  --slider-tooltip-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --slider-tooltip-font-text-transform: var(--memphis-typography-body2-text-transform);
  --slider-tooltip-font-weight: var(--memphis-typography-body2-font-weight);
  --slider-tooltip-foreground-color: var(--memphis-color-light-secondary-0);
  --slider-tooltip-gap: calc(var(--memphis-layout-space) / 2);
  --slider-tooltip-padding-bottom: var(--memphis-layout-space);
  --slider-tooltip-padding-left: var(--memphis-layout-space);
  --slider-tooltip-padding-right: var(--memphis-layout-space);
  --slider-tooltip-padding-top: var(--memphis-layout-space);
  --slider-tooltip-shadow: var(--memphis-elevation-semilight);
  --slider-tooltip-transition-duration: var(--memphis-duration-short);
  --slider-tooltip-transition-mode: ease;
  --slider-tooltip-transition-property: background-color, color, border-color, box-shadow, transform;
  --slider-track-size: calc(var(--memphis-layout-thickness) * 1.5);
  --slider-transition-duration: var(--memphis-duration-short);
  --slider-transition-mode: ease;
  --slider-transition-property: background-color, color, border-color, box-shadow, transform;
  --slider-translate: none;
}

@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"] [part="text"] {
  font: inherit;
}

:host [part="tickBar"] {
  --tick-bar-tick-height: 8px;
  --tick-bar-tick-text-gap: 4px;
  --tick-bar-border-color: var(--slider-border-color);
  --tick-bar-foreground-color: var(--slider-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;
  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([orientation="vertical"]) {
  writing-mode: vertical-lr;
  direction: rtl;
}

: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.Memphis.js.map