You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
1 year ago
..
chroma Fix dark theme highlight for "NameNamespace" (#26519) 1 year ago
codemirror Remove EasyMDE focus outline on text (#25328) 2 years ago
editor Several fixes for mobile UI (#25634) 2 years ago
features Remove fomantic loader module (#26670) 1 year ago
markup Render plaintext task list items for markdown files (#26186) 2 years ago
modules Use "small-loading-icon" insead of "btn-octicon is-loading" (#26710) 1 year ago
repo Simplify helper CSS classes and avoid abuse (#26728) 1 year ago
shared More improvements for the "flex list" and the dashboard list (#26675) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
themes Replace box-shadow for `floating` dropdown as well (#26581) 1 year ago
actions.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2 years ago
admin.css Fix various line-height styles (#26553) 1 year ago
base.css Use line-height: normal by default (#26635) 1 year ago
dashboard.css More improvements for the "flex list" and the dashboard list (#26675) 1 year ago
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2 years ago
font_i18n.css Fix `@font-face` overrides (#24855) 2 years ago
form.css Remove incorrect CSS helper classes (#26712) 1 year ago
helpers.css Simplify helper CSS classes and avoid abuse (#26728) 1 year ago
home.css avoid hard-coding height in language dropdown menu (#25986) 2 years ago
index.css Refactor project templates (#26448) 2 years ago
install.css Make "install page" respect environment config (#25648) 2 years ago
org.css Remove incorrect CSS helper classes (#26712) 1 year ago
repo.css Fixed text overflow in dropdown menu (#26694) 1 year ago
review.css Make `add line comment` buttons focusable (#25894) 2 years ago
user.css Remove fomantic loader module (#26670) 1 year ago