aboutsummaryrefslogtreecommitdiff
path: root/scss/_list-group.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/_list-group.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/_list-group.scss')
-rw-r--r--scss/_list-group.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index 3f80687ab..71edfb2d3 100644
--- a/scss/_list-group.scss
+++ b/scss/_list-group.scss
@@ -23,7 +23,8 @@
text-align: inherit; // For `<button>`s (anchors inherit)
// Hover state
- @include hover-focus {
+ &:hover,
+ &:focus {
z-index: 1; // Place hover/focus items above their siblings for proper border styling
color: $list-group-action-hover-color;
text-decoration: none;