mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-17 19:06:40 +02:00
Separate $btn-link
colors from $link-color
(#28681)
This commit is contained in:
@@ -76,11 +76,11 @@ fieldset:disabled a.btn {
|
|||||||
// Make a button look and behave like a link
|
// Make a button look and behave like a link
|
||||||
.btn-link {
|
.btn-link {
|
||||||
font-weight: $font-weight-normal;
|
font-weight: $font-weight-normal;
|
||||||
color: $link-color;
|
color: $btn-link-color;
|
||||||
text-decoration: $link-decoration;
|
text-decoration: $link-decoration;
|
||||||
|
|
||||||
@include hover {
|
@include hover {
|
||||||
color: $link-hover-color;
|
color: $btn-link-hover-color;
|
||||||
text-decoration: $link-hover-decoration;
|
text-decoration: $link-hover-decoration;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -431,6 +431,8 @@ $btn-focus-box-shadow: $input-btn-focus-box-shadow !default;
|
|||||||
$btn-disabled-opacity: .65 !default;
|
$btn-disabled-opacity: .65 !default;
|
||||||
$btn-active-box-shadow: inset 0 3px 5px rgba($black, .125) !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-link-disabled-color: $gray-600 !default;
|
||||||
|
|
||||||
$btn-block-spacing-y: .5rem !default;
|
$btn-block-spacing-y: .5rem !default;
|
||||||
|
Reference in New Issue
Block a user