gitea/templates/admin
silverwind 3ccda41a53
Introduce .secondary-nav and handle .page-content spacing universally (#29982)
Fixes: https://github.com/go-gitea/gitea/issues/29981. Introduce
`.secondary-nav` as a universal way for styling and margin adjustments
inside `.page-content`.

If the first child of `.page-content` is `.secondary-nav`, we add margin
below it, otherwise we add padding to the first child. Notable changes:

- `--color-header-wrapper` is replaced with `--color-secondary-nav-bg`.
- `navbar` class is removed.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-22 23:54:09 +00:00
..
applications Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
auth Update register application URL for GitLab (#29959) 2024-03-21 15:48:13 +00:00
emails Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
org Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
packages Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
repo Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
runners Move secrets and runners settings to actions settings (#24200) 2023-04-27 20:08:47 -04:00
user Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
actions.tmpl Added instance-level variables (#28115) 2023-12-25 07:28:59 +00:00
config_settings.tmpl Customizable "Open with" applications for repository clone (#29320) 2024-02-24 13:12:17 +00:00
config.tmpl Customizable "Open with" applications for repository clone (#29320) 2024-02-24 13:12:17 +00:00
cron.tmpl Fix more "locale" usages (#27259) 2023-09-25 20:42:40 +08:00
dashboard.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 2024-02-22 18:05:47 +00:00
hook_new.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
hooks.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_footer.tmpl Change to vertical navbar layout for secondary navbar for repo/user/admin settings (#24246) 2023-04-23 18:21:21 +08:00
layout_head.tmpl Introduce .secondary-nav and handle .page-content spacing universally (#29982) 2024-03-22 23:54:09 +00:00
navbar.tmpl Customizable "Open with" applications for repository clone (#29320) 2024-02-24 13:12:17 +00:00
notice.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
queue_manage.tmpl Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
queue.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
self_check.tmpl Use tailwind instead of gt-[wh]- helper classes (#29423) 2024-02-27 14:31:41 +00:00
stacktrace-row.tmpl Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
stacktrace.tmpl Fix incorrect tailwind migration (#30007) 2024-03-22 20:51:29 +01:00
stats.tmpl Always use ctx.Locale.Tr inside templates (#27231) 2023-09-25 08:56:50 +00:00
system_status.tmpl Auto-update the system status in admin dashboard (#29163) 2024-02-16 02:52:25 +00:00