<commit_before>/// ========================================================================
/// ZUI: input-control.less
/// http://zui.sexy
/// ========================================================================
/// Copyright 2016-2017 cnezsoft.com; Licensed MIT
/// ========================================================================


// Variables

@input-control-icon-size: 30px;
@input-control-normal-opacity: .5;
@input-control-label-width: 70px;
@input-control-label-width-sm: 55px;
@input-control-label-width-lg: 95px;


// Basic style

.input-control-icon-left,
.input-control-icon-right,
.input-control-label-left,
.input-control-label-right {
  position: absolute;
  top: 1px;
  height: @input-control-icon-size;
  line-height: @input-control-icon-size;
  opacity: @input-control-normal-opacity;
  z-index: 5;
}
.input-control-icon-left,
.input-control-icon-right {
  width: @input-control-icon-size;
  text-align: center;
}
.input-control-label-left,
.input-control-icon-left {left: 1px;}
.input-control-label-right,
.input-control-icon-right {right: 1px;}

.input-control-label-left,
.input-control-label-right {
  width: @input-control-label-width;
  padding: 0 @padding-small-horizontal;
  overflow: hidden;
  text-overflow: ellipsis;

  .has-label-left-sm > & {
    width: @input-control-label-width-sm;
  }

  .has-label-left-lg > & {
    width: @input-control-label-width-lg;
  }
}

.input-control {
  position: relative;

  &.has-icon-left > .form-control {
    padding-left: @input-control-icon-size;
  }
  &.has-icon-right > .form-control {
    padding-right: @input-control-icon-size;
  }

  &.has-label-left > .form-control {
    padding-left: @input-control-label-width;
  }
  &.has-label-right > .form-control {
    padding-right: @input-control-label-width;
  }

  &.has-label-left-sm > .form-control {
    padding-left: @input-control-label-width-sm;
  }
  &.has-label-right-sm > .form-control {
    padding-right: @input-control-label-width-sm;
  }

  &.has-label-left-lg > .form-control {
    padding-left: @input-control-label-width-lg;
  }
  &.has-label-right-lg > .form-control {
    padding-right: @input-control-label-width-lg;
  }

  > a:hover {
    background-color: @color-gray-pale;
    opacity: 1;
  }
}

.form-control:focus {
  + [class^="input-control-"],
  + [class^="input-control-"] + [class^="input-control-"] {
    opacity: 1;
  }

  + .input-control-label-left {
    color: @color-secondary;
  }
}


// Search box

input:placeholder-shown,
.empty {
  + .search-clear-btn,
  + .search-icon + .search-clear-btn {
    opacity: 0 !important;
  }
}

.search-box-circle {
  .input-control-icon-left,
  .input-control-icon-right,
  > .form-control {
    border-radius: 16px;
  }

  + .input-group-btn > .btn {
    border-radius: 0 16px 16px 0;
  }
}
<commit_msg> * change :placeholder-shown selector order.<commit_after>/// ========================================================================
/// ZUI: input-control.less
/// http://zui.sexy
/// ========================================================================
/// Copyright 2016-2017 <EMAIL>; Licensed MIT
/// ========================================================================


// Variables

@input-control-icon-size: 30px;
@input-control-normal-opacity: .5;
@input-control-label-width: 70px;
@input-control-label-width-sm: 55px;
@input-control-label-width-lg: 95px;


// Basic style

.input-control-icon-left,
.input-control-icon-right,
.input-control-label-left,
.input-control-label-right {
  position: absolute;
  top: 1px;
  height: @input-control-icon-size;
  line-height: @input-control-icon-size;
  opacity: @input-control-normal-opacity;
  z-index: 5;
}
.input-control-icon-left,
.input-control-icon-right {
  width: @input-control-icon-size;
  text-align: center;
}
.input-control-label-left,
.input-control-icon-left {left: 1px;}
.input-control-label-right,
.input-control-icon-right {right: 1px;}

.input-control-label-left,
.input-control-label-right {
  width: @input-control-label-width;
  padding: 0 @padding-small-horizontal;
  overflow: hidden;
  text-overflow: ellipsis;

  .has-label-left-sm > & {
    width: @input-control-label-width-sm;
  }

  .has-label-left-lg > & {
    width: @input-control-label-width-lg;
  }
}

.input-control {
  position: relative;

  &.has-icon-left > .form-control {
    padding-left: @input-control-icon-size;
  }
  &.has-icon-right > .form-control {
    padding-right: @input-control-icon-size;
  }

  &.has-label-left > .form-control {
    padding-left: @input-control-label-width;
  }
  &.has-label-right > .form-control {
    padding-right: @input-control-label-width;
  }

  &.has-label-left-sm > .form-control {
    padding-left: @input-control-label-width-sm;
  }
  &.has-label-right-sm > .form-control {
    padding-right: @input-control-label-width-sm;
  }

  &.has-label-left-lg > .form-control {
    padding-left: @input-control-label-width-lg;
  }
  &.has-label-right-lg > .form-control {
    padding-right: @input-control-label-width-lg;
  }

  > a:hover {
    background-color: @color-gray-pale;
    opacity: 1;
  }
}

.form-control:focus {
  + [class^="input-control-"],
  + [class^="input-control-"] + [class^="input-control-"] {
    opacity: 1;
  }

  + .input-control-label-left {
    color: @color-secondary;
  }
}


// Search box

.empty,
input:placeholder-shown {
  + .search-clear-btn,
  + .search-icon + .search-clear-btn {
    opacity: 0 !important;
  }
}

.search-box-circle {
  .input-control-icon-left,
  .input-control-icon-right,
  > .form-control {
    border-radius: 16px;
  }

  + .input-group-btn > .btn {
    border-radius: 0 16px 16px 0;
  }
}

{'fraction_non_alphanumeric': 0.2469900849858357, 'fraction_numerical': 0.011685552407932011, 'mean_word_length': 3.1937639198218264, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 30, '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': '5922248', 'n_tokens_mistral': 2121, 'n_tokens_neox': 1999, 'n_words': 286}