diff options
Diffstat (limited to 'openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss')
-rw-r--r-- | openecomp-ui/resources/scss/bootstrap/mixins/_panels.scss | 24 |
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; + } + } +} |