mirror of
https://github.com/medialab-prado/datamad2017.git
synced 2024-12-29 14:11:21 +01:00
24 lines
543 B
SCSS
24 lines
543 B
SCSS
// 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;
|
|
}
|
|
}
|
|
}
|