// ------------------------------------------------------------------------------
// <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 routerAnchorElementStyle() {
    return css `
:host {
  --router-anchor-background-color: var(--joy-scheme-transparent);
  --router-anchor-border-color: var(--joy-scheme-highlight);
  --router-anchor-font-family: unset;
  --router-anchor-font-letter-spacing: unset;
  --router-anchor-font-line-height: unset;
  --router-anchor-font-size: unset;
  --router-anchor-font-text-decoration: unset;
  --router-anchor-font-text-transform: unset;
  --router-anchor-font-weight: unset;
  --router-anchor-foreground-color: var(--joy-scheme-foreground);
  --router-anchor-gap: var(--joy-layout-space);
  --router-anchor-padding-bottom: unset;
  --router-anchor-padding-left: unset;
  --router-anchor-padding-right: unset;
  --router-anchor-padding-top: unset;
  --router-anchor-transition-duration: var(--joy-duration-short);
  --router-anchor-transition-mode: ease;
  --router-anchor-transition-property: background-color, color, border-color, opacity, box-shadow, translate;
  --router-anchor-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="root"] {
  gap: var(--router-anchor-gap);
  cursor: pointer;
  display: flex;
  position: relative;
}

:host [part="root"] > [id] {
  background-color: var(--router-anchor-background-color);
  border-color: var(--router-anchor-border-color);
  color: var(--router-anchor-foreground-color);
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  margin: 0;
  scroll-margin-top: 80px;
  position: relative;
}

:host [part="anchor"] {
  transition-duration: var(--router-anchor-transition-duration);
  transition-timing-function: var(--router-anchor-transition-mode);
  transition-property: var(--router-anchor-transition-property);
  opacity: 0;
  text-decoration: none;
}

:host :hover > [part="anchor"], :host [part="anchor"]:hover, :host [part="anchor"]:focus {
  opacity: 1;
  text-decoration: none;
}

:host [part="marker"] {
  color: var(--router-anchor-foreground-color);
}

:host([has-activated]) [part="anchor"] {
  opacity: 1;
  text-decoration: none;
}

    `;
}
//# sourceMappingURL=RouterAnchorElementStyle.js.map