Skip to content

Commit

Permalink
Remove list-group-item-heading and list-group-item-text (#21653)
Browse files Browse the repository at this point in the history
  • Loading branch information
pvdlg authored and mdo committed Jan 16, 2017
1 parent a3bc607 commit d6a5439
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 30 deletions.
23 changes: 0 additions & 23 deletions scss/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,6 @@
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;
Expand Down Expand Up @@ -73,14 +69,6 @@
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
Expand All @@ -89,17 +77,6 @@
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;
}
}
}

Expand Down
3 changes: 0 additions & 3 deletions scss/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
4 changes: 0 additions & 4 deletions scss/mixins/_list-group.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@
button.list-group-item-#{$state} {
color: $color;

.list-group-item-heading {
color: inherit;
}

@include hover-focus {
color: $color;
background-color: darken($background, 5%);
Expand Down

0 comments on commit d6a5439

Please sign in to comment.