githaven-fork/templates/repo/migrate
wxiaoguang 48e3e38ee0
Clean up polluted styles and remove dead CSS code (#24497)
Follow #24393


The funny history:

* At the beginning, `.ui.message` was polluted by `text-align: center`
* Then people do `<div class="ui ... message text left">`
* But `.ui.left` is polluted by `float: left`
* Then people do `#xxx .ui.message { width: 100% !important;}`

The code just becomes more and more hacky.

After removing the pollution,  everything becomes clear and straight.


And, this PR also does:

1. Remove the `package.css`, its styles could be provided by `top
aligned`
2. Remove `#avatar-arrow`, dead code



Screenshot:


![image](https://user-images.githubusercontent.com/2114189/235862130-a9eb5d8f-7d01-457c-99f7-21d0abc3075e.png)


![image](https://user-images.githubusercontent.com/2114189/235862222-139709a7-95c2-4f89-a40f-100b2d76d9bb.png)

Co-authored-by: Giteabot <teabot@gitea.io>
2023-05-03 14:32:10 -04:00
..
codebase.tmpl Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
git.tmpl Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
gitbucket.tmpl Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
gitea.tmpl Set type="password" on all auth_token fields (#22175) 2023-04-23 10:28:27 -04:00
github.tmpl Set type="password" on all auth_token fields (#22175) 2023-04-23 10:28:27 -04:00
gitlab.tmpl Set type="password" on all auth_token fields (#22175) 2023-04-23 10:28:27 -04:00
gogs.tmpl Set type="password" on all auth_token fields (#22175) 2023-04-23 10:28:27 -04:00
helper.tmpl Add templates to customize text when creating and migrating repositories 2023-01-24 22:36:48 -05:00
migrate.tmpl Group template helper functions, remove Printf, improve template error messages (#23982) 2023-04-08 21:15:22 +08:00
migrating.tmpl Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
onedev.tmpl Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00
options.tmpl Refactor hiding-methods, remove jQuery show/hide, remove .hide class, remove inline style=display:none (#22950) 2023-02-19 12:06:14 +08:00