Media:
* Make attachment focus styles more obvious, particularly for already selected items. * Fix styling for the selection set attachments. * Remove some CSS cruft. fixes #28822. Built from https://develop.svn.wordpress.org/trunk@29607 git-svn-id: http://core.svn.wordpress.org/trunk@29381 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
@@ -528,13 +528,16 @@ border color while dragging a file over the uploader drop area */
|
||||
padding-bottom: 80px; /* offset for above so the bottom doesn't get cut off */
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .attachment:focus {
|
||||
.media-frame.mode-grid .attachment:focus,
|
||||
.media-frame.mode-grid .selected.attachment:focus,
|
||||
.media-frame.mode-grid .attachment.details:focus {
|
||||
-webkit-box-shadow:
|
||||
inset 0 0 0 5px #f1f1f1,
|
||||
inset 0 0 1px 7px #5b9dd9;
|
||||
inset 0 0 2px 3px #f1f1f1,
|
||||
inset 0 0 0 7px #5b9dd9;
|
||||
box-shadow:
|
||||
inset 0 0 0 5px #f1f1f1,
|
||||
inset 0 0 1px 7px #5b9dd9;
|
||||
inset 0 0 2px 3px #f1f1f1,
|
||||
inset 0 0 0 7px #5b9dd9;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .selected.attachment {
|
||||
@@ -546,7 +549,7 @@ border color while dragging a file over the uploader drop area */
|
||||
inset 0 0 0 7px #ccc;
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .selected.attachment:focus {
|
||||
.media-frame.mode-grid .attachment.details {
|
||||
-webkit-box-shadow:
|
||||
inset 0 0 0 3px #f1f1f1,
|
||||
inset 0 0 0 7px #1e8cbe;
|
||||
|
||||
@@ -528,13 +528,16 @@ border color while dragging a file over the uploader drop area */
|
||||
padding-bottom: 80px; /* offset for above so the bottom doesn't get cut off */
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .attachment:focus {
|
||||
.media-frame.mode-grid .attachment:focus,
|
||||
.media-frame.mode-grid .selected.attachment:focus,
|
||||
.media-frame.mode-grid .attachment.details:focus {
|
||||
-webkit-box-shadow:
|
||||
inset 0 0 0 5px #f1f1f1,
|
||||
inset 0 0 1px 7px #5b9dd9;
|
||||
inset 0 0 2px 3px #f1f1f1,
|
||||
inset 0 0 0 7px #5b9dd9;
|
||||
box-shadow:
|
||||
inset 0 0 0 5px #f1f1f1,
|
||||
inset 0 0 1px 7px #5b9dd9;
|
||||
inset 0 0 2px 3px #f1f1f1,
|
||||
inset 0 0 0 7px #5b9dd9;
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .selected.attachment {
|
||||
@@ -546,7 +549,7 @@ border color while dragging a file over the uploader drop area */
|
||||
inset 0 0 0 7px #ccc;
|
||||
}
|
||||
|
||||
.media-frame.mode-grid .selected.attachment:focus {
|
||||
.media-frame.mode-grid .attachment.details {
|
||||
-webkit-box-shadow:
|
||||
inset 0 0 0 3px #f1f1f1,
|
||||
inset 0 0 0 7px #1e8cbe;
|
||||
|
||||
2
wp-admin/css/wp-admin-rtl.min.css
vendored
2
wp-admin/css/wp-admin-rtl.min.css
vendored
File diff suppressed because one or more lines are too long
2
wp-admin/css/wp-admin.min.css
vendored
2
wp-admin/css/wp-admin.min.css
vendored
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user