1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-04 14:46:57 -05:00
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
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
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
font_i18n.css
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
index.css Add tailwindcss (#29357) 2024-02-25 17:46:46 +01:00
install.css
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