mirror of
https://github.com/Athou/commafeed.git
synced 2026-03-21 21:37:29 +00:00
Parenthesis in unread-counter is now on CSS
This commit is contained in:
@@ -193,7 +193,7 @@ module.directive('category', [function() {
|
|||||||
});
|
});
|
||||||
var label = '';
|
var label = '';
|
||||||
if (count > 0) {
|
if (count > 0) {
|
||||||
label = count;
|
label += count;
|
||||||
}
|
}
|
||||||
return label;
|
return label;
|
||||||
};
|
};
|
||||||
@@ -201,7 +201,7 @@ module.directive('category', [function() {
|
|||||||
$scope.feedCountLabel = function(feed) {
|
$scope.feedCountLabel = function(feed) {
|
||||||
var label = '';
|
var label = '';
|
||||||
if (feed.unread > 0) {
|
if (feed.unread > 0) {
|
||||||
label = feed.unread;
|
label += feed.unread;
|
||||||
}
|
}
|
||||||
return label;
|
return label;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -101,6 +101,14 @@
|
|||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.css-treeview .unread ~ .unread-counter::before {
|
||||||
|
content: '(';
|
||||||
|
}
|
||||||
|
|
||||||
|
.css-treeview .unread ~ .unread-counter::after {
|
||||||
|
content: ')';
|
||||||
|
}
|
||||||
|
|
||||||
.css-treeview a {
|
.css-treeview a {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: black;
|
color: black;
|
||||||
|
|||||||
Reference in New Issue
Block a user