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 # Message was not encrypted
if not self.encryption_enabled: if not self.encryption_enabled:
return return
icon = 'security-low-symbolic' icon = 'channel-insecure-symbolic'
color = 'error-color' color = 'unencrypted-color'
tooltip = _('Not encrypted') tooltip = _('Not encrypted')
else: else:
icon = 'security-high-symbolic' icon = 'channel-secure-symbolic'
color = 'success-color' color = 'encrypted-color'
name, fingerprint = details name, fingerprint = details
if fingerprint is None: if fingerprint is None:
tooltip = name tooltip = name

View File

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