<commit_before>//
// Buttons
// --------------------------------------------------


// Base styles
// --------------------------------------------------

.btn {
  display: inline-block;
  margin-bottom: 0; // For input.btn
  font-weight: @btn-font-weight;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  cursor: pointer;
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
  .box-shadow(0px 2px 2px rgba(0,0,0,.15));
  white-space: nowrap;
  border: 0; //overwrite border = 1px
  .button-size(5px; 10px; @font-size-base; @border-radius-base);
  //.user-select(none);

  &,
  &:active,
  &.active {
    &:focus {
      .tab-focus();
    }
  }

  &:hover,
  &:focus {
    //color: @btn-default-color;
    text-decoration: none;
  }

  &:active,
  &.active {

    outline: 0;
    //background-image: none;
    .box-shadow( 0 3px 3px rgba(0,0,0,.3) inset);
  }

  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    cursor: not-allowed;
    pointer-events: none; // Future-proof disabling of clicks
    //.opacity(.65);
    .box-shadow(none);
  }

}


// Alternate buttons
// --------------------------------------------------

.btn-default {
  //padding + border = 5px
  border: 1px solid @btn-default-border;
  padding: 4px 10px;
  .button-variant(@btn-default-color; @btn-default-bg; @btn-default-bg-hover; @btn-default-bg-press; @btn-default-bg-disabled);
}
.btn-primary {
  .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-bg-hover; @btn-primary-bg-press; @btn-primary-bg-disabled);

  font-weight: bold;

  &:active,&.active,&:focus{
    background: @btn-primary-bg-press;
  }

  //For create button
  &.create-btn{
    height: 21px;
    border-radius: 10.5px;
    padding: 5px 10px 5px 4px;

    &:before{
      content: "+";
      position: relative;
      padding: 1px 5px;
      margin-right: 5px;
      border-radius: 100%;
      background: -webkit-linear-gradient(#4E8ABE,#7FB9EC);
      background: -moz-linear-gradient(#4E8ABE,#7FB9EC);
      background: -o-linear-gradient(#4E8ABE,#7FB9EC);
      background: linear-gradient(#4E8ABE,#7FB9EC);
    }

    &.hover,
    &:hover{
      &:before{
        background: -webkit-linear-gradient(#669ECF, #9ACCF7);
        background: -moz-linear-gradient(#669ECF, #9ACCF7);
        background: -o-linear-gradient(#669ECF, #9ACCF7);
        background: linear-gradient(#669ECF, #9ACCF7);
      }
    }

    &:active,&.active,&:focus{
      &:before{
        background: -webkit-linear-gradient(#4377a3, #6ab6f5);
        background: -moz-linear-gradient(#4377a3, #6ab6f5);
        background: -o-linear-gradient(#4377a3, #6ab6f5);
        background: linear-gradient(#4377a3, #6ab6f5);
        //.box-shadow(0 -2px 2px rgba(0,0,0,.3) inset)
      }
    }

    //large create button
    &.btn-lg {
      height: 26px;
      border-radius: 13px;
      padding: 7px 12px 7px 5px;

      &:before {
        margin-right: 6px;
      }
    }
  }
}
.btn-secondary{
  //padding + border = 5px
  border: 1px solid @btn-secondary-border;
  padding: 4px 10px;
  .button-variant(@btn-secondary-color; @btn-secondary-bg; @btn-secondary-bg-hover; @btn-secondary-bg-press; @btn-secondary-bg-disabled);
  &:active,&.active,&:focus{
    background: @btn-secondary-bg-press;
  }
  &.btn-sm {
    //padding + border = 3px
    padding: 2px 8px;
  }
}

// Success appears as green
//.btn-success {
//  .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
//}
//// Info appears as blue-green
//.btn-info {
//  .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
//}
//// Warning appears as orange
//.btn-warning {
//  .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
//}
//// Danger and error appear as red
//.btn-danger {
//  .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
//}


// Link buttons
// -------------------------

// Make a button look and behave like a link
.btn-link {
  color: @link-color;
  cursor: pointer;
  border-radius: 0;
  .box-shadow(none);

  &,
  &:active,
  &[disabled],
  fieldset[disabled] & {
    background-color: transparent;
    .box-shadow(none);
  }
  &,
  &:hover,
  &:focus,
  &:active {
    border-color: transparent;
  }
  &:hover,
  &:focus {
    color: @link-hover-color;
    text-decoration: underline;
    background-color: transparent;
  }
  &[disabled],
  fieldset[disabled] & {
    &:hover,
    &:focus {
      color: @btn-link-disabled-color;
      text-decoration: none;
      cursor: not-allowed;
    }
  }
}


// Button Sizes
// --------------------------------------------------

.btn-lg {
  .button-size( 7px; 10px; @font-size-large; @border-radius-large);
}
.btn-sm {
  .button-size( 3px; 8px; @font-size-small; @border-radius-small);
}


// Block button
// --------------------------------------------------

.btn-block {
  display: block;
  width: 100%;
}

// Vertically space out multiple block buttons
.btn-block + .btn-block {
  margin-top: 5px;
}

// Specificity overrides
input[type="submit"],
input[type="reset"],
input[type="button"] {
  &.btn-block {
    width: 100%;
  }
}

<commit_msg> bootstrap-css:  - add .btn .caret in order to adjust caret position in dropdown buttons<commit_after>//
// Buttons
// --------------------------------------------------


// Base styles
// --------------------------------------------------

.btn {
  display: inline-block;
  margin-bottom: 0; // For input.btn
  font-weight: @btn-font-weight;
  text-align: center;
  vertical-align: middle;
  line-height: 1;
  cursor: pointer;
  background-image: none; // Reset unusual Firefox-on-Android default style; see https://github.com/necolas/normalize.css/issues/214
  .box-shadow(0px 2px 2px rgba(0,0,0,.15));
  white-space: nowrap;
  border: 0; //overwrite border = 1px
  .button-size(5px; 10px; @font-size-base; @border-radius-base);
  //.user-select(none);

  &,
  &:active,
  &.active {
    &:focus {
      .tab-focus();
    }
  }

  &:hover,
  &:focus {
    //color: @btn-default-color;
    text-decoration: none;
  }

  &:active,
  &.active {

    outline: 0;
    //background-image: none;
    .box-shadow( 0 3px 3px rgba(0,0,0,.3) inset);
  }

  &.disabled,
  &[disabled],
  fieldset[disabled] & {
    cursor: not-allowed;
    pointer-events: none; // Future-proof disabling of clicks
    //.opacity(.65);
    .box-shadow(none);
  }

  .caret {
    margin-left: 2px;
  }

}


// Alternate buttons
// --------------------------------------------------

.btn-default {
  //padding + border = 5px
  border: 1px solid @btn-default-border;
  padding: 4px 10px;
  .button-variant(@btn-default-color; @btn-default-bg; @btn-default-bg-hover; @btn-default-bg-press; @btn-default-bg-disabled);
}
.btn-primary {
  .button-variant(@btn-primary-color; @btn-primary-bg; @btn-primary-bg-hover; @btn-primary-bg-press; @btn-primary-bg-disabled);

  font-weight: bold;

  &:active,&.active,&:focus{
    background: @btn-primary-bg-press;
  }

  //For create button
  &.create-btn{
    height: 21px;
    border-radius: 10.5px;
    padding: 5px 10px 5px 4px;

    &:before{
      content: "+";
      position: relative;
      padding: 1px 5px;
      margin-right: 5px;
      border-radius: 100%;
      background: -webkit-linear-gradient(#4E8ABE,#7FB9EC);
      background: -moz-linear-gradient(#4E8ABE,#7FB9EC);
      background: -o-linear-gradient(#4E8ABE,#7FB9EC);
      background: linear-gradient(#4E8ABE,#7FB9EC);
    }

    &.hover,
    &:hover{
      &:before{
        background: -webkit-linear-gradient(#669ECF, #9ACCF7);
        background: -moz-linear-gradient(#669ECF, #9ACCF7);
        background: -o-linear-gradient(#669ECF, #9ACCF7);
        background: linear-gradient(#669ECF, #9ACCF7);
      }
    }

    &:active,&.active,&:focus{
      &:before{
        background: -webkit-linear-gradient(#4377a3, #6ab6f5);
        background: -moz-linear-gradient(#4377a3, #6ab6f5);
        background: -o-linear-gradient(#4377a3, #6ab6f5);
        background: linear-gradient(#4377a3, #6ab6f5);
        //.box-shadow(0 -2px 2px rgba(0,0,0,.3) inset)
      }
    }

    //large create button
    &.btn-lg {
      height: 26px;
      border-radius: 13px;
      padding: 7px 12px 7px 5px;

      &:before {
        margin-right: 6px;
      }
    }
  }
}
.btn-secondary{
  //padding + border = 5px
  border: 1px solid @btn-secondary-border;
  padding: 4px 10px;
  .button-variant(@btn-secondary-color; @btn-secondary-bg; @btn-secondary-bg-hover; @btn-secondary-bg-press; @btn-secondary-bg-disabled);
  &:active,&.active,&:focus{
    background: @btn-secondary-bg-press;
  }
  &.btn-sm {
    //padding + border = 3px
    padding: 2px 8px;
  }
}

// Success appears as green
//.btn-success {
//  .button-variant(@btn-success-color; @btn-success-bg; @btn-success-border);
//}
//// Info appears as blue-green
//.btn-info {
//  .button-variant(@btn-info-color; @btn-info-bg; @btn-info-border);
//}
//// Warning appears as orange
//.btn-warning {
//  .button-variant(@btn-warning-color; @btn-warning-bg; @btn-warning-border);
//}
//// Danger and error appear as red
//.btn-danger {
//  .button-variant(@btn-danger-color; @btn-danger-bg; @btn-danger-border);
//}


// Link buttons
// -------------------------

// Make a button look and behave like a link
.btn-link {
  color: @link-color;
  cursor: pointer;
  border-radius: 0;
  .box-shadow(none);

  &,
  &:active,
  &[disabled],
  fieldset[disabled] & {
    background-color: transparent;
    .box-shadow(none);
  }
  &,
  &:hover,
  &:focus,
  &:active {
    border-color: transparent;
  }
  &:hover,
  &:focus {
    color: @link-hover-color;
    text-decoration: underline;
    background-color: transparent;
  }
  &[disabled],
  fieldset[disabled] & {
    &:hover,
    &:focus {
      color: @btn-link-disabled-color;
      text-decoration: none;
      cursor: not-allowed;
    }
  }
}


// Button Sizes
// --------------------------------------------------

.btn-lg {
  .button-size( 7px; 10px; @font-size-large; @border-radius-large);
}
.btn-sm {
  .button-size( 3px; 8px; @font-size-small; @border-radius-small);
}


// Block button
// --------------------------------------------------

.btn-block {
  display: block;
  width: 100%;
}

// Vertically space out multiple block buttons
.btn-block + .btn-block {
  margin-top: 5px;
}

// Specificity overrides
input[type="submit"],
input[type="reset"],
input[type="button"] {
  &.btn-block {
    width: 100%;
  }
}


{'fraction_non_alphanumeric': 0.22214809873248834, 'fraction_numerical': 0.029638806823596684, 'mean_word_length': 2.2052535125229076, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2207147', 'n_tokens_mistral': 4032, 'n_tokens_neox': 3725, 'n_words': 694}