0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-11-24 20:42:48 +01:00
gitea/web_src/css
silverwind dd8dde2be8
replace jquery-minicolors with coloris (#30055)
Get rid of one more jQuery dependant and have a nicer color picker as
well.

Now there is only a single global color picker init because that is all
that's necessary because the elements are present on the page when the
init code runs. The init is slightly weird because the module only takes
a selector instead of DOM elements directly.

The label modals now also perform form validation because previously it
was possible to trigger a 500 error `Color cannot be empty.` by clearing
out the color value on labels.

<img width="867" alt="Screenshot 2024-03-25 at 00 21 05"
src="https://github.com/go-gitea/gitea/assets/115237/71215c39-abb1-4881-b5c1-9954b4a89adb">
<img width="860" alt="Screenshot 2024-03-25 at 00 20 48"
src="https://github.com/go-gitea/gitea/assets/115237/a12cb68f-c38b-4433-ba05-53bbb4b1023e">
2024-03-29 04:00:07 +01: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 replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
markup Make blockquote border size less aggressive (#29124) 2024-02-10 14:55:46 +02:00
modules Fix table alignment classes (#30144) 2024-03-27 21:47:40 +00:00
repo Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-28 00:20:38 +01: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 Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
actions.css Replace 10 more gt- classes with tw- (#29945) 2024-03-22 13:45:10 +00:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
dashboard.css Remove fomantic label module (#30081) 2024-03-27 09:58:02 +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 Unify search boxes (#29530) 2024-03-14 23:24:59 +00:00
helpers.css Migrate font-family to tailwind (#30118) 2024-03-28 08:31:07 +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 label module (#30081) 2024-03-27 09:58:02 +00: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 replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01: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