mirror of
https://github.com/tabler/tabler.git
synced 2025-12-21 17:34:25 +04:00
List group item hoverable only with .list-group-hoverable class (#2397)
Co-authored-by: Paweł Kuna <1282324+codecalm@users.noreply.github.com>
This commit is contained in:
5
.changeset/smart-apples-glow.md
Normal file
5
.changeset/smart-apples-glow.md
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@tabler/core": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix list group item hoverable only with `.list-group-hoverable` class
|
||||||
@@ -30,14 +30,6 @@
|
|||||||
border-left-width: $border-width-wide;
|
border-left-width: $border-width-wide;
|
||||||
}
|
}
|
||||||
|
|
||||||
.list-group-item {
|
|
||||||
&:active,
|
|
||||||
&:focus,
|
|
||||||
&:hover {
|
|
||||||
background-color: $dropdown-link-hover-bg;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.list-group-item {
|
.list-group-item {
|
||||||
&.disabled,
|
&.disabled,
|
||||||
&:disabled {
|
&:disabled {
|
||||||
@@ -58,6 +50,14 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.list-group-hoverable {
|
.list-group-hoverable {
|
||||||
|
.list-group-item {
|
||||||
|
&:active,
|
||||||
|
&:focus,
|
||||||
|
&:hover {
|
||||||
|
background-color: $dropdown-link-hover-bg;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
.list-group-item-actions {
|
.list-group-item-actions {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
@include transition(opacity $transition-time);
|
@include transition(opacity $transition-time);
|
||||||
|
|||||||
Reference in New Issue
Block a user