Welcome Screen styling. Props chexee. see #11651

git-svn-id: https://develop.svn.wordpress.org/trunk@19339 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2011-11-18 18:58:46 +00:00
parent c68fe3c461
commit a320cb7f46
4 changed files with 10 additions and 4 deletions

File diff suppressed because one or more lines are too long

View File

@ -2178,6 +2178,7 @@ body.admin-bar #adminmenu {
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
font-size: 32px;
font-weight: normal;
line-height: 1.2;
margin: 0.1em 0 0.8em;
}
.welcome-panel h4 {
@ -2214,6 +2215,11 @@ body.admin-bar #adminmenu {
margin-left: 190px;
}
.welcome-panel p.welcome-panel-dismiss {
clear: both;
padding: 1.5em 0 0 0;
}
.welcome-panel .welcome-panel-column {
margin: 0 40px 0 24px;
max-width: 270px;

View File

@ -1375,7 +1375,7 @@ function wp_welcome_panel() {
echo '</p>';
else:
echo '<p>';
printf( __( 'Use the current theme -- %1$s -- or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), $ct->title, esc_url( admin_url( 'themes.php' ) ), $ct->title );
printf( __( 'Use the current theme &mdash; %1$s &mdash; or <a href="%2$s">choose a new one</a>. If you stick with %3$s, here are a few ways to make your site look unique.' ), $ct->title, esc_url( admin_url( 'themes.php' ) ), $ct->title );
echo '</p>';
?>
<ul>
@ -1420,7 +1420,7 @@ function wp_welcome_panel() {
</ul>
<?php endif; ?>
</div>
<p><?php printf( __( 'Already know what you&#8217;re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
<p class="welcome-panel-dismiss"><?php printf( __( 'Already know what you&#8217;re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
</div>
</div>
<?php

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(), '20111117' );
$styles->add( 'wp-admin', "/wp-admin/css/wp-admin$suffix.css", array(), '20111118' );
$styles->add( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111015' );
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );