UI: Change GPG Validation colors and remove inline CSS; fixes #5404 (#5896)

tokarchuk/v1.17
EpicCoder 6 years ago committed by techknowlogick
parent 2569363204
commit c62c0b669a
  1. 2
      public/css/index.css
  2. 2
      public/css/theme-arc-green.css
  3. 12
      public/less/_base.less
  4. 7
      public/less/themes/arc-green.less
  5. 8
      templates/repo/diff/page.tmpl

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

@ -275,6 +275,18 @@ pre, code {
text-align: center; text-align: center;
} }
&.bottom.attached.message {
font-weight: bold;
text-align: left;
color: black;
.pull-right {
color: black;
}
&>span, .pull-right>span{
color:#21ba45;
}
}
.header > i + .content { .header > i + .content {
padding-left: 0.75rem; padding-left: 0.75rem;
vertical-align: middle; vertical-align: middle;

@ -568,9 +568,12 @@
.ui.attached.info.message, .ui.info.message { .ui.attached.info.message, .ui.info.message {
box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent; box-shadow: 0 0 0 1px #4b5e71 inset, 0 0 0 0 transparent;
} }
.ui.positive.message { .ui.bottom.attached.message {
background-color: #2c662d; background-color: #2c662d;
color: #fcfff5; color: #87ab63;
}
.ui.bottom.attached.message .pull-right {
color: #87ab63;
} }
.ui.info.message { .ui.info.message {
background-color: #2c3b4a; background-color: #2c3b4a;

@ -51,14 +51,14 @@
</div> </div>
{{if .Commit.Signature}} {{if .Commit.Signature}}
{{if .Verification.Verified }} {{if .Verification.Verified }}
<div class="ui bottom attached positive message" style="text-align: initial;color: black;"> <div class="ui bottom attached positive message">
<i class="green lock icon"></i> <i class="green lock icon"></i>
<span style="color: #2C662D;">{{.i18n.Tr "repo.commits.signed_by"}}:</span> <span>{{.i18n.Tr "repo.commits.signed_by"}}:</span>
<a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}> <a href="{{.Verification.SigningUser.HomeLink}}"><strong>{{.Commit.Committer.Name}}</strong></a> <{{.Commit.Committer.Email}}>
<span class="pull-right"><span style="color: #2C662D;">{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span> <span class="pull-right"><span>{{.i18n.Tr "repo.commits.gpg_key_id"}}:</span> {{.Verification.SigningKey.KeyID}}</span>
</div> </div>
{{else}} {{else}}
<div class="ui bottom attached message" style="text-align: initial;color: black;"> <div class="ui bottom attached message">
<i class="grey unlock icon"></i> <i class="grey unlock icon"></i>
{{.i18n.Tr .Verification.Reason}} {{.i18n.Tr .Verification.Reason}}
</div> </div>

Loading…
Cancel
Save