1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-30 08:27:32 -04:00
gitea/templates/user
wxiaoguang ec8ea58dbe
Rename ".button-link" to ".button-ghost" (#24670)
Mainstream frameworks:

* https://getbootstrap.com/docs/5.0/components/buttons/
* https://primer.style/css/components/buttons#link-button
* https://nextui.org/docs/components/button#light
* https://coreui.io/react/docs/components/button/
* https://design-system.hpe.design/components/button
* https://chakra-ui.com/docs/components/button/usage#button-variants
* https://mui.com/material-ui/react-button/

All (at least most?) of them make "link" button have "underline" when
hovering.

So, a "link" is a "link", when it's hovered, it should have the
underline by default. To be strict, Gitea's "button-link" is not
link-style, so it needs a better name.

Actually, for the "plain" button, there are some different approaches:

* Some frameworks just make "default" button as no style (not feasible
in Gitea/Fomantic UI)
* Primer uses "btn-invisible", which is not a proper word
* NextUI uses "light", which is not a proper word, either ...
* CoreUI / ChakraUI uses "ghost", I think this name is acceptable.


Welcome to suggest better name for such button.

Or, we just call it ".button-plain" or ".button-simple", in fact I
prefer such simple and clear name.
2023-05-12 14:58:44 +00:00
..
auth Improve "new-menu" (#24465) 2023-05-01 12:08:37 -04:00
dashboard Notification list enhancements, fix striped tables on dark theme (#24639) 2023-05-10 21:59:58 +00:00
notification Rename ".button-link" to ".button-ghost" (#24670) 2023-05-12 14:58:44 +00:00
overview Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00
settings Change add_on translation to added_on and include placeholder for the date (#24562) 2023-05-06 21:11:27 +08:00
code.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
heatmap.tmpl Improve template helper (#24417) 2023-04-29 08:02:29 -04:00
profile.tmpl Add Gitea Profile Readmes (#23260) 2023-05-09 05:57:24 +00:00
project.tmpl Add context cache as a request level cache (#22294) 2023-02-15 21:37:34 +08:00