From 2d3f7e717921d14ec37a8b2ca8c03d5819ed49fd Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Mon, 28 Oct 2019 09:58:52 +0100 Subject: Fix unread styles (#2612) * [fix] Flat unread CSS style Same as #2611. * [fix] Origine-Compact unread CSS style Same as #2611. * [fix] Swage unread CSS style Same as #2611. --- p/themes/Flat/flat.css | 7 +++++-- p/themes/Origine-compact/origine-compact.css | 7 +++++-- p/themes/Swage/swage.css | 6 +++--- p/themes/Swage/swage.scss | 4 +++- 4 files changed, 16 insertions(+), 8 deletions(-) (limited to 'p/themes') diff --git a/p/themes/Flat/flat.css b/p/themes/Flat/flat.css index 887ba0ac4..f7159b46f 100644 --- a/p/themes/Flat/flat.css +++ b/p/themes/Flat/flat.css @@ -791,14 +791,17 @@ a.btn { } .flux.not_read { - background: #fff3ed; border-left-color: #ff5300; } -.flux.not_read:not(.current):hover .item.title { +.flux.not_read:not(.current) { background: #fff3ed; } +.flux.not_read:not(.current):hover .item.title { + background: inherit; +} + .flux.favorite { background: #fff6da; border-left-color: #ffc300; diff --git a/p/themes/Origine-compact/origine-compact.css b/p/themes/Origine-compact/origine-compact.css index c0e538d74..af8e66d17 100644 --- a/p/themes/Origine-compact/origine-compact.css +++ b/p/themes/Origine-compact/origine-compact.css @@ -825,12 +825,15 @@ a.btn, } .flux.not_read { + border-left-color: #ff5300; +} + +.flux.not_read:not(.current) { background: #fff3ed; - border-left: 2px solid #ff5300; } .flux.not_read:not(.current):hover .item.title { - background: #fff3ed; + background: inherit; } .flux.favorite { diff --git a/p/themes/Swage/swage.css b/p/themes/Swage/swage.css index c59fafba4..6528d2305 100644 --- a/p/themes/Swage/swage.css +++ b/p/themes/Swage/swage.css @@ -585,10 +585,10 @@ form th { .flux:hover:not(.current):hover .item.title, .flux .current:not(.current):hover .item.title { background: #fff; } - .flux.not_read { + .flux.not_read:not(.current) { + background: #fff3ed; } + .flux.not_read:not(.current):hover .item.title { background: #fff3ed; } - .flux.not_read:not(.current):hover .item.title { - background: #fff3ed; } .flux.favorite { background: #fff6da; } .flux.favorite:not(.current):hover .item.title { diff --git a/p/themes/Swage/swage.scss b/p/themes/Swage/swage.scss index 1671890b3..9c2702fc0 100644 --- a/p/themes/Swage/swage.scss +++ b/p/themes/Swage/swage.scss @@ -929,7 +929,9 @@ form { } &.not_read { - background: $color_unread; + &:not(.current) { + background: $color_unread; + } &:not(.current):hover .item.title { background: $color_unread; -- cgit v1.2.3