File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 66@use  ' ../style/layout-common' 
77
88$fallbacks : m3-option .get-tokens ();
9- $list-fallbacks : m3-list .get-tokens ();
109
1110$_side-padding : 16px  ;
1211
@@ -41,11 +40,6 @@ $_side-padding: 16px;
4140    outline 0 ;
4241  }
4342
44-   & .mat-mdc-option-active.mdc-list-item ::before  {
45-     background-color token-utils .slot (list-list-item-focus-state-layer-color , $list-fallbacks );
46-     opacity token-utils .slot (list-list-item-focus-state-layer-opacity , $list-fallbacks );
47-   }
48- 
4943  & .mdc-list-item--selected :not (.mdc-list-item--disabled ) {
5044    //  We don't change the background & text color in multiple mode since
5145    //  it has the checkbox to show the selected state.
@@ -55,6 +49,12 @@ $_side-padding: 16px;
5549        color token-utils .slot (option-selected-state-label-text-color , $fallbacks );
5650      }
5751    }
52+ 
53+     & :focus .mdc-list-item ,
54+     & :hover .mdc-list-item ,
55+     & .mat-mdc-option-active.mdc-list-item  {
56+       background-color token-utils .slot (option-focus-state-layer-color , $fallbacks );
57+     }
5858  }
5959
6060  .mat-pseudo-checkbox  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments