1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-16 07:04:25 +00:00
gitea/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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
code Fix some broken css (#23560) 2023-03-18 17:53:12 -04:00
codemirror Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
console Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
shared Fix long project name display in issue list and in related dropdown (#23653) 2023-03-24 15:11:23 +08:00
standalone Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
themes Update mini-css-extract-plugin, remove postcss (#23520) 2023-03-16 15:06:53 -04:00
admin.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
animations.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
editor.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
explore.css Fix long name ui issues and label ui issue (#23541) 2023-03-18 17:07:59 +01:00
font_i18n.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
index.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
install.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
organization.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
package.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
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 Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
svg.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
tribute.css Replace Less with CSS (#23481) 2023-03-14 22:20:19 -04:00
user.css Remove row clicking from notification table (#22695) 2023-03-25 14:37:34 -05:00