// ------------------------------------------------------------------------------
// <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 scrollElementJoyStyle() {
    return css `
:host {
  --scroll-font-family: unset;
  --scroll-font-letter-spacing: unset;
  --scroll-font-line-height: unset;
  --scroll-font-size: unset;
  --scroll-font-text-decoration: unset;
  --scroll-font-text-transform: unset;
  --scroll-font-weight: unset;
  --scroll-gap: unset;
  --scroll-padding-bottom: unset;
  --scroll-padding-left: unset;
  --scroll-padding-right: unset;
  --scroll-padding-top: unset;
  --scroll-transition-duration: unset;
  --scroll-transition-mode: unset;
  --scroll-transition-property: unset;
  --scroll-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 [part="scroller"] {
  z-index: 1;
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: auto;
}

:host [part="scroller"] [part="content"] {
  transform-origin: top;
  padding: var(--scroll-padding-top) var(--scroll-padding-right) var(--scroll-padding-bottom) var(--scroll-padding-left);
  flex-direction: column;
  flex-grow: 1;
  height: min-content;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="scroller"] [part="content"] [part="anchorTop"] {
  position: absolute;
  top: 0;
}

:host [part="scroller"] [part="content"] [part="anchorBottom"] {
  position: absolute;
  bottom: 0;
}

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