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/templates
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.
2 years ago
..
admin Improve queue & process & stacktrace (#24636) 2 years ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Improve template system and panic recovery (#24461) 2 years ago
code Use data-tooltip-content for tippy tooltip (#23649) 2 years ago
custom Add footer extra links template (#9576) 5 years ago
devtest Improve some modal action buttons (#24289) 2 years ago
explore Change `join_on` translation to `joined_on` and include placeholder for the date (#24550) 2 years ago
mail Remove incorrect HTML self close tag (#23748) 2 years ago
org Remove svg.svg class, restore .rss-icon (#24667) 2 years ago
package Add RPM registry (#23380) 2 years ago
projects Update pin and add pin-slash (#24669) 2 years ago
repo Add markdown preview to Submit Review Textarea (#24672) 2 years ago
shared Display owner of a runner as a tooltip instead of static text (#24377) 2 years ago
status Improve template system and panic recovery (#24461) 2 years ago
swagger Filter get single commit (#24613) 2 years ago
user Rename ".button-link" to ".button-ghost" (#24670) 2 years ago
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2 years ago
install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2 years ago