Skip to content

Commit c62c0b6

Browse files
EpicCodertechknowlogick
authored andcommitted
UI: Change GPG Validation colors and remove inline CSS; fixes #5404 (#5896)
1 parent 2569363 commit c62c0b6

File tree

5 files changed

+23
-8
lines changed

5 files changed

+23
-8
lines changed

public/css/index.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/css/theme-arc-green.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/less/_base.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,18 @@ pre, code {
275275
text-align: center;
276276
}
277277

278+
&.bottom.attached.message {
279+
font-weight: bold;
280+
text-align: left;
281+
color: black;
282+
.pull-right {
283+
color: black;
284+
}
285+
&>span, .pull-right>span{
286+
color:#21ba45;
287+
}
288+
}
289+
278290
.header > i + .content {
279291
padding-left: 0.75rem;
280292
vertical-align: middle;

public/less/themes/arc-green.less

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -568,9 +568,12 @@
568568
.ui.attached.info.message, .ui.info.message {
569569
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
570570
}
571-
.ui.positive.message {
571+
.ui.bottom.attached.message {
572572
background-color: #2c662d;
573-
color: #fcfff5;
573+
color: #87ab63;
574+
}
575+
.ui.bottom.attached.message .pull-right {
576+
color: #87ab63;
574577
}
575578
.ui.info.message {
576579
background-color: #2c3b4a;

templates/repo/diff/page.tmpl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
</div>
5252
{{if .Commit.Signature}}
5353
{{if .Verification.Verified }}
54-
<div class="ui bottom attached positive message" style="text-align: initial;color: black;">
54+
<div class="ui bottom attached positive message">
5555
<i class="green lock icon"></i>
56-
<span style="color: #2C662D;">{{.i18n.Tr "repo.commits.signed_by"}}:</span>
56+
<span>{{.i18n.Tr "repo.commits.signed_by"}}:</span>
5757
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}>
58-
<span class="pull-right"><span style="color: #2C662D;">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
58+
<span class="pull-right"><span>{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
5959
</div>
6060
{{else}}
61-
<div class="ui bottom attached message" style="text-align: initial;color: black;">
61+
<div class="ui bottom attached message">
6262
<i class="grey unlock icon"></i>
6363
{{.i18n.Tr .Verification.Reason}}
6464
</div>

0 commit comments

Comments
 (0)