Logo white

Alexey Boroda / uamap_old

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • uamap_old
  • ..
  • mixins
  • _background-variant.scss
  • first commit
    d1f8bd40
    Alexey Boroda authored
    2018-11-15 15:19:23 +0200  
    Browse Code ยป
_background-variant.scss 212 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11
// Contextual backgrounds

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