tupali/temas/magazine/sass/bootstrap/mixins/_panels.scss

25 lines
543 B
SCSS
Raw Normal View History

2016-10-29 15:07:15 +00:00
// Panels
@mixin panel-variant($border, $heading-text-color, $heading-bg-color, $heading-border) {
border-color: $border;
& > .panel-heading {
color: $heading-text-color;
background-color: $heading-bg-color;
border-color: $heading-border;
+ .panel-collapse > .panel-body {
border-top-color: $border;
}
.badge {
color: $heading-bg-color;
background-color: $heading-text-color;
}
}
& > .panel-footer {
+ .panel-collapse > .panel-body {
border-bottom-color: $border;
}
}
}