// ------------------------------------------------------------------------------
// <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 tableHeaderCellElementMemphisStyle() {
    return css `
:host {
  --table-header-cell-background-color: var(--memphis-scheme-background);
  --table-header-cell-border-color: var(--memphis-scheme-highlight);
  --table-header-cell-border-radius: var(--memphis-layout-radius);
  --table-header-cell-border-style: unset;
  --table-header-cell-border-width: 0px;
  --table-header-cell-font-family: var(--memphis-font-family);
  --table-header-cell-font-letter-spacing: unset;
  --table-header-cell-font-line-height: unset;
  --table-header-cell-font-size: var(--memphis-typography-body1-font-size);
  --table-header-cell-font-text-decoration: unset;
  --table-header-cell-font-text-transform: unset;
  --table-header-cell-font-weight: var(--memphis-typography-body1-font-weight);
  --table-header-cell-foreground-color: var(--memphis-color-neutral-50);
  --table-header-cell-gap: var(--memphis-layout-space);
  --table-header-cell-padding-bottom: 0px;
  --table-header-cell-padding-left: calc(var(--memphis-layout-space) * 2);
  --table-header-cell-padding-right: calc(var(--memphis-layout-space) * 2);
  --table-header-cell-padding-top: 0px;
  --table-header-cell-resize-handle-color: var(--memphis-color-primary-500);
  --table-header-cell-resize-handle-width: 2px;
  --table-header-cell-separator-color: var(--memphis-scheme-highlight);
  --table-header-cell-separator-width: 1px;
  --table-header-cell-shadow: unset unset unset unset unset;
  --table-header-cell-shadow-blur: unset;
  --table-header-cell-shadow-color: unset;
  --table-header-cell-shadow-offset-x: unset;
  --table-header-cell-shadow-offset-y: unset;
  --table-header-cell-shadow-spread: unset;
  --table-header-cell-transition-duration: .2s;
  --table-header-cell-transition-mode: ease;
  --table-header-cell-transition-property: all;
  --table-header-cell-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-header-cell-font-family);
  font-size: var(--table-header-cell-font-size);
  line-height: var(--table-header-cell-font-line-height);
  font-weight: var(--table-header-cell-font-weight);
  letter-spacing: var(--table-header-cell-font-letter-spacing);
  -webkit-text-decoration: var(--table-header-cell-font-text-decoration);
  text-decoration: var(--table-header-cell-font-text-decoration);
  text-transform: var(--table-header-cell-font-text-transform);
  background-color: var(--table-header-cell-background-color);
  padding-top: var(--table-header-cell-padding-top);
  padding-right: var(--table-header-cell-padding-right);
  padding-bottom: var(--table-header-cell-padding-bottom);
  padding-left: var(--table-header-cell-padding-left);
  white-space: nowrap;
  content-visibility: auto;
  flex-direction: row;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="separator"] {
  --divider-thickness: var(--table-header-cell-separator-width, 1px);
  --divider-color: var(--table-header-cell-separator-color, transparent);
  pointer-events: none;
  height: 50%;
  position: absolute;
  top: 25%;
  right: 0;
}

:host [part="root"] {
  flex-direction: row;
  align-items: center;
  width: 100%;
  display: flex;
}

:host [part="root"] [part="content"] {
  align-items: center;
  gap: var(--table-header-cell-gap);
  flex-direction: row;
  flex: 1;
  display: flex;
}

:host [part="root"] [part="actions"] {
  align-items: center;
  gap: var(--table-header-cell-gap);
  flex-direction: row;
  display: flex;
}

:host [part="icon"] {
  transition-property: transform;
  transition-duration: .2s;
  transition-timing-function: ease;
  transform: rotate(0);
}

:host [part="sort-index"] {
  text-align: center;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  min-width: 1em;
  font-size: .625em;
  font-weight: 600;
  line-height: 1;
}

:host [part="resize-handle"] {
  cursor: col-resize;
  z-index: 1;
  touch-action: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  flex-shrink: 0;
  width: 6px;
  display: none;
  position: absolute;
  top: 0;
  bottom: 0;
  right: -3px;
}

:host [part="resize-handle"]:after {
  content: "";
  height: 50%;
  width: var(--table-header-cell-resize-handle-width, 2px);
  background-color: #0000;
  transition: background-color .15s;
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translateX(-50%);
}

:host [part="resize-handle"]:hover:after, :host [part="resize-handle"]:active:after {
  background-color: var(--table-header-cell-resize-handle-color, currentcolor);
}

:host [part="text"], :host ::slotted(mosaik-text) {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
}

:host([sortable]) {
  cursor: pointer;
}

:host([sort-direction="asc"]) [part="icon"] {
  transform: rotate(180deg);
}

:host([sort-direction="desc"]) [part="icon"] {
  transform: rotate(0);
}

:host([resizable]) [part="resize-handle"] {
  display: block;
}

:host(:last-child) [part="separator"], :host([column-hidden]) [part="separator"] {
  display: none;
}

:host([pinned="left"]), :host([pinned="right"]) {
  z-index: 2;
  background-color: var(--table-header-cell-background-color, inherit);
  position: sticky;
}

:host([pinned="left"]) {
  left: var(--table-column-pinned-offset, 0px);
}

:host([pinned="right"]) {
  right: var(--table-column-pinned-offset, 0px);
}

:host([column-hidden]) {
  visibility: hidden !important;
  pointer-events: none !important;
  border: none !important;
  min-width: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

    `;
}
//# sourceMappingURL=TableHeaderCellElement.Memphis.js.map