Просмотр исходного кода

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.
Frans de Jonge 6 лет назад
Родитель
Сommit
2d3f7e7179

+ 5 - 2
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;

+ 5 - 2
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 {

+ 3 - 3
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 {

+ 3 - 1
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;