aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShohei Yoshida <[email protected]>2019-01-08 13:59:49 +0900
committerXhmikosR <[email protected]>2019-01-08 06:59:49 +0200
commitdc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8 (patch)
tree3d57a8d8a20b4c49040275db0b52eafdd874b8df
parent48fe2c23d33dd8bc81834864254a5f5733953811 (diff)
downloadbootstrap-dc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8.tar.xz
bootstrap-dc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8.zip
Move `z-index` to .list-group-item-action and remove redundant `text-decoration: none` (#27996)
-rw-r--r--scss/_list-group.scss6
1 files changed, 1 insertions, 5 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index e688f959f..949f3d26f 100644
--- a/scss/_list-group.scss
+++ b/scss/_list-group.scss
@@ -24,6 +24,7 @@
// Hover state
@include 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;
background-color: $list-group-hover-bg;
@@ -58,11 +59,6 @@
@include border-bottom-radius($list-group-border-radius);
}
- @include hover-focus {
- z-index: 1; // Place hover/active items above their siblings for proper border styling
- text-decoration: none;
- }
-
&.disabled,
&:disabled {
color: $list-group-disabled-color;