Make WordPress Core

Changeset 9703


Ignore:
Timestamp:
11/14/2008 11:58:17 PM (18 years ago)
Author:
azaozz
Message:

Update styling on link pages, fix state saving for link cats, no green bg after quick editing a post fixes #8143

Location:
trunk/wp-admin
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/css/colors-fresh.css

    r9677 r9703  
    2828body > #upload-menu {
    2929        border-bottom-color: #fff;
     30}
     31
     32kbd, code {
     33        background: #eaeaea;
    3034}
    3135
     
    602606#titlediv,
    603607#poststuff .postarea,
    604 #poststuff .stuffbox {
     608#poststuff .stuffbox,
     609.postbox input[type="text"],
     610.postbox textarea,
     611.stuffbox input[type="text"],
     612.stuffbox textarea {
    605613        border-color: #dfdfdf;
    606614}
  • trunk/wp-admin/css/dashboard.css

    r9672 r9703  
    1414}
    1515
    16 form .input-text-wrap input {
     16#dashboard-widgets form .input-text-wrap input {
    1717        border: 0 none;
    1818        outline: none;
     
    2929}
    3030
    31 form .textarea-wrap textarea {
     31#dashboard-widgets form .textarea-wrap textarea {
    3232        border: 0 none;
    3333        padding: 0;
  • trunk/wp-admin/edit-link-form.php

    r9699 r9703  
    374374<h3><label for="link_name"><?php _e('Name') ?></label></h3>
    375375<div class="inside">
    376         <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" /><br />
    377     <?php _e('Example: Nifty blogging software'); ?>
     376        <input type="text" name="link_name" size="30" tabindex="1" value="<?php echo $link->link_name; ?>" id="link_name" />
     377    <p><?php _e('Example: Nifty blogging software'); ?></p>
    378378</div>
    379379</div>
     
    382382<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
    383383<div class="inside">
    384         <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" /><br />
    385     <?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?>
     384        <input type="text" name="link_url" size="30" tabindex="1" value="<?php echo $link->link_url; ?>" id="link_url" />
     385    <p><?php _e('Example: <code>http://wordpress.org/</code> &#8212; don&#8217;t forget the <code>http://</code>'); ?></p>
    386386</div>
    387387</div>
     
    390390<h3><label for="link_description"><?php _e('Description') ?></label></h3>
    391391<div class="inside">
    392         <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? $link->link_description : ''; ?>" id="link_description" /><br />
    393     <?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?>
     392        <input type="text" name="link_description" size="30" tabindex="1" value="<?php echo isset($link->link_description) ? $link->link_description : ''; ?>" id="link_description" />
     393    <p><?php _e('This will be shown when someone hovers over the link in the blogroll, or optionally below the link.'); ?></p>
    394394</div>
    395395</div>
  • trunk/wp-admin/js/inline-edit-post.js

    r9607 r9703  
    215215                                        if ( 'draft' == $('input[name="post_status"]').val() )
    216216                                                row.find('td.column-comments').hide();
    217                                         row.show()
    218                                                 .animate( { backgroundColor: '#CCEEBB' }, 500)
    219                                                 .animate( { backgroundColor: '#eefee7' }, 500);
    220217                                        inlineEditPost.addEvents(row);
     218                                        row.fadeIn();
    221219                                } else {
    222220                                        $('#edit-'+id+' .inline-edit-save').append('<span class="error">'+inlineEditL10n.error+'</span>');
  • trunk/wp-admin/js/link.js

    r8988 r9703  
    4343                addAfter: catAddAfter
    4444        } );
     45
     46        $('a[href="#categories-all"]').click(function(){deleteUserSetting('cats');});
     47        $('a[href="#categories-pop"]').click(function(){setUserSetting('cats','pop');});
     48        if ( 'pop' == getUserSetting('cats') )
     49                $('a[href="#categories-pop"]').click();
     50
    4551        jQuery('#category-add-toggle').click( function() {
    4652                jQuery(this).parents('div:first').toggleClass( 'wp-hidden-children' );
  • trunk/wp-admin/wp-admin.css

    r9689 r9703  
    163163
    164164kbd, code {
    165         background: #e5e5e5;
    166         padding: 2px 3px;
     165        padding: 1px 3px;
    167166        margin: 0 1px;
    168167        font-size: 12px;
     
    438437
    439438#namediv input {
    440         width: 94%;
    441         border-style: solid;
    442         border-width: 1px;
     439        width: 98%;
    443440}
    444441
     
    16961693}
    16971694
    1698 #poststuff .inside {
     1695.postbox table.form-table {
     1696        margin-bottom: 0;
     1697}
     1698
     1699.postbox input[type="text"],
     1700.postbox textarea,
     1701.stuffbox input[type="text"],
     1702.stuffbox textarea {
     1703        border-width: 1px;
     1704        border-style: solid;
     1705}
     1706
     1707#poststuff .inside,
     1708#poststuff .inside p {
    16991709        font-size: 11px;
    1700         margin: 0 6px 6px;
     1710        margin: 2px 6px 6px;
     1711}
     1712
     1713#poststuff .inside .submitbox p {
     1714        margin: 1em 0;
    17011715}
    17021716
     
    17491763        font-size: 11px;
    17501764        margin-top: -1px;
    1751 }
    1752 
    1753 #link_name, #link_url, #link_description {
    1754         font-size: 1.7em;
    1755         padding: 4px 3px;
    1756         width: 98%;
    17571765}
    17581766
Note: See TracChangeset for help on using the changeset viewer.