TinyMCE, image toolbar: remove the animation and make the box-shadow lighter. Props melchoyce, fixes #30664.

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


git-svn-id: http://core.svn.wordpress.org/trunk@30802 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2014-12-10 23:53:22 +00:00
parent c468ce8f15
commit 4a9121b44b
4 changed files with 6 additions and 34 deletions

View File

@ -158,15 +158,13 @@ div.mce-inline-toolbar-grp {
border: 1px solid #aaa; border: 1px solid #aaa;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
-webkit-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 4px rgba( 0, 0, 0, 0.2 ); box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.15 );
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 8px; margin-bottom: 8px;
position: absolute; position: absolute;
opacity: 0;
-moz-user-select: none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-ms-user-select: none; -ms-user-select: none;
@ -183,18 +181,6 @@ div.mce-inline-toolbar-grp.mce-arrow-up {
margin-top: 8px; margin-top: 8px;
} }
div.mce-inline-toolbar-grp.mce-inline-toolbar-grp-active {
-webkit-transition:
top 0.1s ease-out,
right 0.1s ease-out,
opacity 0.1s ease-in-out;
transition:
top 0.1s ease-out,
right 0.1s ease-out,
opacity 0.1s ease-in-out;
opacity: 1;
}
div.mce-inline-toolbar-grp:before, div.mce-inline-toolbar-grp:before,
div.mce-inline-toolbar-grp:after { div.mce-inline-toolbar-grp:after {
position: absolute; position: absolute;

File diff suppressed because one or more lines are too long

View File

@ -158,15 +158,13 @@ div.mce-inline-toolbar-grp {
border: 1px solid #aaa; border: 1px solid #aaa;
-webkit-border-radius: 2px; -webkit-border-radius: 2px;
border-radius: 2px; border-radius: 2px;
-webkit-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 4px rgba( 0, 0, 0, 0.2 ); box-shadow: 0 1px 3px rgba( 0, 0, 0, 0.15 );
-webkit-box-sizing: border-box; -webkit-box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box; box-sizing: border-box;
margin-bottom: 8px; margin-bottom: 8px;
position: absolute; position: absolute;
opacity: 0;
-moz-user-select: none; -moz-user-select: none;
-webkit-user-select: none; -webkit-user-select: none;
-ms-user-select: none; -ms-user-select: none;
@ -183,18 +181,6 @@ div.mce-inline-toolbar-grp.mce-arrow-up {
margin-top: 8px; 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:before,
div.mce-inline-toolbar-grp:after { div.mce-inline-toolbar-grp:after {
position: absolute; position: absolute;

File diff suppressed because one or more lines are too long