summaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorGaute Hope <eg@gaute.vetsj.com>2016-07-14 09:07:17 +0200
committerGaute Hope <eg@gaute.vetsj.com>2016-07-19 19:17:15 +0200
commitb3a090dbdf59872fd35ac150f2eb5e7992af0878 (patch)
tree9259525143b60cf12b46ece6b4046a5f18d95fbd /ui
parent3cf1566d3d29236033ce1e624811de8aa99dbba3 (diff)
crypto, tv: distinguish colors better between failed enc and signing
Diffstat (limited to 'ui')
-rw-r--r--ui/thread-view.scss25
1 files changed, 22 insertions, 3 deletions
diff --git a/ui/thread-view.scss b/ui/thread-view.scss
index adc3c57..ccbf8bc 100644
--- a/ui/thread-view.scss
+++ b/ui/thread-view.scss
@@ -653,11 +653,26 @@ body.nohide .email .compressed_note > span {
padding-top: 5px;
margin-top: 5px;
margin-bottom: 5px;
- background-color: #53a653;
border: 1px solid black;
}
-.encrypted {
+.encrypt_container.encrypted, .encrypt_container.encrypted.signed {
+ background-color: #53a653;
+}
+
+.encrypt_container.signed {
+ background-color: #ffb240;
+}
+
+.encrypt_container.verify_failed, .encrypt_container.decrypt_failed {
+ background-color: red;
+}
+
+.body_part.encrypted.decrypt_failed {
+ border-left: 0px;
+}
+
+.body_part.encrypted, .body_part.encrypted.signed {
display: block;
border-left: 5px solid #53a653;
padding: 10px;
@@ -669,7 +684,11 @@ body.nohide .email .compressed_note > span {
margin-left: 5px;
}
-.signed {
+.body_part.signed.verify_failed {
+ border-left: 0px;
+}
+
+.body_part.signed {
display: block;
border-left: 5px solid #ffb240;
padding: 10px;