From: Shohei Yoshida Date: Tue, 8 Jan 2019 04:59:49 +0000 (+0900) Subject: Move `z-index` to .list-group-item-action and remove redundant `text-decoration:... X-Git-Tag: v4.3.0~101 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8;p=thirdparty%2Fbootstrap.git Move `z-index` to .list-group-item-action and remove redundant `text-decoration: none` (#27996) --- diff --git a/scss/_list-group.scss b/scss/_list-group.scss index e688f959f7..949f3d26f0 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;