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:
parent
86d9ba6ada
commit
17c5e87089
|
@ -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;
|
color: #fff;
|
||||||
background-color: #333;
|
background-color: #333;
|
||||||
}
|
}
|
||||||
.mp6-text-primary {
|
.wp-ui-text-primary {
|
||||||
color: #333;
|
color: #333;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-highlight {
|
.wp-ui-highlight {
|
||||||
color: white;
|
color: white;
|
||||||
background-color: #1e8cbe;
|
background-color: #1e8cbe;
|
||||||
}
|
}
|
||||||
.mp6-text-highlight {
|
.wp-ui-text-highlight {
|
||||||
color: #1e8cbe;
|
color: #1e8cbe;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-notification {
|
.wp-ui-notification {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
background-color: #D54E21;
|
background-color: #D54E21;
|
||||||
}
|
}
|
||||||
.mp6-text-notification {
|
.wp-ui-text-notification {
|
||||||
color: #D54E21;
|
color: #D54E21;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-text-icon {
|
.wp-ui-text-icon {
|
||||||
color: #999;
|
color: #999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -53,31 +53,31 @@ input[type=radio]:checked:before {
|
||||||
@include button( $button-color );
|
@include button( $button-color );
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-primary {
|
.wp-ui-primary {
|
||||||
color: $text-color;
|
color: $text-color;
|
||||||
background-color: $base-color;
|
background-color: $base-color;
|
||||||
}
|
}
|
||||||
.mp6-text-primary {
|
.wp-ui-text-primary {
|
||||||
color: $base-color;
|
color: $base-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-highlight {
|
.wp-ui-highlight {
|
||||||
color: $menu-highlight-text;
|
color: $menu-highlight-text;
|
||||||
background-color: $menu-highlight-background;
|
background-color: $menu-highlight-background;
|
||||||
}
|
}
|
||||||
.mp6-text-highlight {
|
.wp-ui-text-highlight {
|
||||||
color: $menu-highlight-background;
|
color: $menu-highlight-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-notification {
|
.wp-ui-notification {
|
||||||
color: $menu-bubble-text;
|
color: $menu-bubble-text;
|
||||||
background-color: $menu-bubble-background;
|
background-color: $menu-bubble-background;
|
||||||
}
|
}
|
||||||
.mp6-text-notification {
|
.wp-ui-text-notification {
|
||||||
color: $menu-bubble-background;
|
color: $menu-bubble-background;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mp6-text-icon {
|
.wp-ui-text-icon {
|
||||||
color: $menu-icon;
|
color: $menu-icon;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -12752,7 +12752,6 @@ li#wp-admin-bar-menu-toggle {
|
||||||
padding: 1px 0 0;
|
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 {
|
.plugins tr.active + tr.inactive td.column-description {
|
||||||
-webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
-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);
|
-moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.1);
|
||||||
|
|
|
@ -49,7 +49,7 @@
|
||||||
color: #555;
|
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_sup,
|
||||||
.wp_themeSkin span.mce_sub,
|
.wp_themeSkin span.mce_sub,
|
||||||
.wp_themeSkin span.mce_media,
|
.wp_themeSkin span.mce_media,
|
||||||
|
|
|
@ -167,7 +167,7 @@ var svgPainter = ( function( $, window, document, undefined ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
xml = $element.data( 'mp6-svg-' + color );
|
xml = $element.data( 'wp-ui-svg-' + color );
|
||||||
|
|
||||||
if ( ! xml ) {
|
if ( ! xml ) {
|
||||||
encoded = $element.css( 'background-image' ).match( /.+data:image\/svg\+xml;base64,(.+?)['"] ?\)/ );
|
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 );
|
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;' );
|
$element.attr( 'style', 'background-image: url("data:image/svg+xml;base64,' + xml + '") !important;' );
|
||||||
|
|
Loading…
Reference in New Issue