Explorar o código

fix colors in the editor

Ben Dwyer %!s(int64=4) %!d(string=hai) anos
pai
achega
926da9cd19

+ 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) );
 		}