mirror of
				https://github.com/TriliumNext/Notes.git
				synced 2025-10-31 13:01:31 +08:00 
			
		
		
		
	add "play" icon for "render" note types
This commit is contained in:
		
							parent
							
								
									577a168714
								
							
						
					
					
						commit
						c831221cc4
					
				
							
								
								
									
										
											BIN
										
									
								
								src/public/images/icons/play.png
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										
											BIN
										
									
								
								src/public/images/icons/play.png
									
									
									
									
									
										Normal file
									
								
							
										
											Binary file not shown.
										
									
								
							| After Width: | Height: | Size: 252 B | 
| @ -157,6 +157,9 @@ const noteTree = (function() { | ||||
|         if (note.type === 'code') { | ||||
|             extraClasses.push("code"); | ||||
|         } | ||||
|         else if (note.type === 'render') { | ||||
|             extraClasses.push('render'); | ||||
|         } | ||||
|         else if (note.type === 'file') { | ||||
|             extraClasses.push('attachment'); | ||||
|         } | ||||
|  | ||||
| @ -77,6 +77,11 @@ span.fancytree-node.attachment > span.fancytree-icon { | ||||
|     background-image: url("../images/icons/paperclip.png"); | ||||
| } | ||||
| 
 | ||||
| span.fancytree-node.render > span.fancytree-icon { | ||||
|     background-position: 0 0; | ||||
|     background-image: url("../images/icons/play.png"); | ||||
| } | ||||
| 
 | ||||
| span.fancytree-node.protected > span.fancytree-icon { | ||||
|     filter: drop-shadow(2px 2px 2px black); | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 azivner
						azivner