Make WordPress Core

Ticket #28596: 28596-plugins-table-wont-style.diff

File 28596-plugins-table-wont-style.diff, 2.4 KB (added by aubreypwd, 12 years ago)

Patch that rounds the corners of common elements, but does NOT round the corners of the Plugins mage widefat table. Looking for thoughts to a fix for that.

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

    diff --git src/wp-admin/css/common.css src/wp-admin/css/common.css
    index c52e183..685bced 100644
    code {  
    440440        width: 100%;
    441441        clear: both;
    442442        margin: 0;
     443        -moz-border-radius: 4px;
     444        -webkit-border-radius: 4px;
     445        background-clip: padding-box;
     446        -webkit-background-clip: padding-box;
     447        -moz-background-clip: padding;
    443448}
    444449
    445450.widefat * {
    … … form.upgrade .hint {  
    10311036        border-top: none;
    10321037        -webkit-box-shadow: 0 1px 0 rgba(0,0,0,.025);
    10331038        box-shadow: 0 1px 0 rgba(0,0,0,.025);
     1039        border-radius: 4px;
     1040        -moz-border-radius: 4px;
     1041        -webkit-border-radius: 4px;
     1042        background-clip: padding-box;
     1043        -webkit-background-clip: padding-box;
     1044        -moz-background-clip: padding;
    10341045}
    10351046
    10361047#screen-options-link-wrap,
  • src/wp-admin/css/edit.css

    diff --git src/wp-admin/css/edit.css src/wp-admin/css/edit.css
    index bd7f17a..242f168 100644
    stray rule may actually be compensated for elsewhere. */  
    179179        -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    180180        box-shadow: 0 1px 1px rgba(0,0,0,0.04);
    181181        background: #fff;
     182        border-radius: 4px;
     183        -moz-border-radius: 4px;
     184        -webkit-border-radius: 4px;
     185        background-clip: padding-box;
     186        -webkit-background-clip: padding-box;
     187        -moz-background-clip: padding;
    182188}
    183189
    184190#trackback_url {
  • 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..ee23d5f 100644
    table.fixed {  
    301301        width: 80px;
    302302}
    303303
     304.wp-list-table,
     305.comments {
     306        border-radius: 4px;
     307        -moz-border-radius: 4px;
     308        -webkit-border-radius: 4px;
     309        background-clip: padding-box;
     310        -webkit-background-clip: padding-box;
     311        -moz-background-clip: padding;
     312}
     313
    304314/* @todo: pick a consistent list table selector */
    305315.wp-list-table a {
    306316        -webkit-transition: none;
  • 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