From 295fc99607915d85141fd16099d2d9f59a7ee977 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 29 Nov 2020 16:52:11 +0100 Subject: [PATCH] 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 --- templates/repo/branch_dropdown.tmpl | 2 +- templates/repo/home.tmpl | 6 +- templates/repo/issue/list.tmpl | 22 +----- templates/repo/issue/milestone_issues.tmpl | 22 +----- templates/repo/issue/milestones.tmpl | 10 +-- templates/repo/issue/openclose.tmpl | 10 +++ templates/repo/projects/list.tmpl | 6 +- templates/repo/settings/navbar.tmpl | 2 +- templates/shared/issuelist.tmpl | 9 ++- templates/user/auth/signin_navbar.tmpl | 2 + templates/user/dashboard/issues.tmpl | 10 +-- templates/user/dashboard/milestones.tmpl | 10 +-- web_src/less/_base.less | 33 +++++++-- web_src/less/_markdown.less | 38 +++++----- web_src/less/_repository.less | 12 +++- web_src/less/themes/theme-arc-green.less | 83 ++++++++-------------- 16 files changed, 129 insertions(+), 148 deletions(-) create mode 100644 templates/repo/issue/openclose.tmpl diff --git a/templates/repo/branch_dropdown.tmpl b/templates/repo/branch_dropdown.tmpl index a7eafa3874..81229c0ef5 100644 --- a/templates/repo/branch_dropdown.tmpl +++ b/templates/repo/branch_dropdown.tmpl @@ -1,4 +1,4 @@ -
+