|
@@ -0,0 +1,109 @@
|
|
|
+<?php
|
|
|
+/* Custom Colors: Varia */
|
|
|
+
|
|
|
+// Background Color: White
|
|
|
+add_color_rule( 'bg', '#ffffff', array(
|
|
|
+
|
|
|
+ // Background-color
|
|
|
+ array( '.has-background-background-color[class],
|
|
|
+ .screen-reader-text:focus,
|
|
|
+ body,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law.negative input.accept', 'background-color' ),
|
|
|
+
|
|
|
+ // Text-color
|
|
|
+ array( '.a8c-posts-list-item__featured span,
|
|
|
+ .a8c-posts-list__view-all,
|
|
|
+ .a8c-posts-list__view-all:focus,
|
|
|
+ .a8c-posts-list__view-all:hover,
|
|
|
+ .button,
|
|
|
+ .button:focus,
|
|
|
+ .button:hover,
|
|
|
+ .has-background-color[class],
|
|
|
+ .has-focus.a8c-posts-list__view-all,
|
|
|
+ .has-focus.button,
|
|
|
+ .has-focus.wp-block-button__link,
|
|
|
+ .has-focus.wp-block-file__button,
|
|
|
+ .has-foreground-background-color[class],
|
|
|
+ .has-foreground-dark-background-color[class],
|
|
|
+ .has-foreground-light-background-color[class],
|
|
|
+ .has-primary-background-color[class],
|
|
|
+ .has-secondary-background-color[class],
|
|
|
+ .sticky-post,
|
|
|
+ .wp-block-button__link,
|
|
|
+ .wp-block-button__link:focus,
|
|
|
+ .wp-block-button__link:hover,
|
|
|
+ .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-image-text,
|
|
|
+ .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover-text,
|
|
|
+ .wp-block-cover-image:not([class*="background-color"]) .wp-block-cover__inner-container,
|
|
|
+ .wp-block-cover:not([class*="background-color"]) .wp-block-cover-image-text,
|
|
|
+ .wp-block-cover:not([class*="background-color"]) .wp-block-cover-text,
|
|
|
+ .wp-block-cover:not([class*="background-color"]) .wp-block-cover__inner-container,
|
|
|
+ .wp-block-file .wp-block-file__button,
|
|
|
+ .wp-block-file a.wp-block-file__button:active,
|
|
|
+ .wp-block-file a.wp-block-file__button:focus,
|
|
|
+ .wp-block-file a.wp-block-file__button:hover,
|
|
|
+ .wp-block-file a.wp-block-file__button:visited,
|
|
|
+ .wp-block-file__button,
|
|
|
+ .wp-block-file__button:focus,
|
|
|
+ .wp-block-file__button:hover,
|
|
|
+ .wp-block-gallery .blocks-gallery-image figcaption,
|
|
|
+ .wp-block-gallery .blocks-gallery-item figcaption,
|
|
|
+ .wp-block-pullquote.is-style-solid-color,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law input.accept,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:focus,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law input.accept:hover,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law input.has-focus.accept,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law.negative,
|
|
|
+ button,
|
|
|
+ button.has-focus,
|
|
|
+ button:focus,
|
|
|
+ button:hover,
|
|
|
+ button[data-load-more-btn],
|
|
|
+ input.has-focus[type="submit"],
|
|
|
+ input:focus[type="submit"],
|
|
|
+ input:hover[type="submit"],
|
|
|
+ input[type="submit"]', 'color' ),
|
|
|
+
|
|
|
+), __( 'Background Color' ) );
|
|
|
+
|
|
|
+// Link Color: Blue
|
|
|
+add_color_rule( 'link', '#0000ff', array(
|
|
|
+
|
|
|
+ // Background-color
|
|
|
+ array( '.a8c-posts-list-item__featured span,
|
|
|
+ .a8c-posts-list__view-all,
|
|
|
+ .button,
|
|
|
+ .has-primary-background-color[class],
|
|
|
+ .sticky-post,
|
|
|
+ .wp-block-button__link,
|
|
|
+ .wp-block-file .wp-block-file__button,
|
|
|
+ .wp-block-file__button,
|
|
|
+ .wp-block-pullquote.is-style-solid-color,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law input.accept,
|
|
|
+ button,
|
|
|
+ button[data-load-more-btn],
|
|
|
+ input[type="submit"]', 'background-color' ),
|
|
|
+
|
|
|
+ // Text-color
|
|
|
+ array( '.has-primary-color[class],
|
|
|
+ .main-navigation a,
|
|
|
+ .main-navigation a:link,
|
|
|
+ .main-navigation a:visited,
|
|
|
+ .site-title,
|
|
|
+ .social-navigation a,
|
|
|
+ .wp-block-button.is-style-outline .wp-block-button__link,
|
|
|
+ .wp-block-button.is-style-outline .wp-block-button__link:active,
|
|
|
+ .wp-block-button.is-style-outline.wp-block-button__link,
|
|
|
+ .wp-block-button.is-style-outline.wp-block-button__link:active,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-title a,
|
|
|
+ a', 'color' ),
|
|
|
+
|
|
|
+ // Border color left
|
|
|
+ array( '.wp-block-quote', 'border-left-color', 'blue' ),
|
|
|
+
|
|
|
+ // Border color right
|
|
|
+ array( '.wp-block-quote[style*="text-align: right"],
|
|
|
+ .wp-block-quote[style*="text-align:right"]', 'border-right-color', 'blue' ),
|
|
|
+
|
|
|
+), __( 'Link Color' ) );
|