TinyMCE, inline link:

- Add back the bottom box-shadow on the Apply button.
- Shrink `.mce-btn.mce-primary` to compensate for the bottom box-shadow.
- Tighten up/reduce the margins between the buttons.

See #33301.
Built from https://develop.svn.wordpress.org/trunk@37004


git-svn-id: http://core.svn.wordpress.org/trunk@36971 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2016-03-16 04:29:27 +00:00
parent d529800cba
commit 90f70fab53
5 changed files with 47 additions and 13 deletions

View File

@ -484,13 +484,18 @@ div.mce-path {
min-width: 0;
background: #0085ba;
border-color: #0073aa #006799 #006799;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-box-shadow: 0 1px 0 #006799;
box-shadow: 0 1px 0 #006799;
color: #fff;
text-decoration: none;
text-shadow: none;
}
/* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
.mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
padding: 2px 3px 1px;
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary .mce-ico {
color: #fff;
}
@ -500,8 +505,6 @@ div.mce-path {
background: #008ec2;
border-color: #006799;
color: #fff;
-webkit-box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus {
@ -1262,6 +1265,11 @@ i.mce-i-wp_code:before {
padding: 6px 7px;
}
/* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
.mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
padding: 6px 7px 5px;
}
.mce-toolbar .mce-btn-group .mce-btn {
margin: 1px;
}
@ -1597,6 +1605,15 @@ div.wp-link-input input {
box-sizing: border-box;
}
.mce-toolbar div.wp-link-preview ~ .mce-btn,
.mce-toolbar div.wp-link-input ~ .mce-btn {
margin: 2px 1px;
}
.mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child {
margin-left: 2px;
}
.ui-autocomplete.wplink-autocomplete {
z-index: 100110;
max-height: 200px;
@ -1627,7 +1644,7 @@ div.wp-link-input input {
div.wp-link-input input {
width: 100%;
font-size: 16px;
padding: 4px;
padding: 5px;
}
}

File diff suppressed because one or more lines are too long

View File

@ -484,13 +484,18 @@ div.mce-path {
min-width: 0;
background: #0085ba;
border-color: #0073aa #006799 #006799;
-webkit-box-shadow: none;
box-shadow: none;
-webkit-box-shadow: 0 1px 0 #006799;
box-shadow: 0 1px 0 #006799;
color: #fff;
text-decoration: none;
text-shadow: none;
}
/* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
.mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
padding: 2px 3px 1px;
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary .mce-ico {
color: #fff;
}
@ -500,8 +505,6 @@ div.mce-path {
background: #008ec2;
border-color: #006799;
color: #fff;
-webkit-box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
box-shadow: 0 1px 0 rgba( 0, 0, 0, 0.2 );
}
.mce-toolbar .mce-btn-group .mce-btn.mce-primary:focus {
@ -1262,6 +1265,11 @@ i.mce-i-wp_code:before {
padding: 6px 7px;
}
/* Compensate for the extra box shadow at the bottom of .mce-btn.mce-primary */
.mce-toolbar .mce-btn-group .mce-btn.mce-primary button {
padding: 6px 7px 5px;
}
.mce-toolbar .mce-btn-group .mce-btn {
margin: 1px;
}
@ -1597,6 +1605,15 @@ div.wp-link-input input {
box-sizing: border-box;
}
.mce-toolbar div.wp-link-preview ~ .mce-btn,
.mce-toolbar div.wp-link-input ~ .mce-btn {
margin: 2px 1px;
}
.mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child {
margin-right: 2px;
}
.ui-autocomplete.wplink-autocomplete {
z-index: 100110;
max-height: 200px;
@ -1627,7 +1644,7 @@ div.wp-link-input input {
div.wp-link-input input {
width: 100%;
font-size: 16px;
padding: 4px;
padding: 5px;
}
}

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.5-beta3-37003';
$wp_version = '4.5-beta3-37004';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.