Make WordPress Core

Ticket #28596: 28596-with-plugins.diff

File 28596-with-plugins.diff, 5.6 KB (added by aubreypwd, 12 years ago)

Got the plugins table to style with rounded corners. Also removed some old plugin styles that were making the table different from the others. Also, better (I think) placement of the rounded corners CSS. Also see ​https://github.com/aubreypwd/develop.git.wordpress.org/commits/28596

  • src/wp-admin/css/common.css

    diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
    index c52e183..03625a3 100644
    p.popular-tags,  
    189189.widgets-holder-wrap,
    190190.popular-tags,
    191191.feature-filter,
    192 .imgedit-group {
     192.imgedit-group,
     193#link-color-example,
     194.postbox {
    193195        background: #fff;
     196        border-radius: 4px;
     197        -moz-border-radius: 4px;
     198        -webkit-border-radius: 4px;
     199
     200        /* Stop color "leaking." */
     201        background-clip: padding-box;
     202        -webkit-background-clip: padding-box;
     203        -moz-background-clip: padding;
    194204}
    195205
    196206/* general */
    … … form.upgrade .hint {  
    10311041        border-top: none;
    10321042        -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025);
    10331043        box-shadow: 0 1px 0 rgba(0,0,0,.025);
     1044        border-radius: 4px;
     1045        -moz-border-radius: 4px;
     1046        -webkit-border-radius: 4px;
     1047        background-clip: padding-box;
     1048        -webkit-background-clip: padding-box;
     1049        -moz-background-clip: padding;
    10341050}
    10351051
    10361052#screen-options-link-wrap,
  • src/wp-admin/css/list-tables.css

    diff --git src/wp-admin/css/list-tables.css src/wp-admin/css/list-tables.css
    index 62fc5b1..a0cf989 100644
    ul.cat-checklist {  
    10111011        position: relative;
    10121012        top: -3px;
    10131013}
    1014 
     1014/*/*
    10151015/*------------------------------------------------------------------------------
    10161016  17.0 - Plugins
    10171017------------------------------------------------------------------------------*/
    10181018
    1019 .plugins tbody th.check-column,
    1020 .plugins tbody {
    1021         padding: 8px 0 0 2px;
    1022 }
    1023 
    1024 .plugins tbody th.check-column input[type=checkbox] {
    1025         margin-top: 4px;
    1026 }
    1027 
    10281019#update-plugins-table tbody td p {
    10291020        margin-top: 0;
    10301021}
    … … ul.cat-checklist {  
    10331024        font-size: 14px;
    10341025}
    10351026
    1036 .plugins thead th.check-column,
    1037 .plugins tfoot th.check-column,
    1038 .plugins .inactive th.check-column {
    1039         padding-left: 6px;
    1040 }
    1041 
    10421027#update-plugins-table thead th.check-column,
    10431028#update-plugins-table tfoot th.check-column {
    10441029        padding-top: 11px;
    10451030}
    10461031
    1047 .plugins,
    1048 .plugins th,
    1049 .plugins td {
    1050         color: #000;
    1051 }
    1052 
    1053 .plugins tr {
    1054         background: #fff;
    1055 }
    1056 
    10571032.plugins p {
    10581033        margin: 0 4px;
    10591034        padding: 0;
  • src/wp-admin/edit-form-comment.php

    diff --git src/wp-admin/edit-form-comment.php src/wp-admin/edit-form-comment.php
    index b2950f7..c58d6ec 100644
    if ( !defined('ABSPATH') )  
    2323
    2424<div id="post-body" class="metabox-holder columns-2">
    2525<div id="post-body-content" class="edit-form-section">
    26 <div id="namediv" class="stuffbox">
     26<div id="namediv" class="stuffbox postbox">
    2727<h3><label for="name"><?php _e( 'Author' ) ?></label></h3>
    2828<div class="inside">
    2929<table class="form-table editcomment">
    … … if ( !defined('ABSPATH') )  
    7070</div><!-- /post-body-content -->
    7171
    7272<div id="postbox-container-1" class="postbox-container">
    73 <div id="submitdiv" class="stuffbox" >
     73<div id="submitdiv" class="stuffbox postbox" >
    7474<h3><span class="hndle"><?php _e('Status') ?></span></h3>
    7575<div class="inside">
    7676<div class="submitbox" id="submitcomment">
  • src/wp-admin/edit-link-form.php

    diff --git src/wp-admin/edit-link-form.php src/wp-admin/edit-link-form.php
    index 610240a..08581f7 100644
    wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>  
    9090
    9191<div id="post-body" class="metabox-holder columns-<?php echo 1 == get_current_screen()->get_columns() ? '1' : '2'; ?>">
    9292<div id="post-body-content">
    93 <div id="namediv" class="stuffbox">
     93<div id="namediv" class="stuffbox postbox">
    9494<h3><label for="link_name"><?php _ex('Name', 'link name') ?></label></h3>
    9595<div class="inside">
    9696        <input type="text" name="link_name" size="30" maxlength="255" value="<?php echo esc_attr($link->link_name); ?>" id="link_name" />
    … … wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>  
    9898</div>
    9999</div>
    100100
    101 <div id="addressdiv" class="stuffbox">
     101<div id="addressdiv" class="stuffbox postbox">
    102102<h3><label for="link_url"><?php _e('Web Address') ?></label></h3>
    103103<div class="inside">
    104104        <input type="text" name="link_url" size="30" maxlength="255" class="code" value="<?php echo esc_attr($link->link_url); ?>" id="link_url" />
    … … wp_nonce_field( 'meta-box-order', 'meta-box-order-nonce', false ); ?>  
    106106</div>
    107107</div>
    108108
    109 <div id="descriptiondiv" class="stuffbox">
     109<div id="descriptiondiv" class="stuffbox postbox">
    110110<h3><label for="link_description"><?php _e('Description') ?></label></h3>
    111111<div class="inside">
    112112        <input type="text" name="link_description" size="30" maxlength="255" value="<?php echo isset($link->link_description) ? esc_attr($link->link_description) : ''; ?>" id="link_description" />
  • src/wp-admin/index.php

    diff --git src/wp-admin/index.php src/wp-admin/index.php
    index 3bd4c7c..1577f9a 100644
    include( ABSPATH . 'wp-admin/admin-header.php' );  
    9696        <h2><?php echo esc_html( $title ); ?></h2>
    9797
    9898<?php if ( has_action( 'welcome_panel' ) && current_user_can( 'edit_theme_options' ) ) :
    99         $classes = 'welcome-panel';
     99        $classes = 'welcome-panel postbox';
    100100
    101101        $option = get_user_meta( get_current_user_id(), 'show_welcome_panel', true );
    102102        // 0 = hide, 1 = toggled to show or single site creator, 2 = multisite site owner
  • src/wp-content/themes/twentyeleven/inc/theme-options.css

    diff --git src/wp-content/themes/twentyeleven/inc/theme-options.css src/wp-content/themes/twentyeleven/inc/theme-options.css
    index 464ab8c..5afd1c4 100644
     
    2121        margin: 0 0 0 -2px;
    2222}
    2323#link-color-example {
    24         -moz-border-radius: 4px;
    25         -webkit-border-radius: 4px;
    26         border-radius: 4px;
    2724        border: 1px solid #dfdfdf;
    2825        margin: 0 7px 0 3px;
    2926        padding: 4px 14px;