|
142 | 142 | &:last-of-type { |
143 | 143 | border-bottom: none; |
144 | 144 | } |
| 145 | + } |
145 | 146 |
|
146 | | - &:hover { |
| 147 | + %igx-list-item-base:not(%igx-list-item-base--selected) { |
| 148 | + &:hover, |
| 149 | + &:focus-within { |
147 | 150 | %igx-list__item-lines { |
148 | 151 | color: currentColor; |
149 | 152 | } |
150 | 153 |
|
151 | | - %igx-list__item-line-title { |
152 | | - color: var-get($theme, 'item-title-color-hover'); |
153 | | - } |
| 154 | + %igx-list-item-content:not(%igx-list-item-content--active) { |
| 155 | + color: var-get($theme, 'item-text-color-hover'); |
| 156 | + background: var-get($theme, 'item-background-hover'); |
154 | 157 |
|
155 | | - %igx-list__item-line-subtitle { |
156 | | - color: var-get($theme, 'item-subtitle-color-hover'); |
157 | | - } |
| 158 | + %igx-list__item-line-title { |
| 159 | + color: var-get($theme, 'item-title-color-hover'); |
| 160 | + } |
158 | 161 |
|
159 | | - %igx-list__item-actions { |
160 | | - color: var-get($theme, 'item-action-color-hover'); |
| 162 | + %igx-list__item-line-subtitle { |
| 163 | + color: var-get($theme, 'item-subtitle-color-hover'); |
| 164 | + } |
161 | 165 |
|
162 | | - igx-icon, |
163 | | - igc-icon { |
164 | | - color: var-get($theme, 'item-action-color-hover') |
| 166 | + %igx-list__item-actions { |
| 167 | + color: var-get($theme, 'item-action-color-hover'); |
| 168 | + |
| 169 | + igx-icon, |
| 170 | + igc-icon { |
| 171 | + color: var-get($theme, 'item-action-color-hover') |
| 172 | + } |
165 | 173 | } |
166 | | - } |
167 | 174 |
|
168 | | - %igx-list__item-thumbnail { |
169 | | - color: var-get($theme, 'item-thumbnail-color-hover'); |
| 175 | + %igx-list__item-thumbnail { |
| 176 | + color: var-get($theme, 'item-thumbnail-color-hover'); |
170 | 177 |
|
171 | | - igx-icon, |
172 | | - igc-icon { |
173 | | - color: var-get($theme, 'item-thumbnail-color-hover') |
| 178 | + igx-icon, |
| 179 | + igc-icon { |
| 180 | + color: var-get($theme, 'item-thumbnail-color-hover') |
| 181 | + } |
174 | 182 | } |
175 | 183 | } |
176 | 184 | } |
|
253 | 261 | background: var-get($theme, 'item-background'); |
254 | 262 | z-index: 2; |
255 | 263 | gap: if($variant == 'indigo', rem(8px), rem(16px)); |
256 | | - |
257 | | - &:hover, |
258 | | - &:focus-within { |
259 | | - color: var-get($theme, 'item-text-color-hover'); |
260 | | - background: var-get($theme, 'item-background-hover'); |
261 | | - } |
262 | 264 | } |
263 | 265 |
|
264 | 266 | %igx-list-header, |
|
0 commit comments