<commit_before>@import "themes/common";

// Textarea
// --------------------------------------------------
@prefix-cls-textarea: e("@{prefix-cls}-textarea");

.active() {
  border-color: @primary-color;
  box-shadow: 0px 0px 0px 2px fade(@primary-color, 30%);
}

.error() {
  border-color: @brand-error;
  box-shadow: 0px 0px 0px 2px fade(@brand-error, 30%);
}

.success() {
  border-color: @brand-success;
  box-shadow: 0px 0px 0px 2px fade(@brand-success, 30%);
}

.disabled() {
  background: #f2f2f2;
  color: #ccc;
  border-color: #e6e6e6;
  box-shadow: none;
  cursor: not-allowed !important;
}

.@{prefix-cls-textarea}-box {
  position: relative;
  display: inline-block;
  width: 100%;

  pre {
    display: block;
    margin: 0;
    padding: 8px 10px;
    font-size: 12px;
    visibility: hidden;
    overflow: hidden;
  }
}

.@{prefix-cls-textarea} {
  width: 100%;
  min-width: 370px;
  min-height: 78px;
  padding: 8px 10px;
  background: #fff;
  color: #666;
  font-size: 12px;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  outline: none;<commit_msg>增加white-space: pre-wrap;<commit_after>@import "themes/common";

// Textarea
// --------------------------------------------------
@prefix-cls-textarea: e("@{prefix-cls}-textarea");

.active() {
  border-color: @primary-color;
  box-shadow: 0px 0px 0px 2px fade(@primary-color, 30%);
}

.error() {
  border-color: @brand-error;
  box-shadow: 0px 0px 0px 2px fade(@brand-error, 30%);
}

.success() {
  border-color: @brand-success;
  box-shadow: 0px 0px 0px 2px fade(@brand-success, 30%);
}

.disabled() {
  background: #f2f2f2;
  color: #ccc;
  border-color: #e6e6e6;
  box-shadow: none;
  cursor: not-allowed !important;
}

.@{prefix-cls-textarea}-box {
  position: relative;
  display: inline-block;
  width: 100%;

  pre {
    display: block;
    margin: 0;
    padding: 8px 10px;
    font-size: 12px;
    visibility: hidden;
    overflow: hidden;
    white-space: pre-wrap;
  }
}

.@{prefix-cls-textarea} {
  width: 100%;
  min-width: 370px;
  min-height: 78px;
  padding: 8px 10px;
  background: #fff;
  color: #666;
  font-size: 12px;
  border: 1px solid #bfbfbf;
  border-radius: 4px;
  outline: none;
{'fraction_non_alphanumeric': 0.20772058823529413, 'fraction_numerical': 0.046875, 'mean_word_length': 2.779513888888889, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6404550', 'n_tokens_mistral': 924, 'n_tokens_neox': 818, 'n_words': 186}