diff options
author | redmatrix <git@macgirvin.com> | 2016-04-30 15:02:45 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-04-30 15:02:45 -0700 |
commit | 84d93cca6e2ac0b552a6f5c570fbcfce766200a1 (patch) | |
tree | a8a9c46ee6f70dd4b8824499a49b1e39e2980dc6 /library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less | |
parent | 45512e6aba602604143e946cca49c363ae88aa1e (diff) | |
parent | 9446d0cbb463af6a256efebf97e10618469f1193 (diff) | |
download | volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.tar.gz volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.tar.bz2 volse-hubzilla-84d93cca6e2ac0b552a6f5c570fbcfce766200a1.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less')
-rw-r--r-- | library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less b/library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less new file mode 100644 index 000000000..03aa19069 --- /dev/null +++ b/library/font_awesome/src/assets/less/bootstrap-3.3.5/mixins/list-group.less @@ -0,0 +1,30 @@ +// List Groups + +.list-group-item-variant(@state; @background; @color) { + .list-group-item-@{state} { + color: @color; + background-color: @background; + + a&, + button& { + 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; + } + } + } +} |