aboutsummaryrefslogtreecommitdiff
path: root/scss/_buttons.scss
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2018-09-18 02:10:07 +0300
committerXhmikosR <[email protected]>2019-05-08 20:58:07 +0300
commit1d4d9f8d8941f006e81e95549bee991753a75e6e (patch)
treed96c39023a97966db96220c868fc89a0529e08df /scss/_buttons.scss
parenta827934f1309e02419d58b9ca4ab83982204c050 (diff)
downloadbootstrap-1d4d9f8d8941f006e81e95549bee991753a75e6e.tar.xz
bootstrap-1d4d9f8d8941f006e81e95549bee991753a75e6e.zip
Drop all hover mixins
Previously deprecated in v4.x, this clears out the now unused Sass option and removes some unused mixins. Arguably we could remove more, but I like the hover-focus mixin and we make extensive use of it across the project.
Diffstat (limited to 'scss/_buttons.scss')
-rw-r--r--scss/_buttons.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/scss/_buttons.scss b/scss/_buttons.scss
index 5a684a3ff..2adce28b4 100644
--- a/scss/_buttons.scss
+++ b/scss/_buttons.scss
@@ -17,7 +17,7 @@
@include button-size($btn-padding-y, $btn-padding-x, $btn-font-size, $btn-line-height, $btn-border-radius);
@include transition($btn-transition);
- @include hover {
+ &:hover {
color: $body-color;
text-decoration: none;
}
@@ -79,7 +79,7 @@ fieldset:disabled a.btn {
color: $btn-link-color;
text-decoration: $link-decoration;
- @include hover {
+ &:hover {
color: $btn-link-hover-color;
text-decoration: $link-hover-decoration;
}