Dashboard styling from mdawaffe. see #5750

git-svn-id: http://svn.automattic.com/wordpress/trunk@6811 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2008-02-13 11:01:42 +00:00
parent 30c5b7473e
commit 32d6f88d87
2 changed files with 16 additions and 6 deletions

View File

@ -6,26 +6,36 @@
#rightnow .reallynow {
background: #d54e21;
padding: 12px;
padding: 6px;
color: #fff;
font-size: 15px;
line-height: 2;
margin: 0;
}
#rightnow .rbutton {
background: #ebebeb;
-moz-border-radius: 5px;
padding: 6px;
font-weight: normal;
color: #264761;
padding: 6px;
border-bottom: none;
}
#rightnow .reallynow span {
display: block;
text-align: left;
float: left;
padding: 0 6px;
}
#rightnow .reallynow a {
display: block;
text-align: right;
float: right;
margin-left: 5px;
padding: 0 6px;
font-size: 14px;
margin-top: -24px;
margin: 1px 6px 0 0;
}
#rightnow .youhave {
@ -69,7 +79,7 @@ div.dashboard-widget-holder.full {
}
div.dashboard-widget-holder.double div.dashboard-widget {
height: 53em;
height: 52em;
padding-bottom: 28px /* lame */
}

View File

@ -39,7 +39,7 @@ $today = current_time('mysql', 1);
<h2><?php _e('Dashboard'); ?></h2>
<div id="rightnow">
<h3 class="reallynow"><?php _e('Right Now'); ?> <a href="post-new.php" class="rbutton"><?php _e('Write a New Post'); ?></a> <a href="page-new.php" class="rbutton"><?php _e('Write a New Page'); ?></a></h3>
<h3 class="reallynow"><span><?php _e('Right Now'); ?></span> <a href="post-new.php" class="rbutton"><?php _e('Write a New Post'); ?></a> <a href="page-new.php" class="rbutton"><?php _e('Write a New Page'); ?></a><br class="clear" /></h3>
<?php
$num_posts = wp_count_posts( 'post' );