From bd8050643709931873771e8d66e07367a1879f82 Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 10 Dec 2014 23:53:01 +0000 Subject: [PATCH] TinyMCE, image toolbar: remove the animation and make the box-shadow lighter. Props melchoyce, fixes #30664. git-svn-id: https://develop.svn.wordpress.org/trunk@30812 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/css/editor.css | 18 ++---------------- 1 file changed, 2 insertions(+), 16 deletions(-) diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index 25da78e087..c055704ca8 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -158,15 +158,13 @@ div.mce-inline-toolbar-grp { border: 1px solid #aaa; -webkit-border-radius: 2px; border-radius: 2px; - -webkit-box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.2 ); - box-shadow: 0 1px 4px rgba( 0, 0, 0, 0.2 ); + -webkit-box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.15 ); + box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.15 ); -webkit-box-sizing: border-box; -moz-box-sizing: border-box; - -webkit-box-sizing: border-box; box-sizing: border-box; margin-bottom: 8px; position: absolute; - opacity: 0; -moz-user-select: none; -webkit-user-select: none; -ms-user-select: none; @@ -183,18 +181,6 @@ div.mce-inline-toolbar-grp.mce-arrow-up { margin-top: 8px; } -div.mce-inline-toolbar-grp.mce-inline-toolbar-grp-active { - -webkit-transition: - top 0.1s ease-out, - left 0.1s ease-out, - opacity 0.1s ease-in-out; - transition: - top 0.1s ease-out, - left 0.1s ease-out, - opacity 0.1s ease-in-out; - opacity: 1; -} - div.mce-inline-toolbar-grp:before, div.mce-inline-toolbar-grp:after { position: absolute;