From faa879be598c1ffad984a346901708f5dcb97321 Mon Sep 17 00:00:00 2001 From: Evangelos Paterakis Date: Wed, 1 Feb 2023 16:19:34 +0200 Subject: [PATCH] feat(profile): verified links --- data/style-dark.css | 5 +++++ data/style.css | 7 ++++++- src/Views/Profile.vala | 2 ++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/data/style-dark.css b/data/style-dark.css index ef70077..09c3d98 100644 --- a/data/style-dark.css +++ b/data/style-dark.css @@ -29,3 +29,8 @@ .ttl-status-action-bookmark:active { color: @red_2; } + +.ttl-verified-field { + color: rgb(143,240,164); + background: rgba(143,240,164,0.1); +} diff --git a/data/style.css b/data/style.css index baf07e1..1ce602b 100644 --- a/data/style.css +++ b/data/style.css @@ -180,4 +180,9 @@ headerbar.flat.no-title .title { .ttl-status-badge > button > label { padding: 6px 12px; -} \ No newline at end of file +} + +.ttl-verified-field { + color: rgb(27,133,83); + background: rgba(27,133,83,0.1); +} diff --git a/src/Views/Profile.vala b/src/Views/Profile.vala index 738faba..01c60fe 100644 --- a/src/Views/Profile.vala +++ b/src/Views/Profile.vala @@ -94,6 +94,8 @@ public class Tooth.Views.Profile : Views.Timeline { row.add_suffix (val); info.append (row); + + if (f.verified_at != null) row.add_css_class("ttl-verified-field"); } } }