mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
Remove redundant text decoration from hover states
This commit is contained in:
parent
39c11c6b3f
commit
7fc4037a02
@ -21,7 +21,7 @@
|
||||
|
||||
&:hover {
|
||||
color: $body-color;
|
||||
text-decoration: none;
|
||||
text-decoration: if($link-hover-decoration == underline, none, null);
|
||||
}
|
||||
|
||||
&:focus,
|
||||
|
@ -150,7 +150,7 @@
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: $dropdown-link-hover-color;
|
||||
text-decoration: none;
|
||||
text-decoration: if($link-hover-decoration == underline, none, null);
|
||||
@include gradient-bg($dropdown-link-hover-bg);
|
||||
}
|
||||
|
||||
|
@ -18,7 +18,7 @@
|
||||
|
||||
&:hover,
|
||||
&:focus {
|
||||
text-decoration: none;
|
||||
text-decoration: if($link-hover-decoration == underline, none, null);
|
||||
}
|
||||
|
||||
// Disabled state lightens text
|
||||
|
@ -14,7 +14,7 @@
|
||||
&:hover {
|
||||
z-index: 2;
|
||||
color: $pagination-hover-color;
|
||||
text-decoration: none;
|
||||
text-decoration: if($link-hover-decoration == underline, none, null);
|
||||
background-color: $pagination-hover-bg;
|
||||
border-color: $pagination-hover-border-color;
|
||||
}
|
||||
|
@ -251,7 +251,7 @@ $body-text-align: null !default;
|
||||
$link-color: $primary !default;
|
||||
$link-decoration: underline !default;
|
||||
$link-hover-color: darken($link-color, 15%) !default;
|
||||
$link-hover-decoration: $link-decoration !default;
|
||||
$link-hover-decoration: null !default;
|
||||
// Darken percentage for links with `.text-*` class (e.g. `.text-success`)
|
||||
$emphasized-link-hover-darken-percentage: 15% !default;
|
||||
|
||||
|
@ -70,7 +70,6 @@
|
||||
&:hover,
|
||||
&:focus {
|
||||
color: rgba($black, .85);
|
||||
text-decoration: none;
|
||||
background-color: rgba($bd-purple-bright, .1);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user