|
@@ -23,13 +23,24 @@ add_editor_color_rule( 'bg', '#060f29', array(
|
|
|
#editor .editor-styles-wrapper .wp-block-button__link.has-focus,
|
|
|
#editor .editor-styles-wrapper .wp-block-button__link:focus,
|
|
|
#editor .editor-styles-wrapper .wp-block-button__link:hover,
|
|
|
- #editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'color' ),
|
|
|
+ #editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover-image:not([class=*"background-color"]) .wp-block-cover-image-text,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover-image:not([class=*"background-color"]) .wp-block-cover-text,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover-image:not([class=*"background-color"]) .wp-block-cover__inner-container,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover:not([class=*"background-color"]) .wp-block-cover-image-text,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover:not([class=*"background-color"]) .wp-block-cover-text,
|
|
|
+ #editor .editor-styles-wrapper .wp-block-cover:not([class=*"background-color"]) .wp-block-cover__inner-container', 'color' ),
|
|
|
|
|
|
/**
|
|
|
* Utility Classes
|
|
|
*/
|
|
|
// Text-color
|
|
|
- array( '#editor .editor-styles-wrapper .has-background-color[class]', 'color' ),
|
|
|
+ array( '#editor .editor-styles-wrapper .has-primary-background-color[class],
|
|
|
+ #editor .editor-styles-wrapper .has-secondary-background-color[class],
|
|
|
+ #editor .editor-styles-wrapper .has-foreground-background-color[class],
|
|
|
+ #editor .editor-styles-wrapper .has-foreground-dark-background-color[class],
|
|
|
+ #editor .editor-styles-wrapper .has-foreground-light-background-color[class],
|
|
|
+ #editor .editor-styles-wrapper .has-background-color[class]', 'color' ),
|
|
|
// Background-color
|
|
|
array( '#editor .editor-styles-wrapper .has-background-background-color[class]', 'background-color' ),
|
|
|
// Text-color darkened
|
|
@@ -68,7 +79,9 @@ add_editor_color_rule( 'link', '#CAAB57', array(
|
|
|
#editor .editor-styles-wrapper .wp-block-pullquote.is-style-solid-color', 'background-color' ),
|
|
|
|
|
|
// Text-color
|
|
|
- array( '#editor .editor-styles-wrapper .is-style-outline .wp-block-button__link,
|
|
|
+ array( '#editor .editor-styles-wrapper .is-style-outline .wp-block-button__link:not(.has-text-color),
|
|
|
+ #editor .editor-styles-wrapper .wp-block-button__link.is-style-outline:not(.has-text-color),
|
|
|
+ #editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a,
|
|
|
#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a,
|
|
|
#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a:active,
|
|
|
#editor .editor-styles-wrapper .wp-block-a8c-blog-posts .entry-title a:focus,
|
|
@@ -102,6 +115,10 @@ add_editor_color_rule( 'txt', '#f2f2f2', array(
|
|
|
#editor .editor-styles-wrapper .wp-block-pullquote,
|
|
|
#editor .editor-styles-wrapper', 'color' ),
|
|
|
|
|
|
+ // Background-color
|
|
|
+ array( '#editor .editor-styles-wrapper table.is-style-stripes tbody tr:nth-child(odd),
|
|
|
+ #editor .editor-styles-wrapper .wp-block-table.is-style-stripes tbody tr:nth-child(odd)', 'background-color' ),
|
|
|
+
|
|
|
/**
|
|
|
* Utility Classes
|
|
|
*/
|