mirror of
1
Fork 0
forgejo/web_src/css
wxiaoguang 12fff36d05
Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626)
Although it seems that some different purposes are mixed in this PR,
however, they are all related, and can be tested together, so I put them
together to save everyone's time.

Diff: `+79 −84`, everything becomes much better.

### Improve the dropdown settings.

Move all fomantic-init related code into our `fomantic.js`

Fine-tune some dropdown global settings, see the comments.

Also help to fix the first problem in #23625 , cc: @yp05327 

The "language" menu has been simplified, and it works with small-height
window better.

### Use SVG instead of `<i class="delete icon">`

It's also done by `$.fn.dropdown.settings.templates.label` , cc:
@silverwind

### Remove incorrect `tabable` CSS class

It doesn't have CSS styles, and it was only in Vue. So it's totally
unnecessary, remove it by the way.

### Improve the Repo Topic Edit form

* Simplify the code
* Add a "Cancel" button
* Align elements

Before:

<details>

![image](https://user-images.githubusercontent.com/2114189/223325782-f09532de-0c38-4742-ba86-ed35cc9a858d.png)

</details>

After:

![image](https://user-images.githubusercontent.com/2114189/226796347-207feb0a-b3cd-4820-8a3e-01930bab1069.png)
2023-03-26 19:31:26 +08:00
..
chroma
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror
console
features Set opaque background on markup and images (#23578) 2023-03-21 17:38:04 -04:00
markup Set opaque background on markup and images (#23578) 2023-03-21 17:38:04 -04:00
modules
shared Fix long project name display in issue list and in related dropdown (#23653) 2023-03-24 15:11:23 +08:00
standalone
themes Update mini-css-extract-plugin, remove postcss (#23520) 2023-03-16 15:06:53 -04:00
admin.css
animations.css
base.css Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
dashboard.css
editor.css
explore.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
font_i18n.css
form.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
helpers.css Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
home.css
index.css
install.css
organization.css
package.css
repository.css Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
review.css Fix diff detail buttons wrapping, use tippy for review box (#23271) 2023-03-17 12:24:00 -05:00
runner.css
svg.css
tribute.css
user.css Remove row clicking from notification table (#22695) 2023-03-25 14:37:34 -05:00