forked from gitea/gitea
1
0
Fork 0
gitea/templates/base
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
..
alert.tmpl Support Issue forms and PR forms (#20987) 2022-09-02 15:58:49 +08:00
alert_details.tmpl Enforce tab indentation in templates (#15289) 2021-04-10 23:46:37 -04:00
delete_modal_actions.tmpl Refactor `i18n` to `locale` (#20153) 2022-06-27 15:58:46 -05:00
disable_form_autofill.tmpl Disable form autofill (#17291) 2021-10-19 01:08:41 +03:00
footer.tmpl Add new captcha: cloudflare turnstile (#22369) 2023-02-05 15:29:03 +08:00
footer_content.tmpl Improve accessibility of navigation bar and footer (#22635) 2023-01-29 09:29:10 +08:00
head.tmpl fix wrong theme class when logged out if default theme is changed (#22408) 2023-01-12 08:52:05 -06:00
head_navbar.tmpl Move helpers to be prefixed with `gt-` (#22879) 2023-02-13 17:59:59 +00:00
head_script.tmpl Remove useless `appVer` from JS `window.config` (#21445) 2022-10-14 01:16:27 +08:00
paginate.tmpl Move helpers to be prefixed with `gt-` (#22879) 2023-02-13 17:59:59 +00:00