Changeset 55451
- Timestamp:
- 03/01/2023 04:40:29 PM (20 months ago)
- Location:
- trunk/src/wp-admin
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/css/colors/_admin.scss
r55048 r55451 789 789 790 790 /* Welcome Panel */ 791 .welcome-panel { 792 background-color: $dashboard-accent-1; 793 } 794 795 .welcome-panel-header-image circle { 796 stroke: $dashboard-accent-2; 797 fill: $dashboard-accent-1; 798 } 799 800 [class*="welcome-panel-icon"] { 801 background-color: $dashboard-icon-background; 802 } 791 @if ( $custom-welcome-panel == "true" ) { 792 .welcome-panel { 793 background-color: $dashboard-accent-1; 794 } 795 796 .welcome-panel-header-image .curve, 797 .welcome-panel-header-image .dot { 798 fill: $dashboard-accent-2; 799 } 800 801 [class*="welcome-panel-icon"] { 802 background-color: $dashboard-icon-background; 803 } 804 } -
trunk/src/wp-admin/css/colors/_variables.scss
r54638 r55451 66 66 // Dashboard Colors 67 67 68 $custom-welcome-panel: "true" !default; 68 69 $dashboard-accent-1: $highlight-color !default; 69 $dashboard-accent-2: rgba(255, 255, 255, 0. 5) !default;70 $dashboard-accent-2: rgba(255, 255, 255, 0.33) !default; 70 71 $dashboard-icon-background: $dashboard-accent-2 !default; 71 72 -
trunk/src/wp-admin/css/colors/modern/colors.scss
r54638 r55451 8 8 $link-focus: darken($highlight-color, 10%); 9 9 10 $dashboard-accent-1: #273fcc; 11 $dashboard-accent-2: #627eff; 12 $dashboard-icon-background: #1d2327; 10 $custom-welcome-panel: "false"; 13 11 14 12 @import "../_admin.scss"; -
trunk/src/wp-admin/css/dashboard.css
r54638 r55451 121 121 overflow: auto; 122 122 margin: 16px 0; 123 background-color: # 273fcc;123 background-color: #1d35b4; 124 124 font-size: 14px; 125 125 line-height: 1.3; … … 147 147 148 148 .welcome-panel-header { 149 --about-header-bg-width: 780px;150 151 149 position: relative; 152 150 color: #fff; … … 166 164 display: block; 167 165 margin: auto; 168 width: var(--about-header-bg-width); 169 height: auto; 170 transform: scale(0.75); 171 transform-origin: center top; 166 width: 100%; 167 height: 100%; 168 } 169 170 .rtl .welcome-panel-header-image svg { 171 transform: scaleX(-1); 172 172 } 173 173 -
trunk/src/wp-admin/includes/dashboard.php
r55412 r55451 2044 2044 <div class="welcome-panel-header"> 2045 2045 <div class="welcome-panel-header-image"> 2046 <?php echo file_get_contents( dirname( __DIR__ ) . '/images/ about-header-about.svg' ); ?>2046 <?php echo file_get_contents( dirname( __DIR__ ) . '/images/dashboard-background.svg' ); ?> 2047 2047 </div> 2048 2048 <h2><?php _e( 'Welcome to WordPress!' ); ?></h2>
Note: See TracChangeset
for help on using the changeset viewer.