gitea/web_src/css
silverwind 256a1eeb9a
Add <overflow-menu>, rename webcomponents (#29400)
1. Add `<overflow-menu>` web component
2. Rename `<gitea-origin-url>` to `<origin-url>` and make filenames
match.

<img width="439" alt="image"
src="https://github.com/go-gitea/gitea/assets/115237/2fbe4ca4-110b-4ad2-8e17-c1e116ccbd74">

<img width="444" alt="Screenshot 2024-03-02 at 21 36 52"
src="https://github.com/go-gitea/gitea/assets/115237/aa8f786e-dc8c-4030-b12d-7cfb74bdfd6e">

<img width="537" alt="Screenshot 2024-03-03 at 03 05 06"
src="https://github.com/go-gitea/gitea/assets/115237/fddd50aa-adf1-4b4b-bd7f-caf30c7b2245">


![image](https://github.com/go-gitea/gitea/assets/115237/0f43770c-834c-4a05-8e3d-d30eb8653786)


![image](https://github.com/go-gitea/gitea/assets/115237/4b4c6bd7-843f-4f49-808f-6b3aed5e9f9a)

TODO:

- [x] Check if removal of `requestAnimationFrame` is possible to avoid
flash of content. Likely needs a `MutationObserver`.
- [x] Hide tippy when button is removed from DOM.
- [x] ~~Implement right-aligned items
(https://github.com/go-gitea/gitea/pull/28976)~~. Not going to do it.
- [x] Clean up CSS so base element has no background and add background
via tailwind instead.
- [x] Use it for org and user page.

---------

Co-authored-by: Giteabot <teabot@gitea.io>
Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-03-15 02:05:31 +00:00
..
chroma Chroma color tweaks (#26978) 2023-09-08 11:03:01 -05:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Clean up diff header css and reduce global textarea min-height (#29232) 2024-02-18 14:51:21 +00:00
features Refactor "shortsha" (#26877) 2023-09-03 02:58:52 +00:00
markup Make blockquote border size less aggressive (#29124) 2024-02-10 14:55:46 +02:00
modules Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
repo Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
shared Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Style fomantic grey labels (#29458) 2024-03-08 09:42:12 +00:00
actions.css fix issues on action runners page (#27226) 2023-09-24 14:12:21 -04:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
dashboard.css Dashboard context dropdown position fix on landing page in mobile view. (#27047) 2023-09-13 15:15:36 +08:00
explore.css Introduce flex-list & flex-item elements for Gitea UI (#25790) 2023-08-01 00:13:42 +02:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
helpers.css Replace more gt- with tw- (#29678) 2024-03-08 22:02:05 +01:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Add tailwindcss (#29357) 2024-02-25 17:46:46 +01:00
install.css Make "install page" respect environment config (#25648) 2023-07-09 22:43:37 +00:00
org.css Unify organizations header (#29248) 2024-02-23 01:24:57 +01:00
repo.css Add <overflow-menu>, rename webcomponents (#29400) 2024-03-15 02:05:31 +00:00
review.css Don't reload timeline page when (un)resolving or replying conversation (#28654) 2024-01-24 03:26:28 +00:00
user.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00