- Fix the icon for the native dialogs close button.
- Highlight the button on :focus.

See #36035.
Built from https://develop.svn.wordpress.org/trunk@36857


git-svn-id: http://core.svn.wordpress.org/trunk@36824 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Andrew Ozz 2016-03-05 22:01:27 +00:00
parent 265011b9b6
commit b5cc1c7dfa
5 changed files with 43 additions and 31 deletions

View File

@ -51,17 +51,19 @@
padding: 0 16px 0 36px;
}
.mce-window .mce-window-head .mce-close {
.mce-window .mce-window-head .mce-close,
.mce-window-head .mce-close .mce-i-remove {
color: transparent;
top: 0;
left: 0;
width: 36px;
height: 36px;
padding: 0;
line-height: 36px;
text-align: center;
}
.mce-window .mce-window-head .mce-close:before {
.mce-window-head .mce-close .mce-i-remove:before {
font: normal 20px/36px dashicons;
text-align: center;
color: #666;
@ -70,10 +72,19 @@
display: block;
}
.mce-window .mce-window-head .mce-close:hover:before {
.mce-window-head .mce-close:hover .mce-i-remove:before,
.mce-window-head .mce-close:focus .mce-i-remove:before {
color: #00a0d2;
}
.mce-window-head .mce-close:focus .mce-i-remove,
div.mce-tab:focus {
-webkit-box-shadow: 0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow: 0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.mce-window .mce-window-head .mce-dragh {
width: -webkit-calc( 100% - 36px );
width: calc( 100% - 36px );
@ -828,11 +839,10 @@ div.mce-menu .mce-menu-item-sep,
}
.mce-notification button.mce-close {
width: 20px;
left: 6px;
top: 9px;
font-weight: normal;
color: #555d66;
left: 6px;
top: 3px;
font-weight: normal;
color: #555d66;
}
.mce-notification button.mce-close:hover,
@ -840,10 +850,6 @@ div.mce-menu .mce-menu-item-sep,
color: #000;
}
.mce-notification.mce-notification-info.mce-has-close {
padding-left: 24px;
}
i.mce-i-bold,
i.mce-i-italic,
i.mce-i-bullist,
@ -881,7 +887,7 @@ i.mce-i-wp_page,
i.mce-i-hr,
i.mce-i-wp_code,
i.mce-i-dashicon,
.mce-close {
i.mce-i-remove {
font: normal 20px/1 dashicons;
padding: 0;
vertical-align: top;
@ -1025,7 +1031,7 @@ i.mce-i-hr:before {
content: "\f460";
}
.mce-close:before {
i.mce-i-remove:before {
content: "\f158";
}

File diff suppressed because one or more lines are too long

View File

@ -51,17 +51,19 @@
padding: 0 36px 0 16px;
}
.mce-window .mce-window-head .mce-close {
.mce-window .mce-window-head .mce-close,
.mce-window-head .mce-close .mce-i-remove {
color: transparent;
top: 0;
right: 0;
width: 36px;
height: 36px;
padding: 0;
line-height: 36px;
text-align: center;
}
.mce-window .mce-window-head .mce-close:before {
.mce-window-head .mce-close .mce-i-remove:before {
font: normal 20px/36px dashicons;
text-align: center;
color: #666;
@ -70,10 +72,19 @@
display: block;
}
.mce-window .mce-window-head .mce-close:hover:before {
.mce-window-head .mce-close:hover .mce-i-remove:before,
.mce-window-head .mce-close:focus .mce-i-remove:before {
color: #00a0d2;
}
.mce-window-head .mce-close:focus .mce-i-remove,
div.mce-tab:focus {
-webkit-box-shadow: 0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow: 0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
}
.mce-window .mce-window-head .mce-dragh {
width: -webkit-calc( 100% - 36px );
width: calc( 100% - 36px );
@ -828,11 +839,10 @@ div.mce-menu .mce-menu-item-sep,
}
.mce-notification button.mce-close {
width: 20px;
right: 6px;
top: 9px;
font-weight: normal;
color: #555d66;
right: 6px;
top: 3px;
font-weight: normal;
color: #555d66;
}
.mce-notification button.mce-close:hover,
@ -840,10 +850,6 @@ div.mce-menu .mce-menu-item-sep,
color: #000;
}
.mce-notification.mce-notification-info.mce-has-close {
padding-right: 24px;
}
i.mce-i-bold,
i.mce-i-italic,
i.mce-i-bullist,
@ -881,7 +887,7 @@ i.mce-i-wp_page,
i.mce-i-hr,
i.mce-i-wp_code,
i.mce-i-dashicon,
.mce-close {
i.mce-i-remove {
font: normal 20px/1 dashicons;
padding: 0;
vertical-align: top;
@ -1025,7 +1031,7 @@ i.mce-i-hr:before {
content: "\f460";
}
.mce-close:before {
i.mce-i-remove:before {
content: "\f158";
}

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-beta2-36856';
$wp_version = '4.5-beta2-36857';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.