// ------------------------------------------------------------------------------
// <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 tableElementJoyStyle() {
    return css `
:host {
  --table-alternating-color: var(--joy-scheme-surface);
  --table-background-color: var(--joy-scheme-background);
  --table-border-color: var(--joy-scheme-highlight);
  --table-border-radius: var(--joy-layout-radius);
  --table-border-style: solid;
  --table-border-width: var(--joy-layout-thickness);
  --table-column-border-color: var(--joy-scheme-highlight);
  --table-column-border-radius: unset;
  --table-column-border-style: solid;
  --table-column-border-width: 0px;
  --table-font-family: var(--joy-font-family);
  --table-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --table-font-line-height: var(--joy-typography-body1-line-height);
  --table-font-size: var(--joy-typography-body1-font-size);
  --table-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --table-font-text-transform: var(--joy-typography-body1-text-transform);
  --table-font-weight: var(--joy-typography-body1-font-weight);
  --table-foreground-color: var(--joy-scheme-foreground);
  --table-gap: var(--joy-layout-space);
  --table-line-thickness: var(--joy-layout-thickness);
  --table-padding-bottom: var(--joy-layout-space);
  --table-padding-left: calc(var(--joy-layout-space) * 2);
  --table-padding-right: calc(var(--joy-layout-space) * 2);
  --table-padding-top: var(--joy-layout-space);
  --table-row-border-color: var(--joy-scheme-highlight);
  --table-row-border-radius: unset;
  --table-row-border-style: solid;
  --table-row-border-width: var(--joy-layout-thickness);
  --table-shadow: unset unset unset unset unset;
  --table-shadow-blur: unset;
  --table-shadow-color: unset;
  --table-shadow-offset-x: unset;
  --table-shadow-offset-y: unset;
  --table-shadow-spread: unset;
  --table-transition-duration: var(--mosaik-duration-short);
  --table-transition-mode: ease;
  --table-transition-property: background-color, border-color, color, fill, stroke, opacity, box-shadow, transform;
  --table-translate: none;
}

@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(--table-font-family);
  font-size: var(--table-font-size);
  line-height: var(--table-font-line-height);
  font-weight: var(--table-font-weight);
  letter-spacing: var(--table-font-letter-spacing);
  -webkit-text-decoration: var(--table-font-text-decoration);
  text-decoration: var(--table-font-text-decoration);
  text-transform: var(--table-font-text-transform);
  background-color: var(--table-background-color);
  box-shadow: var(--table-shadow);
  border: var(--table-border-width) var(--table-border-style) var(--table-border-color);
  border-radius: var(--table-border-radius);
  background-color: var(--table-background-color);
  flex-direction: column;
  display: flex;
  position: relative;
  overflow: auto;
}

:host [part="caption"] {
  padding: var(--table-padding-top) var(--table-padding-left) var(--table-padding-bottom) var(--table-padding-right);
  position: relative;
}

:host [part="caption"][hidden] {
  display: none;
}

:host [part="caption"]:after {
  content: "";
  height: var(--table-line-thickness);
  background-color: var(--table-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host [part="summary"] {
  padding: var(--table-padding-top) var(--table-padding-left) var(--table-padding-bottom) var(--table-padding-right);
  position: relative;
}

:host [part="summary"][hidden] {
  display: none;
}

:host [part="summary"]:before {
  content: "";
  height: var(--table-line-thickness);
  background-color: var(--table-border-color);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

:host [part="summary"] ::slotted(mosaik-paginator) {
  flex-direction: row-reverse;
  align-items: center;
  display: flex;
}

:host([appearance="plain"]) {
  --table-border-width: 0px;
}

:host [part="caption"] > mosaik-text {
  font-family: var(--joy-typography-headline6-font-family);
  font-size: var(--joy-typography-headline6-font-size);
  line-height: var(--joy-typography-headline6-line-height);
  font-weight: var(--joy-typography-headline6-font-weight);
  letter-spacing: var(--joy-typography-headline6-letter-spacing);
  -webkit-text-decoration: var(--joy-typography-headline6-text-decoration);
  text-decoration: var(--joy-typography-headline6-text-decoration);
  text-transform: var(--joy-typography-headline6-text-transform);
}

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