authserver/testCAS/resources/assets/less/bootstrap/mixins/list-group.less
author ymh <ymh.work@gmail.com>
Wed, 01 Apr 2015 15:31:12 +0200
changeset 0 1afc9d2ab94d
permissions -rw-r--r--
first commit of cas auth env

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