@import '@opensumi/ide-core-browser/lib/style/variable.less';

.menubarWrapper {
  display: flex;
  background-color: var(--kt-menubar-background);
  z-index: 1;
  position: relative;
  user-select: none;
}

.logoIconEmpty {
  padding-left: 10px;
}

.menubars {
  display: flex;
  align-items: center;
  font-size: 14px;
  flex-grow: 1;
  flex-shrink: 0;
}

.menubar {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 12px;
  color: var(--kt-menubar-foreground);
  user-select: none;

  // 目前尚未开启使用 kt.menubar.separatorBackground

  &.menu-open,
  &:hover {
    color: var(--menubar-selectionForeground);
    background-color: var(--menubar-selectionBackground);
    border-left: 1px solid var(--menubar-selectionBorder);
    border-right: 1px solid var(--menubar-selectionBorder);
    cursor: default;
  }

  &-drop {
    position: absolute;
    left: 0;
    top: 100%;
  }
}

.icon_menubar_container {
  display: flex;
  align-items: center;

  .menubar_action {
    margin-right: 1px;

    > span[class*='-icon'] {
      font-size: 1.5em;
    }

    span + span {
      margin-left: 12px;
    }
  }
}
