mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-11-04 15:11:31 +08:00 
			
		
		
		
	style(next)/scrollbars: restore the support for custom background color
This commit is contained in:
		
							parent
							
								
									4ab70fcb8a
								
							
						
					
					
						commit
						10ea58a368
					
				@ -192,8 +192,8 @@
 | 
			
		||||
 | 
			
		||||
    --scrollbar-thumb-color: #fdfdfd5c;
 | 
			
		||||
    --scrollbar-thumb-hover-color: #ffffff7d;
 | 
			
		||||
    --scrollbar-background-color: transparent;
 | 
			
		||||
    --scrollbar-border-color: unset; /* Deprecated */
 | 
			
		||||
    --scrollbar-background-color: unset; /* Deprecated */
 | 
			
		||||
 | 
			
		||||
    --link-color: lightskyblue;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -191,8 +191,8 @@
 | 
			
		||||
 | 
			
		||||
    --scrollbar-thumb-color: #0000005c;
 | 
			
		||||
    --scrollbar-thumb-hover-color: #00000066;
 | 
			
		||||
    --scrollbar-background-color: transparent;
 | 
			
		||||
    --scrollbar-border-color: unset; /* Deprecated */
 | 
			
		||||
    --scrollbar-background-color: unset; /* Deprecated */
 | 
			
		||||
 | 
			
		||||
    --link-color: blue;
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -674,6 +674,10 @@ input[type="range"] {
 | 
			
		||||
 | 
			
		||||
/* Scrollbar's body */
 | 
			
		||||
 | 
			
		||||
::-webkit-scrollbar-track {
 | 
			
		||||
    background-color: var(--scrollbar-background-color);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
::-webkit-scrollbar:vertical {
 | 
			
		||||
    width: var(--scrollbar-thickness) !important;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user