From 6db2f0f4b9816ccd271332b89a05a9d0d753216b Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Thu, 26 Feb 2015 17:57:42 +0100 Subject: shuffle things around on the way to a bootstrap-based configurable website --- assets/css/bootstrap-3.3.2/mixins/list-group.less | 29 +++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 assets/css/bootstrap-3.3.2/mixins/list-group.less (limited to 'assets/css/bootstrap-3.3.2/mixins/list-group.less') diff --git a/assets/css/bootstrap-3.3.2/mixins/list-group.less b/assets/css/bootstrap-3.3.2/mixins/list-group.less new file mode 100644 index 0000000..8b5b065 --- /dev/null +++ b/assets/css/bootstrap-3.3.2/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