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

.wrapper {
  user-select: none;
  padding: 0;
  background: transparent;
  width: fit-content;
  height: var(--ui-components-button-touch-target-size);
  min-width: var(--ui-components-button-touch-target-size);
  appearance: none;
  text-align: start;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  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;
  overflow: visible;
  z-index: 1;
}

.wrapper {
            cursor: pointer;
}

.wrapper:focus {
            outline: none;
}

.wrapper .visible-wrapper {
            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);
}

.wrapper.activated .visible-wrapper {
            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) {

.wrapper:hover .visible-wrapper {
                        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));
            }
}

.wrapper:active .visible-wrapper {
            border-color: var(--normal-pressed-border-color);
            background-color: var(--normal-pressed-background-color);
}

.wrapper:focus-visible .visible-wrapper {
            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;
}

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

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

.wrapper:disabled {
            cursor: not-allowed;
}

.wrapper.disabled {
            cursor: not-allowed;
}

.wrapper {

  /* Anchor name for positioning the context menu */
  anchor-name: --context-menu-trigger;
}

.wrapper.full-width {
    width: 100%;
  }

.wrapper.full-width .visible-wrapper {
      justify-content: space-between;
    }

.wrapper .visible-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    display: flex;
    height: var(--ui-components-button-visual-size);
    padding: 0px var(--ui-components-button-padding-horizontal);
    justify-content: space-between;
    align-items: center;
    flex: 1 0 0;
    border-radius: var(--ui-components-button-border-radius-top-left)
      var(--ui-components-button-border-radius-top-right)
      var(--ui-components-button-border-radius-bottom-right)
      var(--ui-components-button-border-radius-bottom-left);
    border-top: var(--ui-components-button-stroke-weight-top) solid
      var(--normal-enabled-border-color);
    border-right: var(--ui-components-button-stroke-weight-right) solid
      var(--normal-enabled-border-color);
    border-bottom: var(--ui-components-button-stroke-weight-bottom) solid
      var(--normal-enabled-border-color);
    border-left: var(--ui-components-button-stroke-weight-left) solid
      var(--normal-enabled-border-color);
    background: var(--normal-enabled-background-color);
    cursor: pointer;
  }

.wrapper .content-container {
    display: flex;
    padding: 0px var(--ui-components-button-padding-horizontal);
    align-items: center;
  }

.wrapper .icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--ui-components-button-icon-size);
    height: var(--ui-components-button-icon-size);
    color: var(--on-normal-neutral-color);
  }

.wrapper .label-container {
    padding: 0px var(--ui-components-button-label-spacing);
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    justify-content: center;
    align-items: center;
    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);
  }

.wrapper .arrow-flyout-container {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--on-normal-neutral-color);
  }

.wrapper:disabled .icon-container {
    color: var(--on-normal-disabled-color);
  }

.wrapper:disabled .label-container {
    color: var(--on-normal-disabled-color);
  }

.wrapper:disabled .arrow-flyout-container {
    color: var(--on-normal-disabled-color);
  }

.wrapper.open-top .positioned-menu {
      bottom: anchor(bottom);
      top: unset;
    }

/* Positioned context menu styles */

.positioned-menu {
  position: fixed;
  position-anchor: --context-menu-trigger;
  left: calc(anchor(right) + 8px);
  top: anchor(top);
  margin: unset;
  padding: 0;
  border: none;
  background: none;
  overflow: visible;
}

.wrapper.disabled .label-container,
.wrapper.disabled .arrow-flyout-container {
  color: var(--on-normal-disabled-color);
}
`;
export {
  compentStyle as default
};
//# sourceMappingURL=menu-button.css.js.map
