Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShohei Yoshida <fellows3@gmail.com>2019-01-08 07:59:49 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-01-08 07:59:49 +0300
commitdc436427e9dcd74dded4cb79a0eb8ba16a1eb5d8 (patch)
tree3d57a8d8a20b4c49040275db0b52eafdd874b8df /scss/_list-group.scss
parent48fe2c23d33dd8bc81834864254a5f5733953811 (diff)
Move `z-index` to .list-group-item-action and remove redundant `text-decoration: none` (#27996)
Diffstat (limited to 'scss/_list-group.scss')
-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 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;