// ------------------------------------------------------------------------------
// <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 resizeElementJoyStyle() {
    return css `
:host {
  --resize-font-family: unset;
  --resize-font-letter-spacing: unset;
  --resize-font-line-height: unset;
  --resize-font-size: unset;
  --resize-font-text-decoration: unset;
  --resize-font-text-transform: unset;
  --resize-font-weight: unset;
  --resize-gap: unset;
  --resize-padding-bottom: unset;
  --resize-padding-left: unset;
  --resize-padding-right: unset;
  --resize-padding-top: unset;
  --resize-transition-duration: unset;
  --resize-transition-mode: unset;
  --resize-transition-property: unset;
  --resize-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: contents;
}

:host [part~="root"] {
  height: 100%;
  position: relative;
}

:host [part="cornerThumb"], :host [part="sideThumb"], :host [part="bottomThumb"] {
  z-index: 1;
  display: inline-flex;
  position: absolute;
}

:host [part="cornerThumb"] {
  --_size: 32px;
  bottom: calc(var(--_size) / 2 * -1);
  right: calc(var(--_size) / 2 * -1);
  cursor: se-resize;
}

:host [part="cornerThumb"]:focus {
  outline: none;
}

:host [part="sideThumb"] {
  --_size: 32px;
  top: calc(50% - var(--_size));
  right: calc(var(--_size) / 2 * -1);
  cursor: e-resize;
}

:host [part="bottomThumb"] {
  --_size: 32px;
  left: calc(50% - var(--_size));
  bottom: calc(var(--_size) / 2 * -1);
  cursor: s-resize;
}

:host {
  --_border-radius: 4px;
  --_resize-indicator: red;
}

:host [part~="active"]:after {
  content: "";
  pointer-events: none;
  border-radius: var(--_border-radius);
  border: 1px solid var(--_resize-indicator);
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

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