From bba0b0565559fbecf5df170b472cadc58627027a Mon Sep 17 00:00:00 2001 From: Marien Fressinaud Date: Tue, 5 Nov 2019 16:42:29 +0100 Subject: Fix favorite display for "current" articles (#2634) Favorite articles have, in most of the themes, a gold background to distinguish them from the other articles. However, it can be distracting to have such a background when reading the articles, so we should turn them back to the "default" background when articles are opened (class `.current`). Bug introduced in e9ce27d8d991d7806ca2c2af7e5282279e378885 Related PRs: - https://github.com/FreshRSS/FreshRSS/pull/2477 - https://github.com/FreshRSS/FreshRSS/pull/2611 - https://github.com/FreshRSS/FreshRSS/pull/2612 Closes https://github.com/FreshRSS/FreshRSS/issues/2618 --- p/themes/Pafat/pafat.css | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'p/themes/Pafat') diff --git a/p/themes/Pafat/pafat.css b/p/themes/Pafat/pafat.css index 8b6bc5f62..2cbc539dc 100644 --- a/p/themes/Pafat/pafat.css +++ b/p/themes/Pafat/pafat.css @@ -798,10 +798,13 @@ a.btn { } .flux.favorite { - background: #fff6da; border-left: 2px solid #428bca; } +.flux.favorite:not(.current) { + background: #fff6da; +} + .flux.favorite:not(.current):hover .item.title { background: #fff6da; } -- cgit v1.2.3