mirror of
				https://github.com/go-gitea/gitea
				synced 2025-10-31 03:18:24 +00:00 
			
		
		
		
	Modify OAuth login ui and fix display name, iconurl related logic (#25030)
Close #24808 Co-Authour @wxiaoguang @silverwind 1. Most svgs are found from https://worldvectorlogo.com/ , and some are from conversion of png to svg. (facebook and nextcloud). And also changed `templates/user/settings/security/accountlinks.tmpl`. 2. Fixed display name and iconurl related logic # After <img width="1436" alt="Screen Shot 2023-06-05 at 14 09 05" src="https://github.com/go-gitea/gitea/assets/17645053/a5db39d8-1ab0-4676-82a4-fba60a1d1f84"> On mobile <img width="378" alt="Screen Shot 2023-06-05 at 14 09 46" src="https://github.com/go-gitea/gitea/assets/17645053/71d0f51b-baac-4f48-8ca2-ae0e013bd62e"> user/settings/security/accountlinks (The dropdown might be improved later) <img width="973" alt="Screen Shot 2023-06-01 at 10 01 44" src="https://github.com/go-gitea/gitea/assets/17645053/27010e7e-2785-4fc5-8c49-b06621898f37"> --------- Co-authored-by: silverwind <me@silverwind.io> Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
		| @@ -468,6 +468,10 @@ a.label, | ||||
|   padding-bottom: 7.42px !important; | ||||
| } | ||||
|  | ||||
| .ui.divider { | ||||
|   color: var(--color-text); | ||||
| } | ||||
|  | ||||
| .ui.divider:not(.vertical,.horizontal) { | ||||
|   border-top-color: var(--color-secondary) !important; | ||||
|   border-bottom: none !important; | ||||
|   | ||||
| @@ -309,7 +309,8 @@ textarea:focus, | ||||
|   .user.reset.password form .inline.field > textarea, | ||||
|   .user.link-account form .inline.field > textarea, | ||||
|   .user.signin form .inline.field > textarea, | ||||
|   .user.signup form .inline.field > textarea { | ||||
|   .user.signup form .inline.field > textarea, | ||||
|   .oauth-login-link { | ||||
|     width: 50%; | ||||
|   } | ||||
| } | ||||
| @@ -364,7 +365,8 @@ textarea:focus, | ||||
|   .user.reset.password form input, | ||||
|   .user.link-account form input, | ||||
|   .user.signin form input, | ||||
|   .user.signup form input { | ||||
|   .user.signup form input, | ||||
|   .oauth-login-link { | ||||
|     width: 100% !important; | ||||
|   } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user