Distinguish PGP signed and encrypted in message viewer

This commit is contained in:
the-djmaze 2022-01-26 15:00:03 +01:00
parent 5ed4498e4f
commit 3aca446e8d
2 changed files with 26 additions and 20 deletions

View file

@ -430,10 +430,17 @@ html.rl-no-preview-pane {
} }
*/ */
} }
}
.b-openpgp-encrypted {
color: #18F;
}
.b-openpgp-signed {
color: #FA0;
}
.b-openpgp-control { .b-openpgp-control {
color: #FA0;
cursor: pointer; cursor: pointer;
display: block; display: block;
opacity: 0.5; opacity: 0.5;
@ -453,7 +460,6 @@ html.rl-no-preview-pane {
opacity: 1; opacity: 1;
} }
} }
}
.thread-controls { .thread-controls {
.dropdown-toggle { .dropdown-toggle {

View file

@ -320,12 +320,12 @@
</div> </div>
</div> </div>
<div class="b-openpgp-control" data-bind="visible: pgpEncrypted, click: pgpDecrypt"> <div class="b-openpgp-control b-openpgp-encrypted" data-bind="visible: pgpEncrypted, click: pgpDecrypt">
<i class="fontastic">🔒</i> <i class="fontastic">🔒</i>
<span data-i18n="MESSAGE/PGP_ENCRYPTED_MESSAGE_DESC"></span> <span data-i18n="MESSAGE/PGP_ENCRYPTED_MESSAGE_DESC"></span>
</div> </div>
<div class="b-openpgp-control" data-bind="visible: pgpSigned, click: pgpVerify"> <div class="b-openpgp-control b-openpgp-signed" data-bind="visible: pgpSigned, click: pgpVerify">
<i class="fontastic">🔒</i> <i class="fontastic">✍️</i>
<span data-i18n="MESSAGE/PGP_SIGNED_MESSAGE_DESC"></span> <span data-i18n="MESSAGE/PGP_SIGNED_MESSAGE_DESC"></span>
</div> </div>