_bootstrap.scss 1.16 KB
Newer Older
arturo's avatar
arturo committed
1 2 3 4 5 6
/* Bootstrap 4.x Generic Custom Styles */

// originally added to "table" tag on "_reboot.scss"
.table {
  border-collapse: collapse;
}
7 8 9 10 11

// remove side-effect's z-index
.input-group-prepend .btn, .input-group-append .btn {
  z-index: initial;
}
12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41


/// vue-bootstrap "_form-checkbox.scss"
/// wrong equation
.custom-control:not(.custom-switch) {

  .custom-control-label {
    &::before { top: 0.05rem; }
    &::after  { top: 0.05rem; }
  }
}

/// Bootstrap "_custom-forms.scss"
/// strange rule
.custom-control {
  z-index: initial;
}

/// Bootstrap "_text.scss"
/// (cf "~/assets/sass/base/_all.scss": remove file, keep below rules)
.font-weight-light   { font-weight: $font-weight-light ; }
.font-weight-lighter { font-weight: $font-weight-lighter ; }
.font-weight-normal  { font-weight: $font-weight-normal ; }
.font-weight-bold    { font-weight: $font-weight-bold ; }
.font-weight-bolder  { font-weight: $font-weight-bolder ; }

/// Extend our own "utilities" module with Bootstrap rule
.font-family-base           { font-family: $font-family-base; }
.font-family-monospace      { font-family: $font-family-monospace; }
.font-family-heading        { font-family: $headings-font-family; }