mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-16 19:46:21 +00:00
Welcome Screen styling. Props chexee. see #11651
git-svn-id: http://svn.automattic.com/wordpress/trunk@19339 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
6e1be9f5fb
commit
d89f81d168
File diff suppressed because one or more lines are too long
@ -2178,6 +2178,7 @@ body.admin-bar #adminmenu {
|
|||||||
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
|
font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", sans-serif;
|
||||||
font-size: 32px;
|
font-size: 32px;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
|
line-height: 1.2;
|
||||||
margin: 0.1em 0 0.8em;
|
margin: 0.1em 0 0.8em;
|
||||||
}
|
}
|
||||||
.welcome-panel h4 {
|
.welcome-panel h4 {
|
||||||
@ -2214,6 +2215,11 @@ body.admin-bar #adminmenu {
|
|||||||
margin-left: 190px;
|
margin-left: 190px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.welcome-panel p.welcome-panel-dismiss {
|
||||||
|
clear: both;
|
||||||
|
padding: 1.5em 0 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
.welcome-panel .welcome-panel-column {
|
.welcome-panel .welcome-panel-column {
|
||||||
margin: 0 40px 0 24px;
|
margin: 0 40px 0 24px;
|
||||||
max-width: 270px;
|
max-width: 270px;
|
||||||
|
@ -1375,7 +1375,7 @@ function wp_welcome_panel() {
|
|||||||
echo '</p>';
|
echo '</p>';
|
||||||
else:
|
else:
|
||||||
echo '<p>';
|
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 — %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 );
|
||||||
echo '</p>';
|
echo '</p>';
|
||||||
?>
|
?>
|
||||||
<ul>
|
<ul>
|
||||||
@ -1420,7 +1420,7 @@ function wp_welcome_panel() {
|
|||||||
</ul>
|
</ul>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<p><?php printf( __( 'Already know what you’re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
|
<p class="welcome-panel-dismiss"><?php printf( __( 'Already know what you’re doing? <a href="%s">Dismiss this message</a>.' ), '#' ) ?></p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<?php
|
<?php
|
||||||
|
@ -433,7 +433,7 @@ function wp_default_styles( &$styles ) {
|
|||||||
// Any rtl stylesheets that don't have a .dev version for ltr
|
// Any rtl stylesheets that don't have a .dev version for ltr
|
||||||
$no_suffix = array( 'farbtastic' );
|
$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( 'ie', "/wp-admin/css/ie$suffix.css", array(), '20111015' );
|
||||||
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
$styles->add_data( 'ie', 'conditional', 'lte IE 7' );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user