]> source.dussan.org Git - gitea.git/commit
Rework Oauth login buttons, swap github logo to monocolor (#24740)
authorsilverwind <me@silverwind.io>
Mon, 15 May 2023 22:46:51 +0000 (00:46 +0200)
committerGitHub <noreply@github.com>
Mon, 15 May 2023 22:46:51 +0000 (22:46 +0000)
commita7e18b9fb799a95dc0ec3ed29e571b728c283902
tree0d3a2674cd07331580e055341d38d4f9083be55b
parent7565e5c3de051400a9e3703f707049cbb9054cf3
Rework Oauth login buttons, swap github logo to monocolor (#24740)

Diff without whitespace:
https://github.com/go-gitea/gitea/pull/24740/files?diff=unified&w=1

- Use SVGs for GitHub and GitLab oauth providers
- Replace section wrapping with a divider
- Rework icon rendering, increase size from 32px to 40px

Before:

<img width="853" alt="Screenshot 2023-05-15 at 21 54 23"
src="https://github.com/go-gitea/gitea/assets/115237/6ab5cfb4-46ff-469a-bd1f-06780d4a6a0b">

After (more providers):

<img width="849" alt="Screenshot 2023-05-15 at 21 51 21"
src="https://github.com/go-gitea/gitea/assets/115237/fa84f92f-98e0-4aed-9357-5d62ddd98195">

<img width="856" alt="Screenshot 2023-05-15 at 21 56 45"
src="https://github.com/go-gitea/gitea/assets/115237/d3edd7ed-dadd-4302-aca7-08f20adc220e">

Ref: https://codeberg.org/Codeberg/Community/issues/1023

---------

Co-authored-by: Giteabot <teabot@gitea.io>
public/img/svg/gitea-github.svg [deleted file]
public/img/svg/gitea-gitlab.svg
public/img/svg/gitea-openid.svg [new file with mode: 0644]
templates/repo/migrate/migrate.tmpl
templates/user/auth/signin_inner.tmpl
web_src/css/base.css
web_src/css/form.css
web_src/css/helpers.css
web_src/svg/gitea-github.svg [deleted file]
web_src/svg/gitea-gitlab.svg
web_src/svg/gitea-openid.svg [new file with mode: 0644]