File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change 2727  --sidebar-min-width :  180px  ;
2828  --sidebar-max-width :  632px  ;
2929  --sidebar-width :  239px  ;
30+   --resizer-width :  4px  ;
31+   --resizer-hover-bg-color :  light-dark (# 0062fa,  # 00cadb
3032
3133  @media  screen and  (forced-colors :  active) {
3234    --sidebar-bg-color :  Canvas;
3335    --sidebar-border-color :  CanvasText;
3436    --sidebar-box-shadow :  none;
37+     --resizer-hover-bg-color :  CanvasText;
3538  }
3639
3740  border-radius :  var (--sidebar-border-radius );
4548  max-width :  var (--sidebar-max-width );
4649
4750  .sidebarResizer  {
48-     width :  4 px 
51+     width :  var ( --resizer-width ) ;
4952    background-color :  transparent;
5053    forced-color-adjust :  none;
5154    cursor :  ew-resize;
5255    position :  absolute;
5356    inset-block :  calc (var (--sidebar-padding ) +  var (--sidebar-border-radius ));
57+     inset-inline-start :  calc (0px   -  var (--resizer-width ) /  2 );
58+     transition :  background-color 0.5s   ease-in-out;
59+     box-sizing :  border-box;
60+     border :  1px   solid transparent;
61+     border-block-width :  0 ;
62+     background-clip :  content-box;
63+ 
64+     & : hover  {
65+       background-color :  var (--resizer-hover-bg-color );
66+     }
5467  }
5568
5669  & .resizing  {
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments