]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move `z-index` to .list-group-item-action and remove redundant `text-decoration:...
authorShohei Yoshida <fellows3@gmail.com>
Tue, 8 Jan 2019 04:59:49 +0000 (13:59 +0900)
committerXhmikosR <xhmikosr@gmail.com>
Tue, 8 Jan 2019 04:59:49 +0000 (06:59 +0200)
scss/_list-group.scss

index e688f959f7feace60be4f6273bdfa172c7729acd..949f3d26f0a0256b2d939fc8edd0d2993509af13 100644 (file)
@@ -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;
     @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;