import { css } from "lit";
const compentStyle = css`
          * {
            -webkit-tap-highlight-color: transparent;
          }

.rich-button {
  height: fit-content;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ui-components-rich-button-bording-radius);
  border: 1px solid var(--normal-enabled-border-color);
  background: var(--normal-enabled-background-color);
}

.rich-button.direction-vertical {
    width: var(--ui-components-rich-button-width-max-vertical, 128px);
    padding: var(--ui-components-rich-button-margin-vertical)
      var(--ui-components-rich-button-padding-horizontal);
    flex-direction: column;
  }

.rich-button.direction-horizontal {
    display: flex;
    width: var(--ui-components-rich-button-width-max-horizontal, 240px);
    padding: var(--ui-components-rich-button-margin-horizontal);
    align-items: center;
    border-radius: var(--ui-components-rich-button-bording-radius);
    border: 1px solid var(--normal-enabled-border-color);
    background: var(--normal-enabled-background-color);
  }

.rich-button.full-width {
    width: 100%;
  }

.rich-button.full-height {
    height: 100%;
  }

.rich-button {
            border-color: var(--normal-enabled-border-color);
            background-color: var(--normal-enabled-background-color);
            border-width: 1px;
            border-style: solid;
            cursor: pointer;
            --base-border-color: var(--normal-enabled-border-color);
            --base-background-color: var(--normal-enabled-background-color);
}

.rich-button:focus {
            outline: none;
}

.rich-button.activated {
            border-color: var(--normal-activated-border-color);
            background-color: var(--normal-activated-background-color);
            --base-border-color: var(--normal-activated-border-color);
            --base-background-color: var(--normal-activated-background-color);
}

@media (hover:hover) {

.rich-button:hover {
                        border-color: color-mix(in srgb, var(--normal-hover-border-color) calc(var(--obc-can-hover) * 100%), var(--base-border-color));
                        background-color: color-mix(in srgb, var(--normal-hover-background-color) calc(var(--obc-can-hover) * 100%), var(--base-background-color));
            }
}

.rich-button:active {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

.rich-button:focus-visible {
            outline-color: var(--border-focus-color);
            outline-width: var(--global-size-spacing-border-weight-focusframe);
            outline-style: solid;
            border-color: var(--container-global-color);
            z-index: 1;
}

.rich-button:disabled {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.rich-button.disabled {
            border-color: var(--normal-disabled-border-color);
            background-color: var(--normal-disabled-background-color);
            cursor: not-allowed;
            color: var(--on-normal-disabled-color) !important;
}

.rich-button {
  color: var(--on-normal-active-color);
}

.rich-button.disabled .label,.rich-button.disabled .description {
      color: var(--on-normal-disabled-color);
    }

:is(.rich-button .content-container) .label,:is(.rich-button .content-container) .description {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      overflow: hidden;
      text-overflow: ellipsis;
    }

/* Direction layouts */

.rich-button.direction-vertical .content-container {
  display: flex;
  padding: 0px var(--ui-components-rich-button-padding-horizontal);
  flex-direction: column;
  align-items: center;
  align-self: stretch;
}

.rich-button.direction-horizontal .content-container {
  display: flex;
  padding: 0px var(--ui-components-rich-button-padding-horizontal);
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  flex: 1 0 0;
}

.label {
  font-family: var(--font-family-main);
  font-weight: var(--global-typography-ui-button-font-weight);
  font-size: var(--global-typography-ui-button-font-size);
  line-height: var(--global-typography-ui-button-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  color: var(--on-normal-active-color);
  -webkit-line-clamp: 1;
}

.description {
  font-family: var(--font-family-main);
  font-weight: var(--font-weight-regular);
  font-size: var(--global-typography-ui-label-font-size);
  line-height: var(--global-typography-ui-label-line-height);
  font-feature-settings:
    "liga" off,
    "clig" off,
    "ss04" on;
  color: var(--on-normal-neutral-color);
  -webkit-line-clamp: 2;
}

.icon-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.icon-container .icon,.icon-container ::slotted(*) {
    height: var(--ui-components-button-icon-size);
    width: var(--ui-components-button-icon-size);
    color: var(--on-normal-neutral-color);
  }

.leading-icon {
  width: var(--ui-components-rich-button-icon-size-xlarge);
  height: var(--ui-components-rich-button-icon-size-xlarge);
}

.leading-icon ::slotted(*) {
    width: var(--ui-components-rich-button-icon-size-xlarge);
    height: var(--ui-components-rich-button-icon-size-xlarge);
  }

.trailing-icon {
  display: flex;
  padding-top: var(--ui-components-rich-button-padding-vertical-small);
  align-items: center;
  gap: 16px;
}

.trailing-icon ::slotted(*) {
    width: var(--ui-components-rich-button-icon-size);
    height: var(--ui-components-rich-button-icon-size);
  }

:is(.rich-button:disabled .icon-container) .icon,:is(.rich-button:disabled .icon-container) ::slotted(*) {
    color: var(--on-normal-disabled-color);
  }

/* Hide icons when not needed */

.rich-button:not(.has-leading-icon) .leading-icon {
  display: none;
}

.rich-button:not(.has-trailing-icon) .trailing-icon {
  display: none;
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=rich-button.css.js.map
