aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss')
-rw-r--r--openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss24
1 files changed, 24 insertions, 0 deletions
diff --git a/openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss b/openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss
new file mode 100644
index 0000000000..acbc7e5875
--- /dev/null
+++ b/openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss
@@ -0,0 +1,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;
+ }
+ }
+}