WordPress/wp-admin
desrosj 5bafb4ea2d Site Health: Improve the test badge implementation.
Label badges for each Site Health test currently display in either red, orange, or green, regardless of if the test passed or failed. This is confusing, as seeing red labels in the “Passed Test” section could alarm users (when really everything is OK and no action is required), and seeing green labels in the “Failed Tests” section would not appropriately encourage the user to take appropriate action.

This change makes several improvements to the label badges:

- Always right align the badges for consistent display.
- Remove background fill for badges. Instead, use a border.
- Use a consistent styling for all tests (passed and failed).
- The text color no longer uses true black (#000000).
- The `.badge.pink` CSS definition has been switched to `.badge.purple`, and the definitions for blue, gray, and green have also been updated to more closely follow the official WordPress color palette.

Props: pbiron, garrett-eclipse, hedgefield, Clorith, xkon, melchoyce, mdwolinski, alexdenning.
Fixes #46623.
Built from https://develop.svn.wordpress.org/trunk@45169


git-svn-id: http://core.svn.wordpress.org/trunk@44978 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-04-12 17:04:52 +00:00
..
css Site Health: Improve the test badge implementation. 2019-04-12 17:04:52 +00:00
images Build: Minify images 2019-02-25 15:21:52 +00:00
includes Site Health: Improve the test badge implementation. 2019-04-12 17:04:52 +00:00
js Docs: Fix typo in a comment in editor/dfw.js. 2019-04-07 05:39:50 +00:00
maint Accessibility: Remove negative tabindex from the login, install, and setup pages header. 2019-01-10 17:21:52 +00:00
network Help: Update support forum links. 2019-04-08 22:59:56 +00:00
user Code is Poetry. 2017-11-30 23:11:00 +00:00
about.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
admin-ajax.php Admin: Introduce the Site Health screens. 2019-03-23 03:55:53 +00:00
admin-footer.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
admin-header.php Administration: Improve user experience and clarify when in recovery mode. 2019-04-05 17:00:52 +00:00
admin-post.php Admin: Use is_user_logged_in() instead of wp_validate_auth_cookie() in admin-post.php. 2019-01-16 05:41:50 +00:00
admin.php Coding Standards: Move an assignment out of a condition in wp-admin/admin.php. 2019-01-15 05:48:50 +00:00
async-upload.php Docs: Fix a few minor inline documentation typos in a variety of files and contexts. 2018-12-19 07:42:49 +00:00
comment.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
credits.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
custom-background.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
custom-header.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
customize.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
edit-comments.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
edit-form-advanced.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
edit-form-blocks.php Meta Boxes: Use a unique name for the nonce of the meta box loader. 2019-03-20 08:12:51 +00:00
edit-form-comment.php Comments: Restore a removed fieldset legend after [44466]. 2019-01-29 19:10:49 +00:00
edit-link-form.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
edit-tag-form.php Terms: Show error colours when a term fails to update. 2019-01-21 04:50:50 +00:00
edit-tags.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
edit.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
export.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
freedoms.php Accessibility: Improve the semantics of "tabs" that are not real ARIA tabs. 2019-03-15 14:54:52 +00:00
import.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
index.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
install-helper.php Code is Poetry. 2017-11-30 23:11:00 +00:00
install.php Accessibility: Remove negative tabindex from the login, install, and setup pages header. 2019-01-10 17:21:52 +00:00
link-add.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link-manager.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
link-parse-opml.php Code is Poetry. 2017-11-30 23:11:00 +00:00
link.php Code is Poetry. 2017-11-30 23:11:00 +00:00
load-scripts.php Script Loader: Ensure default packages are registered when loaded via load-scripts.php. 2018-12-17 03:15:20 +00:00
load-styles.php Script loader: remove (PHP based) compression from load-styles.php and load-scripts.php. WIth the amount of scripts and stylesheets grown a lot over the years, it has become pretty slow and consumes a lot of server resources. Also, most servers are set to compress PHP output anyway. 2018-08-20 13:51:24 +00:00
media-new.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
media-upload.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
media.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
menu-header.php Docs: Fix a few minor inline documentation typos in a variety of files and contexts. 2018-12-19 07:42:49 +00:00
menu.php Privacy: Remove the privacy changes bubble. 2019-04-08 23:12:51 +00:00
moderation.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-admin.php
ms-delete-site.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
ms-edit.php
ms-options.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-sites.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-themes.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-upgrade-network.php Code is Poetry. 2017-11-30 23:11:00 +00:00
ms-users.php Code is Poetry. 2017-11-30 23:11:00 +00:00
my-sites.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
nav-menus.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
network.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-discussion.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-general.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-head.php Code is Poetry. 2017-11-30 23:11:00 +00:00
options-media.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-permalink.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-reading.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options-writing.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
options.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
plugin-editor.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
plugin-install.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
plugins.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
post-new.php Editor: Merge some minor bug fixes. 2018-12-14 05:12:52 +00:00
post.php Admin: Re-add some validation from [44048] that was accidentally removed in [44165]. 2019-02-07 04:12:51 +00:00
press-this.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
privacy.php Privacy: Use a consistent URL for Privacy Policy guide. 2019-03-21 21:17:50 +00:00
profile.php Code is Poetry. 2017-11-30 23:11:00 +00:00
revision.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
setup-config.php Upgrade/Install: Update character count for the $table_prefix config line after [43650] and [42343]. 2019-02-12 16:52:53 +00:00
site-health-info.php Site health: Fix gathering the site data twice on non-English locales. Introduces two sets of data: 2019-04-10 05:07:51 +00:00
site-health.php Site Health: i18n audit, take 1. 2019-04-02 21:32:53 +00:00
term.php General: Further improve error messages following [42648]. 2018-02-19 02:13:32 +00:00
theme-editor.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
theme-install.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
themes.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
tools.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
update-core.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
update.php Coding Standards: Upgrade WPCS to 1.0.0 2018-08-17 01:51:36 +00:00
upgrade-functions.php Code is Poetry. 2017-11-30 23:11:00 +00:00
upgrade.php Install/Upgrade: After [44451], update translator comments to include the new placeholder. 2019-01-27 14:46:55 +00:00
upload.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
user-edit.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
user-new.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
users.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00
widgets.php Help: Update support forum links. 2019-04-08 22:59:56 +00:00