<commit_before>@import "../core/core";

//Colors Default
$background-addon: #DEDEDE;
$background-gray: #EEE;
$background-white: #FFFFFF;
$background-border: #CACACA;
$error-field: #FF6666;
$error-placeholder: #FFB9B9;
$error-background-color: #FFF1F1;
$success-field: #66CC99;
$success-background-color: #E3F5EC;

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@mixin textInput {
  color: #CACACA;
  font-family: 'Lato', sans-serif;
  font-size: 0.9em;
}

@mixin actionButtons {
  font-family: 'Lato', sans-serif;
  background: #fff;
  border-right: 1px solid $background-border;
  cursor: pointer;
  color: #99a1a4;
}

.tl-input-box {
  width: 100%;
  display: table;
  border-collapse: separate;

  // Addon Element
  > .addon {
    border-top: 1px solid $background-border;
    border-bottom: 1px solid $background-border;
    display: table-cell;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #6E6E6E;
    text-align: center;
    background-color: $background-gray;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
  }
  > .addon.-borderleft {
    border-left: 1px solid $background-border;
    border-radius: 2px 0 0 2px;
  }
  > .addon.-borderright {
    border-right: 1px solid $background-border;
    border-radius: 0 2px 2px 0;
  }
  > .addon.-clearbutton {
    @include actionButtons;
    font-size: 0.7em;
  }
  > .addon.-clearbutton:hover {
    background: #EEEEEE;
  }
  > .addon.-predefined {
    font-family: 'Lato', sans-serif;
    color: #484848;
  }

  //Label
  > .label {
    line-height: 1;
    width: 100px;
    white-space: nowrap;
    vertical-align: middle;
    color: #737373;
    font-weight: normal;
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
  }
  > .label.-labeltop {
    text-align: left;
    padding: 0 0 5px 0;
    display: table-caption;
  }
  > .label.-labelleft {
    text-align: right;
    padding: 5px 5px 5px 0;
    display: table-cell;
  }

  > .label.-validation {
    color: $error-field;
    font-size: 0.7em;
  }

  // Field Element
  > .field {
    display: table-cell;
    border: 1px solid $background-border;
    height: 25px;
    padding: 4px 12px;
    background: $background-white;
    font-size: 0.9em;
    width: 100%;
    float: right;
    color: #737373;
    font-family: 'Lato', sans-serif;
    -webkit-box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
    box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
  }
  > .field::placeholder {
    @include textInput;
  }
  > .field.-cursorblocked {
    cursor: not-allowed;
  }
  > .field.-disabled {
    background-color: $background-gray;
    color: #9d9d9d;
  }
  > .field.-readonly {
    background-color: $background-gray;
  }
  > .field.-hasValidation.ng-touched.ng-invalid::placeholder {
    color: $error-placeholder;
  }
  > .field.-hasValidation.ng-touched.ng-invalid {
    border: 1px solid $error-field;
    background-color: $error-background-color;
    outline: none;
  }

  >.field.-hasValidation.ng-touched.-maskInvalid {
    border: 1px solid $error-field !important;
    background-color: $error-background-color !important;
    outline: none !important;
  }

  >.field.-hasValidation.ng-touched.-maskValid {
    border: 1px solid $success-field !important;
    background-color: $success-background-color !important;
    outline: none !important;
  }<commit_msg>refactor(input): Change input style when disabled<commit_after>@import "../core/core";

//Colors Default
$background-addon: #DEDEDE;
$background-gray: #EEE;
$background-white: #FFFFFF;
$background-border: #CACACA;
$error-field: #FF6666;
$error-placeholder: #FFB9B9;
$error-background-color: #FFF1F1;
$success-field: #66CC99;
$success-background-color: #E3F5EC;

* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@mixin textInput {
  color: #CACACA;
  font-family: 'Lato', sans-serif;
  font-size: 0.9em;
}

@mixin actionButtons {
  font-family: 'Lato', sans-serif;
  background: #fff;
  border-right: 1px solid $background-border;
  cursor: pointer;
  color: #99a1a4;
}

.tl-input-box {
  width: 100%;
  display: table;
  border-collapse: separate;

  // Addon Element
  > .addon {
    border-top: 1px solid $background-border;
    border-bottom: 1px solid $background-border;
    display: table-cell;
    padding: 4px 12px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1;
    color: #6E6E6E;
    text-align: center;
    background-color: $background-gray;
    width: 1%;
    white-space: nowrap;
    vertical-align: middle;
  }
  > .addon.-borderleft {
    border-left: 1px solid $background-border;
    border-radius: 2px 0 0 2px;
  }
  > .addon.-borderright {
    border-right: 1px solid $background-border;
    border-radius: 0 2px 2px 0;
  }
  > .addon.-clearbutton {
    @include actionButtons;
    font-size: 0.7em;
  }
  > .addon.-clearbutton:hover {
    background: #EEEEEE;
  }
  > .addon.-predefined {
    font-family: 'Lato', sans-serif;
    color: #484848;
  }

  //Label
  > .label {
    line-height: 1;
    width: 100px;
    white-space: nowrap;
    vertical-align: middle;
    color: #737373;
    font-weight: normal;
    font-family: 'Lato', sans-serif;
    font-size: 0.9em;
  }
  > .label.-labeltop {
    text-align: left;
    padding: 0 0 5px 0;
    display: table-caption;
  }
  > .label.-labelleft {
    text-align: right;
    padding: 5px 5px 5px 0;
    display: table-cell;
  }

  > .label.-validation {
    color: $error-field;
    font-size: 0.7em;
  }

  // Field Element
  > .field {
    display: table-cell;
    border: 1px solid $background-border;
    height: 25px;
    padding: 4px 12px;
    background: $background-white;
    font-size: 0.9em;
    width: 100%;
    float: right;
    color: #737373;
    font-family: 'Lato', sans-serif;
    -webkit-box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
    -moz-box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
    box-shadow: inset 0px 5px 7px -5px rgba(0, 0, 0, 0.10);
  }
  > .field::placeholder {
    @include textInput;
  }
  > .field.-cursorblocked {
    cursor: not-allowed;
  }
  > .field.-disabled {
    opacity: 0.35;
    filter: Alpha(Opacity=35);
    cursor: default !important;
    background-color: #E8E8E8;
    color: #000000;
  }
  > .field.-readonly {
    background-color: $background-gray;
  }
  > .field.-hasValidation.ng-touched.ng-invalid::placeholder {
    color: $error-placeholder;
  }
  > .field.-hasValidation.ng-touched.ng-invalid {
    border: 1px solid $error-field;
    background-color: $error-background-color;
    outline: none;
  }

  >.field.-hasValidation.ng-touched.-maskInvalid {
    border: 1px solid $error-field !important;
    background-color: $error-background-color !important;
    outline: none !important;
  }

  >.field.-hasValidation.ng-touched.-maskValid {
    border: 1px solid $success-field !important;
    background-color: $success-background-color !important;
    outline: none !important;
  }
{'fraction_non_alphanumeric': 0.14992184169390366, 'fraction_numerical': 0.039079153048173935, 'mean_word_length': 2.8354223433242507, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 41, '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': '7180556', 'n_tokens_mistral': 2859, 'n_tokens_neox': 2605, 'n_words': 564}