]> source.dussan.org Git - gitea.git/commit
Search and Diff CSS enhancements (#14050)
authorsilverwind <me@silverwind.io>
Sun, 20 Dec 2020 18:00:03 +0000 (19:00 +0100)
committerGitHub <noreply@github.com>
Sun, 20 Dec 2020 18:00:03 +0000 (13:00 -0500)
commitb4f8da533e1771eb1e0d222d8d586b4220447e4c
treec5db36e00ba4cb2383f9773e1e2e5e8950e9fb92
parente0a84d78809f4b19247ec7538e76f73b1f4c499f
Search and Diff CSS enhancements (#14050)

* Search and Diff CSS enhancements

- Use flexbox for language stats
- Improve labels and code boxes on repo and code search
- Use flexbox on diff header and improve suppressed diff text
- Add dedicated color for diff expander

* more diff tweaks, less vertical padding on header

* more minor tweaks

* always show fold icon, image diff improvments

* remove margin

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
14 files changed:
templates/explore/code.tmpl
templates/explore/repo_list.tmpl
templates/repo/diff/box.tmpl
templates/repo/diff/image_diff.tmpl
templates/repo/diff/stats.tmpl
templates/repo/search.tmpl
templates/repo/sub_menu.tmpl
templates/shared/searchbottom.tmpl
web_src/less/_base.less
web_src/less/_explore.less
web_src/less/_repository.less
web_src/less/_review.less
web_src/less/helpers.less
web_src/less/themes/theme-arc-green.less