aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-31 11:04:41 +0200
committerGitHub <noreply@github.com>2022-08-31 17:04:41 +0800
commitc80ca94ab1de8ea3b13c1087cd7140165a11ceb7 (patch)
tree920369127f5ec8f34431e8390f95b8f6e34489d1
parenta48d6ba4b4be4207a2c78c36b095fb69938e5ae5 (diff)
downloadgitea-c80ca94ab1de8ea3b13c1087cd7140165a11ceb7.tar.gz
gitea-c80ca94ab1de8ea3b13c1087cd7140165a11ceb7.zip
Remove black labels and CSS cleanup (#21003)
Co-authored-by: John Olheiser <john.olheiser@gmail.com> Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
-rw-r--r--templates/org/menu.tmpl2
-rw-r--r--templates/user/overview/header.tmpl2
-rw-r--r--web_src/less/themes/theme-arc-green.less4
3 files changed, 2 insertions, 6 deletions
diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl
index 5b22e303af..f86570d47b 100644
--- a/templates/org/menu.tmpl
+++ b/templates/org/menu.tmpl
@@ -18,7 +18,7 @@
<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
{{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}}
{{if .NumTeams}}
- <div class="ui black label">{{.NumTeams}}</div>
+ <div class="ui primary label">{{.NumTeams}}</div>
{{end}}
</a>
{{end}}
diff --git a/templates/user/overview/header.tmpl b/templates/user/overview/header.tmpl
index edd4375e08..b61883b0c1 100644
--- a/templates/user/overview/header.tmpl
+++ b/templates/user/overview/header.tmpl
@@ -39,7 +39,7 @@
<a class="item" href="{{$.OrgLink}}/teams">
{{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}}
{{if .NumTeams}}
- <div class="ui black label">{{.NumTeams}}</div>
+ <div class="ui primary label">{{.NumTeams}}</div>
{{end}}
</a>
{{end}}
diff --git a/web_src/less/themes/theme-arc-green.less b/web_src/less/themes/theme-arc-green.less
index 4d21a5ac43..2cbb979074 100644
--- a/web_src/less/themes/theme-arc-green.less
+++ b/web_src/less/themes/theme-arc-green.less
@@ -339,10 +339,6 @@ td.blob-hunk {
color: var(--color-secondary-dark-6);
}
-.repository.labels .ui.basic.black.label {
- background-color: #bbbbbb !important;
-}
-
.lines-num {
color: var(--color-secondary-dark-6) !important;
border-color: var(--color-secondary) !important;