<commit_before>/*
 *  Scss to help with bootstrap 3 to 4 migration
 */

$text-color: $gl-text-color;

$brand-primary: $gl-primary;
$brand-success: $gl-success;
$brand-info: $gl-info;
$brand-warning: $gl-warning;
$brand-danger: $gl-danger;

$border-radius-base: 3px !default;

$modal-body-bg: $white-light;
$input-border: $border-color;
$input-border-focus: $focus-border-color;

$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;

html {
  // Override default font size used in bs4
  font-size: 14px;
}

legend {
  border-bottom: 1px solid $border-color;
  margin-bottom: 20px;
}

button,
html [type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  // Override bootstrap reboot
  -webkit-appearance: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: $gl-text-color;
  font-weight: 600;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h5,
.h5 {
  font-size: $gl-font-size;
}

input[type="file"] {
  // Bootstrap 4 file input height is taller by default
  // which makes them look ugly
  line-height: 1;
}

b,
strong {
  font-weight: bold;
}

a {
  color: $gl-link-color;
}

.form-group.row .col-form-label {
  // Bootstrap 4 aligns labels to the left
  // for horizontal forms
  @include media-breakpoint-up(md) {
    text-align: right;
  }
}

kbd {
  display: inline-block;
}

code {
  padding: 2px 4px;
  color: $red-600;
  background-color: $red-100;
  border-radius: 3px;

  .code & {
    background-color: inherit;
    padding: unset;
  }

  .build-trace & {
    background-color: inherit;
    padding: inherit;
  }
}

.code {
  padding: 9.5px;
}

table {
  // Remove any table border lines
  border-spacing: 0;
}

.tooltip {
  // Fix bootstrap4 bug whereby tooltips flicker when they are hovered over their borders
  pointer-events: none;<commit_msg>Remove padding on .code<commit_after>/*
 *  Scss to help with bootstrap 3 to 4 migration
 */

$text-color: $gl-text-color;

$brand-primary: $gl-primary;
$brand-success: $gl-success;
$brand-info: $gl-info;
$brand-warning: $gl-warning;
$brand-danger: $gl-danger;

$border-radius-base: 3px !default;

$modal-body-bg: $white-light;
$input-border: $border-color;
$input-border-focus: $focus-border-color;

$padding-base-vertical: $gl-vert-padding;
$padding-base-horizontal: $gl-padding;

html {
  // Override default font size used in bs4
  font-size: 14px;
}

legend {
  border-bottom: 1px solid $border-color;
  margin-bottom: 20px;
}

button,
html [type="button"],
[type="reset"],
[type="submit"],
[role="button"] {
  // Override bootstrap reboot
  -webkit-appearance: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: $gl-text-color;
  font-weight: 600;
}

h1,
.h1,
h2,
.h2,
h3,
.h3 {
  margin-top: 20px;
  margin-bottom: 10px;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
  margin-top: 10px;
  margin-bottom: 10px;
}

h5,
.h5 {
  font-size: $gl-font-size;
}

input[type="file"] {
  // Bootstrap 4 file input height is taller by default
  // which makes them look ugly
  line-height: 1;
}

b,
strong {
  font-weight: bold;
}

a {
  color: $gl-link-color;
}

.form-group.row .col-form-label {
  // Bootstrap 4 aligns labels to the left
  // for horizontal forms
  @include media-breakpoint-up(md) {
    text-align: right;
  }
}

kbd {
  display: inline-block;
}

code {
  padding: 2px 4px;
  color: $red-600;
  background-color: $red-100;
  border-radius: 3px;

  .code & {
    background-color: inherit;
    padding: unset;
  }

  .build-trace & {
    background-color: inherit;
    padding: inherit;
  }
}

table {
  // Remove any table border lines
  border-spacing: 0;
}

.tooltip {
  // Fix bootstrap4 bug whereby tooltips flicker when they are hovered over their borders
  pointer-events: none;
{'fraction_non_alphanumeric': 0.1579774692166623, 'fraction_numerical': 0.02881844380403458, 'mean_word_length': 3.2002200220022003, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6194220', 'n_tokens_mistral': 1614, 'n_tokens_neox': 1521, 'n_words': 377}