Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-12-14 07:21:58 +01:00
forgejo/web_src/css
wxiaoguang fba7150ca9
Refactor "shortsha" (#26877)
The old code used complex `if` blocks and strange HTML layouts.

<details>


![image](https://github.com/go-gitea/gitea/assets/2114189/7fbee2b8-d150-4e6b-b67e-83400fa290eb)

</details>

This PR refactors the template code and remove legacy CSS styles. The UI
doesn't change much.



![image](https://github.com/go-gitea/gitea/assets/2114189/3e195df9-0ab5-4182-bcb2-bb20cad823f2)


![image](https://github.com/go-gitea/gitea/assets/2114189/f707a49f-be41-4dfe-871f-2869f2230380)
2023-09-03 02:58:52 +00: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 Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
modules Make it posible to customize nav text color via css var (#26807) 2023-09-02 05:10:41 +02:00
repo Remove polluted .ui.right (#26825) 2023-08-31 02:29:59 +00:00
shared Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +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 User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
dashboard.css Minor dashboard tweaks, fix flex-list margins (#26829) 2023-08-31 21:28:45 +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 Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
helpers.css Remove some transition related code (#26755) 2023-08-28 01:26:23 +00: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 Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
review.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
user.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00