0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 01:44:18 +01:00
gitea/templates/repo
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
..
actions Remove font-awesome and fomantic icon module (#24471) 2023-05-01 13:25:54 -04:00
branch Move Rename branch from repo settings page to the page of branches list (#24380) 2023-04-30 23:08:51 +08:00
cite Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
diff Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
editor Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
find
graph Improve commit date in commit graph (#24399) 2023-04-28 14:58:59 -04:00
issue Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
migrate Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
projects Rework header bar on issue, pull requests and milestone (#24420) 2023-04-29 23:33:25 -04:00
pulls Replace N/A with - everywhere (#24474) 2023-05-02 05:54:29 -04:00
release Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
settings Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
tag Add tags list for repos whose release setting is disabled (#23465) 2023-04-25 18:29:00 +02:00
wiki Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
activity.tmpl Fix template function DateTime (#24317) 2023-04-25 15:48:30 -04:00
blame.tmpl
branch_dropdown.tmpl Improve RSS (#24335) 2023-04-25 22:53:44 -04:00
clone_buttons.tmpl
clone_script.tmpl
commit_page.tmpl Improve some modal action buttons (#24289) 2023-04-24 07:08:59 -04:00
commit_status.tmpl
commit_statuses.tmpl
commits.tmpl
commits_list.tmpl
commits_list_small.tmpl
commits_table.tmpl
create.tmpl Make label templates have consistent behavior and priority (#23749) 2023-04-10 16:44:02 +08:00
create_helper.tmpl
empty.tmpl Display when a repo was archived (#22664) 2023-04-26 10:46:26 -04:00
file_info.tmpl
forks.tmpl
graph.tmpl Replace remaining fontawesome dropdown icons with SVG (#24455) 2023-05-01 05:35:02 -04:00
header.tmpl Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
home.tmpl Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
icon.tmpl
packages.tmpl
search.tmpl
search_name.tmpl
shabox_badge.tmpl
sub_menu.tmpl Make repo size style matches others (commits/branches/tags) (#24408) 2023-04-28 17:23:19 -04:00
sub_menu_release_tag.tmpl Rework header bar on issue, pull requests and milestone (#24420) 2023-04-29 23:33:25 -04:00
unicode_escape_prompt.tmpl
upload.tmpl
user_cards.tmpl Fix user-cards format (#24428) 2023-04-29 15:43:01 -04:00
view_file.tmpl Improve RSS (#24335) 2023-04-25 22:53:44 -04:00
view_list.tmpl Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
watchers.tmpl Fix user-cards format (#24428) 2023-04-29 15:43:01 -04:00