1
1
mirror of https://github.com/go-gitea/gitea synced 2024-12-23 00:54:28 +00:00
gitea/web_src/css
silverwind 564102ce89
Rework and fix stopwatch (#30732)
Fixes https://github.com/go-gitea/gitea/issues/30721 and overhauls the
stopwatch. Time is now shown inside the "dot" icon and on both mobile
and desktop. All rendering is now done by `<relative-time>`, the
`pretty-ms` dependency is dropped.

Desktop:
<img width="557" alt="Screenshot 2024-04-29 at 22 33 27"
src="https://github.com/go-gitea/gitea/assets/115237/3a46cdbf-6af2-4bf9-b07f-021348badaac">

Mobile:
<img width="640" alt="Screenshot 2024-04-29 at 22 34 19"
src="https://github.com/go-gitea/gitea/assets/115237/8a2beea7-bd5d-473f-8fff-66f63fd50877">

Note for tippy:
Previously, tippy instances defaulted to "menu" theme, but that theme is
really only meant for `.ui.menu`, so it was not optimal for the
stopwatch popover.

This introduces a unopinionated `default` theme that has no padding and
should be suitable for all content. I reviewed all existing uses and
explicitely set the desired `theme` on all of them.
2024-04-30 14:52:46 +00:00
..
chroma Various code view improvements (#30014) 2024-03-24 12:14:03 +00: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 Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
markup Markup color and font size fixes (#30282) 2024-04-06 23:06:27 +02:00
modules Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
repo Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
shared Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Diff color enhancements, add line number background (#30670) 2024-04-26 19:37:21 +00:00
actions.css Fix various overflows on actions view (#30344) 2024-04-15 19:46:52 +00:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Right align the "Settings" menu item in overflow-menu (#30764) 2024-04-30 04:26:13 +00:00
dashboard.css Pulse page improvements (#30149) 2024-04-14 09:21:16 +00:00
explore.css Introduce .secondary-nav and handle .page-content spacing universally (#29982) 2024-03-22 23:54:09 +00:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Expose fuzzy search for issues/pulls (#29701) 2024-04-18 00:16:52 +00:00
helpers.css Remove fomantic button module (#30475) 2024-04-14 17:53:52 +00:00
home.css avoid hard-coding height in language dropdown menu (#25986) 2023-07-19 23:30:57 +02:00
index.css Remove fomantic dimmer module (#30723) 2024-04-29 14:49:50 +00:00
install.css Fix install page checkboxes and dropdown width (#30526) 2024-04-17 15:30:46 +08:00
org.css Remove fomantic checkbox module (#30162) 2024-03-29 04:56:01 +00:00
repo.css Fix all rounded borders, change affected tab menus to pills (#30707) 2024-04-29 20:53:15 +00:00
review.css Fix: The interface is broken when modifying code comments under mobile devices (#30125) 2024-03-27 08:13:12 +00:00
user.css Introduce .secondary-nav and handle .page-content spacing universally (#29982) 2024-03-22 23:54:09 +00:00