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

git-svn-id: https://develop.svn.wordpress.org/trunk@26635 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Helen Hou-Sandi 2013-12-04 21:15:59 +00:00
parent 86d9ba6ada
commit 17c5e87089
5 changed files with 18 additions and 19 deletions

View File

@ -46,33 +46,33 @@ input[type=radio]:checked:before {
}
/* Helper classes for pulling MP6 colors */
/* Helper classes for plugins to leverage the active WordPress color scheme */
.mp6-primary {
.wp-ui-primary {
color: #fff;
background-color: #333;
}
.mp6-text-primary {
.wp-ui-text-primary {
color: #333;
}
.mp6-highlight {
.wp-ui-highlight {
color: white;
background-color: #1e8cbe;
}
.mp6-text-highlight {
.wp-ui-text-highlight {
color: #1e8cbe;
}
.mp6-notification {
.wp-ui-notification {
color: #fff;
background-color: #D54E21;
}
.mp6-text-notification {
.wp-ui-text-notification {
color: #D54E21;
}
.mp6-text-icon {
.wp-ui-text-icon {
color: #999;
}

View File

@ -53,31 +53,31 @@ input[type=radio]:checked:before {
@include button( $button-color );
}
.mp6-primary {
.wp-ui-primary {
color: $text-color;
background-color: $base-color;
}
.mp6-text-primary {
.wp-ui-text-primary {
color: $base-color;
}
.mp6-highlight {
.wp-ui-highlight {
color: $menu-highlight-text;
background-color: $menu-highlight-background;
}
.mp6-text-highlight {
.wp-ui-text-highlight {
color: $menu-highlight-background;
}
.mp6-notification {
.wp-ui-notification {
color: $menu-bubble-text;
background-color: $menu-bubble-background;
}
.mp6-text-notification {
.wp-ui-text-notification {
color: $menu-bubble-background;
}
.mp6-text-icon {
.wp-ui-text-icon {
color: $menu-icon;
}
}

View File

@ -12752,7 +12752,6 @@ li#wp-admin-bar-menu-toggle {
padding: 1px 0 0;
}
/* 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 */
.plugins tr.active + tr.inactive td.column-description {
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);

View File

@ -49,7 +49,7 @@
color: #555;
}
/* These are part of TinyMCE, used in TinyMCE Advanced, but not WordPress. These are not MP6-ified. */
/* These are part of TinyMCE, used in TinyMCE Advanced, but not WordPress. These are not updated for 3.8's design. */
.wp_themeSkin span.mce_sup,
.wp_themeSkin span.mce_sub,
.wp_themeSkin span.mce_media,

View File

@ -167,7 +167,7 @@ var svgPainter = ( function( $, window, document, undefined ) {
return;
}
xml = $element.data( 'mp6-svg-' + color );
xml = $element.data( 'wp-ui-svg-' + color );
if ( ! xml ) {
encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,(.+?)['"] ?\)/ );
@ -197,7 +197,7 @@ var svgPainter = ( function( $, window, document, undefined ) {
xml = base64.btoa( xml );
}
$element.data( 'mp6-svg-' + color, xml );
$element.data( 'wp-ui-svg-' + color, xml );
}
$element.attr( 'style', 'background-image: url("data:image/svg+xml;base64,' + xml + '") !important;' );