瀏覽代碼

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 年之前
父節點
當前提交
2d3f7e7179
共有 4 個文件被更改,包括 16 次插入8 次删除
  1. 5 2
      p/themes/Flat/flat.css
  2. 5 2
      p/themes/Origine-compact/origine-compact.css
  3. 3 3
      p/themes/Swage/swage.css
  4. 3 1
      p/themes/Swage/swage.scss

+ 5 - 2
p/themes/Flat/flat.css

@@ -791,14 +791,17 @@ a.btn {
 }
 }
 
 
 .flux.not_read {
 .flux.not_read {
-	background: #fff3ed;
 	border-left-color: #ff5300;
 	border-left-color: #ff5300;
 }
 }
 
 
-.flux.not_read:not(.current):hover .item.title {
+.flux.not_read:not(.current) {
 	background: #fff3ed;
 	background: #fff3ed;
 }
 }
 
 
+.flux.not_read:not(.current):hover .item.title {
+	background: inherit;
+}
+
 .flux.favorite {
 .flux.favorite {
 	background: #fff6da;
 	background: #fff6da;
 	border-left-color: #ffc300;
 	border-left-color: #ffc300;

+ 5 - 2
p/themes/Origine-compact/origine-compact.css

@@ -825,12 +825,15 @@ a.btn,
 }
 }
 
 
 .flux.not_read {
 .flux.not_read {
+	border-left-color: #ff5300;
+}
+
+.flux.not_read:not(.current) {
 	background: #fff3ed;
 	background: #fff3ed;
-	border-left: 2px solid #ff5300;
 }
 }
 
 
 .flux.not_read:not(.current):hover .item.title {
 .flux.not_read:not(.current):hover .item.title {
-	background: #fff3ed;
+	background: inherit;
 }
 }
 
 
 .flux.favorite {
 .flux.favorite {

+ 3 - 3
p/themes/Swage/swage.css

@@ -585,10 +585,10 @@ form th {
     .flux:hover:not(.current):hover .item.title,
     .flux:hover:not(.current):hover .item.title,
     .flux .current:not(.current):hover .item.title {
     .flux .current:not(.current):hover .item.title {
       background: #fff; }
       background: #fff; }
-  .flux.not_read {
+  .flux.not_read:not(.current) {
+    background: #fff3ed; }
+  .flux.not_read:not(.current):hover .item.title {
     background: #fff3ed; }
     background: #fff3ed; }
-    .flux.not_read:not(.current):hover .item.title {
-      background: #fff3ed; }
   .flux.favorite {
   .flux.favorite {
     background: #fff6da; }
     background: #fff6da; }
     .flux.favorite:not(.current):hover .item.title {
     .flux.favorite:not(.current):hover .item.title {

+ 3 - 1
p/themes/Swage/swage.scss

@@ -929,7 +929,9 @@ form {
 	}
 	}
 
 
 	&.not_read {
 	&.not_read {
-		background: $color_unread;
+		&:not(.current) {
+			background: $color_unread;
+		}
 
 
 		&:not(.current):hover .item.title {
 		&:not(.current):hover .item.title {
 			background: $color_unread;
 			background: $color_unread;