mirror of
https://github.com/the-djmaze/snappymail.git
synced 2025-09-14 17:14:30 +08:00
Distinguish PGP signed and encrypted in message viewer
This commit is contained in:
parent
5ed4498e4f
commit
3aca446e8d
2 changed files with 26 additions and 20 deletions
|
@ -430,28 +430,34 @@ html.rl-no-preview-pane {
|
|||
}
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
||||
.b-openpgp-control {
|
||||
.b-openpgp-encrypted {
|
||||
color: #18F;
|
||||
}
|
||||
.b-openpgp-signed {
|
||||
color: #FA0;
|
||||
}
|
||||
|
||||
color: #FA0;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
opacity: 0.5;
|
||||
margin: 15px;
|
||||
.b-openpgp-control {
|
||||
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
opacity: 0.5;
|
||||
margin: 15px;
|
||||
|
||||
&.success {
|
||||
color: green;
|
||||
opacity: 1;
|
||||
}
|
||||
&:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.error {
|
||||
color: red;
|
||||
opacity: 1;
|
||||
}
|
||||
&.success {
|
||||
color: green;
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
&.error {
|
||||
color: red;
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -320,12 +320,12 @@
|
|||
</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>
|
||||
<span data-i18n="MESSAGE/PGP_ENCRYPTED_MESSAGE_DESC"></span>
|
||||
</div>
|
||||
<div class="b-openpgp-control" data-bind="visible: pgpSigned, click: pgpVerify">
|
||||
<i class="fontastic">🔒</i>
|
||||
<div class="b-openpgp-control b-openpgp-signed" data-bind="visible: pgpSigned, click: pgpVerify">
|
||||
<i class="fontastic">✍️</i>
|
||||
<span data-i18n="MESSAGE/PGP_SIGNED_MESSAGE_DESC"></span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue