// ------------------------------------------------------------------------------
// <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 ribbonElementCosmopolitanStyle() {
    return css `
:host {
  --ribbon-background-color: unset;
  --ribbon-border-color: unset;
  --ribbon-border-radius: unset;
  --ribbon-border-style: unset;
  --ribbon-border-width: unset;
  --ribbon-font: unset;
  --ribbon-font-family: unset;
  --ribbon-font-letter-spacing: unset;
  --ribbon-font-line-height: unset;
  --ribbon-font-size: unset;
  --ribbon-font-text-decoration: unset;
  --ribbon-font-text-transform: unset;
  --ribbon-font-weight: unset;
  --ribbon-foreground-color: unset;
  --ribbon-gap: unset;
  --ribbon-padding-bottom: unset;
  --ribbon-padding-left: unset;
  --ribbon-padding-right: unset;
  --ribbon-padding-top: unset;
  --ribbon-shadow: unset unset unset unset unset;
  --ribbon-shadow-blur: unset;
  --ribbon-shadow-color: unset;
  --ribbon-shadow-offset-x: unset;
  --ribbon-shadow-offset-y: unset;
  --ribbon-shadow-spread: unset;
  --ribbon-transition-duration: unset;
  --ribbon-transition-mode: unset;
  --ribbon-transition-property: unset;
  --ribbon-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 {
  z-index: 1;
  flex-direction: row;
  align-content: center;
  align-items: center;
  display: flex;
  position: absolute;
  top: 8px;
  right: -8px;
}

:host [part="root"] {
  display: inherit;
  flex-direction: inherit;
  align-content: inherit;
  align-items: inherit;
  padding-top: var(--ribbon-padding-top);
  padding-left: var(--ribbon-padding-left);
  padding-bottom: var(--ribbon-padding-bottom);
  padding-right: var(--ribbon-padding-right);
  white-space: nowrap;
  font: var(--ribbon-font);
  letter-spacing: var(--ribbon-font-letter-spacing);
  border-radius: calc(var(--ribbon-border-radius) / 2) calc(var(--ribbon-border-radius) / 2) 0 calc(var(--ribbon-border-radius) / 2);
  border-right: none;
  justify-content: center;
}

:host [part="root"]:after {
  content: "";
  width: 0;
  height: 0;
  display: block;
  position: absolute;
  bottom: -8px;
  right: 0;
}

:host [part="root"].left {
  border-left: none;
  left: 0;
  right: auto;
}

:host [part="root"].bottom {
  top: auto;
  bottom: .5em;
}

:host [part="root"].is-outlined {
  background-color: #0000;
}

:host [part="root"] [part="text"] {
  color: inherit;
  font-size: inherit;
  margin: 4px;
}

:host([size="tiny"]) {
  --ribbon-font-size: 10px;
}

:host([size="small"]) {
  --ribbon-font-size: 12px;
}

:host([size="medium"]) {
  --ribbon-font-size: 14px;
}

:host([size="large"]) {
  --ribbon-font-size: 16px;
}

:host([size="giant"]) {
  --ribbon-font-size: 18px;
}

    `;
}
//# sourceMappingURL=RibbonElement.Cosmopolitan.js.map