General: Implement editorial, design and accessibility feedback for the PHP version nag.

The updated version of the nag is shorter, more on point and less aggressive than the previous one. It integrates better with the other dashboard widgets and fixes several accessibility concerns. A yellow warning color is used when the current PHP version is outdated, a red error color is used when it is also insecure.

Props afercia, birgire, danieltj, flixos90, johnjamesjacoby, karmatosed, Luciano Croce, nerrad, pento, schlessera, SergeyBiryukov, sonjaleix.

Fixes #41191.

Built from https://develop.svn.wordpress.org/trunk@43006


git-svn-id: http://core.svn.wordpress.org/trunk@42835 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Felix Arntz
2018-04-26 14:31:24 +00:00
parent 603c91b3bc
commit 6b2e34f703
7 changed files with 81 additions and 40 deletions

View File

@@ -1117,17 +1117,25 @@ a.rsswidget {
}
/* PHP Nag */
#dashboard_php_nag h2.hndle {
border-left: 4px solid #dc3232;
#dashboard_php_nag .dashicons-warning {
color: #ffb900;
padding-right: 6px;
}
#dashboard_php_nag.php-insecure .dashicons-warning {
color: #df3232;
}
#dashboard_php_nag p {
margin: 12px 0;
}
#dashboard_php_nag h3 {
font-weight: 600;
}
#dashboard_php_nag .button.button-hero {
display: block;
text-align: center;
#dashboard_php_nag .button .dashicons-external {
line-height: 25px;
}
/* =Media Queries