]> source.dussan.org Git - gitea.git/commit
Remove fomantic checkbox module (#30162) (#30168)
authorGiteabot <teabot@gitea.io>
Fri, 29 Mar 2024 17:44:22 +0000 (01:44 +0800)
committerGitHub <noreply@github.com>
Fri, 29 Mar 2024 17:44:22 +0000 (17:44 +0000)
commit591759fdfae43bc87323b644919cc9581bff1d81
treeb5b937f0b6712419d4ba85ac3123799457e62691
parent05766d065bf84fa7fe21eb853eecaae796ac2a43
Remove fomantic checkbox module (#30162) (#30168)

Backport #30162 by @silverwind

CSS is pretty slim already and the `.ui.toggle.checkbox` sliders on
admin page also still work. The only necessary JS is the one that links
`input` and `label` so that it can be toggled via label. All checkboxes
except the markdown ones render at `--checkbox-size: 16px` now.

<img width="174" alt="Screenshot 2024-03-28 at 22 15 10"
src="https://github.com/go-gitea/gitea/assets/115237/3455c1bb-166b-47e4-9847-2d20dd1f04db">

<img width="499" alt="Screenshot 2024-03-28 at 21 00 07"
src="https://github.com/go-gitea/gitea/assets/115237/412be2b3-d5a0-478a-b17b-43e6bc12e8ce">

<img width="83" alt="Screenshot 2024-03-28 at 22 14 34"
src="https://github.com/go-gitea/gitea/assets/115237/d8c89838-a420-4723-8c49-89405bb39474">

Co-authored-by: silverwind <me@silverwind.io>
Co-authored-by: delvh <dev.lh@web.de>
18 files changed:
templates/admin/config_settings.tmpl
templates/repo/issue/view_content/sidebar.tmpl
web_src/css/base.css
web_src/css/form.css
web_src/css/index.css
web_src/css/modules/animations.css
web_src/css/modules/checkbox.css [new file with mode: 0644]
web_src/css/org.css
web_src/css/repo/issue-list.css
web_src/fomantic/build/semantic.css
web_src/fomantic/build/semantic.js
web_src/fomantic/semantic.json
web_src/js/features/admin/common.js
web_src/js/features/common-global.js
web_src/js/features/repo-issue.js
web_src/js/modules/fomantic.js
web_src/js/modules/fomantic/aria.md
web_src/js/modules/fomantic/checkbox.js