aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <github@ainw.org> 2014-08-27 21:07:47 -0400
committerGravatar Alexis Degrugillier <github@ainw.org> 2014-08-27 21:07:47 -0400
commit366550057db8f5f86afd64c99f3a399016c97a36 (patch)
tree53c30f689d134f76370f1d96c415af8411781d08
parent845cde2456e1d367ca407d09b118471534d1af4e (diff)
Fix Screwdriver theme
Before, it wasn't possible to hide categories when they had no articles to read. I applied the same rule than the one described in here (https://github.com/marienfressinaud/FreshRSS/commit/d19824b919289ad63743f27da7861f2422da5baa). Now, the categories are hidden when they have no articles to read. See #594
-rw-r--r--p/themes/Screwdriver/template.css3
1 files changed, 3 insertions, 0 deletions
diff --git a/p/themes/Screwdriver/template.css b/p/themes/Screwdriver/template.css
index bf421e322..ddb3f376f 100644
--- a/p/themes/Screwdriver/template.css
+++ b/p/themes/Screwdriver/template.css
@@ -309,6 +309,9 @@ a.btn {
list-style: none;
margin: 0;
}
+.state_unread li:not(.active)[data-unread="0"] {
+ display: none;
+}
.category {
display: block;
overflow: hidden;