revert list-group style

* revert list-group style
* `grunt swatch:pulse`
This commit is contained in:
m5o
2017-12-15 18:46:27 +01:00
parent ce2d0f2781
commit 1f6c8963f2
8 changed files with 128 additions and 16 deletions

View File

@@ -127,3 +127,28 @@
}
// Containers ==================================================================
.list-group {
&-item {
color: rgba(255, 255, 255, 0.8);
&.active,
&:hover,
&:focus {
color: #fff;
}
&.active {
font-weight: bold;
&:hover {
background-color: $list-group-hover-bg;
}
}
&.disabled:hover {
color: $list-group-disabled-color;
}
}
}

View File

@@ -87,3 +87,14 @@ $navbar-light-disabled-color: rgba($black,.2) !default;
$progress-bg: $gray-300 !default;
$progress-bar-bg: $primary !default;
// List group
$list-group-bg: $gray-900 !default;
$list-group-border-color: transparent !default;
$list-group-hover-bg: lighten($list-group-bg, 10%) !default;
$list-group-active-color: $white !default;
$list-group-active-bg: $list-group-bg !default;
$list-group-disabled-color: lighten($list-group-bg, 30%) !default;

View File

@@ -4848,7 +4848,7 @@ tbody.collapse.show {
.list-group-item-action:focus, .list-group-item-action:hover {
color: #444;
text-decoration: none;
background-color: #fafafa;
background-color: #2e283e;
}
.list-group-item-action:active {
@@ -4861,8 +4861,8 @@ tbody.collapse.show {
display: block;
padding: 0.75rem 1.25rem;
margin-bottom: -1px;
background-color: #fff;
border: 1px solid rgba(0, 0, 0, 0.125);
background-color: #17141F;
border: 1px solid transparent;
}
.list-group-item:last-child {
@@ -4874,15 +4874,15 @@ tbody.collapse.show {
}
.list-group-item.disabled, .list-group-item:disabled {
color: #868e96;
background-color: #fff;
color: #5c507c;
background-color: #17141F;
}
.list-group-item.active {
z-index: 2;
color: #fff;
background-color: #593196;
border-color: #593196;
background-color: #17141F;
border-color: #17141F;
}
.list-group-flush .list-group-item {
@@ -8688,3 +8688,23 @@ a.text-dark:focus, a.text-dark:hover {
.progress {
height: 8px;
}
.list-group-item {
color: rgba(255, 255, 255, 0.8);
}
.list-group-item.active, .list-group-item:hover, .list-group-item:focus {
color: #fff;
}
.list-group-item.active {
font-weight: bold;
}
.list-group-item.active:hover {
background-color: #2e283e;
}
.list-group-item.disabled:hover {
color: #5c507c;
}

File diff suppressed because one or more lines are too long