forgejo/web_src/js/components
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
..
.eslintrc.yaml Add eslint-plugin-vue-scoped-css (#26720) 2023-08-25 13:47:27 +00:00
ActionRunStatus.vue Enable vue/html-closing-bracket-spacing eslint rule (#24987) 2023-05-29 16:58:53 +00:00
ActivityHeatmap.vue Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
ContextPopup.vue Always pass 6-digit hex color to monaco (#25780) 2023-07-09 12:17:22 +02:00
DashboardRepoList.vue Simplify helper CSS classes and avoid abuse (#26728) 2023-08-26 01:35:10 +02:00
DiffCommitSelector.vue Fix tooltip of commit select button (#26472) 2023-08-14 02:16:40 +00:00
DiffFileList.vue Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
DiffFileTree.vue Rewrite the DiffFileTreeItem and fix misalignment (#26565) 2023-08-18 19:55:56 +00:00
DiffFileTreeItem.vue Rewrite the DiffFileTreeItem and fix misalignment (#26565) 2023-08-18 19:55:56 +00:00
PullRequestMergeForm.vue Remove more unused Fomantic variants (#25292) 2023-06-17 08:15:33 +00:00
RepoActionView.vue Add eslint-plugin-vue-scoped-css (#26720) 2023-08-25 13:47:27 +00:00
RepoActivityTopAuthors.vue Refactor dashboard repo list to Vue SFC (#23405) 2023-03-14 12:09:06 +08:00
RepoBranchTagSelector.vue Fix doubled box-shadow in branch dropdown menu (#26678) 2023-08-23 08:13:04 +00:00
ScopedAccessTokenSelector.vue Change access token UI to select dropdowns (#25109) 2023-06-13 15:55:48 +08:00