Jelajahi Sumber

Fixes for consistency in the editor around code blocks, separator styles, file button, blockquotes in classic editor.

Caroline Moore 6 tahun lalu
induk
melakukan
d0d130ea79
2 mengubah file dengan 11 tambahan dan 13 penghapusan
  1. 1 1
      ixion/blocks.css
  2. 10 12
      ixion/editor-blocks.css

+ 1 - 1
ixion/blocks.css

@@ -334,7 +334,7 @@ hr.wp-block-separator {
 	border: 0;
 	height: 1px;
 	margin-bottom: 1.5em;
-	max-width: 66%;
+	max-width: 100px;
 }
 
 .wp-block-separator.is-style-wide {

+ 10 - 12
ixion/editor-blocks.css

@@ -304,8 +304,7 @@
 
 /* File */
 
-.wp-block-file a.wp-block-file__button,
-.wp-block-file a.wp-block-file__button:visited {
+.wp-block-file .wp-block-file__button {
 	border: 0;
 	border-radius: 0;
 	background: #d7b221;
@@ -320,8 +319,8 @@
 	transition: 0.3s;
 }
 
-.wp-block-file a.wp-block-file__button:hover,
-.wp-block-file a.wp-block-file__button:focus {
+.wp-block-file .wp-block-file__button:hover,
+.wp-block-file .wp-block-file__button:focus {
 	background: #c1a01e;
 	box-shadow: none;
 	color: #fff;
@@ -360,6 +359,10 @@
 	padding: 1.875em;
 }
 
+.wp-block-code textarea {
+	background: #eee;
+}
+
 /* Classic */
 
 .wp-block-freeform.block-library-rich-text__tinymce address {
@@ -378,9 +381,8 @@
 
 .wp-block-freeform.block-library-rich-text__tinymce blockquote {
 	border: 0;
-	font-style: italic;
-	margin: 0 1.5em;
-	color: #767676;
+	font-style: normal;
+	margin: 0 1.5em 1.5em;
 }
 
 .wp-block-freeform.block-library-rich-text__tinymce blockquote p {
@@ -586,6 +588,7 @@
 }
 
 .editor-block-list__block table.wp-block-table th {
+	border: 0;
 }
 
 /*--------------------------------------------------------------
@@ -641,11 +644,6 @@
 	border: 0;
 	height: 1px;
 	margin-bottom: 1.5em;
-	max-width: 66%;
-}
-
-.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
-	max-width: 66%;
 }
 
 .wp-block-separator.is-style-wide {