diff options
author | silverwind <me@silverwind.io> | 2020-11-01 21:04:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-01 15:04:26 -0500 |
commit | 4617bb689b217ae039297ec16124e73b81487b15 (patch) | |
tree | 0320ce0f74a2e70da28b9d95d1e92a9602b8210b /templates/repo/diff/section_unified.tmpl | |
parent | 543697e61e4881256ab56a0fd26eed9765eac1de (diff) | |
download | gitea-4617bb689b217ae039297ec16124e73b81487b15.tar.gz gitea-4617bb689b217ae039297ec16124e73b81487b15.zip |
Misc UI fixes, add secondary color (#13378)
* Misc UI fixes, add secondary color
- Add secondary color, primarily used in arc-green currently
- Convert icons on release page to SVG
- Improve resolved conversation placeholder
- Diff fixes on arc-green
- Misc color tweaks
* fix comment header, adjust arc-green dropzone
* label margin, sidebar margin
* flexbox commits table and add primary button styles
* tooltip styles
* file header fixes
Co-authored-by: Lauris BH <lauris@nix.lv>
Co-authored-by: zeripath <art27@cantab.net>
Diffstat (limited to 'templates/repo/diff/section_unified.tmpl')
-rw-r--r-- | templates/repo/diff/section_unified.tmpl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/diff/section_unified.tmpl b/templates/repo/diff/section_unified.tmpl index 1a461c7ad7..3b24cd453c 100644 --- a/templates/repo/diff/section_unified.tmpl +++ b/templates/repo/diff/section_unified.tmpl @@ -40,13 +40,13 @@ <td colspan="2" class="lines-num"></td> <td class="add-comment-left add-comment-right" colspan="2"> {{if $resolved}} - <div class = "ui attached header"> + <div class="ui attached header resolved-placeholder"> <span class="ui grey text left"><b>{{$resolveDoer.Name}}</b> {{$.root.i18n.Tr "repo.issues.review.resolved_by"}}</span> - <button id="show-outdated-{{(index $line.Comments 0).ID}}" data-comment="{{(index $line.Comments 0).ID}}" class="ui compact right labeled button show-outdated"> + <button id="show-outdated-{{(index $line.Comments 0).ID}}" data-comment="{{(index $line.Comments 0).ID}}" class="ui tiny right labeled button show-outdated"> {{svg "octicon-unfold"}} {{$.root.i18n.Tr "repo.issues.review.show_resolved"}} </button> - <button id="hide-outdated-{{(index $line.Comments 0).ID}}" data-comment="{{(index $line.Comments 0).ID}}" class="hide ui compact right labeled button hide-outdated"> + <button id="hide-outdated-{{(index $line.Comments 0).ID}}" data-comment="{{(index $line.Comments 0).ID}}" class="hide ui tiny right labeled button hide-outdated"> {{svg "octicon-fold"}} {{$.root.i18n.Tr "repo.issues.review.hide_resolved"}} </button> |