// ------------------------------------------------------------------------------
// <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 dialogContentElementJoyStyle() {
    return css `
:host {
  --dialog-content-font-family: unset;
  --dialog-content-font-letter-spacing: unset;
  --dialog-content-font-line-height: unset;
  --dialog-content-font-size: unset;
  --dialog-content-font-text-decoration: unset;
  --dialog-content-font-text-transform: unset;
  --dialog-content-font-weight: unset;
  --dialog-content-gap: var(--joy-layout-space);
  --dialog-content-padding-bottom: calc(var(--joy-layout-space) * 2);
  --dialog-content-padding-left: calc(var(--joy-layout-space) * 2);
  --dialog-content-padding-right: calc(var(--joy-layout-space) * 2);
  --dialog-content-padding-top: calc(var(--joy-layout-space) * 2);
  --dialog-content-transition-duration: unset;
  --dialog-content-transition-mode: unset;
  --dialog-content-transition-property: unset;
  --dialog-content-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 {
  padding: var(--dialog-content-padding-top) var(--dialog-content-padding-right) var(--dialog-content-padding-bottom) var(--dialog-content-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: auto;
}

:host [part="scroller"] {
  z-index: 1;
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: auto;
}

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

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

:host [part="scroller"] [part="content"] {
  padding: var(--dialog-padding-top) var(--dialog-padding-right) var(--dialog-padding-bottom) var(--dialog-padding-left);
  height: min-content;
  position: relative;
}

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