// ------------------------------------------------------------------------------
// <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 schedulerMonthViewElementJoyStyle() {
    return css `
:host {
  --scheduler-month-view-background-color: var(--joy-scheme-background);
  --scheduler-month-view-border-color: var(--joy-scheme-highlight);
  --scheduler-month-view-border-radius: var(--joy-layout-radius);
  --scheduler-month-view-border-style: solid;
  --scheduler-month-view-border-width: var(--joy-layout-thickness);
  --scheduler-month-view-cell-min-height: 100px;
  --scheduler-month-view-day-number-font-size: var(--joy-typography-body2-font-size);
  --scheduler-month-view-day-number-font-weight: var(--joy-typography-body2-font-weight);
  --scheduler-month-view-event-chip-border-radius: var(--joy-layout-radius);
  --scheduler-month-view-event-chip-font-size: var(--joy-typography-caption-font-size);
  --scheduler-month-view-event-chip-height: 20px;
  --scheduler-month-view-font-family: unset;
  --scheduler-month-view-font-letter-spacing: unset;
  --scheduler-month-view-font-line-height: unset;
  --scheduler-month-view-font-size: unset;
  --scheduler-month-view-font-text-decoration: unset;
  --scheduler-month-view-font-text-transform: unset;
  --scheduler-month-view-font-weight: unset;
  --scheduler-month-view-foreground-color: var(--joy-scheme-foreground);
  --scheduler-month-view-gap: calc(var(--joy-layout-space) / 2);
  --scheduler-month-view-header-day-font-family: var(--joy-typography-headline6-font-family);
  --scheduler-month-view-header-day-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --scheduler-month-view-header-day-font-line-height: var(--joy-typography-headline6-line-height);
  --scheduler-month-view-header-day-font-size: var(--joy-typography-headline6-font-size);
  --scheduler-month-view-header-day-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --scheduler-month-view-header-day-font-text-transform: var(--joy-typography-headline6-text-transform);
  --scheduler-month-view-header-day-font-weight: var(--joy-typography-headline6-font-weight);
  --scheduler-month-view-header-font-family: var(--joy-typography-headline6-font-family);
  --scheduler-month-view-header-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --scheduler-month-view-header-font-line-height: var(--joy-typography-headline6-line-height);
  --scheduler-month-view-header-font-size: var(--joy-typography-headline6-font-size);
  --scheduler-month-view-header-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --scheduler-month-view-header-font-text-transform: var(--joy-typography-headline6-text-transform);
  --scheduler-month-view-header-font-weight: var(--joy-typography-headline6-font-weight);
  --scheduler-month-view-header-weekday-font-family: var(--joy-typography-caption-font-family);
  --scheduler-month-view-header-weekday-font-letter-spacing: var(--joy-typography-caption-letter-spacing);
  --scheduler-month-view-header-weekday-font-line-height: var(--joy-typography-caption-line-height);
  --scheduler-month-view-header-weekday-font-size: var(--joy-typography-caption-font-size);
  --scheduler-month-view-header-weekday-font-text-decoration: var(--joy-typography-caption-text-decoration);
  --scheduler-month-view-header-weekday-font-text-transform: var(--joy-typography-caption-text-transform);
  --scheduler-month-view-header-weekday-font-weight: var(--joy-typography-caption-font-weight);
  --scheduler-month-view-padding-bottom: var(--joy-layout-space);
  --scheduler-month-view-padding-left: var(--joy-layout-space);
  --scheduler-month-view-padding-right: var(--joy-layout-space);
  --scheduler-month-view-padding-top: var(--joy-layout-space);
  --scheduler-month-view-shadow: unset unset unset unset unset;
  --scheduler-month-view-shadow-blur: unset;
  --scheduler-month-view-shadow-color: unset;
  --scheduler-month-view-shadow-offset-x: unset;
  --scheduler-month-view-shadow-offset-y: unset;
  --scheduler-month-view-shadow-spread: unset;
  --scheduler-month-view-today-background-color: var(--joy-scheme-semi-transparent);
  --scheduler-month-view-transition-duration: unset;
  --scheduler-month-view-transition-mode: unset;
  --scheduler-month-view-transition-property: unset;
  --scheduler-month-view-translate: none;
  --scheduler-month-view-week-number-width: 40px;
  --scheduler-month-view-weekend-background-color: color-mix(in srgb, var(--joy-scheme-highlight) 40%, transparent);
}

@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-month-view-font-family);
  font-size: var(--scheduler-month-view-font-size);
  line-height: var(--scheduler-month-view-font-line-height);
  font-weight: var(--scheduler-month-view-font-weight);
  letter-spacing: var(--scheduler-month-view-font-letter-spacing);
  -webkit-text-decoration: var(--scheduler-month-view-font-text-decoration);
  text-decoration: var(--scheduler-month-view-font-text-decoration);
  text-transform: var(--scheduler-month-view-font-text-transform);
  transition-duration: var(--scheduler-month-view-transition-duration);
  transition-timing-function: var(--scheduler-month-view-transition-mode);
  transition-property: var(--scheduler-month-view-transition-property);
  background: var(--scheduler-month-view-background-color);
  color: var(--scheduler-month-view-foreground-color);
  border-color: var(--scheduler-month-view-border-color);
  border-width: var(--scheduler-month-view-border-width);
  border-radius: var(--scheduler-month-view-border-radius);
  border-style: var(--scheduler-month-view-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="header"] {
  border-bottom: 1px solid var(--scheduler-month-view-border-color);
  flex-shrink: 0;
  display: flex;
}

:host [part="container"] [part="header"] [part="week-number-header"] {
  width: var(--scheduler-month-view-week-number-width);
  border-right: 1px solid var(--scheduler-month-view-border-color);
  flex-shrink: 0;
}

:host [part="container"] [part="header"] [part="header-cell"] {
  text-align: center;
  padding: var(--scheduler-month-view-padding-top) var(--scheduler-month-view-padding-right) var(--scheduler-month-view-padding-bottom) var(--scheduler-month-view-padding-left);
  text-transform: uppercase;
  border-right: 1px solid var(--scheduler-month-view-border-color);
  flex: 1;
  font-size: .85em;
  font-weight: bold;
}

:host [part="container"] [part="header"] [part="header-cell"]:last-child {
  border-right: none;
}

:host [part="container"] [part="body"] {
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: auto;
}

:host [part="container"] [part="body"] [part="week-row"] {
  min-height: var(--scheduler-month-view-cell-min-height);
  border-bottom: 1px solid var(--scheduler-month-view-border-color);
  flex: 1;
  display: flex;
}

:host [part="container"] [part="body"] [part="week-row"]:last-child {
  border-bottom: none;
}

:host [part="container"] [part="body"] [part="week-row"] [part="week-number"] {
  width: var(--scheduler-month-view-week-number-width);
  border-right: 1px solid var(--scheduler-month-view-border-color);
  color: var(--scheduler-month-view-foreground-color);
  opacity: .6;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
  font-size: .75em;
  display: flex;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] {
  border-right: 1px solid var(--scheduler-month-view-border-color);
  padding: var(--scheduler-month-view-padding-top) var(--scheduler-month-view-padding-right) var(--scheduler-month-view-padding-bottom) var(--scheduler-month-view-padding-left);
  cursor: pointer;
  gap: var(--scheduler-month-view-gap);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"]:last-child {
  border-right: none;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="day-cell-empty"] {
  cursor: default;
  background: #00000005;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-today"] {
  background: var(--scheduler-month-view-today-background-color);
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-today"] [part="day-number"] {
  font-weight: bold;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-weekend"] {
  background: var(--scheduler-month-view-weekend-background-color);
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-adjacent"] {
  opacity: .5;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-blackout"] {
  background-image: linear-gradient(135deg, color-mix(in srgb, var(--scheduler-month-view-border-color) 20%, transparent) 25%, transparent 25%, transparent 50%, color-mix(in srgb, var(--scheduler-month-view-border-color) 20%, transparent) 50%, color-mix(in srgb, var(--scheduler-month-view-border-color) 20%, transparent) 75%, transparent 75%, transparent);
  cursor: not-allowed;
  background-repeat: repeat;
  background-size: 8px 8px;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-special"] {
  background-color: #ffd7001a;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-number"] {
  font-size: var(--scheduler-month-view-day-number-font-size);
  font-weight: var(--scheduler-month-view-day-number-font-weight);
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] {
  flex-direction: column;
  flex: 1;
  gap: 2px;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="event-chip"] {
  align-items: center;
  display: flex;
  overflow: hidden;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="event-chip"] [part="event-time"] {
  flex-shrink: 0;
  margin-inline-end: 4px;
  font-weight: 500;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="more-events"] {
  opacity: .7;
  cursor: pointer;
  font-size: .75em;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="more-events"]:hover {
  text-decoration: underline;
}

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

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"][part~="is-today"] [part="day-number"] {
  background-color: var(--joy-color-primary-500);
  color: var(--joy-color-contrast-primary-500);
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  display: flex;
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-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 [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="event-chip"] {
  background-color: color-mix(in srgb, var(--joy-color-primary-500) 20%, transparent);
  color: var(--joy-color-primary-500);
}

:host [part="container"] [part="body"] [part="week-row"] [part~="day-cell"] [part="day-events"] [part="event-chip"]:hover {
  background-color: color-mix(in srgb, var(--joy-color-primary-500) 30%, transparent);
}

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