From 6d16a905b8a251327d20df1bd01392b79d775647 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Tue, 20 Mar 2018 21:19:41 +0000 Subject: [PATCH] Twenty Seventeen: Underline links in comments. Props jainnidhi, larrach, audrasjb. Merges [42713] to the 4.9 branch. Fixes #43317. Built from https://develop.svn.wordpress.org/branches/4.9@42859 git-svn-id: http://core.svn.wordpress.org/branches/4.9@42689 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyseventeen/assets/css/colors-dark.css | 6 ++++++ wp-content/themes/twentyseventeen/inc/color-patterns.php | 7 +++++++ wp-content/themes/twentyseventeen/style.css | 4 ++++ wp-includes/version.php | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css index d6fda60c4e..3b85b97d96 100644 --- a/wp-content/themes/twentyseventeen/assets/css/colors-dark.css +++ b/wp-content/themes/twentyseventeen/assets/css/colors-dark.css @@ -19,6 +19,8 @@ .colors-dark .entry-content a:hover, .colors-dark .entry-summary a:focus, .colors-dark .entry-summary a:hover, +.colors-dark .comment-content a:focus, +.colors-dark .comment-content a:hover, .colors-dark .widget a:focus, .colors-dark .widget a:hover, .colors-dark .site-footer .widget-area a:focus, @@ -74,6 +76,8 @@ .colors-dark .entry-content a:hover, .colors-dark .entry-summary a:focus, .colors-dark .entry-summary a:hover, +.colors-dark .comment-content a:focus, +.colors-dark .comment-content a:hover, .colors-dark .widget a:focus, .colors-dark .widget a:hover, .colors-dark .site-footer .widget-area a:focus, @@ -128,6 +132,7 @@ .colors-dark .entry-content a, .colors-dark .entry-summary a, +.colors-dark .comment-content a, .colors-dark .widget a, .colors-dark .site-footer .widget-area a, .colors-dark .posts-navigation a, @@ -475,6 +480,7 @@ body.colors-dark, /* Fixes linked images */ .colors-dark .entry-content a img, +.colors-dark .comment-content a img, .colors-dark .widget a img { -webkit-box-shadow: 0 0 0 8px #222; box-shadow: 0 0 0 8px #222; diff --git a/wp-content/themes/twentyseventeen/inc/color-patterns.php b/wp-content/themes/twentyseventeen/inc/color-patterns.php index 74d5031dbb..3f1ecddd0c 100644 --- a/wp-content/themes/twentyseventeen/inc/color-patterns.php +++ b/wp-content/themes/twentyseventeen/inc/color-patterns.php @@ -36,6 +36,8 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a:hover, .colors-custom .entry-summary a:focus, .colors-custom .entry-summary a:hover, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:focus, .colors-custom .widget a:hover, .colors-custom .site-footer .widget-area a:focus, @@ -91,6 +93,7 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a, .colors-custom .entry-summary a, +.colors-custom .comment-content a, .colors-custom .widget a, .colors-custom .site-footer .widget-area a, .colors-custom .posts-navigation a, @@ -152,6 +155,8 @@ function twentyseventeen_custom_colors_css() { .colors-custom .entry-content a:hover, .colors-custom .entry-summary a:focus, .colors-custom .entry-summary a:hover, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:focus, .colors-custom .widget a:hover, .colors-custom .site-footer .widget-area a:focus, @@ -493,6 +498,8 @@ body.colors-custom, .colors-custom .entry-content a:focus, .colors-custom .entry-summary a:hover, .colors-custom .entry-summary a:focus, +.colors-custom .comment-content a:focus, +.colors-custom .comment-content a:hover, .colors-custom .widget a:hover, .colors-custom .widget a:focus, .colors-custom .site-footer .widget-area a:hover, diff --git a/wp-content/themes/twentyseventeen/style.css b/wp-content/themes/twentyseventeen/style.css index 5580e4e484..de3c26f494 100644 --- a/wp-content/themes/twentyseventeen/style.css +++ b/wp-content/themes/twentyseventeen/style.css @@ -1178,6 +1178,7 @@ a:active { .entry-content a, .entry-summary a, +.comment-content a, .widget a, .site-footer .widget-area a, .posts-navigation a, @@ -1225,6 +1226,8 @@ a .nav-title, .entry-content a:hover, .entry-summary a:focus, .entry-summary a:hover, +.comment-content a:focus, +.comment-content a:hover, .widget a:focus, .widget a:hover, .site-footer .widget-area a:focus, @@ -1276,6 +1279,7 @@ a:hover .nav-title, /* Fixes linked images */ .entry-content a img, +.comment-content a img, .widget a img { -webkit-box-shadow: 0 0 0 8px #fff; box-shadow: 0 0 0 8px #fff; diff --git a/wp-includes/version.php b/wp-includes/version.php index 04eebcd1a1..69b14a713b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9.5-alpha-42854'; +$wp_version = '4.9.5-alpha-42859'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.