Sha256: 7425ff16f881d0333938cafc087fd64e11abbdd631647e0f93f8fa56eeba465a

Contents?: true

Size: 474 Bytes

Versions: 495

Compression:

Stored size: 474 Bytes

Contents

// stylelint-disable declaration-no-important

// Contextual backgrounds

@mixin bg-variant($parent, $color) {
  #{$parent} {
    background-color: $color !important;
  }
  a#{$parent},
  button#{$parent} {
    @include hover-focus {
      background-color: darken($color, 10%) !important;
    }
  }
}

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

Version data entries

495 entries across 493 versions & 54 rubygems

Version Path
solidus_backend-3.1.9 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.3.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.5 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.4 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.3 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.1.8 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.0.8 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.2 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.2.0.alpha vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.0.7 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.11.17 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.1.7 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
kiso_themes-1.0.2 lib/sass/vendor/bootstrap/mixins/_background-variant.scss
solidus_backend-2.11.16 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.0.6 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-3.1.6 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.11.15 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.14.2 vendor/bootstrap/scss/mixins/_background-variant.scss