File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
projects/igniteui-angular/src/lib/core/styles/components/list Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 425425 justify-content : center ;
426426 border-radius : var-get ($theme , ' item-border-radius' );
427427 color : var-get ($theme , ' item-text-color' );
428- background : var-get ($theme , ' item-background' );
429428
430429 @if $bootstrap-theme or $variant == ' fluent' {
431430 border-bottom : var-get ($theme , ' border-width' ) solid var-get ($theme , ' border-color' );
436435 }
437436
438437 & :hover {
439- color : var-get ($theme , ' item-text-color-hover' );
440- background : var-get ($theme , ' item-background-hover' );
441-
442438 %igx-list__item-lines {
443439 color : currentColor ;
444440 }
544540 align-items : center ;
545541 position : relative ;
546542 border-radius : var-get ($theme , ' item-border-radius' );
547- background : inherit ;
543+ background : var-get ( $theme , ' item-background ' ) ;
548544 z-index : 2 ;
549545 gap : if ($variant == ' indigo' , rem (8px ), rem (16px ));
546+
547+ & :hover ,
548+ & :focus-within {
549+ color : var-get ($theme , ' item-text-color-hover' );
550+ background : var-get ($theme , ' item-background-hover' );
551+ }
550552 }
551553
552554 %igx-list-header ,
You can’t perform that action at this time.
0 commit comments