فهرست منبع

Rivington: Clean up editor table and utility styles.

Allan Cole 5 سال پیش
والد
کامیت
2d01ee01e7
1فایلهای تغییر یافته به همراه14 افزوده شده و 4 حذف شده
  1. 14 4
      rivington/style-editor.css

+ 14 - 4
rivington/style-editor.css

@@ -1015,6 +1015,12 @@ table th,
 	padding: calc( 0.5 * 16px);
 	padding: calc( 0.5 * 16px);
 }
 }
 
 
+table.is-style-stripes tbody tr:nth-child(odd),
+.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
+	background-color: #4b5263;
+	color: #f2f2f2;
+}
+
 /**
 /**
  * Editor Post Title
  * Editor Post Title
  * - Needs a special styles
  * - Needs a special styles
@@ -1054,12 +1060,12 @@ table th,
 	color: #8F8F8F;
 	color: #8F8F8F;
 }
 }
 
 
-.wp-block .has-foreground-light-color,
+.wp-block .has-background-light-color,
 .has-background-light-color {
 .has-background-light-color {
 	color: #0d1f55;
 	color: #0d1f55;
 }
 }
 
 
-.wp-block .has-foreground-dark-color,
+.wp-block .has-background-dark-color,
 .has-background-dark-color {
 .has-background-dark-color {
 	color: #030713;
 	color: #030713;
 }
 }
@@ -1100,12 +1106,12 @@ table th,
 	background-color: #8F8F8F;
 	background-color: #8F8F8F;
 }
 }
 
 
-.wp-block .has-foreground-light-background-color,
+.wp-block .has-background-light-background-color,
 .has-background-light-background-color {
 .has-background-light-background-color {
 	background-color: #0d1f55;
 	background-color: #0d1f55;
 }
 }
 
 
-.wp-block .has-foreground-dark-background-color,
+.wp-block .has-background-dark-background-color,
 .has-background-dark-background-color {
 .has-background-dark-background-color {
 	background-color: #030713;
 	background-color: #030713;
 }
 }
@@ -1362,3 +1368,7 @@ table th,
 .wp-block-a8c-blog-posts + .button {
 .wp-block-a8c-blog-posts + .button {
 	font-size: 1em;
 	font-size: 1em;
 }
 }
+
+.wp-block-table .has-background[class*="has-subtle"] {
+	color: #060f29;
+}