@import "./imports.scss";

.category-chooser {
  cursor: pointer;

  &.split-mode {
    border: 1px solid $grey-detail;
    border-radius: 4px;
    background-color: $white;
  }

  &.disabled {
    cursor: not-allowed;
  }

  .category-drop-down {
    display: flex;
    height: 100%;
    align-items: center;
    padding: 0 8px 0 14px;
    border-right: $component-border;

    &:hover {
      background-color: $background;
    }

    .caret-section {
      padding-top: 5px;
    }

    .caret,
    .icon {
      text-align: center;
      margin-right: 4px;

      &.split-mode-caret {
        padding-left: 8px;
        padding-right: 8px;
        padding-top: 10px;
      }
    }

    .category-info {
      min-width: 100px;
      width: 100px;
      margin-left: 5px;
      margin-right: 5px;

      .category-title {
        font-size: 12px;
        color: $grey;
      }

      .category-name {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .left-bar-options {
        display: flex;
      }

      .category-drop-down {
        width: 155px;
        display: flex;
        align-items: center;
        justify-content: space-evenly;
        border-right: $component-border;

        .category-info {
          p {
            font-size: 12px;
            color: $grey;
          }
        }
      }
    }
  }
}
