From 07dc84f5a9300aa492cf6a334e8ce9ee07c265ed Mon Sep 17 00:00:00 2001 From: David Baumwald Date: Tue, 25 Oct 2022 19:47:00 +0000 Subject: [PATCH] Help/About: Update About section images. Switch to the CDN URLs for the images on the About page. Update the images used on Freedoms & Privacy to match the 6.1 design style. Props richtabor, audrasjb, kebbet. Reviewed by desrosj. Merges [54690] to the 6.1 branch. See #56357. git-svn-id: https://develop.svn.wordpress.org/branches/6.1@54695 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/about.php | 18 +++++++-------- src/wp-admin/css/about.css | 15 +++++++++++- src/wp-admin/freedoms.php | 8 +++---- src/wp-admin/images/freedom-1.svg | 13 +---------- src/wp-admin/images/freedom-2.svg | 14 +----------- src/wp-admin/images/freedom-3.svg | 38 +------------------------------ src/wp-admin/images/freedom-4.svg | 29 +---------------------- src/wp-admin/images/privacy.svg | 31 +------------------------ src/wp-admin/privacy.php | 2 +- 9 files changed, 33 insertions(+), 135 deletions(-) diff --git a/src/wp-admin/about.php b/src/wp-admin/about.php index a5802ecfa6..2a95554086 100644 --- a/src/wp-admin/about.php +++ b/src/wp-admin/about.php @@ -62,7 +62,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +
@@ -96,7 +96,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +
@@ -104,7 +104,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +
@@ -136,7 +136,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +
@@ -144,14 +144,14 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +

- +

@@ -161,21 +161,21 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +

- +

- +

diff --git a/src/wp-admin/css/about.css b/src/wp-admin/css/about.css index cac1043635..70551d9bc8 100644 --- a/src/wp-admin/css/about.css +++ b/src/wp-admin/css/about.css @@ -7,6 +7,7 @@ 1.3 Header 2.0 Credits Page 3.0 Freedoms Page + 4.0 Privacy Page x.2.0 Legacy About Styles: Global x.2.1 Typography x.2.2 Structure @@ -945,7 +946,19 @@ .about__section .column .freedom-image { margin-bottom: var(--gap); - max-height: 140px; + max-height: 180px; +} + + +/*------------------------------------------------------------------------------ + 4.0 - Privacy Page +------------------------------------------------------------------------------*/ + +.about__section .column .privacy-image { + display: block; + margin-left: auto; + margin-right: auto; + max-width: 25rem; } diff --git a/src/wp-admin/freedoms.php b/src/wp-admin/freedoms.php index 3d9389f1b1..6638890550 100644 --- a/src/wp-admin/freedoms.php +++ b/src/wp-admin/freedoms.php @@ -57,22 +57,22 @@ require_once ABSPATH . 'wp-admin/admin-header.php';

- +

- +

- +

- +

diff --git a/src/wp-admin/images/freedom-1.svg b/src/wp-admin/images/freedom-1.svg index 6e4f2575a1..24f27d2d5f 100644 --- a/src/wp-admin/images/freedom-1.svg +++ b/src/wp-admin/images/freedom-1.svg @@ -1,12 +1 @@ - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/wp-admin/images/freedom-2.svg b/src/wp-admin/images/freedom-2.svg index f006ca1a53..79bd3166a3 100644 --- a/src/wp-admin/images/freedom-2.svg +++ b/src/wp-admin/images/freedom-2.svg @@ -1,13 +1 @@ - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/wp-admin/images/freedom-3.svg b/src/wp-admin/images/freedom-3.svg index c01e6f2cd4..215c0b0510 100644 --- a/src/wp-admin/images/freedom-3.svg +++ b/src/wp-admin/images/freedom-3.svg @@ -1,37 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/wp-admin/images/freedom-4.svg b/src/wp-admin/images/freedom-4.svg index ff9a8d07e8..0347b33c18 100644 --- a/src/wp-admin/images/freedom-4.svg +++ b/src/wp-admin/images/freedom-4.svg @@ -1,28 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/wp-admin/images/privacy.svg b/src/wp-admin/images/privacy.svg index 4267891c72..d3f3d11e19 100644 --- a/src/wp-admin/images/privacy.svg +++ b/src/wp-admin/images/privacy.svg @@ -1,30 +1 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file diff --git a/src/wp-admin/privacy.php b/src/wp-admin/privacy.php index 0eda132a9f..6ee9cb1fab 100644 --- a/src/wp-admin/privacy.php +++ b/src/wp-admin/privacy.php @@ -39,7 +39,7 @@ require_once ABSPATH . 'wp-admin/admin-header.php';
- +