// @author guwenjie057
// created for ComprehensiveSearch
.#{$namespace}select {
  &.#{$namespace}select-autowidth {
    .#{$namespace}select-value-box {
      &.#{$namespace}string {
        .#{$namespace}select-input {
          margin-left: 0;
        }
        .#{$namespace}select-value-input {
          color: transparent;
          // 为了更字面量样式保持一致
          font-family: inherit;
        }
        .#{$namespace}select-tags {
          left: 8px;
        }
      }
    }
    .#{$namespace}select-string {
      display: inline-block;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }

  &.#{$namespace}select-flat {
    height: 100%;
    .#{$namespace}select-value-box {
      height: 100%;
      .#{$namespace}input-flat {
        height: 100%;
        > input {
          height: 100%;
          background-color: transparent;
        }
      }
      &.#{$namespace}string {
        .#{$namespace}select-tags {
          left: 0;
          width: 100%;
        }
      }
    }
  }
}
