Media: Fix focus and selected state for the selected attachments set.

props iseulde.
fixes #31898.

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


git-svn-id: http://core.svn.wordpress.org/trunk@32051 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Helen Hou-Sandí 2015-04-07 21:29:26 +00:00
parent efbf3e2c3c
commit f7c4228766
5 changed files with 39 additions and 11 deletions

View File

@ -896,7 +896,7 @@
transform: translate( 50%, -50% );
}
.wp-core-ui .attachment .thumbnail .centered img.icon {
.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
-webkit-transform: translate( 50%, -70% );
-ms-transform: translate(50%,-70%);
transform: translate( 50%, -70% );
@ -1440,8 +1440,6 @@
width: 40px;
padding: 0;
margin: 4px;
-webkit-box-shadow: none;
box-shadow: none;
}
.media-selection .attachment .thumbnail {
@ -1461,7 +1459,23 @@
background: none;
}
.media-selection .attachment.selection.details .thumbnail {
.wp-core-ui .media-selection .attachment:focus,
.wp-core-ui .media-selection .selected.attachment:focus,
.wp-core-ui .media-selection .attachment.details:focus {
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 2px 3px #5b9dd9;
box-shadow:
0 0 0 1px #fff,
0 0 2px 3px #5b9dd9;
}
.wp-core-ui .media-selection .selected.attachment {
-webkit-box-shadow: none;
box-shadow: none;
}
.wp-core-ui .media-selection .attachment.details {
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 0 3px #1e8cbe;

File diff suppressed because one or more lines are too long

View File

@ -896,7 +896,7 @@
transform: translate( -50%, -50% );
}
.wp-core-ui .attachment .thumbnail .centered img.icon {
.wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
-webkit-transform: translate( -50%, -70% );
-ms-transform: translate(-50%,-70%);
transform: translate( -50%, -70% );
@ -1440,8 +1440,6 @@
width: 40px;
padding: 0;
margin: 4px;
-webkit-box-shadow: none;
box-shadow: none;
}
.media-selection .attachment .thumbnail {
@ -1461,7 +1459,23 @@
background: none;
}
.media-selection .attachment.selection.details .thumbnail {
.wp-core-ui .media-selection .attachment:focus,
.wp-core-ui .media-selection .selected.attachment:focus,
.wp-core-ui .media-selection .attachment.details:focus {
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 2px 3px #5b9dd9;
box-shadow:
0 0 0 1px #fff,
0 0 2px 3px #5b9dd9;
}
.wp-core-ui .media-selection .selected.attachment {
-webkit-box-shadow: none;
box-shadow: none;
}
.wp-core-ui .media-selection .attachment.details {
-webkit-box-shadow:
0 0 0 1px #fff,
0 0 0 3px #1e8cbe;

File diff suppressed because one or more lines are too long

View File

@ -4,7 +4,7 @@
*
* @global string $wp_version
*/
$wp_version = '4.2-beta4-32071';
$wp_version = '4.2-beta4-32072';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.