Преглед на файлове

fix colors in the editor

Ben Dwyer преди 4 години
родител
ревизия
926da9cd19
променени са 2 файла, в които са добавени 0 реда и са изтрити 14 реда
  1. 0 11
      seedlet/assets/css/style-editor.css
  2. 0 3
      seedlet/assets/sass/blocks/cover/_editor.scss

+ 0 - 11
seedlet/assets/css/style-editor.css

@@ -545,17 +545,6 @@ object {
 	color: currentColor;
 }
 
-.wp-block-cover .wp-block-cover__inner-container a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover .wp-block-cover-image-text a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover .wp-block-cover-text a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover .block-editor-block-list__block:not(.wp-social-link) a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover-image .wp-block-cover__inner-container a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover-image .wp-block-cover-image-text a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover-image .wp-block-cover-text a:not(.has-text-color):not(.wp-block-button__link),
-.wp-block-cover-image .block-editor-block-list__block:not(.wp-social-link) a:not(.has-text-color):not(.wp-block-button__link) {
-	color: currentColor;
-}
-
 .wp-block-cover .wp-block-cover__inner-container .has-link-color a,
 .wp-block-cover .wp-block-cover-image-text .has-link-color a,
 .wp-block-cover .wp-block-cover-text .has-link-color a,

+ 0 - 3
seedlet/assets/sass/blocks/cover/_editor.scss

@@ -12,9 +12,6 @@
 	.block-editor-block-list__block:not(.wp-social-link) {
 		color: currentColor; // uses text color specified with background-color options in /blocks/utilities/_style.scss
 
-		a:not(.has-text-color):not(.wp-block-button__link) {
-			color: currentColor;
-		}
 		.has-link-color a {
 			color: var( --wp--style--color--link, var(--global--color-primary) );
 		}