Sha256: 8a5238373e681cd3162a839750c7284aefb4469c7f9c802ab28e2f4a6904ab65

Contents?: true

Size: 695 Bytes

Versions: 214

Compression:

Stored size: 695 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, $ignore-warning: false) {
  #{$parent} {
    background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important;
  }
  @include deprecate("The `bg-gradient-variant` mixin", "v4.5.0", "v5", $ignore-warning);
}

Version data entries

214 entries across 214 versions & 13 rubygems

Version Path
jekyll-theme-centos-0.5.10 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.9 _sass/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-40.1.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-40.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-39.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-38.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-37.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.8 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.7 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.6 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.5 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.4 _sass/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-36.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.3 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.2 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.1 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.5.0 _sass/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-35.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-34.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-33.0.0 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss