Shift welcome panel columns below WP badge. Improve column grid. props chexee, see #11651.

git-svn-id: https://develop.svn.wordpress.org/trunk@19342 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Daryl Koopersmith 2011-11-18 23:33:11 +00:00
parent 4c029929c3
commit 8ada86e942
4 changed files with 146 additions and 130 deletions

File diff suppressed because one or more lines are too long

View File

@ -2209,24 +2209,38 @@ body.admin-bar #adminmenu {
.welcome-panel .wp-badge {
float: left;
margin-bottom: 20px;
}
.welcome-panel-content {
max-width: 1500px;
}
.welcome-panel-content .about-description,
.welcome-panel h3 {
margin-left: 190px;
}
.welcome-panel p.welcome-panel-dismiss {
clear: both;
padding: 1.5em 0 0 0;
padding: 1em 0 0 0;
}
.welcome-panel .welcome-panel-column-container {
clear: both;
overflow: hidden;
position: relative;
padding-left: 25px;
}
.welcome-panel .welcome-panel-column {
margin: 0 40px 0 24px;
max-width: 270px;
min-width: 220px;
width: 25%;
margin: 0 5% 0 -25px;
padding-left: 25px;
width: 30%;
min-width: 200px;
float: left;
}
.welcome-panel .welcome-panel-column:last-child {
margin-right: 0;
}

View File

@ -1294,6 +1294,7 @@ function wp_welcome_panel() {
<h3><?php _e( 'Welcome to your new WordPress site! ' ); ?></h3>
<p class="about-description"><?php _e( 'If you need help getting started, check out our documentation on <a href="http://codex.wordpress.org/First_Steps_With_WordPress">First Steps with WordPress</a>. If you&#8217;d rather dive right in, here are a few things most people do first when they set up a new WordPress site. If you need help, use the Help tabs in the upper right corner to get information on how to use your current screen and where to go for more assistance.' ); ?></p>
<div class="welcome-panel-column-container">
<div class="welcome-panel-column">
<h4>
<span class="icon16 icon-settings"></span>
@ -1420,6 +1421,7 @@ function wp_welcome_panel() {
</ul>
<?php endif; ?>
</div>
</div>
<p class="welcome-panel-dismiss"><?php printf( __( 'Already know what you&#8217;re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
</div>
</div>

View File

@ -433,7 +433,7 @@ function wp_default_styles( &$styles ) {
// Any rtl stylesheets that don't have a .dev version for ltr
$no_suffix = array( 'farbtastic' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111118' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111118a' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111015' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );