Autohide chat control buttons
This commit is contained in:
		
							parent
							
								
									e8f4f8aa89
								
							
						
					
					
						commit
						9080e84089
					
				| @ -10,3 +10,10 @@ | |||||||
| .chat_row box { | .chat_row box { | ||||||
|   margin: 0; |   margin: 0; | ||||||
| } | } | ||||||
|  | .chat_row button { | ||||||
|  |   opacity: 0; | ||||||
|  |   transition: opacity .05s; | ||||||
|  | } | ||||||
|  | .chat_row:hover button, .chat_row:selected button { | ||||||
|  |   opacity: 1; | ||||||
|  | } | ||||||
|  | |||||||
| @ -817,7 +817,7 @@ class AlpacaWindow(Adw.ApplicationWindow): | |||||||
|         self.chat_list_box.remove_all() |         self.chat_list_box.remove_all() | ||||||
|         for name, content in self.chats['chats'].items(): |         for name, content in self.chats['chats'].items(): | ||||||
|             chat_content = Gtk.Box( |             chat_content = Gtk.Box( | ||||||
|                 spacing = 12, |                 spacing = 6, | ||||||
|             ) |             ) | ||||||
|             chat_row = Gtk.ListBoxRow( |             chat_row = Gtk.ListBoxRow( | ||||||
|                 css_classes = ["chat_row"], |                 css_classes = ["chat_row"], | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user