// ------------------------------------------------------------------------------
// <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 floatingElementMemphisStyle() {
    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(--memphis-scheme-surface);
  --floating-border-color: var(--memphis-scheme-contrast);
  --floating-border-radius: var(--memphis-layout-radius);
  --floating-border-style: solid;
  --floating-border-width: var(--memphis-layout-thickness);
  --floating-font-family: var(--memphis-font-family);
  --floating-font-letter-spacing: var(--memphis-typography-body1-letter-spacing);
  --floating-font-line-height: var(--memphis-typography-body1-line-height);
  --floating-font-size: var(--memphis-typography-body1-font-size);
  --floating-font-text-decoration: var(--memphis-typography-body1-text-decoration);
  --floating-font-text-transform: var(--memphis-typography-body1-text-transform);
  --floating-font-weight: var(--memphis-typography-body1-font-weight);
  --floating-foreground-color: var(--memphis-scheme-foreground);
  --floating-gap: 0px;
  --floating-padding-bottom: 0px;
  --floating-padding-left: 0px;
  --floating-padding-right: 0px;
  --floating-padding-top: 0px;
  --floating-shadow: var(--memphis-elevation-light);
  --floating-transition-duration: .2s;
  --floating-transition-mode: ease;
  --floating-transition-property: background-color, color, border-color, opacity, box-shadow;
  --floating-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 {
  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;
}

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