gitea/web_src/css
wxiaoguang 576644d815
Simplify helper CSS classes and avoid abuse (#26728)
Removed CSS helper classes (some of them are not useful while some of
them are abused often)

* `gt-db`: in most cases it could be replaced by `gt-df` and the flex
layout should be encouraged. Other cases: either it does need the
`gt-df` (eg: by using `div` directly) or it is an abuse (eg: the warning
message in a form)
* `gt-di`: it doesn't seem useful, or it could be replaced by `gt-dib`
in most cases.
* `gt-dif`: not useful, it could be replaced by `flex-text-inline` or
`gt-df`
* `gt-js`: never used
* All `<i class="icon gt-df gt-ac gt-jc">` could be written as `<i
class="icon">`


## Some UI samples

### Admin Notice


![image](https://github.com/go-gitea/gitea/assets/2114189/d02010d4-dc7d-463f-bc99-dcc9b6e2e2ac)

### Admin Stacktrace


![image](https://github.com/go-gitea/gitea/assets/2114189/4045695c-a8c4-4e37-b720-e77a61b1e965)

### Org Home


![image](https://github.com/go-gitea/gitea/assets/2114189/069f02d0-76ad-4052-8a80-700d7e501d40)

### Org Team Repo


![image](https://github.com/go-gitea/gitea/assets/2114189/dc8d6106-bb6b-4f60-83ac-06cb28df3ab5)

### Release List


![image](https://github.com/go-gitea/gitea/assets/2114189/0845e8a5-d1a9-487a-9d25-3c200ad54c17)


### User Setting Application Token Scope


![image](https://github.com/go-gitea/gitea/assets/2114189/fffbde27-432b-49c6-827e-17b8cd3457ff)

Co-authored-by: Giteabot <teabot@gitea.io>
2023-08-26 01:35:10 +02:00
..
chroma Fix dark theme highlight for "NameNamespace" (#26519) 2023-08-16 00:10:10 +02:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Several fixes for mobile UI (#25634) 2023-07-04 17:45:45 +00:00
features Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
markup Render plaintext task list items for markdown files (#26186) 2023-07-27 14:15:31 +00:00
modules Use "small-loading-icon" insead of "btn-octicon is-loading" (#26710) 2023-08-24 10:21:41 -04:00
repo Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
shared More improvements for the "flex list" and the dashboard list (#26675) 2023-08-23 04:23:30 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Replace box-shadow for floating dropdown as well (#26581) 2023-08-21 12:49:49 +02:00
actions.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
admin.css Fix various line-height styles (#26553) 2023-08-17 21:50:32 +00:00
base.css Use line-height: normal by default (#26635) 2023-08-22 10:19:15 +00:00
dashboard.css More improvements for the "flex list" and the dashboard list (#26675) 2023-08-23 04:23:30 +00:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Remove incorrect CSS helper classes (#26712) 2023-08-25 06:47:59 +00:00
helpers.css Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Refactor project templates (#26448) 2023-08-12 10:30:28 +00:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Remove incorrect CSS helper classes (#26712) 2023-08-25 06:47:59 +00:00
repo.css Fixed text overflow in dropdown menu (#26694) 2023-08-25 11:15:21 +00:00
review.css Make add line comment buttons focusable (#25894) 2023-07-15 11:45:34 +02:00
user.css Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00