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/web_src/css
Giteabot 37c7780e85
Use mask-based fade-out effect for `.new-menu` (#27181) (#27243)
Backport #27181 by @silverwind

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/)

Co-authored-by: silverwind <me@silverwind.io>
1 year ago
..
chroma Chroma color tweaks (#26978) 1 year ago
codemirror Remove EasyMDE focus outline on text (#25328) 2 years ago
editor Fix z-index on markdown completion (#27237) (#27239) 1 year ago
features Refactor "shortsha" (#26877) 1 year ago
markup Unify `border-radius` behavior (#26770) 2 years ago
modules Change green buttons to primary color (#27099) 1 year ago
repo Display archived labels specially when listing labels (#26820) 1 year ago
shared Improve issue list layout (#26983) 1 year ago
standalone Add toasts to UI (#25449) 2 years ago
themes Use mask-based fade-out effect for `.new-menu` (#27181) (#27243) 1 year ago
actions.css fix issues on action runners page (#27226) (#27233) 1 year ago
admin.css User details page (#26713) 2 years ago
base.css Use mask-based fade-out effect for `.new-menu` (#27181) (#27243) 1 year ago
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 1 year ago
explore.css Introduce `flex-list` & `flex-item` elements for Gitea UI (#25790) 2 years ago
font_i18n.css Fix `@font-face` overrides (#24855) 2 years ago
form.css Unify `border-radius` behavior (#26770) 2 years ago
helpers.css Remove some transition related code (#26755) 2 years ago
home.css avoid hard-coding height in language dropdown menu (#25986) 2 years ago
index.css Refactor project templates (#26448) 2 years ago
install.css Make "install page" respect environment config (#25648) 2 years ago
org.css Remove incorrect CSS helper classes (#26712) 2 years ago
repo.css Fix repo sub menu (#27169) (#27170) 1 year ago
review.css Unify `border-radius` behavior (#26770) 2 years ago
user.css Unify `border-radius` behavior (#26770) 2 years ago