mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
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:
parent
efbf3e2c3c
commit
f7c4228766
@ -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;
|
||||
|
2
wp-includes/css/media-views-rtl.min.css
vendored
2
wp-includes/css/media-views-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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;
|
||||
|
2
wp-includes/css/media-views.min.css
vendored
2
wp-includes/css/media-views.min.css
vendored
File diff suppressed because one or more lines are too long
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user