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.
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)
10 months ago
..
chroma Fix dark theme highlight for "NameNamespace" (#26519) 11 months ago
codemirror Remove EasyMDE focus outline on text (#25328) 1 year ago
editor Unify `border-radius` behavior (#26770) 10 months ago
features Refactor "shortsha" (#26877) 10 months ago
markup Unify `border-radius` behavior (#26770) 10 months ago
modules Make it posible to customize nav text color via css var (#26807) 10 months ago
repo Remove polluted `.ui.right` (#26825) 10 months ago
shared Minor dashboard tweaks, fix flex-list margins (#26829) 10 months ago
standalone Add toasts to UI (#25449) 1 year ago
themes Replace box-shadow for `floating` dropdown as well (#26581) 11 months ago
actions.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 11 months ago
admin.css User details page (#26713) 10 months ago
base.css Refactor "shortsha" (#26877) 10 months ago
dashboard.css Minor dashboard tweaks, fix flex-list margins (#26829) 10 months ago
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 11 months ago
font_i18n.css Fix `@font-face` overrides (#24855) 1 year ago
form.css Unify `border-radius` behavior (#26770) 10 months ago
helpers.css Remove some transition related code (#26755) 10 months ago
home.css avoid hard-coding height in language dropdown menu (#25986) 12 months ago
index.css Refactor project templates (#26448) 11 months ago
install.css Make "install page" respect environment config (#25648) 1 year ago
org.css Remove incorrect CSS helper classes (#26712) 11 months ago
repo.css Refactor "shortsha" (#26877) 10 months ago
review.css Unify `border-radius` behavior (#26770) 10 months ago
user.css Unify `border-radius` behavior (#26770) 10 months ago