Sha256: 6efaed3b4a345950d2b4e8b9103ae015000c3b72cd2f6d4953fe0b0e11248208

Contents?: true

Size: 581 Bytes

Versions: 13

Compression:

Stored size: 581 Bytes

Contents

// stylelint-disable declaration-no-important

// Contextual backgrounds

@mixin bg-variant($parent, $color, $ignore-warning: false) {
  #{$parent} {
    background-color: $color !important;
  }
  a#{$parent},
  button#{$parent} {
    @include hover-focus() {
      background-color: darken($color, 10%) !important;
    }
  }
  @include deprecate("The `bg-variant` mixin", "v4.4.0", "v5", $ignore-warning);
}

@mixin bg-gradient-variant($parent, $color) {
  #{$parent} {
    background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
  }
}

Version data entries

13 entries across 13 versions & 7 rubygems

Version Path
enju_library-0.3.8 spec/dummy/node_modules/bootstrap/scss/mixins/_background-variant.scss
devme-jekyll-theme-0.1.2 _sass/bootstrap/scss/mixins/_background-variant.scss
devme-jekyll-theme-0.1.1 _sass/bootstrap/scss/mixins/_background-variant.scss
devme-jekyll-theme-0.1.0 _sass/bootstrap/scss/mixins/_background-variant.scss
viniBaxter-desk_front-0.2.0 lib/viniBaxter/sass/desk_front/bootstrap_4/mixins/_background-variant.scss
viniBaxter-spa_landing-0.4.0 lib/viniBaxter/sass/spa_landing/scss/mixins/_background-variant.scss
viniBaxter-spa_directory-0.1.0 lib/viniBaxter/sass/spa_directory/scss/mixins/_background-variant.scss
viniBaxter-spa_landing-0.3.0 lib/viniBaxter/sass/spa_landing/scss/mixins/_background-variant.scss
viniBaxter-spa_landing-0.2.0 lib/viniBaxter/sass/spa_landing/scss/mixins/_background-variant.scss
viniBaxter-spa_landing-0.1.0 lib/viniBaxter/sass/spa_landing/scss/mixins/_background-variant.scss
jekyll-theme-marketing-1.0.1 assets/node_modules/bootstrap/scss/mixins/_background-variant.scss
jekyll-theme-marketing-1.0.0 assets/node_modules/bootstrap/scss/mixins/_background-variant.scss
bootstrap-4.4.1 assets/stylesheets/bootstrap/mixins/_background-variant.scss