0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-01 03:32:00 +01:00
gitea/web_src/css
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
..
chroma
codemirror
editor Fix z-index on markdown completion (#27237) 2023-09-25 01:29:36 +02:00
features
markup
modules Change green buttons to primary color (#27099) 2023-09-18 22:05:31 +00:00
repo
shared
standalone
themes Use mask-based fade-out effect for .new-menu (#27181) 2023-09-25 01:03:00 +00:00
actions.css fix issues on action runners page (#27226) 2023-09-24 14:12:21 -04:00
admin.css
base.css Use mask-based fade-out effect for .new-menu (#27181) 2023-09-25 01:03:00 +00:00
dashboard.css
explore.css
font_i18n.css
form.css
helpers.css
home.css
index.css
install.css
org.css
repo.css Fix repo sub menu (#27169) 2023-09-21 21:16:14 +08:00
review.css
user.css