<commit_before>$color-primary: #007bff;
$color-disabled: #495057;
$color-white: #fff;

// Hide IE's native "clear" button
.rbt .rbt-input-main::-ms-clear {
  display: none;
}

/**
 * Menu
 */
.rbt-menu {
  margin-bottom: 2px; // Spacing for dropup

  & > .dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;

    &:focus {
      outline: none;
    }
  }

  &-pagination-option {
    text-align: center;
  }
}

/**
 * Multi-select Input
 */
$background-color-disabled: #e9ecef;

$border-color-focus: #80bdff;
$border-color-focus-invalid: #dc3545;
$border-color-focus-valid: #28a745;

$box-shadow-dimensions: 0 0 0 0.2rem;
$box-shadow-color: rgba(0, 123, 255, 0.25);
$box-shadow-color-invalid: rgba(220, 53, 69, 0.25);
$box-shadow-color-valid: rgba(40, 167, 69, 0.25);

$color-focus: #495057;
$placeholder-color: #6c757d;

.rbt-input-multi {
  cursor: text;
  overflow: hidden;
  position: relative;
  height: auto;

  // Apply Bootstrap focus styles
  &.focus {
    border-color: $border-color-focus;
    box-shadow: $box-shadow-dimensions $box-shadow-color;
    color: $color-focus;
    outline: 0;
  }

  // BS4 uses the :disabled pseudo-class, which doesn't work with non-inputs.
  &.form-control[disabled] {
    background-color: $background-color-disabled;
    opacity: 1;
  }

  &.is-invalid.focus {
    border-color: $border-color-focus-invalid;
    box-shadow: $box-shadow-dimensions $box-shadow-color-invalid;
  }

  &.is-valid.focus {
    border-color: $border-color-focus-valid;
    box-shadow: $box-shadow-dimensions $box-shadow-color-valid;
  }

  // Apply Bootstrap placeholder styles
  input {
    // Firefox
    &::-moz-placeholder {
      color: $placeholder-color;
      opacity: 1;
    }

    // Internet Explorer 10+
    &:-ms-input-placeholder {
      color: $placeholder-color;
    }

    // Safari and Chrome
    &::-webkit-input-placeholder  {
      color: $placeholder-color;
    }
  }

  .rbt-input-wrapper {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -4px;
    margin-top: -1px;
    overflow: hidden;
  }

  .rbt-input-main {
    margin: 1px 0 4px;
  }
}

/**
 * Close Button
 */
.rbt-close {
  z-index: 1;

  &-lg {
    font-size: 24px;
  }
}

/**
 * Token
 */
$token-background-color: #e<PASSWORD>;
$token-color: $color-primary;

$token-disabled-background-color: rgba(0, 0, 0, 0.1);
$token-disabled-color: $color-disabled;

$token-active-background-color: $color-primary;
$token-active-color: $color-white;

.rbt-token {
  background-color: $token-background-color;
  border: 0;
  border-radius: .25rem;
  color: $token-color;
  display: inline-block;
  line-height: 1em;
  margin: 1px 3px 2px 0;
  padding: 4px 7px;
  position: relative;

  &-disabled {
    background-color: $token-disabled-background-color;
    color: $token-disabled-color;
    pointer-events: none;
  }

  &-removeable {
    cursor: pointer;
    padding-right: 21px;
  }

  &-active {
    background-color: $token-active-background-color;
    color: $token-active-color;
    outline: none;
    text-decoration: none;
  }

  & &-remove-button {
    bottom: 0;
    color: inherit;
    font-size: inherit;
    font-weight: normal;
    opacity: 1;
    outline: none;
    padding: 3px 7px;
    position: absolute;
    right: 0;
    text-shadow: none;
    top: -2px;
  }
}

/**
 * Loader + CloseButton container
 */
.rbt-aux {
  align-items: center;
  display: flex;
  bottom: 0;
  justify-content: center;
  pointer-events: none; /* Don't block clicks on the input */
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;

  &-lg {
    width: 46px;
  }

  & .rbt-close {
    margin-top: -4px;
    pointer-events: auto; /* Override pointer-events: none; above */
  }
}

.has-aux .rbt-input {
  padding-right: 34px;
}


// Default highlight style
.rbt-highlight-text {
  background-color: inherit;
  color: inherit;
  font-weight: bold;
  padding: 0;
}

/**
 * Input Groups
 */
.input-group > .rbt {
  flex: 1;

  // Form-controls within input-groups have a higher z-index.
  & .rbt-input-hint,
  & .rbt-aux {
    z-index: 5;
  }

  &:not(:first-child) .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  &:not(:last-child) .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}
<commit_msg>Make the style rule for multi-input more specific to avoid Bootstrap's own style rules taking precedence<commit_after>$color-primary: #007bff;
$color-disabled: #495057;
$color-white: #fff;

// Hide IE's native "clear" button
.rbt .rbt-input-main::-ms-clear {
  display: none;
}

/**
 * Menu
 */
.rbt-menu {
  margin-bottom: 2px; // Spacing for dropup

  & > .dropdown-item {
    overflow: hidden;
    text-overflow: ellipsis;

    &:focus {
      outline: none;
    }
  }

  &-pagination-option {
    text-align: center;
  }
}

/**
 * Multi-select Input
 */
$background-color-disabled: #e9ecef;

$border-color-focus: #80bdff;
$border-color-focus-invalid: #dc3545;
$border-color-focus-valid: #28a745;

$box-shadow-dimensions: 0 0 0 0.2rem;
$box-shadow-color: rgba(0, 123, 255, 0.25);
$box-shadow-color-invalid: rgba(220, 53, 69, 0.25);
$box-shadow-color-valid: rgba(40, 167, 69, 0.25);

$color-focus: #495057;
$placeholder-color: #6c757d;

.rbt-input-multi {
  cursor: text;
  overflow: hidden;
  position: relative;

  // Apply Bootstrap focus styles
  &.focus {
    border-color: $border-color-focus;
    box-shadow: $box-shadow-dimensions $box-shadow-color;
    color: $color-focus;
    outline: 0;
  }

  &.form-control {
    height: auto;
  }

  // BS4 uses the :disabled pseudo-class, which doesn't work with non-inputs.
  &.form-control[disabled] {
    background-color: $background-color-disabled;
    opacity: 1;
  }

  &.is-invalid.focus {
    border-color: $border-color-focus-invalid;
    box-shadow: $box-shadow-dimensions $box-shadow-color-invalid;
  }

  &.is-valid.focus {
    border-color: $border-color-focus-valid;
    box-shadow: $box-shadow-dimensions $box-shadow-color-valid;
  }

  // Apply Bootstrap placeholder styles
  input {
    // Firefox
    &::-moz-placeholder {
      color: $placeholder-color;
      opacity: 1;
    }

    // Internet Explorer 10+
    &:-ms-input-placeholder {
      color: $placeholder-color;
    }

    // Safari and Chrome
    &::-webkit-input-placeholder  {
      color: $placeholder-color;
    }
  }

  .rbt-input-wrapper {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    margin-bottom: -4px;
    margin-top: -1px;
    overflow: hidden;
  }

  .rbt-input-main {
    margin: 1px 0 4px;
  }
}

/**
 * Close Button
 */
.rbt-close {
  z-index: 1;

  &-lg {
    font-size: 24px;
  }
}

/**
 * Token
 */
$token-background-color: #e7f4ff;
$token-color: $color-primary;

$token-disabled-background-color: rgba(0, 0, 0, 0.1);
$token-disabled-color: $color-disabled;

$token-active-background-color: $color-primary;
$token-active-color: $color-white;

.rbt-token {
  background-color: $token-background-color;
  border: 0;
  border-radius: .25rem;
  color: $token-color;
  display: inline-block;
  line-height: 1em;
  margin: 1px 3px 2px 0;
  padding: 4px 7px;
  position: relative;

  &-disabled {
    background-color: $token-disabled-background-color;
    color: $token-disabled-color;
    pointer-events: none;
  }

  &-removeable {
    cursor: pointer;
    padding-right: 21px;
  }

  &-active {
    background-color: $token-active-background-color;
    color: $token-active-color;
    outline: none;
    text-decoration: none;
  }

  & &-remove-button {
    bottom: 0;
    color: inherit;
    font-size: inherit;
    font-weight: normal;
    opacity: 1;
    outline: none;
    padding: 3px 7px;
    position: absolute;
    right: 0;
    text-shadow: none;
    top: -2px;
  }
}

/**
 * Loader + CloseButton container
 */
.rbt-aux {
  align-items: center;
  display: flex;
  bottom: 0;
  justify-content: center;
  pointer-events: none; /* Don't block clicks on the input */
  position: absolute;
  right: 0;
  top: 0;
  width: 34px;

  &-lg {
    width: 46px;
  }

  & .rbt-close {
    margin-top: -4px;
    pointer-events: auto; /* Override pointer-events: none; above */
  }
}

.has-aux .rbt-input {
  padding-right: 34px;
}


// Default highlight style
.rbt-highlight-text {
  background-color: inherit;
  color: inherit;
  font-weight: bold;
  padding: 0;
}

/**
 * Input Groups
 */
.input-group > .rbt {
  flex: 1;

  // Form-controls within input-groups have a higher z-index.
  & .rbt-input-hint,
  & .rbt-aux {
    z-index: 5;
  }

  &:not(:first-child) .form-control {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
  }

  &:not(:last-child) .form-control {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
}

{'fraction_non_alphanumeric': 0.1591636197440585, 'fraction_numerical': 0.027879341864716637, 'mean_word_length': 2.691691269506537, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 8, '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': '6473129', 'n_tokens_mistral': 3521, 'n_tokens_neox': 3238, 'n_words': 686}