Sha256: 2a3d8c339153ac1628b329167a460c40f549e6af67ce6abb8156033d3d9ed5a3

Contents?: true

Size: 235 Bytes

Versions: 32

Compression:

Stored size: 235 Bytes

Contents

// Contextual backgrounds

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

Version data entries

32 entries across 32 versions & 5 rubygems

Version Path
solidus_backend-2.3.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.2.1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.2.0 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.2.0.rc1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
solidus_backend-2.2.0.beta1 vendor/assets/stylesheets/solidus_admin/bootstrap/mixins/_background-variant.scss
optimacms-0.3.9 app/assets/stylesheets/bootstrap4/mixins/_background-variant.scss
optimacms-0.3.8 app/assets/stylesheets/bootstrap4/mixins/_background-variant.scss
optimacms-0.3.7 app/assets/stylesheets/bootstrap4/mixins/_background-variant.scss
optimacms-0.3.6 app/assets/stylesheets/bootstrap4/mixins/_background-variant.scss
optimacms-0.3.5 app/assets/stylesheets/bootstrap4/mixins/_background-variant.scss
bootstrap-4.0.0.alpha6 assets/stylesheets/bootstrap/mixins/_background-variant.scss
bootstrap-4.0.0.alpha5 assets/stylesheets/bootstrap/mixins/_background-variant.scss