You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitea/web_src/less
Nathaniel Sabanski fb1a2a13f0
Preview images for Issue cards in Project Board view (#22112)
Original Issue: https://github.com/go-gitea/gitea/issues/22102

This addition would be a big benefit for design and art teams using the
issue tracking.

The preview will be the latest "image type" attachments on an issue-
simple, and allows for automatic updates of the cover image as issue
progress is made!

This would make Gitea competitive with Trello... wouldn't it be amazing
to say goodbye to Atlassian products? Ha.

First image is the most recent, the SQL will fetch up to 5 latest images
(URL string).

All images supported by browsers plus upcoming formats: *.avif *.bmp
*.gif *.jpg *.jpeg *.jxl *.png *.svg *.webp

The CSS will try to center-align images until it cannot, then it will
left align with overflow hidden. Single images get to be slightly
larger!

Tested so far on: Chrome, Firefox, Android Chrome, Android Firefox.

Current revision with light and dark themes:

![image](https://user-images.githubusercontent.com/24665/207066878-58e6bf73-0c93-4caa-8d40-38f4432b3578.png)


![image](https://user-images.githubusercontent.com/24665/207066555-293f65c3-e706-4888-8516-de8ec632d638.png)

---------

Co-authored-by: Jason Song <i@wolfogre.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: delvh <dev.lh@web.de>
2 years ago
..
chroma Improve arc-green code theme (#21039) 3 years ago
code Fix and restyle menu on code line (#15913) 4 years ago
codemirror Support Issue forms and PR forms (#20987) 3 years ago
console Add support for rendering terminal output with colors (#19497) 3 years ago
features Preview images for Issue cards in Project Board view (#22112) 2 years ago
markup Load asciicast css async (#22502) 2 years ago
modules Use separate class for tippy targets (#20742) 3 years ago
shared Timeline and color tweaks (#21799) 2 years ago
standalone Update JS dependencies, fix lint (#18389) 3 years ago
themes Release and Tag List tweaks (#21712) 2 years ago
_actions.less Implement actions (#21937) 2 years ago
_admin.less Webhook list enhancements (#21893) 2 years ago
_base.less Make issue title edit buttons focusable and fix incorrect ajax requests (#22807) 2 years ago
_dashboard.less Fix margin and alignment in dashboard repolist (#22120) 2 years ago
_editor.less Extract CodeMirror styles (#17960) 3 years ago
_explore.less improve explore relevancy note (#22421) 2 years ago
_font_i18n.less Prefer "Hiragino Kaku Gothic ProN" in system-ui-ja (#17954) 3 years ago
_form.less Add new captcha: cloudflare turnstile (#22369) 2 years ago
_home.less fix media query edge case (#13546) 4 years ago
_install.less Move all remaining colors into CSS variables (#21903) 2 years ago
_organization.less Add team member invite by email (#20307) 2 years ago
_package.less Fix empty container layer history and UI (#21251) 3 years ago
_repository.less Implement actions (#21937) 2 years ago
_review.less Improve code comment review on mobile (#21461) 2 years ago
_runner.less Implement actions (#21937) 2 years ago
_svg.less Update JS dependencies, fix lint (#18389) 3 years ago
_tribute.less CSS color enhancements (#21534) 2 years ago
_user.less Add badge capabilities to users (#20607) 3 years ago
animations.less Improvements for Content Copy (#21842) 2 years ago
helpers.less Improve notification and stopwatch styles (#22169) 2 years ago
index.less Implement actions (#21937) 2 years ago
variables.less fix media query edge case (#13546) 4 years ago