From d19824b919289ad63743f27da7861f2422da5baa Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sat, 26 Jul 2014 13:56:44 +0200 Subject: Hide read feeds and read categories when in unread mode https://github.com/marienfressinaud/FreshRSS/issues/430 There are some repeated HTML attributes (`data-unread` and `active`) which could maybe be simplified. If some people do not like this behaviour, we could consider having an option. --- p/themes/base-theme/template.css | 3 +++ 1 file changed, 3 insertions(+) (limited to 'p/themes/base-theme/template.css') diff --git a/p/themes/base-theme/template.css b/p/themes/base-theme/template.css index 09ecaf685..466ec4603 100644 --- a/p/themes/base-theme/template.css +++ b/p/themes/base-theme/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; -- cgit v1.2.3