]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Remove list-group-item-heading and list-group-item-text (#21653)
authorPierre-Denis Vanduynslager <pierre.denis.vanduynslager@gmail.com>
Mon, 16 Jan 2017 05:36:15 +0000 (00:36 -0500)
committerMark Otto <markd.otto@gmail.com>
Mon, 16 Jan 2017 05:36:15 +0000 (21:36 -0800)
scss/_list-group.scss
scss/_variables.scss
scss/mixins/_list-group.scss

index ec813c807ed91e412fd5c236a1a0b8ec5a525e9d..bb8a8d10319af6f27f25cdb23e270125a85b7ceb 100644 (file)
   color: $list-group-link-color;
   text-align: inherit; // For `<button>`s (anchors inherit)
 
-  .list-group-item-heading {
-    color: $list-group-link-heading-color;
-  }
-
   // Hover state
   @include hover-focus {
     color: $list-group-link-hover-color;
     color: $list-group-disabled-color;
     cursor: $cursor-disabled;
     background-color: $list-group-disabled-bg;
-
-    // Force color to inherit for custom content
-    .list-group-item-heading {
-      color: inherit;
-    }
-    .list-group-item-text {
-      color: $list-group-disabled-text-color;
-    }
   }
 
   // Include both here for `<a>`s and `<button>`s
     color: $list-group-active-color;
     background-color: $list-group-active-bg;
     border-color: $list-group-active-border;
-
-    // Force color to inherit for custom content
-    .list-group-item-heading,
-    .list-group-item-heading > small,
-    .list-group-item-heading > .small {
-      color: inherit;
-    }
-
-    .list-group-item-text {
-      color: $list-group-active-text-color;
-    }
   }
 }
 
index 0f4c56f93bf783e47f114fc406512bb7e0209315..7a27f1e3b890dbd79c5674fb35e597147ec79504 100644 (file)
@@ -852,14 +852,11 @@ $list-group-hover-bg:            $gray-lightest !default;
 $list-group-active-color:        $component-active-color !default;
 $list-group-active-bg:           $component-active-bg !default;
 $list-group-active-border:       $list-group-active-bg !default;
-$list-group-active-text-color:   lighten($list-group-active-bg, 50%) !default;
 
 $list-group-disabled-color:      $gray-light !default;
 $list-group-disabled-bg:         $list-group-bg !default;
-$list-group-disabled-text-color: $list-group-disabled-color !default;
 
 $list-group-link-color:          $gray !default;
-$list-group-link-heading-color:  $gray-dark !default;
 $list-group-link-hover-color:    $list-group-link-color !default;
 
 $list-group-link-active-color:   $list-group-color !default;
index 3db5b096a421072587ca56dd21108ae37a415145..278787bbede705a7b41485dde0c4b2a3ca9eace9 100644 (file)
   button.list-group-item-#{$state} {
     color: $color;
 
-    .list-group-item-heading {
-      color: inherit;
-    }
-
     @include hover-focus {
       color: $color;
       background-color: darken($background, 5%);