Sign in
apache
/
distributedlog
/
8b81caf6bebb0e2b4d2e5afe332d765f5b0a74b6
/
.
/
website
/
docs
/
latest
/
_sass
/
bootstrap
/
mixins
/
_background-variant.scss
blob: 4c7769e13a3665a5cb9b12884f3ed82cfb277f34 [
file
] [
log
] [
blame
]
// 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
%);
}
}