Fix colors and icons
This commit is contained in:
parent
fa65653adc
commit
94b17b1fbc
|
@ -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
|
||||
|
|
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue