PHP Classes

File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_list-group.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_list-group.scss  >  Download  
File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_list-group.scss
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Small Server Administrator
Web panel for small Debian and Ubuntu servers
Author: By
Last change:
Date: 3 years ago
Size: 672 bytes



Class file image Download
// List Groups

@mixin list-group-item-variant($state, $background, $color) {
  .list-group-item-#{$state} {
    color: $color;
    background-color: $background;

    // [converter] extracted a&, button& to a.list-group-item-#{$state}, button.list-group-item-#{$state}

  button.list-group-item-#{$state} {
    color: $color;

    .list-group-item-heading {
      color: inherit;

    &:focus {
      color: $color;
      background-color: darken($background, 5%);
    &.active:focus {
      color: #fff;
      background-color: $color;
      border-color: $color;