1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-05 09:44:26 +00:00
gitea/web_src/css
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
..
chroma Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
console Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
editor Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
features Replace remaining fontawesome dropdown icons with SVG (#24455) 2023-05-01 05:35:02 -04:00
markup Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
modules Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
repository Improve issue list filter (#24425) 2023-04-30 11:51:20 -04:00
shared Modify width of ui container, fine tune css for settings pages and org header (#24315) 2023-04-26 11:59:08 -04:00
standalone Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
themes CSS color tweaks (#23828) 2023-03-31 16:24:47 +08:00
admin.css Fix config list overflow and layout (#24312) 2023-04-30 13:32:07 -04:00
animations.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
base.css Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
dashboard.css Vertical widths of containers removed (#24184) 2023-04-19 12:13:00 -04:00
editor.css Remove fomantic breadcrumb module (#24463) 2023-05-01 11:40:02 -04:00
explore.css Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
font_i18n.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
form.css Replace tribute with text-expander-element for textarea (#23985) 2023-04-09 12:18:45 -04:00
helpers.css 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.css Start cleaning the messy ".ui.left / .ui.right", improve label list page, fix stackable menu (#24393) 2023-04-29 07:35:59 -04:00
index.css Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
install.css Add --font-weight-bold and set previous bold to 601 (#24307) 2023-04-24 13:46:00 -04:00
organization.css Modify width of ui container, fine tune css for settings pages and org header (#24315) 2023-04-26 11:59:08 -04:00
repository.css Clean up polluted styles and remove dead CSS code (#24497) 2023-05-03 14:32:10 -04:00
review.css Expand/Collapse all changed files (#23639) 2023-04-09 21:11:02 +08:00
runner.css Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
svg.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
tribute.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
user.css Fix layouts of admin table / adapt repo / email test (#24370) 2023-04-28 09:48:41 +08:00