From 9c76395092f314d8be2056e4ce4c4652141c346b Mon Sep 17 00:00:00 2001 From: Kelly Choyce-Dwan Date: Mon, 24 Jul 2023 23:13:31 +0000 Subject: [PATCH] Administration: Update dashboard welcome panel for 6.3. Update the background image and styles for the Welcome Panel. This iteration does not use different colors on the admin color schemes, so the CSS for that has been removed. This also adds back in a working "Edit styles" link, which was removed in 6.2 because the link was broken. Props richtabor, markoserb. Fixes #58545. git-svn-id: https://develop.svn.wordpress.org/trunk@56291 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/_admin.scss | 16 ------ src/wp-admin/css/dashboard.css | 2 +- src/wp-admin/images/dashboard-background.svg | 59 ++++++++++++++++++-- src/wp-admin/includes/dashboard.php | 1 + 4 files changed, 57 insertions(+), 21 deletions(-) diff --git a/src/wp-admin/css/colors/_admin.scss b/src/wp-admin/css/colors/_admin.scss index 832ab70a95..59d17b17e8 100644 --- a/src/wp-admin/css/colors/_admin.scss +++ b/src/wp-admin/css/colors/_admin.scss @@ -786,19 +786,3 @@ div#wp-responsive-toggle a:before { color: $link; } } - -/* Welcome Panel */ -@if ( $custom-welcome-panel == "true" ) { - .welcome-panel { - background-color: $dashboard-accent-1; - } - - .welcome-panel-header-image .curve, - .welcome-panel-header-image .dot { - fill: $dashboard-accent-2; - } - - [class*="welcome-panel-icon"] { - background-color: $dashboard-icon-background; - } -} diff --git a/src/wp-admin/css/dashboard.css b/src/wp-admin/css/dashboard.css index 60c047923c..c0d2459cac 100644 --- a/src/wp-admin/css/dashboard.css +++ b/src/wp-admin/css/dashboard.css @@ -120,7 +120,7 @@ position: relative; overflow: auto; margin: 16px 0; - background-color: #1d35b4; + background-color: #151515; font-size: 14px; line-height: 1.3; clear: both; diff --git a/src/wp-admin/images/dashboard-background.svg b/src/wp-admin/images/dashboard-background.svg index 58dab0607c..e4d70862d7 100644 --- a/src/wp-admin/images/dashboard-background.svg +++ b/src/wp-admin/images/dashboard-background.svg @@ -1,10 +1,61 @@ -

+