summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.feed.starred.php3
-rw-r--r--templates/part.feed.unread.php3
-rw-r--r--templates/part.listfeed.php4
-rw-r--r--templates/part.listfolder.php3
4 files changed, 9 insertions, 4 deletions
diff --git a/templates/part.feed.starred.php b/templates/part.feed.starred.php
index 110549150..e3c787b65 100644
--- a/templates/part.feed.starred.php
+++ b/templates/part.feed.starred.php
@@ -2,7 +2,8 @@
active: starredBl.isActive(0),
unread: starredBl.getUnreadCount() > 0
}"
- ng-show="starredBl.isVisible(0)">
+ ng-show="starredBl.isVisible(0)"
+ class="starred">
<a class="starred-icon"
href="#"
ng-click="starredBl.load(0)">
diff --git a/templates/part.feed.unread.php b/templates/part.feed.unread.php
index 67c57e369..cf130228c 100644
--- a/templates/part.feed.unread.php
+++ b/templates/part.feed.unread.php
@@ -16,7 +16,8 @@
<?php p($l->t('All articles'))?>
</a>
<span class="utils">
- <span class="unread-counter">
+ <span class="unread-counter"
+ ng-style="{opacity: getOpacity(subscriptionsBl.getUnreadCount()) }">
{{ subscriptionsBl.getUnreadCount() }}
</span>
<button class="svg action mark-read-icon"
diff --git a/templates/part.listfeed.php b/templates/part.listfeed.php
index 7dc06ea59..824337972 100644
--- a/templates/part.listfeed.php
+++ b/templates/part.listfeed.php
@@ -28,7 +28,9 @@
<span class="utils">
- <span class="unread-counter" ng-show="feed.id">
+ <span class="unread-counter"
+ ng-show="feed.id"
+ ng-style="{opacity: getOpacity(feedBl.getUnreadCount(feed.id)) }">
{{ feedBl.getUnreadCount(feed.id) }}
</span>
diff --git a/templates/part.listfolder.php b/templates/part.listfolder.php
index c4d7b0b8b..745210b0e 100644
--- a/templates/part.listfolder.php
+++ b/templates/part.listfolder.php
@@ -30,7 +30,8 @@
class="svg action delete-icon"
title="<?php p($l->t('Delete folder')); ?>"></button>
- <span class="unread-counter">
+ <span class="unread-counter"
+ ng-style="{ opacity: getOpacity(folderBl.getUnreadCount(folder.id)) }">
{{ folderBl.getUnreadCount(folder.id) }}
</span>