// ------------------------------------------------------------------------------
// <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 schedulerElementJoyStyle() {
    return css `
:host {
  --scheduler-background-color: var(--joy-scheme-background);
  --scheduler-border-color: var(--joy-scheme-highlight);
  --scheduler-border-radius: var(--joy-layout-radius);
  --scheduler-border-style: solid;
  --scheduler-border-width: var(--joy-layout-thickness);
  --scheduler-cell-border-color: var(--joy-scheme-highlight);
  --scheduler-cell-border-radius: var(--joy-layout-radius);
  --scheduler-cell-border-style: dashed;
  --scheduler-cell-border-width: 1px;
  --scheduler-cell-height: 40px;
  --scheduler-column-min-width: 160px;
  --scheduler-event-padding-bottom: unset;
  --scheduler-event-padding-left: unset;
  --scheduler-event-padding-right: var(--joy-layout-space);
  --scheduler-event-padding-top: unset;
  --scheduler-focus-ring-active-width: 8px;
  --scheduler-focus-ring-color: unset;
  --scheduler-focus-ring-inward-offset: 2px;
  --scheduler-focus-ring-outward-offset: 2px;
  --scheduler-font-family: var(--joy-typography-body1-font-family);
  --scheduler-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --scheduler-font-line-height: var(--joy-typography-body1-line-height);
  --scheduler-font-size: var(--joy-typography-body1-font-size);
  --scheduler-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --scheduler-font-text-transform: var(--joy-typography-body1-text-transform);
  --scheduler-font-weight: var(--joy-typography-body1-font-weight);
  --scheduler-foreground-color: var(--joy-scheme-foreground);
  --scheduler-gap: unset;
  --scheduler-header-cell-padding-bottom: var(--joy-layout-space);
  --scheduler-header-cell-padding-left: var(--joy-layout-space);
  --scheduler-header-cell-padding-right: var(--joy-layout-space);
  --scheduler-header-cell-padding-top: var(--joy-layout-space);
  --scheduler-header-day-font-family: var(--joy-typography-headline6-font-family);
  --scheduler-header-day-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --scheduler-header-day-font-line-height: var(--joy-typography-headline6-line-height);
  --scheduler-header-day-font-size: var(--joy-typography-headline6-font-size);
  --scheduler-header-day-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --scheduler-header-day-font-text-transform: var(--joy-typography-headline6-text-transform);
  --scheduler-header-day-font-weight: var(--joy-typography-headline6-font-weight);
  --scheduler-header-font-family: var(--joy-typography-headline6-font-family);
  --scheduler-header-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --scheduler-header-font-line-height: var(--joy-typography-headline6-line-height);
  --scheduler-header-font-size: var(--joy-typography-headline6-font-size);
  --scheduler-header-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --scheduler-header-font-text-transform: var(--joy-typography-headline6-text-transform);
  --scheduler-header-font-weight: var(--joy-typography-headline6-font-weight);
  --scheduler-header-weekday-font-family: var(--joy-typography-caption-font-family);
  --scheduler-header-weekday-font-letter-spacing: var(--joy-typography-caption-letter-spacing);
  --scheduler-header-weekday-font-line-height: var(--joy-typography-caption-line-height);
  --scheduler-header-weekday-font-size: var(--joy-typography-caption-font-size);
  --scheduler-header-weekday-font-text-decoration: var(--joy-typography-caption-text-decoration);
  --scheduler-header-weekday-font-text-transform: var(--joy-typography-caption-text-transform);
  --scheduler-header-weekday-font-weight: var(--joy-typography-caption-font-weight);
  --scheduler-hour-border-color: var(--joy-scheme-highlight);
  --scheduler-hour-border-radius: var(--joy-layout-radius);
  --scheduler-hour-border-style: solid;
  --scheduler-hour-border-width: var(--joy-layout-thickness);
  --scheduler-padding-bottom: unset;
  --scheduler-padding-left: unset;
  --scheduler-padding-right: unset;
  --scheduler-padding-top: unset;
  --scheduler-timescale-width: 80px;
  --scheduler-today-background-color: var(--joy-scheme-semi-transparent);
  --scheduler-transition-duration: var(--joy-duration-short);
  --scheduler-transition-mode: ease;
  --scheduler-transition-property: background-color, color, border-color;
  --scheduler-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 {
  font-family: var(--scheduler-font-family);
  font-size: var(--scheduler-font-size);
  line-height: var(--scheduler-font-line-height);
  font-weight: var(--scheduler-font-weight);
  letter-spacing: var(--scheduler-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-font-text-decoration);
  text-decoration: var(--scheduler-font-text-decoration);
  text-transform: var(--scheduler-font-text-transform);
  transition-duration: var(--scheduler-transition-duration);
  transition-timing-function: var(--scheduler-transition-mode);
  transition-property: var(--scheduler-transition-property);
  background-color: var(--scheduler-background-color);
  color: var(--scheduler-foreground-color);
  border-color: var(--scheduler-border-color);
  border-width: var(--scheduler-border-width);
  border-radius: var(--scheduler-border-radius);
  border-style: var(--scheduler-border-style);
  width: 100%;
  height: 100%;
  display: block;
  overflow: hidden;
}

:host [part="container"] {
  flex-direction: column;
  height: 100%;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="time-grid-view"] {
  --time-grid-view-timescale-width: var(--scheduler-timescale-width);
}

:host [part="container"] [part="month-view"] {
  --month-view-timescale-width: var(--scheduler-timescale-width);
}

:host [part="container"] [part="agenda-view"] {
  --agenda-view-timescale-width: var(--scheduler-timescale-width);
}

:host [part="event"] {
  padding-top: var(--scheduler-event-padding-top);
  padding-bottom: var(--scheduler-event-padding-bottom);
  padding-left: var(--scheduler-event-padding-left);
  padding-right: var(--scheduler-event-padding-right);
  cursor: pointer;
  box-sizing: border-box;
  min-height: fit-content;
  position: absolute;
}

:host [part~="all-day-event"] {
  padding-top: var(--scheduler-event-padding-top);
  padding-bottom: var(--scheduler-event-padding-bottom);
  padding-left: var(--scheduler-event-padding-left);
  padding-right: var(--scheduler-event-padding-right);
  cursor: pointer;
  box-sizing: border-box;
  text-overflow: ellipsis;
  white-space: nowrap;
  pointer-events: auto;
  position: absolute;
  top: 2px;
  bottom: 2px;
  overflow: hidden;
}

:host [part="events-slot"] {
  display: none;
}

:host [part="timescale"] {
  --scheduler-timescale-cell-height: var(--scheduler-cell-height);
}

:host [part="container"] [part="header"] [part="header-row"] [part="header-columns"] [part~="header-cell"][part~="is-special"] {
  background-color: color-mix(in srgb, var(--joy-color-primary-500) 20%, transparent);
}

:host [part="container"] [part="header"] [part="all-day-panel"] [part="all-day-row"] [part~="all-day-cell"][part~="is-special"], :host [part="container"] [part="body"] [part="grid-wrapper"] [part="grid"] [part~="grid-row"] [part~="grid-cell"][part~="is-special"] {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--joy-color-primary-500) 20%, transparent) 25%, transparent 25%, transparent 50%, color-mix(in srgb, var(--joy-color-primary-500) 20%, transparent) 50%, color-mix(in srgb, var(--joy-color-primary-500) 20%, transparent) 75%, transparent 75%, transparent);
  background-repeat: repeat;
  background-size: 8px 8px;
}

:host([is-today-highlighted]) [part~="header-cell"][part~="is-today"] {
  color: var(--joy-color-primary-500);
}

:host([is-weekend-highlighted]) [part~="header-cell"][part~="is-weekend"] {
  color: var(--joy-color-danger-500);
}

:host([size="tiny"]) {
  --scheduler-cell-height: 16px;
}

:host([size="small"]) {
  --scheduler-cell-height: 24px;
}

:host([size="medium"]) {
  --scheduler-cell-height: 48px;
}

:host([size="large"]) {
  --scheduler-cell-height: 64px;
}

:host([size="giant"]) {
  --scheduler-cell-height: 80px;
}

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