// ------------------------------------------------------------------------------
// <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 colorEditorAlphaSliderElementJoyStyle() {
    return css `
:host {
  --color-editor-alpha-slider-background-color: transparent;
  --color-editor-alpha-slider-border-color: transparent;
  --color-editor-alpha-slider-border-radius: calc(var(--joy-layout-radius) / 2);
  --color-editor-alpha-slider-border-style: none;
  --color-editor-alpha-slider-border-width: 0;
  --color-editor-alpha-slider-checkerboard-size: 8px;
  --color-editor-alpha-slider-focus-ring-active-width: 8px;
  --color-editor-alpha-slider-focus-ring-color: var(--joy-color-primary-500);
  --color-editor-alpha-slider-focus-ring-inward-offset: 2px;
  --color-editor-alpha-slider-focus-ring-outward-offset: 2px;
  --color-editor-alpha-slider-font-family: unset;
  --color-editor-alpha-slider-font-letter-spacing: unset;
  --color-editor-alpha-slider-font-line-height: unset;
  --color-editor-alpha-slider-font-size: unset;
  --color-editor-alpha-slider-font-text-decoration: unset;
  --color-editor-alpha-slider-font-text-transform: unset;
  --color-editor-alpha-slider-font-weight: unset;
  --color-editor-alpha-slider-foreground-color: var(--joy-scheme-foreground);
  --color-editor-alpha-slider-gap: unset;
  --color-editor-alpha-slider-height: 8px;
  --color-editor-alpha-slider-padding-bottom: unset;
  --color-editor-alpha-slider-padding-left: unset;
  --color-editor-alpha-slider-padding-right: unset;
  --color-editor-alpha-slider-padding-top: unset;
  --color-editor-alpha-slider-shadow: none;
  --color-editor-alpha-slider-thumb-background-color: var(--joy-scheme-highlight);
  --color-editor-alpha-slider-thumb-border-color: var(--joy-scheme-highlight);
  --color-editor-alpha-slider-thumb-border-radius: 50%;
  --color-editor-alpha-slider-thumb-border-width: var(--joy-layout-thickness);
  --color-editor-alpha-slider-thumb-shadow: var(--joy-elevation-light-light);
  --color-editor-alpha-slider-thumb-size: 14px;
  --color-editor-alpha-slider-transition-duration: var(--joy-duration-short);
  --color-editor-alpha-slider-transition-mode: ease;
  --color-editor-alpha-slider-transition-property: box-shadow, border-color;
  --color-editor-alpha-slider-translate: unset;
  --color-editor-alpha-slider-width: 100%;
}

@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 {
  width: var(--color-editor-alpha-slider-width);
  height: var(--color-editor-alpha-slider-height);
  border-radius: var(--color-editor-alpha-slider-border-radius);
  touch-action: none;
  cursor: ew-resize;
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host [part="checkerboard"] {
  border-radius: inherit;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='8'%3E%3Crect fill='%23ccc' width='4' height='4'/%3E%3Crect fill='%23ccc' x='4' y='4' width='4' height='4'/%3E%3C/svg%3E");
  background-size: var(--color-editor-alpha-slider-checkerboard-size) var(--color-editor-alpha-slider-checkerboard-size);
  background-repeat: repeat;
  position: absolute;
  inset: 0;
}

:host [part="gradient"] {
  border-radius: inherit;
  pointer-events: none;
  position: absolute;
  inset: 0;
}

:host [part="thumb"] {
  width: var(--color-editor-alpha-slider-thumb-size);
  height: var(--color-editor-alpha-slider-thumb-size);
  border-radius: var(--color-editor-alpha-slider-thumb-border-radius);
  border: var(--color-editor-alpha-slider-thumb-border-width) solid var(--color-editor-alpha-slider-thumb-border-color);
  background-color: var(--color-editor-alpha-slider-thumb-background-color);
  box-shadow: var(--color-editor-alpha-slider-thumb-shadow);
  cursor: ew-resize;
  pointer-events: none;
  transition-duration: var(--color-editor-alpha-slider-transition-duration);
  transition-timing-function: var(--color-editor-alpha-slider-transition-mode);
  transition-property: var(--color-editor-alpha-slider-transition-property);
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

:host:focus-visible [part="thumb"] {
  border-color: var(--color-editor-alpha-slider-focus-ring-color);
  box-shadow: 0 0 0 2px var(--color-editor-alpha-slider-focus-ring-color);
}

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