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
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>
1 year ago
..
admin Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 1 year ago
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2 years ago
base Fix incorrect tailwind migration (#30007) 1 year ago
custom Add footer extra links template (#9576) 5 years ago
devtest Replace 10 more gt- classes with tw- (#29945) 1 year ago
explore Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 1 year ago
mail Remove unnecessary SanitizeHTML from code (#29575) 1 year ago
org Fix incorrect tailwind migration (#30007) 1 year ago
package Replace 10 more gt- classes with tw- (#29945) 1 year ago
projects Fix incorrect tailwind migration (#30007) 1 year ago
repo Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 1 year ago
shared Fix incorrect tailwind migration (#30007) 1 year ago
status Replace 10 more gt- classes with tw- (#29945) 1 year ago
swagger Fix lint-swagger warning (#29787) 1 year ago
user Introduce `.secondary-nav` and handle `.page-content` spacing universally (#29982) 1 year ago
webhook Fix incorrect tailwind migration (#30007) 1 year ago
home.tmpl Remove unnecessary "Str2html" modifier from templates (#29319) 1 year ago
install.tmpl Remove unnecessary "Safe" modifier from templates (#29318) 1 year ago
post-install.tmpl Always use `ctx.Locale.Tr` inside templates (#27231) 2 years ago