// ------------------------------------------------------------------------------
// <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 floatingElementJoyStyle() {
    return css `
:host {
  --floating-arrow-padding-offset: calc(var(--floating-arrow-size-diagonal) - var(--floating-arrow-size));
  --floating-arrow-size: 6px;
  --floating-arrow-size-diagonal: calc(var(--floating-arrow-size) * .7071);
  --floating-background-color: var(--joy-scheme-surface);
  --floating-border-color: var(--joy-scheme-highlight);
  --floating-border-radius: var(--joy-layout-radius);
  --floating-border-style: none;
  --floating-border-width: 0px;
  --floating-font-family: var(--joy-font-family);
  --floating-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --floating-font-line-height: var(--joy-typography-body1-line-height);
  --floating-font-size: var(--joy-typography-body1-font-size);
  --floating-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --floating-font-text-transform: var(--joy-typography-body1-text-transform);
  --floating-font-weight: var(--joy-typography-body1-font-weight);
  --floating-foreground-color: var(--joy-scheme-foreground);
  --floating-gap: none;
  --floating-padding-bottom: none;
  --floating-padding-left: none;
  --floating-padding-right: none;
  --floating-padding-top: none;
  --floating-shadow: unset unset unset unset unset;
  --floating-shadow-blur: unset;
  --floating-shadow-color: unset;
  --floating-shadow-offset-x: unset;
  --floating-shadow-offset-y: unset;
  --floating-shadow-spread: unset;
  --floating-transition-duration: var(--joy-duration-short);
  --floating-transition-mode: ease;
  --floating-transition-property: background-color, color, border-color, opacity, box-shadow;
  --floating-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 {
  display: inherit;
  position: fixed;
}

:host [part="body"] {
  font-family: var(--floating-font-family);
  font-size: var(--floating-font-size);
  line-height: var(--floating-font-line-height);
  font-weight: var(--floating-font-weight);
  letter-spacing: var(--floating-font-letter-spacing);
  -webkit-text-decoration: var(--floating-font-text-decoration);
  text-decoration: var(--floating-font-text-decoration);
  text-transform: var(--floating-font-text-transform);
  padding-top: var(--floating-padding-top);
  padding-right: var(--floating-padding-right);
  padding-bottom: var(--floating-padding-bottom);
  padding-left: var(--floating-padding-left);
  gap: var(--floating-gap);
  transition-duration: var(--floating-transition-duration);
  transition-timing-function: var(--floating-transition-mode);
  transition-property: var(--floating-transition-property);
  background-color: var(--floating-background-color);
  border-color: var(--floating-border-color);
  color: var(--floating-foreground-color);
  border-width: var(--floating-border-width);
  border-radius: var(--floating-border-radius);
  border-style: var(--floating-border-style);
  box-shadow: var(--floating-shadow);
  isolation: isolate;
  max-width: var(--floating-auto-size-available-width, none);
  max-height: var(--floating-auto-size-available-height, none);
  position: absolute;
  overflow: hidden scroll;
}

:host [part="body"].fixed {
  position: fixed;
}

:host [part="body"]:not(.active) {
  display: none;
}

:host [part="body"] [part="arrow"] {
  background-color: var(--floating-background-color);
  width: calc(var(--floating-arrow-size-diagonal) * 2);
  height: calc(var(--floating-arrow-size-diagonal) * 2);
  z-index: -1;
  position: absolute;
  rotate: 45deg;
}

:host(:not([disabled]:not([disabled="false"])):focus-within) {
  --floating-border-color: var(--joy-color-primary-500);
}

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