Skip to content

Commit 8875586

Browse files
jaqratechknowlogick
jaqra
authored andcommitted
Change some label colors (#9051)
* Change label colors * Override black basic label background for green theme on label list
1 parent bac4b78 commit 8875586

File tree

8 files changed

+11
-6
lines changed

8 files changed

+11
-6
lines changed

public/css/theme-arc-green.css

+1
Original file line numberDiff line numberDiff line change
@@ -208,6 +208,7 @@ input{background:#2e323e}
208208
.ui.blue.button:focus,.ui.blue.buttons .button:focus{background-color:#a27558}
209209
.ui.basic.blue.button:hover,.ui.basic.blue.buttons .button:hover{box-shadow:0 0 0 1px #87ab63 inset!important;color:#87ab63!important}
210210
.ui.basic.blue.button:focus,.ui.basic.blue.buttons .button:focus{box-shadow:0 0 0 1px #87ab63 inset!important;color:#87ab63!important}
211+
.repository.labels .ui.basic.black.label{background-color:#bbb!important}
211212
.lines-commit{background:#2e323e!important}
212213
.bottom-line{border-color:#4e525e!important}
213214
.lines-num{background:#2e323e!important;color:#9e9e9e!important;border-color:#2d2d2d!important}

templates/admin/org/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h4 class="ui top attached header">
77
{{.i18n.Tr "admin.orgs.org_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
88
<div class="ui right">
9-
<a class="ui black tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
9+
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
1010
</div>
1111
</h4>
1212
<div class="ui attached segment">

templates/admin/user/list.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<h4 class="ui top attached header">
77
{{.i18n.Tr "admin.users.user_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}})
88
<div class="ui right">
9-
<a class="ui black tiny button" href="{{AppSubUrl}}/admin/users/new">{{.i18n.Tr "admin.users.new_account"}}</a>
9+
<a class="ui blue tiny button" href="{{AppSubUrl}}/admin/users/new">{{.i18n.Tr "admin.users.new_account"}}</a>
1010
</div>
1111
</h4>
1212
<div class="ui attached segment">

templates/repo/commits_table.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<input type="checkbox" name="all" id="all" value="true" {{.All}}>
1919
<label for="all">{{.i18n.Tr "repo.commits.search_all"}} &nbsp;&nbsp;</label>
2020
</div>
21-
<button class="ui black tiny button" data-panel="#add-deploy-key-panel" data-tooltip={{.i18n.Tr "repo.commits.search.tooltip"}}>{{.i18n.Tr "repo.commits.find"}}</button>
21+
<button class="ui blue tiny button" data-panel="#add-deploy-key-panel" data-tooltip={{.i18n.Tr "repo.commits.search.tooltip"}}>{{.i18n.Tr "repo.commits.find"}}</button>
2222
</form>
2323
{{else if .IsDiffCompare}}
2424
<a href="{{$.CommitRepoLink}}/commit/{{.BeforeCommitID}}" class="ui green sha label">{{if not .BaseIsCommit}}{{if .BaseIsBranch}}<i class="octicon octicon-git-branch"></i>{{else if .BaseIsTag}}<i class="octicon octicon-tag"></i>{{end}}{{.BaseBranch}}{{else}}{{ShortSha .BaseBranch}}{{end}}</a>

templates/repo/issue/labels.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
</div>
5858
</div>
5959
{{template "base/alert" .}}
60-
<div class="ui black label">{{.i18n.Tr "repo.issues.label_count" .NumLabels}}</div>
60+
<div class="ui black basic label">{{.i18n.Tr "repo.issues.label_count" .NumLabels}}</div>
6161
<div class="label list">
6262
{{if and (or $.CanWriteIssues $.CanWritePulls) (eq .NumLabels 0) (not $.Repository.IsArchived) }}
6363
<div class="ui centered grid">

templates/repo/issue/milestone_issues.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
<input type="checkbox" data-issue-id={{.ID}}></input>
186186
</div>
187187
{{end}}
188-
<div class="ui {{if .IsRead}}black{{else}}green{{end}} label">#{{.Index}}</div>
188+
<div class="ui {{if .IsRead}}gray{{else}}green{{end}} label">#{{.Index}}</div>
189189
<a class="title has-emoji" href="{{$.RepoLink}}/issues/{{.Index}}">{{.Title}}</a>
190190

191191
{{range .Labels}}

templates/user/settings/organization.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
{{.i18n.Tr "settings.orgs"}}
88
{{if .SignedUser.CanCreateOrganization}}
99
<div class="ui right">
10-
<a class="ui black tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
10+
<a class="ui blue tiny button" href="{{AppSubUrl}}/org/create">{{.i18n.Tr "admin.orgs.new_orga"}}</a>
1111
</div>
1212
{{end}}
1313
</h4>

web_src/less/themes/arc-green.less

+4
Original file line numberDiff line numberDiff line change
@@ -1074,6 +1074,10 @@ input {
10741074
color: #87ab63 !important;
10751075
}
10761076

1077+
.repository.labels .ui.basic.black.label {
1078+
background-color: #bbbbbb !important;
1079+
}
1080+
10771081
.lines-commit {
10781082
background: #2e323e !important;
10791083
}

0 commit comments

Comments
 (0)