0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-12-24 11:42:05 +01:00
silverwind eddf875992
Remove fomantic form module (#36222)
- Replace fomantic form CSS with custom module
- Moved code in `form.css` to `modules/form.css`, removed around 70% of
the previous module.
- Moved captcha styles previously in `form.css` to its own file.

There is probably more unused CSS, like form error state colors which to
my knowledge is not used anywhere, but I'm not sure about that one so I
kept it.

One notable change is the removal of `type` combinator here, which
lowers the selector specificity and I noticed one issue where selector
`.ui.search > .prompt` was winning, so I added a workaround for that
until the `search` module can be removed as well.

```css
.ui.form .fields.error .field input:not([type])
.ui.form .fields.error .field input[type="date"]
```

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: Giteabot <teabot@gitea.io>
2025-12-23 18:21:47 +01:00
..
2025-06-21 19:20:51 +08:00
2025-07-08 08:59:31 +00:00
2025-08-01 07:24:26 +00:00
2025-08-01 07:24:26 +00:00
2025-12-23 18:21:47 +01:00
2025-07-09 16:46:51 +00:00
2025-07-04 13:03:22 +02:00
2025-12-04 19:47:23 +01:00
2025-03-11 12:44:52 +08:00
2025-04-19 08:43:22 +00:00