mirror of https://github.com/twbs/bootstrap.git
Merge d166b24b22
into 4c98145482
This commit is contained in:
commit
b7f78c19c0
|
@ -181,14 +181,14 @@
|
||||||
--#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows
|
--#{$prefix}btn-box-shadow: 0 0 0 #000; // Can't use `none` as keyword negates all values when used with multiple shadows
|
||||||
--#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};
|
--#{$prefix}btn-focus-shadow-rgb: #{$btn-link-focus-shadow-rgb};
|
||||||
|
|
||||||
text-decoration: $link-decoration;
|
text-decoration: var(--#{$prefix}link-decoration);
|
||||||
@if $enable-gradients {
|
@if $enable-gradients {
|
||||||
background-image: none;
|
background-image: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
text-decoration: $link-hover-decoration;
|
text-decoration: var(--#{$prefix}link-hover-decoration);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:focus-visible {
|
&:focus-visible {
|
||||||
|
|
|
@ -243,11 +243,11 @@ sup { top: -.5em; }
|
||||||
|
|
||||||
a {
|
a {
|
||||||
color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));
|
color: rgba(var(--#{$prefix}link-color-rgb), var(--#{$prefix}link-opacity, 1));
|
||||||
text-decoration: $link-decoration;
|
text-decoration: var(--#{$prefix}link-decoration);
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
--#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);
|
--#{$prefix}link-color-rgb: var(--#{$prefix}link-hover-color-rgb);
|
||||||
text-decoration: $link-hover-decoration;
|
text-decoration: var(--#{$prefix}link-hover-decoration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -454,7 +454,7 @@ $link-color: $primary !default;
|
||||||
$link-decoration: underline !default;
|
$link-decoration: underline !default;
|
||||||
$link-shade-percentage: 20% !default;
|
$link-shade-percentage: 20% !default;
|
||||||
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
$link-hover-color: shift-color($link-color, $link-shade-percentage) !default;
|
||||||
$link-hover-decoration: null !default;
|
$link-hover-decoration: $link-decoration !default;
|
||||||
|
|
||||||
$stretched-link-pseudo-element: after !default;
|
$stretched-link-pseudo-element: after !default;
|
||||||
$stretched-link-z-index: 1 !default;
|
$stretched-link-z-index: 1 !default;
|
||||||
|
|
Loading…
Reference in New Issue