Media Library: After [35499], increase the specificity of our selectors so that they don't cause problems for the wp-admin Media Library page.

Props aaronrutley.

Fixes #32005.


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


git-svn-id: http://core.svn.wordpress.org/trunk@35496 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Gary Pendergast 2015-11-04 23:43:26 +00:00
parent 2c54b0358e
commit 27df997eed
5 changed files with 61 additions and 21 deletions

View File

@ -216,6 +216,30 @@
-webkit-font-smoothing: subpixel-antialiased;
}
.media-modal-content .media-frame select.attachment-filters {
margin-top: 11px;
margin-left: 2%;
width: 42%;
width: -webkit-calc(48% - 12px);
width: calc(48% - 12px);
}
.media-modal-content .attachments-browser .media-toolbar-secondary {
width: 66%;
}
.media-modal-content .media-toolbar-primary.search-form {
width: 33%;
}
.media-modal-content .media-toolbar-primary .media-button {
float: left;
}
.media-modal-content .attachments-browser .search {
width: 100%;
}
/* higher specificity */
.wp-core-ui .media-modal-icon {
background-image: url(../images/uploader-icons.png);
@ -752,9 +776,9 @@
.media-frame select.attachment-filters {
margin-top: 11px;
margin-left: 2%;
width: 42%;
width: -webkit-calc(48% - 12px);
width: calc(48% - 12px);
max-width: 42%;
max-width: -webkit-calc(48% - 12px);
max-width: calc(48% - 12px);
}
.media-frame select.attachment-filters:last-of-type {
@ -1081,15 +1105,11 @@
}
.attachments-browser .media-toolbar-primary {
width: 33%;
max-width: 33%;
}
.attachments-browser .media-toolbar-secondary {
width: 66%;
}
.attachments-browser .search {
width: 100%;
max-width: 66%;
}
.uploader-inline .close {

File diff suppressed because one or more lines are too long

View File

@ -216,6 +216,30 @@
-webkit-font-smoothing: subpixel-antialiased;
}
.media-modal-content .media-frame select.attachment-filters {
margin-top: 11px;
margin-right: 2%;
width: 42%;
width: -webkit-calc(48% - 12px);
width: calc(48% - 12px);
}
.media-modal-content .attachments-browser .media-toolbar-secondary {
width: 66%;
}
.media-modal-content .media-toolbar-primary.search-form {
width: 33%;
}
.media-modal-content .media-toolbar-primary .media-button {
float: right;
}
.media-modal-content .attachments-browser .search {
width: 100%;
}
/* higher specificity */
.wp-core-ui .media-modal-icon {
background-image: url(../images/uploader-icons.png);
@ -752,9 +776,9 @@
.media-frame select.attachment-filters {
margin-top: 11px;
margin-right: 2%;
width: 42%;
width: -webkit-calc(48% - 12px);
width: calc(48% - 12px);
max-width: 42%;
max-width: -webkit-calc(48% - 12px);
max-width: calc(48% - 12px);
}
.media-frame select.attachment-filters:last-of-type {
@ -1081,15 +1105,11 @@
}
.attachments-browser .media-toolbar-primary {
width: 33%;
max-width: 33%;
}
.attachments-browser .media-toolbar-secondary {
width: 66%;
}
.attachments-browser .search {
width: 100%;
max-width: 66%;
}
.uploader-inline .close {

File diff suppressed because one or more lines are too long

View File

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