PHP Classes
elePHPant
Icontem

File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_background-variant.scss

Recommend this page to a friend!
  Classes of Aleksey Nemiro  >  PHP Small Server Administrator  >  SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_background-variant.scss  >  Download  
File: SmallServerAdmin/Content/scss/libs/bootstrap/mixins/_background-variant.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: 233 bytes
 

 

Contents

Class file image Download
// Contextual backgrounds

// [converter] $parent hack
@mixin bg-variant($parent, $color) {
  #{$parent} {
    background-color: $color;
  }
  a#{$parent}:hover,
  a#{$parent}:focus {
    background-color: darken($color, 10%);
  }
}