mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 04:51:31 +08:00 
			
		
		
		
	unifying expander icons in both desktop and mobile
This commit is contained in:
		
							parent
							
								
									d4baac0bb5
								
							
						
					
					
						commit
						74cc34696e
					
				| @ -62,33 +62,8 @@ html, body { | |||||||
|     padding: 5px; |     padding: 5px; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .fancytree-node .fancytree-expander { |  | ||||||
|     background: none; |  | ||||||
|     width: auto; |  | ||||||
|     height: auto; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .fancytree-node .fancytree-expander:before { | .fancytree-node .fancytree-expander:before { | ||||||
|     font-family: 'jam-icons' !important; |  | ||||||
|     speak: none; |  | ||||||
|     font-style: normal; |  | ||||||
|     font-weight: normal; |  | ||||||
|     font-variant: normal; |  | ||||||
|     text-transform: none; |  | ||||||
|     line-height: 1; |  | ||||||
|     font-size: 2em; |     font-size: 2em; | ||||||
|     padding-left: 5px; |  | ||||||
|     padding-right: 5px; |  | ||||||
|     content: "\e9bc"; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| /* this is done to preserve correct indentation. Better solution would be preferable */ |  | ||||||
| .fancytree-node:not(.fancytree-folder) .fancytree-expander:before { |  | ||||||
|     color: white; |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| .fancytree-node.fancytree-expanded .fancytree-expander:before { |  | ||||||
|     content: "\e9ba"; |  | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| kbd { | kbd { | ||||||
|  | |||||||
| @ -65,6 +65,34 @@ body { | |||||||
|     flex-grow: 100; |     flex-grow: 100; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  | .fancytree-node .fancytree-expander { | ||||||
|  |     background: none; | ||||||
|  |     width: auto; | ||||||
|  |     height: auto; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .fancytree-node .fancytree-expander:before { | ||||||
|  |     font-family: 'jam-icons' !important; | ||||||
|  |     speak: none; | ||||||
|  |     font-style: normal; | ||||||
|  |     font-weight: normal; | ||||||
|  |     font-variant: normal; | ||||||
|  |     text-transform: none; | ||||||
|  |     line-height: 1; | ||||||
|  |     padding-left: 5px; | ||||||
|  |     padding-right: 5px; | ||||||
|  |     content: "\e9bc"; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | /* this is done to preserve correct indentation. Better solution would be preferable */ | ||||||
|  | .fancytree-node:not(.fancytree-folder) .fancytree-expander:before { | ||||||
|  |     color: white; | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | .fancytree-node.fancytree-expanded .fancytree-expander:before { | ||||||
|  |     content: "\e9ba"; | ||||||
|  | } | ||||||
|  | 
 | ||||||
| #note-title[readonly] { | #note-title[readonly] { | ||||||
|     background: inherit; |     background: inherit; | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner