Fix colors and icons

This commit is contained in:
Philipp Hörist 2018-09-19 22:12:06 +02:00 committed by Philipp Hörist
parent fa65653adc
commit 94b17b1fbc
2 changed files with 8 additions and 4 deletions

View File

@ -1285,12 +1285,12 @@ class ConversationTextview(GObject.GObject):
# Message was not encrypted
if not self.encryption_enabled:
return
icon = 'security-low-symbolic'
color = 'error-color'
icon = 'channel-insecure-symbolic'
color = 'unencrypted-color'
tooltip = _('Not encrypted')
else:
icon = 'security-high-symbolic'
color = 'success-color'
icon = 'channel-secure-symbolic'
color = 'encrypted-color'
name, fingerprint = details
if fingerprint is None:
tooltip = name

View File

@ -215,6 +215,10 @@ button.flat.link { padding: 0; border: 0; }
.error-color { color: @error_color; }
.warning-color { color: @warning_color; }
/*Encryption*/
.encrypted-color { color: rgb(75, 181, 67) }
.unencrypted-color { color: @error_color }
/*Dataforms*/
.field-fixed { font-size: 16px; font-weight: bold; padding-top:5px;}
.data-form-title { font-size: 16px; font-weight: bold; }