浏览代码

Balasana, Barnsbury: Fix hover colour for cat-links in editor

Takashi Irie 5 年之前
父节点
当前提交
1c181a985c
共有 3 个文件被更改,包括 8 次插入8 次删除
  1. 4 0
      balasana/style-editor.css
  2. 0 4
      barnsbury/sass/style-child-theme-editor.scss
  3. 4 4
      barnsbury/style-editor.css

+ 4 - 0
balasana/style-editor.css

@@ -311,6 +311,10 @@ object {
 	padding: 32px;
 }
 
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image .cat-links {
+	color: #fff;
+}
+
 .wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
 	color: currentColor;
 }

+ 0 - 4
barnsbury/sass/style-child-theme-editor.scss

@@ -76,8 +76,4 @@
 			color: map-deep-get($config-global, "color", "primary", "default");
 		}
 	}
-
-	&.image-alignbehind .post-has-image a:hover {
-		color: #fff;
-	}
 }

+ 4 - 4
barnsbury/style-editor.css

@@ -311,6 +311,10 @@ object {
 	padding: 32px;
 }
 
+.wp-block-a8c-blog-posts.image-alignbehind .post-has-image .cat-links {
+	color: #fff;
+}
+
 .wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
 	color: currentColor;
 }
@@ -1259,7 +1263,3 @@ table th,
 .wp-block-a8c-blog-posts .entry-title a:hover, .wp-block-a8c-blog-posts .entry-title a:focus, .wp-block-a8c-blog-posts .entry-title a:active {
 	color: #20603C;
 }
-
-.wp-block-a8c-blog-posts.image-alignbehind .post-has-image a:hover {
-	color: #fff;
-}