From adc9a1d565d26fc571bc9b9f3aae0c4fd2373d3b Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Thu, 15 Jan 2015 23:28:39 +0000 Subject: [PATCH] TinyMCE: remove the fade in/out when opening/closing native modals to match the rest of our UI. Props afercia, avryl. Fixes #27388. git-svn-id: https://develop.svn.wordpress.org/trunk@31185 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/editor.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index ff6409ccf0..08c6d4c99b 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -13,9 +13,12 @@ } /* TinyMCE windows */ -#mce-modal-block.mce-in { +#mce-modal-block, +#mce-modal-block.mce-fade { opacity: 0.7; filter: alpha(opacity=70); + -webkit-transition: none; + transition: none; } .mce-window { @@ -24,6 +27,8 @@ -webkit-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-transition: none; + transition: none; } .mce-window .mce-container-body.mce-abs-layout {