mirror of
				https://github.com/zadam/trilium.git
				synced 2025-11-03 21:19:01 +01:00 
			
		
		
		
	Improve the close tab button
This commit is contained in:
		
							parent
							
								
									1b26128731
								
							
						
					
					
						commit
						180c592d5f
					
				@ -121,7 +121,8 @@
 | 
				
			|||||||
   --gutter-color: transparent;
 | 
					   --gutter-color: transparent;
 | 
				
			||||||
   --gutter-hover-color: #bfbfbf;
 | 
					   --gutter-hover-color: #bfbfbf;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   --tab-close-button-hover-background: #d7d7d7;
 | 
					   --tab-close-button-hover-background: #c95a5a;
 | 
				
			||||||
 | 
					   --tab-close-button-hover-color: white;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
   --active-tab-background-color: white;
 | 
					   --active-tab-background-color: white;
 | 
				
			||||||
   --active-tab-hover-background-color: var(--active-tab-background-color);
 | 
					   --active-tab-hover-background-color: var(--active-tab-background-color);
 | 
				
			||||||
@ -228,7 +229,8 @@
 | 
				
			|||||||
        --gutter-color: transparent;
 | 
					        --gutter-color: transparent;
 | 
				
			||||||
        --gutter-hover-color: #5e5e5e;
 | 
					        --gutter-hover-color: #5e5e5e;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        --tab-close-button-hover-background: #e2e2e2;
 | 
					        --tab-close-button-hover-background: #c95a5a;
 | 
				
			||||||
 | 
					        --tab-close-button-hover-color: white;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        --active-tab-background-color: #666;
 | 
					        --active-tab-background-color: #666;
 | 
				
			||||||
        --active-tab-hover-background-color: #737373;
 | 
					        --active-tab-hover-background-color: #737373;
 | 
				
			||||||
@ -478,8 +480,15 @@
 | 
				
			|||||||
    font-weight: unset !important;
 | 
					    font-weight: unset !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					.tab-row-widget .note-tab-close {
 | 
				
			||||||
 | 
					    display: flex;
 | 
				
			||||||
 | 
					    justify-content: center;
 | 
				
			||||||
 | 
					    align-items: center;
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.tab-row-widget .note-tab-close:hover {
 | 
					.tab-row-widget .note-tab-close:hover {
 | 
				
			||||||
    background: var(--tab-close-button-hover-background) !important;
 | 
					    background: var(--tab-close-button-hover-background) !important;
 | 
				
			||||||
 | 
					    color: var(--tab-close-button-hover-color) !important;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
.tab-row-widget .note-new-tab {
 | 
					.tab-row-widget .note-new-tab {
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user