1
0
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:
Daniel Vítek
2025-05-27 23:54:01 +02:00
committed by GitHub
parent 545defc852
commit 666a296a62
2 changed files with 13 additions and 8 deletions

View File

@@ -0,0 +1,5 @@
---
"@tabler/core": patch
---
Fix list group item hoverable only with `.list-group-hoverable` class

View File

@@ -30,14 +30,6 @@
border-left-width: $border-width-wide;
}
.list-group-item {
&:active,
&:focus,
&:hover {
background-color: $dropdown-link-hover-bg;
}
}
.list-group-item {
&.disabled,
&:disabled {
@@ -58,6 +50,14 @@
}
.list-group-hoverable {
.list-group-item {
&:active,
&:focus,
&:hover {
background-color: $dropdown-link-hover-bg;
}
}
.list-group-item-actions {
opacity: 0;
@include transition(opacity $transition-time);