aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Frans de Jonge <fransdejonge@gmail.com> 2019-10-28 09:58:52 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2019-10-28 09:58:52 +0100
commit2d3f7e717921d14ec37a8b2ca8c03d5819ed49fd (patch)
tree89be84b94b46190c5bd9ddcb646d8bed911e798a
parent7d9574e6f2b1a331c9ab0a1b05e88ba3699313f8 (diff)
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.
-rw-r--r--p/themes/Flat/flat.css7
-rw-r--r--p/themes/Origine-compact/origine-compact.css7
-rw-r--r--p/themes/Swage/swage.css6
-rw-r--r--p/themes/Swage/swage.scss4
4 files changed, 16 insertions, 8 deletions
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;