File: demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/list-group.less

Recommend this page to a friend!
  Classes of Emmanuel Podvin  >  Blapy  >  demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/list-group.less  >  Download  
File: demos/startbootstrap-sb-admin-2/bower_components/bootstrap/less/mixins/list-group.less
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: Blapy
jQuery plugin to load linked pages using AJAX
Author: By
Last change:
Date: 4 years ago
Size: 546 bytes
 

Contents

Class file image Download
// 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;
      }
    }
  }
}