From c5020cff3df0a7d77ff7a453a2007edc7e5c3667 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sat, 24 Oct 2020 21:15:29 +0200 Subject: [PATCH] Various UI and arc-green fixes (#13291) - introduce variable for border-radius value - fix some white borders in arc-green - add text selection and placeholder in arc-green - tweak branch list footer - more things I forgot Co-authored-by: Lauris BH Co-authored-by: techknowlogick Co-authored-by: zeripath --- templates/repo/branch/list.tmpl | 2 +- templates/repo/sub_menu.tmpl | 2 +- web_src/less/_base.less | 15 ++++++- web_src/less/_repository.less | 28 +++++++++--- web_src/less/themes/theme-arc-green.less | 54 +++++++++++++++++++++--- 5 files changed, 87 insertions(+), 14 deletions(-) diff --git a/templates/repo/branch/list.tmpl b/templates/repo/branch/list.tmpl index 4f184397d3..58cbe10ca7 100644 --- a/templates/repo/branch/list.tmpl +++ b/templates/repo/branch/list.tmpl @@ -19,7 +19,7 @@ {{svg "octicon-shield-lock"}} {{end}} {{$.DefaultBranch}} -

{{svg "octicon-git-commit"}}{{ShortSha .Commit.ID.String}} · {{RenderCommitMessage .Commit.CommitMessage $.RepoLink $.Repository.ComposeMetas}} · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}

+

{{svg "octicon-git-commit" 16 "mr-2"}}{{ShortSha .Commit.ID.String}} · {{RenderCommitMessage .Commit.CommitMessage $.RepoLink $.Repository.ComposeMetas}} · {{$.i18n.Tr "org.repo_updated"}} {{TimeSince .Commit.Committer.When $.i18n.Lang}}

{{end}} {{end}} diff --git a/templates/repo/sub_menu.tmpl b/templates/repo/sub_menu.tmpl index 8668ab240f..73d6409a90 100644 --- a/templates/repo/sub_menu.tmpl +++ b/templates/repo/sub_menu.tmpl @@ -1,4 +1,4 @@ -
+