|
@@ -110,6 +110,42 @@ add_color_rule( 'bg', '#060f29', array(
|
|
|
// Background-color lightened
|
|
|
array( '.has-background-light-background-color[class]', 'background-color', '+1' ),
|
|
|
|
|
|
+ /**
|
|
|
+ * Grays
|
|
|
+ * Uses a slightly darker color
|
|
|
+ */
|
|
|
+ // Border-color
|
|
|
+ array( '.wp-block-code,
|
|
|
+ body .widget_eu_cookie_law_widget #eu-cookie-law,
|
|
|
+ input[type="color"],
|
|
|
+ input[type="date"],
|
|
|
+ input[type="datetime"],
|
|
|
+ input[type="datetime-local"],
|
|
|
+ input[type="email"],
|
|
|
+ input[type="month"],
|
|
|
+ input[type="number"],
|
|
|
+ input[type="password"],
|
|
|
+ input[type="range"],
|
|
|
+ input[type="search"],
|
|
|
+ input[type="tel"],
|
|
|
+ input[type="text"],
|
|
|
+ input[type="time"],
|
|
|
+ input[type="url"],
|
|
|
+ input[type="week"],
|
|
|
+ select,
|
|
|
+ textarea', 'border-color', '-1' ),
|
|
|
+ // Border-top-color
|
|
|
+ array( '.comment-list .children > li,
|
|
|
+ .comment-list > li,
|
|
|
+ .wp-block-pullquote', 'border-top-color', '-1' ),
|
|
|
+ // Border-bottom-color
|
|
|
+ array( '.comment-list,
|
|
|
+ .wp-block-pullquote,
|
|
|
+ hr,
|
|
|
+ hr.wp-block-separator', 'border-bottom-color', '-1' ),
|
|
|
+ // Color
|
|
|
+ array( 'hr.wp-block-separator.is-style-dots:before', 'color', '-1' ),
|
|
|
+
|
|
|
), __( 'Background Color' ) );
|
|
|
|
|
|
// Link Color
|
|
@@ -223,6 +259,128 @@ add_color_rule( 'txt', '#f2f2f2', array(
|
|
|
// Background-color brightened
|
|
|
array( '.has-foreground-light-background-color[class]', 'background-color', '+2' ),
|
|
|
|
|
|
+ /**
|
|
|
+ * Gray (Same as text color)
|
|
|
+ */
|
|
|
+ // Text-color
|
|
|
+ array( '.a8c-posts-list__item .a8c-posts-list-item__meta,
|
|
|
+ .comment-notes,
|
|
|
+ .entry-footer,
|
|
|
+ .entry-meta,
|
|
|
+ .footer-navigation .footer-menu,
|
|
|
+ .has-foreground-light-color[class],
|
|
|
+ .post-navigation .meta-nav,
|
|
|
+ .site-info,
|
|
|
+ .widget_archive ul li,
|
|
|
+ .widget_categories ul li,
|
|
|
+ .widget_meta ul li,
|
|
|
+ .widget_nav_menu ul li,
|
|
|
+ .widget_pages ul li,
|
|
|
+ .widget_recent_comments ul li,
|
|
|
+ .widget_recent_entries ul li,
|
|
|
+ .widget_rss ul li,
|
|
|
+ .wp-block-image figcaption,
|
|
|
+ .wp-block-latest-comments .wp-block-latest-comments__comment-date,
|
|
|
+ .wp-block-latest-posts .wp-block-latest-posts__post-date,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .cat-links,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-meta,
|
|
|
+ .wp-block-pullquote .wp-block-pullquote__citation,
|
|
|
+ .wp-block-pullquote cite,
|
|
|
+ .wp-block-pullquote footer,
|
|
|
+ .wp-block-quote .wp-block-quote__citation,
|
|
|
+ .wp-block-quote cite,
|
|
|
+ .wp-block-quote footer,
|
|
|
+ .wp-block-quote.is-large .wp-block-quote__citation,
|
|
|
+ .wp-block-quote.is-large cite,
|
|
|
+ .wp-block-quote.is-large footer,
|
|
|
+ .wp-block-quote.is-style-large .wp-block-quote__citation,
|
|
|
+ .wp-block-quote.is-style-large cite,
|
|
|
+ .wp-block-quote.is-style-large footer,
|
|
|
+ .wp-block-video figcaption,
|
|
|
+ figcaption', 'color' ),
|
|
|
+
|
|
|
+ /**
|
|
|
+ * Hover States
|
|
|
+ */
|
|
|
+ // Background-color
|
|
|
+ array( '.a8c-posts-list__view-all:focus,
|
|
|
+ .a8c-posts-list__view-all:hover,
|
|
|
+ .button:focus,
|
|
|
+ .button:hover,
|
|
|
+ .has-focus.a8c-posts-list__view-all,
|
|
|
+ .has-focus.button,
|
|
|
+ .has-focus.wp-block-button__link,
|
|
|
+ .has-focus.wp-block-file__button,
|
|
|
+ .wp-block-button__link:focus,
|
|
|
+ .wp-block-button__link:hover,
|
|
|
+ .wp-block-file__button:focus,
|
|
|
+ .wp-block-file__button:hover,
|
|
|
+ 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,
|
|
|
+ button.has-focus,
|
|
|
+ button:focus,
|
|
|
+ button:hover,
|
|
|
+ input.has-focus[type="submit"],
|
|
|
+ input:focus[type="submit"],
|
|
|
+ input:hover[type="submit"]', 'background-color', 0.7 ),
|
|
|
+ // Text-color
|
|
|
+ array( '.a8c-posts-list__item .a8c-posts-list-item__meta a:active,
|
|
|
+ .a8c-posts-list__item .a8c-posts-list-item__meta a:hover,
|
|
|
+ .comment-meta .comment-metadata a:active,
|
|
|
+ .comment-meta .comment-metadata a:hover,
|
|
|
+ .entry-footer a:active,
|
|
|
+ .entry-footer a:hover,
|
|
|
+ .entry-meta a:active,
|
|
|
+ .entry-meta a:hover,
|
|
|
+ .footer-navigation .footer-menu a:hover,
|
|
|
+ .site-info a:hover,
|
|
|
+ .social-navigation a:hover,
|
|
|
+ .wp-block-button.is-style-outline .wp-block-button__link.has-focus,
|
|
|
+ .wp-block-button.is-style-outline .wp-block-button__link:focus,
|
|
|
+ .wp-block-button.is-style-outline .wp-block-button__link:hover,
|
|
|
+ .wp-block-button.is-style-outline.wp-block-button__link.has-focus,
|
|
|
+ .wp-block-button.is-style-outline.wp-block-button__link:focus,
|
|
|
+ .wp-block-button.is-style-outline.wp-block-button__link:hover,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .cat-links a:active,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .cat-links a:focus,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .cat-links a:hover,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-meta a:active,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-meta a:focus,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-meta a:hover,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .entry-title a:hover,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .more-link:active,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .more-link:focus,
|
|
|
+ .wp-block-newspack-blocks-homepage-articles article .more-link:hover,
|
|
|
+ a:hover', 'color', 0.7 ),
|
|
|
+ // Border-color
|
|
|
+ array( 'input[type="color"]:focus,
|
|
|
+ input[type="date"]:focus,
|
|
|
+ input[type="datetime"]:focus,
|
|
|
+ input[type="datetime-local"]:focus,
|
|
|
+ input[type="email"]:focus,
|
|
|
+ input[type="month"]:focus,
|
|
|
+ input[type="number"]:focus,
|
|
|
+ input[type="password"]:focus,
|
|
|
+ input[type="range"]:focus,
|
|
|
+ input[type="search"]:focus,
|
|
|
+ input[type="tel"]:focus,
|
|
|
+ input[type="text"]:focus,
|
|
|
+ input[type="time"]:focus,
|
|
|
+ input[type="url"]:focus,
|
|
|
+ input[type="week"]:focus,
|
|
|
+ textarea:focus', 'border-color', 0.7 ),
|
|
|
+ // Background-color
|
|
|
+ array( '.site-header .main-navigation > div > ul > li.current-menu-item li.current-menu-item > a,
|
|
|
+ .site-header .main-navigation > div > ul > li.current-menu-item li.focus > a,
|
|
|
+ .site-header .main-navigation > div > ul > li.current-menu-item li:hover > a,
|
|
|
+ .site-header .main-navigation > div > ul > li.focus li.current-menu-item > a,
|
|
|
+ .site-header .main-navigation > div > ul > li.focus li.focus > a,
|
|
|
+ .site-header .main-navigation > div > ul > li.focus li:hover > a,
|
|
|
+ .site-header .main-navigation > div > ul > li:hover li.current-menu-item > a,
|
|
|
+ .site-header .main-navigation > div > ul > li:hover li.focus > a,
|
|
|
+ .site-header .main-navigation > div > ul > li:hover li:hover > a', 'background-color', 0.7 ),
|
|
|
+
|
|
|
), __( 'Text Color' ) );
|
|
|
|
|
|
// Accent Color
|