Welcome to mirror list, hosted at ThFree Co, Russian Federation.

_colored-links.scss « helpers « bootstrap « stylesheets « assets - github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d135194d17efbd7a8fa3a4d7fe5a64dc9ecdfdd2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
@each $color, $value in $theme-colors {
  .link-#{$color} {
    color: $value;

    @if $emphasized-link-hover-darken-percentage != 0 {
      &:hover,
      &:focus {
        color: if(color-contrast($value) == $color-contrast-light, darken($value, $emphasized-link-hover-darken-percentage), lighten($value, $emphasized-link-hover-darken-percentage));
      }
    }
  }
}