aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss
blob: acbc7e5875168ad92f711c302051e76a6f3372a3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// 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;
	}
  }
}