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