1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 16:44:26 +00:00
gitea/templates
zeripath 51383ec084
Move helpers to be prefixed with gt- (#22879)
As discussed in #22847 the helpers in helpers.less need to have a
separate prefix as they are causing conflicts with fomantic styles

This will allow us to have the `.gt-hidden { display:none !important; }`
style that is needed to for the reverted PR.

Of note in doing this I have noticed that there was already a conflict
with at least one chroma style which this PR now avoids.

I've also added in the `gt-hidden` style that matches the tailwind one
and switched the code that needed it to use that.

Signed-off-by: Andrew Thornton <art27@cantab.net>

---------

Signed-off-by: Andrew Thornton <art27@cantab.net>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-02-13 17:59:59 +00:00
..
admin Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
api/packages/pypi Add Package Registry (#16510) 2022-03-30 16:42:47 +08:00
base Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
code Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
mail Use link in UI which returned a relative url but not html_url which contains an absolute url (#21986) 2023-02-06 12:09:18 -06:00
org Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
package Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
projects Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
repo Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
shared Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
status Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
swagger Pull Requests: setting to allow edits by maintainers by default, tweak UI (#22862) 2023-02-13 14:09:52 +08:00
user Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
home.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00
install.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
post-install.tmpl Add main landmark to templates and adjust titles (#22670) 2023-02-01 22:56:10 +00:00