wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							34a0684397 
							
						 
					 
					
						
						
							
							Improve CSS helper naming ( #28769 )  
						
						... 
						
						
						
						* `gt-w-100` => `gt-w-full` to match tailwind
* clarify `gt-hidden` priority 
						
						
					 
					
						2024-01-12 20:28:01 +08:00 
						 
				 
			
				
					
						
							
							
								Denys Konovalov 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2325fe777d 
							
						 
					 
					
						
						
							
							cleanup locale function usage ( #27227 )  
						
						
						
						
					 
					
						2023-09-24 20:31:58 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1875362383 
							
						 
					 
					
						
						
							
							Fix "delete" modal dialog for issue/PR ( #27015 )  
						
						... 
						
						
						
						Close  #27012 
By the way, rename the single-word ID to a long ID.

 
					
						2023-09-11 17:06:05 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							0ab70d4f2f 
							
						 
					 
					
						
						
							
							Improve modal dialog UI ( #26764 )  
						
						... 
						
						
						
						1. Fine tune the CSS styles, and add more examples
2. Add necessary "dimmer" animation for modal dialogs, otherwise the UI
seems flicking (follow #26469 ) 
						
						
					 
					
						2023-08-28 23:49:21 +00:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							45bc180a15 
							
						 
					 
					
						
						
							
							Make "cancel" buttons have proper type in modal forms ( #25618 )  
						
						... 
						
						
						
						Replace #25446 , fix  #25438 
All "cancel" buttons which do not have "type" should not submit the
form, should not be triggered by "Enter".
This is a complete fix for all modal dialogs.
The major change is "modules/aria/modal.js", "devtest" related code is
for demo/test purpose. 
						
						
					 
					
						2023-07-03 14:04:50 +08:00 
						 
				 
			
				
					
						
							
							
								wxiaoguang 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							75c62054a6 
							
						 
					 
					
						
						
							
							Improve some modal action buttons ( #24289 )  
						
						... 
						
						
						
						Follow #24097  and #24285 
And add a devtest page for modal action button testing.
http://localhost:3000/devtest/fomantic-modal 
Now the `modal_actions_confirm.tmpl` could support: green / blue /
yellow positive buttons, the negative button is "secondary".
ps: this PR is only a small improvement, there are still a lot of
buttons not having proper colors. In the future these buttons could be
improved by this approach.
These buttons could also be improved according to the conclusion of
#24285  in the future.

And add GitHub-like single danger button (context:
https://github.com/go-gitea/gitea/issues/24285#issuecomment-1519100312 )

---------
Co-authored-by: silverwind <me@silverwind.io> 
						
						
					 
					
						2023-04-24 07:08:59 -04:00