From 0c33882a95c99c5211e3ace0256a7730b869580a Mon Sep 17 00:00:00 2001 From: jaqra Date: Sun, 17 Nov 2019 13:09:37 +0300 Subject: [PATCH 1/2] Change label colors --- templates/admin/org/list.tmpl | 2 +- templates/admin/user/list.tmpl | 2 +- templates/repo/commits_table.tmpl | 2 +- templates/repo/issue/labels.tmpl | 2 +- templates/repo/issue/milestone_issues.tmpl | 2 +- templates/user/settings/organization.tmpl | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/templates/admin/org/list.tmpl b/templates/admin/org/list.tmpl index e9dbc7f8777e1..26f91faa74302 100644 --- a/templates/admin/org/list.tmpl +++ b/templates/admin/org/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})

diff --git a/templates/admin/user/list.tmpl b/templates/admin/user/list.tmpl index d590526ca32d0..538f9b7fed323 100644 --- a/templates/admin/user/list.tmpl +++ b/templates/admin/user/list.tmpl @@ -6,7 +6,7 @@

{{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})

diff --git a/templates/repo/commits_table.tmpl b/templates/repo/commits_table.tmpl index 93c321cbe7b78..0e53936f0aefe 100644 --- a/templates/repo/commits_table.tmpl +++ b/templates/repo/commits_table.tmpl @@ -18,7 +18,7 @@
- + {{else if .IsDiffCompare}} {{if not .BaseIsCommit}}{{if .BaseIsBranch}}{{else if .BaseIsTag}}{{end}}{{.BaseBranch}}{{else}}{{ShortSha .BaseBranch}}{{end}} diff --git a/templates/repo/issue/labels.tmpl b/templates/repo/issue/labels.tmpl index 956fc955a0343..2bb6adecf4280 100644 --- a/templates/repo/issue/labels.tmpl +++ b/templates/repo/issue/labels.tmpl @@ -57,7 +57,7 @@
{{template "base/alert" .}} -
{{.i18n.Tr "repo.issues.label_count" .NumLabels}}
+
{{.i18n.Tr "repo.issues.label_count" .NumLabels}}
{{if and (or $.CanWriteIssues $.CanWritePulls) (eq .NumLabels 0) (not $.Repository.IsArchived) }}
diff --git a/templates/repo/issue/milestone_issues.tmpl b/templates/repo/issue/milestone_issues.tmpl index b347ad90e4cd6..ad3f0b5c8625b 100644 --- a/templates/repo/issue/milestone_issues.tmpl +++ b/templates/repo/issue/milestone_issues.tmpl @@ -185,7 +185,7 @@
{{end}} -
#{{.Index}}
+
#{{.Index}}
{{.Title}} {{range .Labels}} diff --git a/templates/user/settings/organization.tmpl b/templates/user/settings/organization.tmpl index de541dcd17497..e746400a8ffe2 100644 --- a/templates/user/settings/organization.tmpl +++ b/templates/user/settings/organization.tmpl @@ -7,7 +7,7 @@ {{.i18n.Tr "settings.orgs"}} {{if .SignedUser.CanCreateOrganization}} {{end}} From 071cd6fd6e2fd465d879ff8ce9d4d9cdb1c25d38 Mon Sep 17 00:00:00 2001 From: jaqra Date: Wed, 27 Nov 2019 00:18:13 +0300 Subject: [PATCH 2/2] Override black basic label background for green theme on label list --- public/css/theme-arc-green.css | 1 + web_src/less/themes/arc-green.less | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/public/css/theme-arc-green.css b/public/css/theme-arc-green.css index d4d71ff086e6b..53aa58b8b39c7 100644 --- a/public/css/theme-arc-green.css +++ b/public/css/theme-arc-green.css @@ -208,6 +208,7 @@ input{background:#2e323e} .ui.blue.button:focus,.ui.blue.buttons .button:focus{background-color:#a27558} .ui.basic.blue.button:hover,.ui.basic.blue.buttons .button:hover{box-shadow:0 0 0 1px #87ab63 inset!important;color:#87ab63!important} .ui.basic.blue.button:focus,.ui.basic.blue.buttons .button:focus{box-shadow:0 0 0 1px #87ab63 inset!important;color:#87ab63!important} +.repository.labels .ui.basic.black.label{background-color:#bbb!important} .lines-commit{background:#2e323e!important} .bottom-line{border-color:#4e525e!important} .lines-num{background:#2e323e!important;color:#9e9e9e!important;border-color:#2d2d2d!important} diff --git a/web_src/less/themes/arc-green.less b/web_src/less/themes/arc-green.less index 43f4d9d147083..29a9723726db2 100644 --- a/web_src/less/themes/arc-green.less +++ b/web_src/less/themes/arc-green.less @@ -1074,6 +1074,10 @@ input { color: #87ab63 !important; } +.repository.labels .ui.basic.black.label { + background-color: #bbbbbb !important; +} + .lines-commit { background: #2e323e !important; }