Browse Source
Search and Diff CSS enhancements (#14050)
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>mj-v1.14.3
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
14 changed files with 129 additions and 153 deletions
-
8templates/explore/code.tmpl
-
8templates/explore/repo_list.tmpl
-
50templates/repo/diff/box.tmpl
-
12templates/repo/diff/image_diff.tmpl
-
2templates/repo/diff/stats.tmpl
-
8templates/repo/search.tmpl
-
19templates/repo/sub_menu.tmpl
-
6templates/shared/searchbottom.tmpl
-
63web_src/less/_base.less
-
15web_src/less/_explore.less
-
45web_src/less/_repository.less
-
9web_src/less/_review.less
-
4web_src/less/helpers.less
-
33web_src/less/themes/theme-arc-green.less
@ -1,4 +1,4 @@ |
|||
{{Add .file.Addition .file.Deletion}} |
|||
<span class="diff-stats-bar poping up ml-2" data-content="{{.root.i18n.Tr "repo.diff.stats_desc_file" (Add .file.Addition .file.Deletion) .file.Addition .file.Deletion | Str2html}}" data-variation="wide"> |
|||
<span class="diff-stats-bar poping up mx-3" data-content="{{.root.i18n.Tr "repo.diff.stats_desc_file" (Add .file.Addition .file.Deletion) .file.Addition .file.Deletion | Str2html}}" data-variation="wide"> |
|||
<div class="diff-stats-add-bar" style="width: {{DiffStatsWidth .file.Addition .file.Deletion}}%"></div> |
|||
</span> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue