aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Yeo <[email protected]>2017-06-16 16:57:15 -0700
committerMark Otto <[email protected]>2017-06-16 18:58:21 -0700
commit9f0929013e0c4e5c21acbb7a7e8298c345ea4cac (patch)
tree5477b6fc37adf80bbe7ff36165797737be079f85
parent6ed8a735d02fe7bd71a3bf5c520891d2157cec30 (diff)
downloadbootstrap-9f0929013e0c4e5c21acbb7a7e8298c345ea4cac.tar.xz
bootstrap-9f0929013e0c4e5c21acbb7a7e8298c345ea4cac.zip
(#22414) Rename for consistency `$list-group-link-*-*` to `$list-group-action-*-*`
-rw-r--r--scss/_list-group.scss8
-rw-r--r--scss/_variables.scss8
2 files changed, 8 insertions, 8 deletions
diff --git a/scss/_list-group.scss b/scss/_list-group.scss
index fef2c1532..96fd6f019 100644
--- a/scss/_list-group.scss
+++ b/scss/_list-group.scss
@@ -19,19 +19,19 @@
.list-group-item-action {
width: 100%; // For `<button>`s (anchors become 100% by default though)
- color: $list-group-link-color;
+ color: $list-group-action-color;
text-align: inherit; // For `<button>`s (anchors inherit)
// Hover state
@include hover-focus {
- color: $list-group-link-hover-color;
+ color: $list-group-action-hover-color;
text-decoration: none;
background-color: $list-group-hover-bg;
}
&:active {
- color: $list-group-link-active-color;
- background-color: $list-group-link-active-bg;
+ color: $list-group-action-active-color;
+ background-color: $list-group-action-active-bg;
}
}
diff --git a/scss/_variables.scss b/scss/_variables.scss
index e106282ed..1a781cd64 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -802,11 +802,11 @@ $list-group-active-border-color: $list-group-active-bg !default;
$list-group-disabled-color: $gray-light !default;
$list-group-disabled-bg: $list-group-bg !default;
-$list-group-link-color: $gray !default;
-$list-group-link-hover-color: $list-group-link-color !default;
+$list-group-action-color: $gray !default;
+$list-group-action-hover-color: $list-group-action-color !default;
-$list-group-link-active-color: $list-group-color !default;
-$list-group-link-active-bg: $gray-lighter !default;
+$list-group-action-active-color: $list-group-color !default;
+$list-group-action-active-bg: $gray-lighter !default;
// Image thumbnails