TinyMCE: remove the fade in/out when opening/closing native modals to match the rest of our UI. Props afercia, avryl. Fixes #27388.

Built from https://develop.svn.wordpress.org/trunk@31185


git-svn-id: http://core.svn.wordpress.org/trunk@31166 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2015-01-15 23:29:21 +00:00
parent 7be12f7d8d
commit 3e529d6753
5 changed files with 15 additions and 5 deletions

View File

@ -13,9 +13,12 @@
} }
/* TinyMCE windows */ /* TinyMCE windows */
#mce-modal-block.mce-in { #mce-modal-block,
#mce-modal-block.mce-fade {
opacity: 0.7; opacity: 0.7;
filter: alpha(opacity=70); filter: alpha(opacity=70);
-webkit-transition: none;
transition: none;
} }
.mce-window { .mce-window {
@ -24,6 +27,8 @@
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
-webkit-transition: none;
transition: none;
} }
.mce-window .mce-container-body.mce-abs-layout { .mce-window .mce-container-body.mce-abs-layout {

File diff suppressed because one or more lines are too long

View File

@ -13,9 +13,12 @@
} }
/* TinyMCE windows */ /* TinyMCE windows */
#mce-modal-block.mce-in { #mce-modal-block,
#mce-modal-block.mce-fade {
opacity: 0.7; opacity: 0.7;
filter: alpha(opacity=70); filter: alpha(opacity=70);
-webkit-transition: none;
transition: none;
} }
.mce-window { .mce-window {
@ -24,6 +27,8 @@
-webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 ); box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
-webkit-font-smoothing: subpixel-antialiased; -webkit-font-smoothing: subpixel-antialiased;
-webkit-transition: none;
transition: none;
} }
.mce-window .mce-container-body.mce-abs-layout { .mce-window .mce-container-body.mce-abs-layout {

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '4.2-alpha-31184'; $wp_version = '4.2-alpha-31185';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.