Make WordPress Core

Changeset 7484


Ignore:
Timestamp:
03/23/2008 06:41:43 AM (18 years ago)
Author:
matt
Message:

Spacing cleanups and fixes. Hat tip: azaozz.

Location:
trunk/wp-admin
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r7304 r7484  
    162162</form>
    163163
    164 <br class="clear" />
    165 
    166164<div class="tablenav">
    167165<br class="clear" />
    168166</div>
     167<br class="clear" />
    169168
    170169</div>
  • trunk/wp-admin/css/global.css

    r7399 r7484  
    5757    width: 100%;
    5858    clear: both;
     59    margin: 0;
    5960}
    6061
    6162.widefat a {
    6263    text-decoration: none;
     64}
     65
     66.widefat abbr {
     67    white-space: nowrap;
    6368}
    6469
     
    6873    border-bottom-color: #ccc;
    6974    font-size: 11px;
    70     padding: 10px 10px 14px;
     75    padding: 7px 25px 6px 2px;
    7176    vertical-align: text-top;
    7277}
    7378
    7479.widefat th {
    75     padding-bottom: 7px;
    76     padding-top: 8px;
     80    padding: 9px 25px 4px 2px;
    7781    text-align: left;
     82    line-height: 1.3em;
     83}
     84
     85.widefat th input {
     86    margin: 0 3px;
     87    padding: 0;
    7888}
    7989
    8090.widefat .check-column {
    8191    text-align: center;
    82     vertical-align: text-top;
    83     width: 3%;
     92    width: 1.8em;
     93    padding: 9px 2px 6px 6px;
     94}
     95
     96.widefat tbody th.check-column {
     97    padding-bottom: 20px;
    8498}
    8599
    86100.widefat .num {
    87101    text-align: center;
     102    padding: 10px 16px 0;
    88103}
    89104
     
    99114    border-width: 1px;
    100115    border-style: solid;
    101     padding: 0 15px;
     116    padding: 0 0.6em;
    102117    max-width: 950px;
    103118    margin-bottom: 1em;
     119}
     120
     121.updated p, .error p {
     122    margin: 0.6em 0;
    104123}
    105124
  • trunk/wp-admin/css/ie.css

    r7460 r7484  
    5555#ed_toolbar input {
    5656    overflow: visible;
    57     padding: 1px 5px;
     57    padding: 0 4px;
     58}
     59
     60#poststuff h2 {
     61    font-size: 1.6em;
     62}
     63
     64* html #poststuff h2 {
     65    margin-left: 0;
     66}
     67
     68#bh {
     69    padding-right: 15px;
    5870}
    5971
     
    6274    padding-right: 1px;
    6375}
     76
     77#tagchecklist {
     78    display: block;
     79    zoom: 100%;
     80}
     81
     82#tagchecklist span, #tagchecklist span a {
     83    display: inline-block;
     84    display: block;
     85}
     86
     87#tagchecklist span a {
     88    margin: 4px 0 0 -9px;
     89}
     90
     91#poststuff .togbox {
     92    margin-left: -19px;
     93}
     94
     95* html .tablenav {
     96
     97}
     98
     99.tablenav .button-secondary {
     100    padding: 0 1px;
     101    vertical-align: middle;
     102}
     103
     104.tablenav select {
     105    font-size: 13px;
     106    display: inline-block;
     107    vertical-align: top;
     108    margin-top: 2px;
     109}
     110
     111.tablenav-pages .page-numbers {
     112    display: inline-block;
     113}
     114
     115.tablenav-pages {
     116    display: block;
     117    margin-top: -3px;
     118
     119}
     120
     121#post-search .button, #widget-search .button {
     122    padding: 1px;
     123}
     124
     125.widefat tr, .widefat th {
     126    padding: 13px 25px 0 2px;
     127    margin-bottom: 0;
     128    border-spacing: 0;
     129}
     130
     131.widefat thead th.check-column {
     132    padding: 9px 2px 4px 3px;
     133}
     134
     135.widefat tbody th.check-column {
     136    padding: 4px 3px 22px 3px;
     137    text-align:center;
     138    width:1.8em;
     139}
     140
     141.widefat th.num {
     142    padding: 14px 16px 0;
     143}
  • trunk/wp-admin/edit-form-advanced.php

    r7480 r7484  
    208208<div class="inside">
    209209<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>
    210 <p id="tagchecklist"></p>
     210<div id="tagchecklist"></div>
    211211</div>
    212212</div>
  • trunk/wp-admin/edit-link-categories.php

    r7307 r7484  
    125125</form>
    126126
    127 <br class="clear" />
    128 
    129127<div class="tablenav">
    130128
     
    135133<br class="clear" />
    136134</div>
     135<br class="clear" />
    137136
    138137</div>
  • trunk/wp-admin/edit-tags.php

    r7307 r7484  
    174174</form>
    175175
    176 <br class="clear" />
    177 
    178176<div class="tablenav">
    179177
     
    184182<br class="clear" />
    185183</div>
     184<br class="clear" />
    186185
    187186</div>
  • trunk/wp-admin/edit.php

    r7397 r7484  
    192192    echo "<div class='tablenav-pages'>$page_links</div>";
    193193?>
    194 <br class="clear" />
    195 </div>
     194
     195<br class="clear" />
     196</div>
     197
     198<br class="clear" />
    196199
    197200<?php
  • trunk/wp-admin/includes/template.php

    r7472 r7484  
    918918    $getit = __( 'WordPress recommends a better browser' );
    919919    echo '
    920         <p id="bh" class="alignright"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></p>
     920        <span id="bh" class="alignright"><a href="http://browsehappy.com/" title="'.$getit.'"><img src="images/browse-happy.gif" alt="Browse Happy" /></a></span>
    921921        ';
    922922}
  • trunk/wp-admin/upload.php

    r7397 r7484  
    191191    echo "<div class='tablenav-pages'>$page_links</div>";
    192192?>
    193 <br class="clear" />
    194 </div>
     193
     194</div>
     195
     196<br class="clear" />
    195197
    196198<?php
  • trunk/wp-admin/wp-admin.css

    r7466 r7484  
    139139
    140140.side-info h5 {
    141     padding-bottom: 8px;
     141    padding-bottom: 7px;
    142142    font-size: 14px;
    143     margin-bottom: 6px;
     143    margin: 12px 2px 5px;
    144144    border-bottom-width: 1px;
    145145    border-bottom-style: solid;
     
    154154.submit input, .button, .button-secondary, .button-highlighted {
    155155    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    156     padding: 4px 6px;
     156    padding: 3px 5px;
    157157    font-size: 12px;
     158    line-height: 1.5em;
    158159    border-width: 1px;
    159160    border-style: solid;
     
    261262
    262263#quicktags #ed_toolbar {
    263     padding: 1px 3px;
     264    padding: 2px 4px;
    264265}
    265266
     
    268269    padding: 2px 4px;
    269270    line-height: 18px;
     271    display: inline-block;
    270272}
    271273
     
    467469}
    468470
     471.tablenav select {
     472    padding: 2px;
     473    display: inline-block;
     474    line-height: 2;
     475    height: 2em;
     476
     477}
     478
     479.tablenav option {
     480    margin: 3px;
     481    display: inline-block;
     482}
     483
    469484.tablenav a.button-secondary {
    470485    display: inline-block;
     
    474489.tablenav .button-secondary {
    475490    padding: 2px 4px;
     491
    476492}
    477493
     
    481497
    482498.tablenav {
    483     padding: 10px 10px 8px;
     499    height: 2em;
     500    padding: 7px 10px;
    484501    clear: both;
    485502    margin-bottom: -10px;
     
    489506.tablenav .tablenav-pages {
    490507    float: right;
    491     height: 20px;
    492     padding-top: 4px;
     508    height: 18px;
     509    padding-top: 6px;
    493510    font-size: 11px;
    494511}
     
    500517td.media-icon {
    501518    vertical-align: middle;
     519    text-align: center;
    502520}
    503521
     
    701719.post-com-count {
    702720    height: 1.3em;
     721    line-height: 1.1em;
    703722    display: block;
    704723    text-decoration: none;
    705     overflow: hidden;
    706     padding: 0 0 5px;
     724    padding: 0 0 6px;
    707725    cursor: pointer;
    708     background-position: center -81px;
     726    background-position: center -80px;
    709727    background-repeat: no-repeat;
    710728}
     
    712730.post-com-count span {
    713731    height: 1.3em;
    714     line-height: 1.3em;
     732    line-height: 1.2em;
    715733    padding: 0 0.5em;
    716734    background-color: #bbb;
     735    display: inline-block;
    717736    cursor: pointer;
    718737    -moz-border-radius: 3px;
     
    877896/* Post Screen */
    878897
     898#tagsdiv #newtag {
     899    margin-right: 5px;
     900    width: 16em;
     901}
     902
    879903#tagchecklist {
    880     margin-left: 5px;
    881     padding-bottom: 20px;
     904    margin-left: 10px;
     905
    882906    font-size: 12px;
     907    overflow: auto;
     908}
     909
     910#tagchecklist strong {
     911    margin-left: -8px;
     912    position: absolute;
    883913}
    884914
    885915#tagchecklist span {
    886     margin-right: 15px;
     916    margin-right: 25px;
    887917    display: block;
    888918    float: left;
    889919    font-size: 11px;
     920    line-height: 1.8em;
     921    white-space: nowrap;
     922    cursor: default;
    890923}
    891924
    892925#tagchecklist span a {
    893     margin-top: 5px;
     926    margin: 6px 0pt 0pt -9px;
    894927    cursor: pointer;
    895928    width: 10px;
     
    899932    text-indent: -9999px;
    900933    overflow: hidden;
     934    position: absolute;
    901935}
    902936
     
    933967#poststuff h2 {
    934968    margin-top: 20px;
    935     margin-bottom: 20px;
     969    font-size: 1.5em;
     970    margin-bottom: 15px;
     971    padding: 0 0 3px;
    936972}
    937973
     
    939975    font-size: 14px;
    940976    font-weight: bold;
    941     padding: 9px 5px;
     977    padding: 7px;
    942978    margin: 0 0 10px;
    943979}
     
    946982    margin-left: 20px;
    947983    padding: 2px;
    948     margin-bottom: 10px;
     984    margin-bottom: 20px;
    949985    margin-right: 8px;
    950986    border-width: 1px;
     
    954990#titlediv, #poststuff .postarea {
    955991    margin-left: 20px;
    956     margin-bottom: 10px;
     992    margin-bottom: 20px;
    957993    margin-right: 8px;
    958994}
     
    9811017
    9821018#poststuff .inside {
    983     margin: 0 12px 15px;
     1019    margin: 0 12px 12px;
    9841020    font-size: 11px;
    9851021}
     
    10151051    position: relative;
    10161052    height: 30px;
    1017     margin-top: -40px;
     1053    margin-top: -41px;
    10181054}
    10191055
     
    10211057    display: block;
    10221058    height: 20px;
    1023     padding: 5px 5px 3px;
    1024     margin: 2px 8px 0 0;
     1059    padding: 5px 5px 1px;
     1060    margin: 5px 8px 0 0;
    10251061    float: right;
    10261062    cursor: pointer;
     
    10421078    float: right;
    10431079    margin-right: 20px;
    1044     margin-top: 6px;
     1080    margin-top: 8px;
    10451081    cursor: default;
    1046     line-height: 1.1em;
     1082    line-height: 1;
    10471083    height: 1.1em;
    10481084}
     
    10581094
    10591095#poststuff .togbox {
    1060     background-position:-10px 16px;
    1061     background-repeat:no-repeat;
    1062     display:block;
    1063     height:39px;
    1064     margin-left:-19px;
    1065     margin-top:-11px;
    1066     overflow:hidden;
    1067     position:absolute;
    1068     text-indent:-9999px;
    1069     width:12px;
     1096    background-position: -10px 16px;
     1097    background-repeat: no-repeat;
     1098    display: block;
     1099    height: 37px;
     1100    margin-left: -21px;
     1101    margin-top: -10px;
     1102    overflow: hidden;
     1103    position: absolute;
     1104    text-indent: -9999px;
     1105    width: 12px;
    10701106    -moz-border-radius-topleft: 3px;
    10711107    -khtml-border-top-left-radius: 3px;
     
    10871123
    10881124#poststuff .closed .togbox {
    1089     background-position: 4px 16px;
     1125    background-position: 4px 15px;
    10901126}
    10911127
     
    12001236
    12011237div.ui-tabs-panel {
    1202     margin: 0 0 0 120px;
     1238    margin: 0 5px 0 120px;
    12031239    padding: .5em .9em;
    1204     height: 12em;
     1240    height: 10em;
    12051241    overflow: auto;
    12061242    border-width: 4px;
     
    12761312
    12771313#post-search .button, #widget-search .button {
    1278     padding: 4px;
     1314    padding: 3px;
    12791315    font-size: 13px;
    12801316}
Note: See TracChangeset for help on using the changeset viewer.