Michael Lando | efa037d | 2017-02-19 12:57:33 +0200 | [diff] [blame] | 1 | // Panels |
| 2 | |
| 3 | @mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) { |
| 4 | border-color: $border; |
| 5 | |
| 6 | & > .panel-heading { |
| 7 | color: $heading-text-color; |
| 8 | background-color: $heading-bg-color; |
| 9 | border-color: $heading-border; |
| 10 | |
| 11 | + .panel-collapse > .panel-body { |
| 12 | border-top-color: $border; |
| 13 | } |
| 14 | .badge { |
| 15 | color: $heading-bg-color; |
| 16 | background-color: $heading-text-color; |
| 17 | } |
| 18 | } |
| 19 | & > .panel-footer { |
| 20 | + .panel-collapse > .panel-body { |
| 21 | border-bottom-color: $border; |
| 22 | } |
| 23 | } |
| 24 | } |