mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-21 20:55:50 +02:00
Prevent unnecessary css when $emphasized-link-hover-darken-percentage is 0 or 0%
This commit is contained in:
@@ -6,9 +6,11 @@
|
|||||||
#{$parent} {
|
#{$parent} {
|
||||||
color: $color !important;
|
color: $color !important;
|
||||||
}
|
}
|
||||||
a#{$parent} {
|
@if $emphasized-link-hover-darken-percentage != 0 {
|
||||||
@include hover-focus {
|
a#{$parent} {
|
||||||
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
@include hover-focus {
|
||||||
|
color: darken($color, $emphasized-link-hover-darken-percentage) !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user