Sha256: b91470d51bf9b7bbc66dd9ee8020b2bbc18255063f0211ddb45df9782e4e706e

Contents?: true

Size: 233 Bytes

Versions: 1252

Compression:

Stored size: 233 Bytes

Contents

// Contextual backgrounds

// [converter] $parent hack
@mixin bg-variant($parent, $color) {
  #{$parent} {
    background-color: $color;
  }
  a#{$parent}:hover,
  a#{$parent}:focus {
    background-color: darken($color, 10%);
  }
}

Version data entries

1,252 entries across 1,196 versions & 50 rubygems

Version Path
styler-sass-0.1.1 app/assets/stylesheets/bootstrap/mixins/_background-variant.scss
tablo_connect-0.0.4 app/assets/stylesheets/tablo_connect/bootstrap/mixins/_background-variant.scss
tablo_connect-0.0.3 app/assets/stylesheets/tablo_connect/bootstrap/mixins/_background-variant.scss
tablo_connect-0.0.2 app/assets/stylesheets/tablo_connect/bootstrap/mixins/_background-variant.scss
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/bootstrap-sass-3.3.5.1/assets/stylesheets/bootstrap/mixins/_background-variant.scss
twbs_sass_rails-3.6.2 vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss
twbs_sass_rails-3.6.0 vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss
bootswatch-sass-3.3.5 assets/stylesheets/bootstrap/mixins/_background-variant.scss
twbs_sass_rails-3.5.1 vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss
bootstrap-sass-3.3.5.1 assets/stylesheets/bootstrap/mixins/_background-variant.scss
twbs_sass_rails-3.5.0 vendor/assets/stylesheets/twbs/bootstrap/mixins/_background-variant.scss
bootstrap-sass-3.3.5 assets/stylesheets/bootstrap/mixins/_background-variant.scss