From 841f1eedfc8b2c49f0395d5f0ea2bfa269c19df2 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Mon, 29 Sep 2014 10:00:24 +0200 Subject: oscar template: generate bootstrap.min.css from source --- .../oscar/less/bootstrap/mixins/list-group.less | 29 ++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 searx/static/oscar/less/bootstrap/mixins/list-group.less (limited to 'searx/static/oscar/less/bootstrap/mixins/list-group.less') diff --git a/searx/static/oscar/less/bootstrap/mixins/list-group.less b/searx/static/oscar/less/bootstrap/mixins/list-group.less new file mode 100644 index 000000000..8b5b065cb --- /dev/null +++ b/searx/static/oscar/less/bootstrap/mixins/list-group.less @@ -0,0 +1,29 @@ +// List Groups + +.list-group-item-variant(@state; @background; @color) { + .list-group-item-@{state} { + color: @color; + background-color: @background; + + a& { + color: @color; + + .list-group-item-heading { + color: inherit; + } + + &:hover, + &:focus { + color: @color; + background-color: darken(@background, 5%); + } + &.active, + &.active:hover, + &.active:focus { + color: #fff; + background-color: @color; + border-color: @color; + } + } + } +} -- cgit v1.2.3