Forgejo/templates
silverwind 6af34c09a7
Use mask-based fade-out effect for .new-menu (#27181)
The `.new-menu` was using a pseudo-element based fade-out effect.
Replace this with a more modern mask-based effect which in this case
required a child element to avoid fading out the background as well, so
I applied it to child `new-menu-inner` which was present on all these
menus except explore where I added it.

There is no visual difference except that the items on the explore page
have no `gap` between them any longer, making it consistent with other
menus. Before and after:

<img width="221" alt="Screenshot 2023-09-21 at 21 13 19"
src="https://github.com/go-gitea/gitea/assets/115237/b4a38ce2-cee1-4c54-84a5-e1d0bfd79e29">
<img width="222" alt="Screenshot 2023-09-21 at 21 32 36"
src="https://github.com/go-gitea/gitea/assets/115237/bb6b1335-d935-4ad4-bb85-3b0fc3027c2b">

Also, this cleans up the related CSS vars:

- `--color-header-wrapper-transparent` is removed, no longer needed
- `--color-header-wrapper` is defined in base theme as well, was
previously unset and therefor transparent.

[no whitespace
diff](https://github.com/go-gitea/gitea/pull/27181/files?diff=unified&w=1)
[demo of mask fade](https://jsfiddle.net/silverwind/tsfadb3u/)
2023-09-25 01:03:00 +00:00
..
admin cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
code cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
devtest cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
explore Use mask-based fade-out effect for .new-menu (#27181) 2023-09-25 01:03:00 +00:00
mail Update team invitation email link (#26550) 2023-08-31 16:26:13 +00:00
org Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
package cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
projects cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
repo cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
shared cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
status Replace fomantic divider module with our own (#25539) 2023-06-29 20:24:22 +08:00
swagger Fix PushEvent NullPointerException jenkinsci/github-plugin (#27203) 2023-09-24 19:02:47 +00:00
user cleanup locale function usage (#27227) 2023-09-24 20:31:58 +00:00
webhook Extract common code to new template (#26933) 2023-09-06 10:11:06 +00:00
home.tmpl Improve home page template, fix Sort dropdown menu flash (#23856) 2023-04-01 13:47:54 +08:00
install.tmpl Use docs.gitea.com instead of docs.gitea.io (#26739) 2023-08-27 11:59:12 +00:00
post-install.tmpl Remove incorrect element ID on "post-install" page (#25104) 2023-06-08 12:23:39 +08:00