summaryrefslogtreecommitdiff
path: root/searx/static/less/bootstrap/mixins/panels.less
diff options
context:
space:
mode:
authorAdam Tauber <asciimoo@gmail.com>2015-01-12 14:54:16 +0100
committerAdam Tauber <asciimoo@gmail.com>2015-01-12 14:54:16 +0100
commit410dbc573bbb873a447710e122faefd11075b6df (patch)
treecc4af9e6f213579ad92a27aeaef52d8d2e0158b6 /searx/static/less/bootstrap/mixins/panels.less
parent12425618caacec90ac90332f580fb628ef32e213 (diff)
downloadsearxng-410dbc573bbb873a447710e122faefd11075b6df.tar.gz
searxng-410dbc573bbb873a447710e122faefd11075b6df.zip
[enh] static content generalization
Diffstat (limited to 'searx/static/less/bootstrap/mixins/panels.less')
-rw-r--r--searx/static/less/bootstrap/mixins/panels.less24
1 files changed, 24 insertions, 0 deletions
diff --git a/searx/static/less/bootstrap/mixins/panels.less b/searx/static/less/bootstrap/mixins/panels.less
new file mode 100644
index 000000000..49ee10d4a
--- /dev/null
+++ b/searx/static/less/bootstrap/mixins/panels.less
@@ -0,0 +1,24 @@
+// Panels
+
+.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;
+ }
+ }
+}