$prefix: 'cn-dropdown-form-item';

.#{$prefix} {
  &__trigger {
    &__wrapper {
      display: flex;
      align-items: center;
      line-height: 16px;
      cursor: pointer;

      &--required {
        color: #d11515;
        margin-left: 4px;
      }

      &__label {
        /** 超过8个中文用省略号 **/
        max-width: 98px;
        margin-left: 4px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
      }

      &__invalid {
        background-color: rgba(255, 204, 199, 0.52);
      }
    }
  }

  &__content {
    //  width: 350px;
    padding: 0;
    border-radius: 0;
    background: #fff;
    &__date-range {
      width: 544px;
    }
  }
}
