1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-12-22 12:54:53 -05:00
forgejo/web_src/css
silverwind 2e542f17a3
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">

(cherry picked from commit dd8dde2be89921b2b1497c6cc5eafdde213429cb)
2024-04-07 11:02:33 +02:00
..
chroma [Port] gitea#30014: Various code view improvements 2024-03-28 16:43:14 +01: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-19 22:58:33 +01:00
features replace jquery-minicolors with coloris (#30055) 2024-04-07 11:02:33 +02:00
markup Add setting to restrict count of lines being displayed & only highlight those lines 2024-03-25 16:05:01 +01:00
modules Fix selector inner radius 2024-03-30 21:04:48 +05:00
repo [FEAT] Visual separation between types of attachments 2024-04-02 12:30:47 +02:00
shared Migrate gt-hidden to tw-hidden (#30046) 2024-03-30 07:17:29 +01:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Merge pull request 'Better color for labels/counters' (#2935) from 0ko/forgejo:glorious-label-color into forgejo 2024-04-03 20:03:54 +00:00
actions.css Replace 10 more gt- classes with tw- (#29945) 2024-03-26 19:04:27 +01:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css replace jquery-minicolors with coloris (#30055) 2024-04-07 11:02:33 +02:00
dashboard.css Remove fomantic label module (#30081) 2024-03-30 07:17:31 +01:00
explore.css [Port] gitea#29982 Introduce .secondary-nav and handle .page-content spacing universally 2024-03-28 16:43:09 +01:00
font_i18n.css Fix @font-face overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Merge pull request '[PORT] Unify search boxes (gitea#29530)' (#2688) from snematoda/port-29530 into forgejo 2024-03-24 05:33:13 +00:00
helpers.css Migrate font-family to tailwind (#30118) 2024-03-30 07:17:32 +01:00
home.css [BRANDING] Add Forgejo light, dark, and auto themes 2024-02-05 16:02:13 +01:00
index.css Merge pull request 'Render inline file permalinks' (#2669) from Mai-Lapyst/forgejo:markup-add-filepreview into forgejo 2024-04-01 13:57:01 +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-26 22:30:26 +01:00
repo.css replace jquery-minicolors with coloris (#30055) 2024-04-07 11:02:33 +02:00
review.css Fix: The interface is broken when modifying code comments under mobile devices (#30125) 2024-03-30 07:17:31 +01:00
user.css set width on pronoun dropdown and custom input 2024-04-03 15:12:30 -05:00