Remove black labels and CSS cleanup (#21003)

Co-authored-by: John Olheiser <john.olheiser@gmail.com>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
silverwind 2022-08-31 11:04:41 +02:00 committed by GitHub
parent a48d6ba4b4
commit c80ca94ab1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 6 deletions

View File

@ -18,7 +18,7 @@
<a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams"> <a class="{{if $.PageIsOrgTeams}}active{{end}} item" href="{{$.OrgLink}}/teams">
{{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}} {{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}}
{{if .NumTeams}} {{if .NumTeams}}
<div class="ui black label">{{.NumTeams}}</div> <div class="ui primary label">{{.NumTeams}}</div>
{{end}} {{end}}
</a> </a>
{{end}} {{end}}

View File

@ -39,7 +39,7 @@
<a class="item" href="{{$.OrgLink}}/teams"> <a class="item" href="{{$.OrgLink}}/teams">
{{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}} {{svg "octicon-people"}}&nbsp;{{$.locale.Tr "org.teams"}}
{{if .NumTeams}} {{if .NumTeams}}
<div class="ui black label">{{.NumTeams}}</div> <div class="ui primary label">{{.NumTeams}}</div>
{{end}} {{end}}
</a> </a>
{{end}} {{end}}

View File

@ -339,10 +339,6 @@ td.blob-hunk {
color: var(--color-secondary-dark-6); color: var(--color-secondary-dark-6);
} }
.repository.labels .ui.basic.black.label {
background-color: #bbbbbb !important;
}
.lines-num { .lines-num {
color: var(--color-secondary-dark-6) !important; color: var(--color-secondary-dark-6) !important;
border-color: var(--color-secondary) !important; border-color: var(--color-secondary) !important;