Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos
/
32fbfcf51f7f14772a19fe19002094d232af955e
/
.
/
views
/
style
/
sass
/
bootstrap
/
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
%);
}
}