// ------------------------------------------------------------------------------
// <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-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-font-family: var(--joy-font-family);
  --table-font-letter-spacing: unset;
  --table-font-line-height: unset;
  --table-font-size: var(--joy-typography-body1-font-size);
  --table-font-text-decoration: unset;
  --table-font-text-transform: unset;
  --table-font-weight: var(--joy-typography-body1-font-weight);
  --table-foreground-color: var(--joy-scheme-foreground);
  --table-gap: var(--joy-layout-space);
  --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-shadow: var(--joy-elevation-none);
  --table-transition-duration: var(--joy-duration-short);
  --table-transition-mode: ease;
  --table-transition-property: all;
  --table-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(--table-font-family);
  font-size: var(--table-font-size);
  font-weight: var(--table-font-weight);
  background-color: var(--table-background-color);
  font-family: var(--table-font-family);
  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: hidden;
}

: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"]:after {
  content: "";
  background-color: var(--table-border-color);
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

: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);
}

:host.alternating mosaik-table-body mosaik-table-row:nth-child(odd) {
  --table-background-color: var(--joy-scheme-semi-transparent);
}

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