diff options
author | Mario <mario@mariovavti.com> | 2022-11-22 21:10:11 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2022-11-22 21:10:11 +0000 |
commit | 6de1aec68304aa82ba33d852df84d9784a8f37b2 (patch) | |
tree | d846705e76e965aac2c646d62e4d6865f0283a62 | |
parent | 41376ec2cda617549b717769f942019ebc2ba797 (diff) | |
download | volse-hubzilla-6de1aec68304aa82ba33d852df84d9784a8f37b2.tar.gz volse-hubzilla-6de1aec68304aa82ba33d852df84d9784a8f37b2.tar.bz2 volse-hubzilla-6de1aec68304aa82ba33d852df84d9784a8f37b2.zip |
the blue dots were slightly too bold.
-rw-r--r-- | Zotlabs/Widget/Messages.php | 2 | ||||
-rw-r--r-- | view/tpl/messages_widget.tpl | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/Zotlabs/Widget/Messages.php b/Zotlabs/Widget/Messages.php index 2ba1f4da5..c40d294e8 100644 --- a/Zotlabs/Widget/Messages.php +++ b/Zotlabs/Widget/Messages.php @@ -176,7 +176,7 @@ class Messages { $entries[$i]['href'] = z_root() . '/hq/' . gen_link_id($item['mid']); $entries[$i]['icon'] = $icon; $entries[$i]['unseen'] = (($unseen[0]['total']) ? $unseen[0]['total'] : (($item['item_unseen']) ? ' ' : '')); - $entries[$i]['unseen_class'] = (($item['item_unseen']) ? 'bg-primary' : 'bg-secondary'); + $entries[$i]['unseen_class'] = (($item['item_unseen']) ? 'primary' : 'secondary'); $i++; } diff --git a/view/tpl/messages_widget.tpl b/view/tpl/messages_widget.tpl index ed3bc0aaf..5d0caf46d 100644 --- a/view/tpl/messages_widget.tpl +++ b/view/tpl/messages_widget.tpl @@ -54,7 +54,7 @@ </div> <small>{{$e.info}}</small> {{if $e.unseen}} - <span class="badge {{$e.unseen_class}} rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">{{$e.unseen}}</span> + <span class="badge bg-transparent border border-{{$e.unseen_class}} text-{{$e.unseen_class}} rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">{{$e.unseen}}</span> {{/if}} </a> {{/foreach}} @@ -129,7 +129,7 @@ e.author_addr, e.href, e.icon, - e.unseen ? '<span class="badge ' + e.unseen_class + ' rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">' + e.unseen + '</span>' : '' + e.unseen ? '<span class="badge bg-transparent border border-' + e.unseen_class + ' text-' + e.unseen_class + ' rounded-pill position-absolute bottom-0 end-0 m-2" title="{{$strings.unseen}}">' + e.unseen + '</span>' : '' ); $('#messages-loading').before(html); }); |