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
card-mod-bootstrap-0.13.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.13.2 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.13.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.13.1 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.13.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.13.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.7 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.7 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
asset_box-0.1.0 assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.12.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.12.0 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
publify_core-9.2.3 app/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.6 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.5 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.4 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass-official/assets/stylesheets/bootstrap/mixins/_background-variant.scss
card-mod-bootstrap-0.11.3 vendor/bootswatch/docs/3/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/_background-variant.scss