Make WordPress Core

Changeset 26635


Ignore:
Timestamp:
12/04/2013 09:15:59 PM (11 years ago)
Author:
helen
Message:

Remove more references to MP6 and standardize on .wp-ui-* for prefixed generic class names. props nacin, kovshenin, fixes #26263.

Location:
trunk/src
Files:
5 edited

Legend:

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

    r26570 r26635  
    4747
    4848
    49 /* Helper classes for pulling MP6 colors */
    50 
    51 .mp6-primary {
     49/* Helper classes for plugins to leverage the active WordPress color scheme */
     50
     51.wp-ui-primary {
    5252    color: #fff;
    5353    background-color: #333;
    5454}
    55 .mp6-text-primary {
     55.wp-ui-text-primary {
    5656    color: #333;
    5757}
    5858
    59 .mp6-highlight {
     59.wp-ui-highlight {
    6060    color: white;
    6161    background-color: #1e8cbe;
    6262}
    63 .mp6-text-highlight {
     63.wp-ui-text-highlight {
    6464    color: #1e8cbe;
    6565}
    6666
    67 .mp6-notification {
     67.wp-ui-notification {
    6868    color: #fff;
    6969    background-color: #D54E21;
    7070}
    71 .mp6-text-notification {
     71.wp-ui-text-notification {
    7272    color: #D54E21;
    7373}
    7474
    75 .mp6-text-icon {
     75.wp-ui-text-icon {
    7676    color: #999;
    7777}
  • trunk/src/wp-admin/css/colors/_admin.scss

    r26592 r26635  
    5454    }
    5555
    56     .mp6-primary {
     56    .wp-ui-primary {
    5757        color: $text-color;
    5858        background-color: $base-color;
    5959    }
    60     .mp6-text-primary {
     60    .wp-ui-text-primary {
    6161        color: $base-color;
    6262    }
    6363
    64     .mp6-highlight {
     64    .wp-ui-highlight {
    6565        color: $menu-highlight-text;
    6666        background-color: $menu-highlight-background;
    6767    }
    68     .mp6-text-highlight {
     68    .wp-ui-text-highlight {
    6969        color: $menu-highlight-background;
    7070    }
    7171
    72     .mp6-notification {
     72    .wp-ui-notification {
    7373        color: $menu-bubble-text;
    7474        background-color: $menu-bubble-background;
    7575    }
    76     .mp6-text-notification {
     76    .wp-ui-text-notification {
    7777        color: $menu-bubble-background;
    7878    }
    7979
    80     .mp6-text-icon {
     80    .wp-ui-text-icon {
    8181        color: $menu-icon;
    8282    }
  • trunk/src/wp-admin/css/wp-admin.css

    r26633 r26635  
    1275312753    }
    1275412754
    12755     /* Set drop shadow again per original mp6 plugin settings at line 1265 of colors-mp6.css in r687296, remove when original styles have been corrected */
    1275612755    .plugins tr.active + tr.inactive td.column-description {
    1275712756        -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  • trunk/src/wp-includes/css/editor.css

    r26528 r26635  
    5050}
    5151
    52 /* These are part of TinyMCE, used in TinyMCE Advanced, but not WordPress. These are not MP6-ified. */
     52/* These are part of TinyMCE, used in TinyMCE Advanced, but not WordPress. These are not updated for 3.8's design. */
    5353.wp_themeSkin span.mce_sup,
    5454.wp_themeSkin span.mce_sub,
  • trunk/src/wp-includes/js/svg-painter.js

    r26603 r26635  
    168168            }
    169169
    170             xml = $element.data( 'mp6-svg-' + color );
     170            xml = $element.data( 'wp-ui-svg-' + color );
    171171
    172172            if ( ! xml ) {
     
    198198                }
    199199
    200                 $element.data( 'mp6-svg-' + color, xml );
     200                $element.data( 'wp-ui-svg-' + color, xml );
    201201            }
    202202
Note: See TracChangeset for help on using the changeset viewer.