aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeoSot <[email protected]>2019-04-23 16:12:51 +0300
committerXhmikosR <[email protected]>2019-04-23 16:12:51 +0300
commit275cd7f91eed9f4051d85c295e5c14ef08937804 (patch)
treefec0bad48604dfefe3a6c8176769d0182a26def7
parent4ee2ae4ce07631cd108d4731242cb478ce5e63f2 (diff)
downloadbootstrap-275cd7f91eed9f4051d85c295e5c14ef08937804.tar.xz
bootstrap-275cd7f91eed9f4051d85c295e5c14ef08937804.zip
Separate `$btn-link` colors from `$link-color` (#28681)
-rw-r--r--scss/_buttons.scss4
-rw-r--r--scss/_variables.scss2
2 files changed, 4 insertions, 2 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index 2a7d94ad2..5a684a3ff 100644
--- a/scss/_buttons.scss
+++ b/scss/_buttons.scss
@@ -76,11 +76,11 @@ fieldset:disabled a.btn {
// Make a button look and behave like a link
.btn-link {
font-weight: $font-weight-normal;
- color: $link-color;
+ color: $btn-link-color;
text-decoration: $link-decoration;
@include hover {
- color: $link-hover-color;
+ color: $btn-link-hover-color;
text-decoration: $link-hover-decoration;
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 49e86b5d8..48d82f67a 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -431,6 +431,8 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
$btn-disabled-opacity: .65 !default;
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !default;
+$btn-link-color: $link-color !default;
+$btn-link-hover-color: $link-hover-color !default;
$btn-link-disabled-color: $gray-600 !default;
$btn-block-spacing-y: .5rem !default;