<commit_before>
/**
 * http://www.google.com/design/spec/components/text-fields.html
 */
$font-big: 16px;
$font-small: 12px;
$padding: 4px;
$transition-function: cubic-bezier(0.25, 0.8, 0.25, 1);
$transition-duration: 0.25s;
$error-color: rgb(244, 67, 54);

.Textfield {
  display: block;
  padding-top: 16px;
  padding-bottom: 8px;
}

.Textfield-icon-wrapper {
  display: flex;
}

.Textfield-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.Textfield-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
}

.Textfield-label {
  order: 1;
  display: block;
  font-size: $font-big;
  color: rgba($blue-dark, 0.6);
  transform: translate3d(0, 20px, 0);
  transform-origin: left top;
  transition: $transition-function $transition-duration;
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.Textfield-input {
  order: 2;
  width: 100%;
  display: block;
  border-radius: 0;
  font-size: $font-big;
  outline: 0;
  border: none;
  border-bottom: 1px solid $black-012;
  transition: $transition-duration;
  padding-bottom: $padding;
}

.Textfield-input:focus {
  border-bottom-color: $blue-dark;
  box-shadow: 0 1px 0 0 $blue-dark;
}

.Textfield-input--error {
  border-bottom-color: $error-color;
}

.Textfield-input--error:focus {
  border-bottom-color: $error-color;
  box-shadow: 0 1px 0 0 $error-color;
}

.Textfield-input:focus ~ .Textfield-label,
.Textfield-label--floatup {
  transform: translate3d(0, -$padding, 0);
  font-size: $font-small;
}

.Textfield-label--floatup {
  color: rgba($blue-dark, 0.6);
}

.Textfield-input:focus ~ .Textfield-label {
  color: $blue-dark;
}

.Textfield-input:disabled {
  background-color: transparent;
  color: rgba($blue-dark, 0.6);
  border-bottom: 1px dotted rgba($blue-dark, 0.3);
}

.Textfield-error {
  order: 3;
  display: block;
  margin-top: 6px;
  font-size: $font-small;
  color: $error-color;
  line-height: 16px;
  min-height: 16px;
}<commit_msg>stay tighter to spec<commit_after>
/**
 * http://www.google.com/design/spec/components/text-fields.html
 */
$font-big: 16px;
$font-small: 12px;
$padding: 4px;
$transition-function: cubic-bezier(0.25, 0.8, 0.25, 1);
$transition-duration: 0.25s;
$error-color: rgb(244, 67, 54);

.Textfield {
  display: block;
  padding-top: 16px;
  padding-bottom: 8px;
}

.Textfield-icon-wrapper {
  display: flex;
}

.Textfield-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.Textfield-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
}

.Textfield-label {
  order: 1;
  display: block;
  font-size: $font-big;
  color: rgba($blue-dark, 0.6);
  transform: translate3d(0, 24px, 0);
  transform-origin: left top;
  transition: $transition-function $transition-duration;
  pointer-events: none;
  white-space: nowrap;
  text-overflow: ellipsis;
  margin-top: 14px;
  margin-bottom: 6px;
}

.Textfield-input {
  order: 2;
  width: 100%;
  display: block;
  border-radius: 0;
  font-size: $font-big;
  outline: 0;
  border: none;
  border-bottom: 1px solid $black-012;
  transition: $transition-duration;
  padding: 0;
  height: 20px;
  box-sizing: content-box;
  padding-bottom: 8px;
  margin-bottom: 8px;
}

.Textfield-input:focus {
  border-bottom-color: $blue-dark;
  box-shadow: 0 1px 0 0 $blue-dark;
}

.Textfield-input--error {
  border-bottom-color: $error-color;
}

.Textfield-input--error:focus {
  border-bottom-color: $error-color;
  box-shadow: 0 1px 0 0 $error-color;
}

.Textfield-input:focus ~ .Textfield-label,
.Textfield-label--floatup {
  transform: translate3d(0, 0, 0);
  font-size: $font-small;
}

.Textfield-label--floatup {
  color: rgba($blue-dark, 0.6);
}

.Textfield-input:focus ~ .Textfield-label {
  color: $blue-dark;
}

.Textfield-input:disabled {
  background-color: transparent;
  color: rgba($blue-dark, 0.6);
  border-bottom: 1px dotted rgba($blue-dark, 0.3);
}

.Textfield-error {
  order: 3;
  display: block;
  margin-top: 6px;
  font-size: $font-small;
  color: $error-color;
  min-height: 16px;
}
{'fraction_non_alphanumeric': 0.16551554020720277, 'fraction_numerical': 0.03823384311790824, 'mean_word_length': 3.6342857142857143, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '4494241', 'n_tokens_mistral': 1735, 'n_tokens_neox': 1586, 'n_words': 331}