authserver/testCAS/resources/assets/less/bootstrap/mixins/list-group.less
author durandn
Tue, 13 Sep 2016 17:06:44 +0200
changeset 199 fe88e9c5dd60
parent 0 1afc9d2ab94d
permissions -rw-r--r--
Added tag 00.00.29 for changeset 2a51b81d594e

// 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;
      }
    }
  }
}