// Copyright (c) Microsoft Corporation.
// Licensed under the MIT license.

@import "../../../theme/theme.scss";

.commands-wrap {
  display: flex;
  justify-content: flex-end;
}
.gv-commandbar {
  .ms-OverflowSet-item {
    button:nth-child(2) {
      padding-top: 2px;

      i {
        color: $inputOutlineColor;
      }
    }
  }
  .ms-CommandBar-primaryCommand {
    justify-content: flex-end;
  }
  
}

.button-group {
  .ms-OverflowSet {
    .ms-OverflowSet-item {
      color: red;
      &:first-child {
        button {
          border-top-left-radius: 5px;
          border-bottom-left-radius: 5px;
          border-right: 1px solid $backgroundColor1;
        }
      }
      &:last-child {
        button {
          border-top-right-radius: 5px;
          border-bottom-right-radius: 5px;
          border-left: 1px solid $backgroundColor1;
        }
      }
    }
  }
}

.display-name-combobox {
  .ms-ComboBox {
    height: 24px;
    border: none;
  }  
}

.display-name-container {
  display: flex;
  color: $textColorLight2;
  align-items: center;
  margin-right: 12px;
  background: $backgroundColor2;
  border-radius: 5px;
  height: 30px;
  padding: 0px 4px;
  padding-right: 4px;
}

.display-name-occurrence-count{
  margin-left: 4px;
  font-size: .8rem;
  color: var(--text-color-light3);
}

.display-name-combobox-fallback-description{
  max-width: fit-content;
  padding: 8px;
  border-bottom: 1px solid grey;
  color: var(--text-color-light3);
  font-style: italic;
}

.display-name-icon{
  margin-right: 8px;
  margin-left: 2px;
  display: flex;
  align-items: center;
  color: white;
}

.expansion-level-option {
  display: flex;
  color: $textColorLight2;
  align-items: center;
  margin-left: 12px;
  background: $backgroundColor2;
  border-radius: 5px;
  min-width: 0;
  height: 30px;
  width: 70px;
  justify-content: center;
  i {
    font-size: 16px;
    color: $textColorLight2;
  }
  &:hover {
    color: $textColorLight1;
  }
  color: $textColorLight2;
  .ms-TextField-fieldGroup {
    border-color: transparent;
    input {
      padding-left: 3px;
      width: 28px;
      background: $backgroundColor1;
    }
  }
}

.command-bar-input {
  margin-left: 10px;
  margin-top: -1px;
  .ms-TextField-fieldGroup {
    max-height: 18px;
    input {
      padding-right: 0;
    }
  }
}
