Spacing cleanups and fixes. Hat tip: azaozz.

git-svn-id: http://svn.automattic.com/wordpress/trunk@7484 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
matt 2008-03-23 06:41:43 +00:00
parent a4589fb866
commit 94c34601ef
11 changed files with 194 additions and 57 deletions

View File

@ -161,11 +161,10 @@ cat_rows();
</table>
</form>
<br class="clear" />
<div class="tablenav">
<br class="clear" />
</div>
<br class="clear" />
</div>

View File

@ -56,35 +56,50 @@ textarea, input, select {
border-collapse: collapse;
width: 100%;
clear: both;
margin: 0;
}
.widefat a {
text-decoration: none;
}
.widefat abbr {
white-space: nowrap;
}
.widefat td, .widefat th {
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: #ccc;
font-size: 11px;
padding: 10px 10px 14px;
padding: 7px 25px 6px 2px;
vertical-align: text-top;
}
.widefat th {
padding-bottom: 7px;
padding-top: 8px;
padding: 9px 25px 4px 2px;
text-align: left;
line-height: 1.3em;
}
.widefat th input {
margin: 0 3px;
padding: 0;
}
.widefat .check-column {
text-align: center;
vertical-align: text-top;
width: 3%;
width: 1.8em;
padding: 9px 2px 6px 6px;
}
.widefat tbody th.check-column {
padding-bottom: 20px;
}
.widefat .num {
text-align: center;
padding: 10px 16px 0;
}
.wrap, .updated, .error {
@ -98,11 +113,15 @@ textarea, input, select {
.updated, .error {
border-width: 1px;
border-style: solid;
padding: 0 15px;
padding: 0 0.6em;
max-width: 950px;
margin-bottom: 1em;
}
.updated p, .error p {
margin: 0.6em 0;
}
.wrap .updated, .wrap .error {
margin: auto 0 0;
}
@ -128,4 +147,4 @@ textarea, input, select {
#timestampdiv {
display: none;
}
}

View File

@ -54,10 +54,90 @@ form#template div {
#ed_toolbar input {
overflow: visible;
padding: 1px 5px;
padding: 0 4px;
}
#poststuff h2 {
font-size: 1.6em;
}
* html #poststuff h2 {
margin-left: 0;
}
#bh {
padding-right: 15px;
}
/* without this dashboard widgets appear in one column for some screen widths */
div#dashboard-widgets {
padding-right: 1px;
}
#tagchecklist {
display: block;
zoom: 100%;
}
#tagchecklist span, #tagchecklist span a {
display: inline-block;
display: block;
}
#tagchecklist span a {
margin: 4px 0 0 -9px;
}
#poststuff .togbox {
margin-left: -19px;
}
* html .tablenav {
}
.tablenav .button-secondary {
padding: 0 1px;
vertical-align: middle;
}
.tablenav select {
font-size: 13px;
display: inline-block;
vertical-align: top;
margin-top: 2px;
}
.tablenav-pages .page-numbers {
display: inline-block;
}
.tablenav-pages {
display: block;
margin-top: -3px;
}
#post-search .button, #widget-search .button {
padding: 1px;
}
.widefat tr, .widefat th {
padding: 13px 25px 0 2px;
margin-bottom: 0;
border-spacing: 0;
}
.widefat thead th.check-column {
padding: 9px 2px 4px 3px;
}
.widefat tbody th.check-column {
padding: 4px 3px 22px 3px;
text-align:center;
width:1.8em;
}
.widefat th.num {
padding: 14px 16px 0;
}

View File

@ -207,7 +207,7 @@ endif; ?>
<h3><?php _e('Tags'); ?></h3>
<div class="inside">
<p id="jaxtag"><input type="text" name="tags_input" class="tags-input" id="tags-input" size="40" tabindex="3" value="<?php echo get_tags_to_edit( $post_ID ); ?>" /></p>
<p id="tagchecklist"></p>
<div id="tagchecklist"></div>
</div>
</div>

View File

@ -124,8 +124,6 @@ if ( $categories ) {
</table>
</form>
<br class="clear" />
<div class="tablenav">
<?php
@ -134,6 +132,7 @@ if ( $page_links )
?>
<br class="clear" />
</div>
<br class="clear" />
</div>

View File

@ -173,8 +173,6 @@ $count = tag_rows( $pagenum, $tagsperpage, $searchterms );
</table>
</form>
<br class="clear" />
<div class="tablenav">
<?php
@ -183,6 +181,7 @@ if ( $page_links )
?>
<br class="clear" />
</div>
<br class="clear" />
</div>

View File

@ -191,9 +191,12 @@ foreach ($arc_result as $arc_row) {
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
</div>
<br class="clear" />
<?php
if ( 1 == count($posts) && is_singular() ) :

Binary file not shown.

Before

Width:  |  Height:  |  Size: 206 B

After

Width:  |  Height:  |  Size: 395 B

View File

@ -917,7 +917,7 @@ function parent_dropdown( $default = 0, $parent = 0, $level = 0 ) {
function browse_happy() {
$getit = __( 'WordPress recommends a better browser' );
echo '
<p id="bh" class="alignright"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p>
<span id="bh" class="alignright"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></span>
';
}

View File

@ -190,9 +190,11 @@ foreach ($arc_result as $arc_row) {
if ( $page_links )
echo "<div class='tablenav-pages'>$page_links</div>";
?>
<br class="clear" />
</div>
<br class="clear" />
<?php
if ( 1 == count($posts) && is_singular() ) :

View File

@ -138,9 +138,9 @@ form#upload #post_content {
}
.side-info h5 {
padding-bottom: 8px;
padding-bottom: 7px;
font-size: 14px;
margin-bottom: 6px;
margin: 12px 2px 5px;
border-bottom-width: 1px;
border-bottom-style: solid;
}
@ -153,8 +153,9 @@ form#upload #post_content {
.submit input, .button, .button-secondary, .button-highlighted {
font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
padding: 4px 6px;
padding: 3px 5px;
font-size: 12px;
line-height: 1.5em;
border-width: 1px;
border-style: solid;
-moz-border-radius: 3px;
@ -260,13 +261,14 @@ textarea.all-options, input.all-options {
}
#quicktags #ed_toolbar {
padding: 1px 3px;
padding: 2px 4px;
}
#ed_toolbar input {
margin: 3px 2px 2px;
padding: 2px 4px;
line-height: 18px;
display: inline-block;
}
#quicktags #ed_strong {
@ -466,6 +468,19 @@ p.pagenav {
margin-left: 5px;
}
.tablenav select {
padding: 2px;
display: inline-block;
line-height: 2;
height: 2em;
}
.tablenav option {
margin: 3px;
display: inline-block;
}
.tablenav a.button-secondary {
display: inline-block;
margin-right: 8px;
@ -473,6 +488,7 @@ p.pagenav {
.tablenav .button-secondary {
padding: 2px 4px;
}
.tablenav .tablenav-pages a.next, .tablenav .tablenav-pages a.prev {
@ -480,7 +496,8 @@ p.pagenav {
}
.tablenav {
padding: 10px 10px 8px;
height: 2em;
padding: 7px 10px;
clear: both;
margin-bottom: -10px;
margin-top: 8px;
@ -488,8 +505,8 @@ p.pagenav {
.tablenav .tablenav-pages {
float: right;
height: 20px;
padding-top: 4px;
height: 18px;
padding-top: 6px;
font-size: 11px;
}
@ -499,6 +516,7 @@ p.pagenav {
td.media-icon {
vertical-align: middle;
text-align: center;
}
td.media-icon img {
@ -700,20 +718,21 @@ a.view-comment-post-link {
.post-com-count {
height: 1.3em;
line-height: 1.1em;
display: block;
text-decoration: none;
overflow: hidden;
padding: 0 0 5px;
padding: 0 0 6px;
cursor: pointer;
background-position: center -81px;
background-position: center -80px;
background-repeat: no-repeat;
}
.post-com-count span {
height: 1.3em;
line-height: 1.3em;
line-height: 1.2em;
padding: 0 0.5em;
background-color: #bbb;
display: inline-block;
cursor: pointer;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
@ -876,21 +895,35 @@ html, body {
/* Post Screen */
#tagsdiv #newtag {
margin-right: 5px;
width: 16em;
}
#tagchecklist {
margin-left: 5px;
padding-bottom: 20px;
margin-left: 10px;
font-size: 12px;
overflow: auto;
}
#tagchecklist strong {
margin-left: -8px;
position: absolute;
}
#tagchecklist span {
margin-right: 15px;
margin-right: 25px;
display: block;
float: left;
font-size: 11px;
line-height: 1.8em;
white-space: nowrap;
cursor: default;
}
#tagchecklist span a {
margin-top: 5px;
margin: 6px 0pt 0pt -9px;
cursor: pointer;
width: 10px;
height: 10px;
@ -898,6 +931,7 @@ html, body {
float: left;
text-indent: -9999px;
overflow: hidden;
position: absolute;
}
.howto {
@ -932,20 +966,22 @@ html, body {
#poststuff h2 {
margin-top: 20px;
margin-bottom: 20px;
font-size: 1.5em;
margin-bottom: 15px;
padding: 0 0 3px;
}
#poststuff h3 {
font-size: 14px;
font-weight: bold;
padding: 9px 5px;
padding: 7px;
margin: 0 0 10px;
}
#poststuff .postbox, #poststuff .stuffbox {
margin-left: 20px;
padding: 2px;
margin-bottom: 10px;
margin-bottom: 20px;
margin-right: 8px;
border-width: 1px;
border-style: solid;
@ -953,7 +989,7 @@ html, body {
#titlediv, #poststuff .postarea {
margin-left: 20px;
margin-bottom: 10px;
margin-bottom: 20px;
margin-right: 8px;
}
@ -980,7 +1016,7 @@ html, body {
}
#poststuff .inside {
margin: 0 12px 15px;
margin: 0 12px 12px;
font-size: 11px;
}
@ -1014,14 +1050,14 @@ html, body {
#poststuff #editor-toolbar {
position: relative;
height: 30px;
margin-top: -40px;
margin-top: -41px;
}
#poststuff #edButtonPreview, #poststuff #edButtonHTML {
display: block;
height: 20px;
padding: 5px 5px 3px;
margin: 2px 8px 0 0;
padding: 5px 5px 1px;
margin: 5px 8px 0 0;
float: right;
cursor: pointer;
}
@ -1041,9 +1077,9 @@ html, body {
#poststuff #media-buttons {
float: right;
margin-right: 20px;
margin-top: 6px;
margin-top: 8px;
cursor: default;
line-height: 1.1em;
line-height: 1;
height: 1.1em;
}
@ -1057,16 +1093,16 @@ html, body {
}
#poststuff .togbox {
background-position:-10px 16px;
background-repeat:no-repeat;
display:block;
height:39px;
margin-left:-19px;
margin-top:-11px;
overflow:hidden;
position:absolute;
text-indent:-9999px;
width:12px;
background-position: -10px 16px;
background-repeat: no-repeat;
display: block;
height: 37px;
margin-left: -21px;
margin-top: -10px;
overflow: hidden;
position: absolute;
text-indent: -9999px;
width: 12px;
-moz-border-radius-topleft: 3px;
-khtml-border-top-left-radius: 3px;
-webkit-border-top-left-radius: 3px;
@ -1086,7 +1122,7 @@ html, body {
}
#poststuff .closed .togbox {
background-position: 4px 16px;
background-position: 4px 15px;
}
.submitbox {
@ -1199,9 +1235,9 @@ ul#category-tabs li.ui-tabs-selected a {
}
div.ui-tabs-panel {
margin: 0 0 0 120px;
margin: 0 5px 0 120px;
padding: .5em .9em;
height: 12em;
height: 10em;
overflow: auto;
border-width: 4px;
border-style: solid;
@ -1275,7 +1311,7 @@ p#post-search {
}
#post-search .button, #widget-search .button {
padding: 4px;
padding: 3px;
font-size: 13px;
}
@ -1414,4 +1450,4 @@ ul.view-switch li.current {
td.action-links, th.action-links {
text-align: right;
}
}