corrade-http-templates – Blame information for rev 61
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
61 | office | 1 | // stylelint-disable declaration-no-important |
2 | |||
3 | // Contextual backgrounds |
||
4 | |||
5 | @mixin bg-variant($parent, $color) { |
||
6 | #{$parent} { |
||
7 | background-color: $color !important; |
||
8 | } |
||
9 | a#{$parent}, |
||
10 | button#{$parent} { |
||
11 | @include hover-focus { |
||
12 | background-color: darken($color, 10%) !important; |
||
13 | } |
||
14 | } |
||
15 | } |
||
16 | |||
17 | @mixin bg-gradient-variant($parent, $color) { |
||
18 | #{$parent} { |
||
19 | background: $color linear-gradient(180deg, mix($body-bg, $color, 15%), $color) repeat-x !important; |
||
20 | } |
||
21 | } |