Match TinyMCE modal form element focus styling to the admin. props paulwilde. see #27173.

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


git-svn-id: http://core.svn.wordpress.org/trunk@27608 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2014-03-27 02:36:14 +00:00
parent 15549e75f3
commit 2406bba954
4 changed files with 20 additions and 16 deletions

View File

@ -77,21 +77,23 @@
border-bottom: none;
}
.mce-textbox {
.mce-textbox,
.mce-checkbox i.mce-i-checkbox {
border: 1px solid #ddd;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
-webkit-transition: none;
transition: none;
-webkit-transition: .05s border-color ease-in-out;
transition: .05s border-color ease-in-out;
}
.mce-textbox:focus,
.mce-textbox.mce-focus {
border-color: #999;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
.mce-textbox.mce-focus,
.mce-checkbox:focus i.mce-i-checkbox {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
}
/* TinyMCE menus */

File diff suppressed because one or more lines are too long

View File

@ -77,21 +77,23 @@
border-bottom: none;
}
.mce-textbox {
.mce-textbox,
.mce-checkbox i.mce-i-checkbox {
border: 1px solid #ddd;
-webkit-border-radius: 0;
border-radius: 0;
-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
box-shadow: inset 0 1px 2px rgba(0,0,0,0.07);
-webkit-transition: none;
transition: none;
-webkit-transition: .05s border-color ease-in-out;
transition: .05s border-color ease-in-out;
}
.mce-textbox:focus,
.mce-textbox.mce-focus {
border-color: #999;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.1);
box-shadow: 0 1px 2px rgba(0,0,0,0.1);
.mce-textbox.mce-focus,
.mce-checkbox:focus i.mce-i-checkbox {
border-color: #5b9dd9;
-webkit-box-shadow: 0 0 2px rgba(30,140,190,0.8);
box-shadow: 0 0 2px rgba(30,140,190,0.8);
}
/* TinyMCE menus */

File diff suppressed because one or more lines are too long