mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Variable darken percentage for emphasized links
This commit is contained in:
parent
ff40e00323
commit
1c91f48251
@ -166,11 +166,12 @@ $body-color: $gray-900 !default;
|
|||||||
//
|
//
|
||||||
// Style anchor elements.
|
// Style anchor elements.
|
||||||
|
|
||||||
$link-color: $primary !default;
|
$link-color: $primary !default;
|
||||||
$link-decoration: none !default;
|
$link-decoration: none !default;
|
||||||
$link-hover-color: darken($link-color, 15%) !default;
|
$link-hover-color: darken($link-color, 15%) !default;
|
||||||
$link-hover-decoration: underline !default;
|
$link-hover-decoration: underline !default;
|
||||||
|
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
|
||||||
|
$emphasized-link-hover-darken-percentage: 15% !default;
|
||||||
|
|
||||||
// Paragraphs
|
// Paragraphs
|
||||||
//
|
//
|
||||||
|
@ -8,7 +8,7 @@
|
|||||||
}
|
}
|
||||||
a#{$parent} {
|
a#{$parent} {
|
||||||
@include hover-focus {
|
@include hover-focus {
|
||||||
color: darken($color, 10%) !important;
|
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user