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
devops4lib-jekyll-theme-conference-0.0.1 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.6 _sass/bootstrap/mixins/_background-variant.scss
bootstrap-4.6.2.1 assets/stylesheets/bootstrap/mixins/_background-variant.scss
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/bootstrap-4.6.2/assets/stylesheets/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.5 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.4 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.3 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.2 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.6.1 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.9.20221031122647 _sass/bootstrap/mixins/_background-variant.scss
bootstrap-4.6.2 assets/stylesheets/bootstrap/mixins/_background-variant.scss
nex-bootstrap-4.6.3 assets/stylesheets/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.9.20220805132206 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-apcsp-1.1.0 _sass/bootstrap/scss/mixins/_background-variant.scss
jekyll-theme-conference-3.6.0 _sass/bootstrap/mixins/_background-variant.scss
jekyll-theme-centos-0.9.20220227231551 _sass/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-300.0.12 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.5.0 _sass/bootstrap/mixins/_background-variant.scss
viniBaxter-desk_front-300.0.11 lib/viniBaxter/sass/desk_front/bootstrap/mixins/_background-variant.scss
jekyll-theme-conference-3.4.1 _sass/bootstrap/mixins/_background-variant.scss