1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/web_src/css/features
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
..
codeeditor.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
colorpicker.css replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
console.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
dropzone.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00
gitgraph.css Fix various loading states, remove .loading class (#29920) 2024-03-21 16:31:15 +00:00
heatmap.css Remove fomantic loader module (#26670) 2023-08-25 16:03:14 +00:00
imagediff.css Improve Image Diff UI (#26696) 2023-08-24 12:13:23 +00:00
projects.css replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
tribute.css Unify border-radius behavior (#26770) 2023-08-28 19:43:59 +00:00