summaryrefslogtreecommitdiffstats
path: root/templates/repo/projects
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2020-11-29 16:52:11 +0100
committerGitHub <noreply@github.com>2020-11-29 17:52:11 +0200
commit295fc99607915d85141fd16099d2d9f59a7ee977 (patch)
tree89eec5bc2e3fbdd28be4fa63065d2022894dc7f1 /templates/repo/projects
parente00a3554279d314a4dab4ce11bdd86707201d0d2 (diff)
downloadgitea-295fc99607915d85141fd16099d2d9f59a7ee977.tar.gz
gitea-295fc99607915d85141fd16099d2d9f59a7ee977.zip
Markdown and Repo header tweaks (#13744)
* Markdown and Repo header tweaks - Use CSS vars for all markdown colors - Tweak repo header, removing double borders and adjust sizes - Use menu instead of buttons for issue open/close switcher - Add emoji inversion for select emoji glyphs in arc-green - Use border over box-shadow for all buttons - Add spacing element to login form without openid * repo settings navbar fix * use shared template in more places and adjust dashboard * fix remaining open/close combos
Diffstat (limited to 'templates/repo/projects')
-rw-r--r--templates/repo/projects/list.tmpl6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/repo/projects/list.tmpl b/templates/repo/projects/list.tmpl
index c7ee628316..838bbdf1c1 100644
--- a/templates/repo/projects/list.tmpl
+++ b/templates/repo/projects/list.tmpl
@@ -12,12 +12,12 @@
</div>
<div class="ui divider"></div>
{{template "base/alert" .}}
- <div class="ui tiny basic buttons">
- <a class="ui {{if not .IsShowClosed}}green active{{end}} basic button" href="{{.RepoLink}}/projects?state=open">
+ <div class="ui compact tiny menu">
+ <a class="item{{if not .IsShowClosed}} active{{end}}" href="{{.RepoLink}}/projects?state=open">
{{svg "octicon-project"}}
{{.i18n.Tr "repo.issues.open_tab" .OpenCount}}
</a>
- <a class="ui {{if .IsShowClosed}}red active{{end}} basic button" href="{{.RepoLink}}/projects?state=closed">
+ <a class="item{{if .IsShowClosed}} active{{end}}" href="{{.RepoLink}}/projects?state=closed">
{{svg "octicon-check"}}
{{.i18n.Tr "repo.milestones.close_tab" .ClosedCount}}
</a>