Update WordPress to 5.2

This commit is contained in:
Oliver Davies 2019-05-08 08:05:39 +01:00
parent 489b5a5914
commit e00f87f2f5
599 changed files with 119573 additions and 55990 deletions

View file

@ -47,7 +47,7 @@
.media-frame a:focus {
box-shadow:
0 0 0 1px #5b9dd9,
0 0 2px 1px rgba(30, 140, 190, .8);
0 0 2px 1px rgba(30, 140, 190, 0.8);
color: #124964;
/* Only visible in Windows High Contrast mode */
outline: 1px solid transparent;
@ -195,7 +195,7 @@
.media-modal-close:focus {
color: #00a0d2;
border-color: #5b9dd9;
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
outline-offset: -2px;
@ -222,7 +222,7 @@
bottom: 0;
overflow: auto;
min-height: 300px;
box-shadow: 0 5px 15px rgba(0,0,0,0.7);
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
background: #fcfcfc;
-webkit-font-smoothing: subpixel-antialiased;
}
@ -431,7 +431,8 @@
.attachment-details .setting input[type="tel"],
.attachment-details .setting input[type="url"],
.attachment-details .setting textarea,
.attachment-details .setting .value {
.attachment-details .setting .value,
.attachment-details .setting + .description {
box-sizing: border-box;
margin: 1px;
width: 65%;
@ -439,11 +440,19 @@
}
.media-sidebar .setting .value,
.attachment-details .setting .value {
.attachment-details .setting .value,
.attachment-details .setting + .description {
margin: 0 1px;
text-align: left;
}
.attachment-details .setting + .description {
clear: both;
font-size: 12px;
font-style: normal;
margin-bottom: 0.5em;
}
.media-sidebar .setting textarea,
.attachment-details .setting textarea,
.compat-item .field textarea {
@ -554,7 +563,7 @@
.media-menu > a:hover {
color: #0073aa;
background: rgba( 0, 0, 0, 0.04 );
background: rgba(0, 0, 0, 0.04);
}
.media-menu > a:active {
@ -715,7 +724,7 @@
.media-frame.hide-router .media-frame-title {
border-bottom: 1px solid #ddd;
box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1);
}
.media-frame-title .dashicons {
@ -861,8 +870,8 @@
.wp-core-ui .attachment-preview {
position: relative;
box-shadow:
inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
inset 0 0 15px rgba(0, 0, 0, 0.1),
inset 0 0 0 1px rgba(0, 0, 0, 0.05);
background: #eee;
cursor: pointer;
}
@ -905,7 +914,7 @@
left: 0;
right: 0;
bottom: 0;
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
@ -946,8 +955,8 @@
word-wrap: break-word;
text-align: center;
font-weight: 600;
background: rgba( 255, 255, 255, 0.8 );
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
background: rgba(255, 255, 255, 0.8);
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
}
.wp-core-ui .attachment .filename div {
@ -969,7 +978,7 @@
background-color: #fff;
background-position: -96px 4px;
border-radius: 3px;
box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3);
transition: none;
}
@ -991,7 +1000,7 @@
outline: none;
background: #eee;
cursor: pointer;
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba(0, 0, 0, 0.15);
}
.wp-core-ui .attachment .check .media-modal-icon {
@ -1124,7 +1133,7 @@
.uploader-inline .close:focus {
outline: 1px solid #5b9dd9;
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
}
.attachments-browser.hide-sidebar .attachments,
@ -1156,7 +1165,7 @@
margin: 10px auto;
border-radius: 10px;
background: #ddd;
background: rgba( 0, 0, 0, 0.1 );
background: rgba(0, 0, 0, 0.1);
}
.media-progress-bar div {
@ -1278,7 +1287,7 @@
left: 0;
right: 0;
bottom: 0;
background: rgba( 0, 86, 132, 0.9 );
background: rgba(0, 86, 132, 0.9);
z-index: 250000;
display: none;
text-align: center;
@ -1520,7 +1529,7 @@
right: 0;
bottom: 0;
width: 25px;
background-image: linear-gradient(to left, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
background-image: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}
.media-selection .attachment .filename {
@ -1612,7 +1621,7 @@
.uploading .attachment-info .thumbnail {
width: 120px;
height: 80px;
box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.1);
}
.uploading .attachment-info .media-progress-bar {
@ -1627,7 +1636,7 @@
left: 0;
right: 0;
bottom: 0;
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15);
overflow: hidden;
}
@ -1792,7 +1801,7 @@
.wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus {
color: #0074a2;
border-color: #5b9dd9;
box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
box-shadow: 0 0 3px rgba(0, 115, 170, 0.8);
/* Only visible in Windows High Contrast mode */
outline: 2px solid transparent;
}
@ -1841,7 +1850,7 @@
padding: 12px 14px;
width: 100%;
min-width: 200px;
box-shadow: inset 2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 2px 2px 4px -2px rgba(0, 0, 0, 0.1);
}
.media-frame .embed-url .spinner {
@ -1889,7 +1898,7 @@
.mejs-container:focus {
outline: 1px solid #5b9dd9;
box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
box-shadow: 0 0 2px 1px rgba(30, 140, 190, 0.8);
}
.image-details .media-modal {
@ -2028,7 +2037,7 @@
left: 0;
right: 0;
bottom: 0;
box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.1);
overflow: hidden;
}
@ -2040,6 +2049,15 @@
clear: both;
}
.media-embed .setting.has-description {
margin-bottom: 5px;
}
.media-embed .description {
clear: both;
font-style: normal;
}
.image-details .embed-media-settings .setting {
float: none;
width: auto;
@ -2069,11 +2087,17 @@
.image-details .embed-media-settings .setting input.link-to-custom,
.image-details .embed-media-settings .link-target,
.image-details .embed-media-settings .custom-size {
.image-details .embed-media-settings .custom-size,
.image-details .description {
margin-left: 27%;
width: 70%;
}
.image-details .description {
font-style: normal;
margin-top: 0;
}
.image-details .embed-media-settings .link-target {
margin-top: 24px;
}
@ -2116,7 +2140,7 @@
/* Drag & drop on the editor upload */
.wp-editor-wrap .uploader-editor {
background: rgba( 150, 150, 150, 0.9 );
background: rgba(150, 150, 150, 0.9);
position: absolute;
top: 0;
left: 0;
@ -2152,7 +2176,7 @@
}
.wp-editor-wrap .uploader-editor.droppable {
background: rgba( 0, 86, 132, 0.9 );
background: rgba(0, 86, 132, 0.9);
}
.wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
@ -2363,7 +2387,8 @@
.attachment-details .setting input[type="tel"],
.attachment-details .setting input[type="url"],
.attachment-details .setting textarea,
.attachment-details .setting select {
.attachment-details .setting select,
.attachment-details .setting + .description {
float: none;
width: 98%;
max-width: none;
@ -2413,6 +2438,15 @@
margin-left: 0;
}
.image-details .embed-media-settings .setting.has-description {
margin-bottom: 5px;
}
.image-details .description {
width: auto;
margin: 0 20px;
}
.image-details .embed-media-settings .custom-size {
margin-left: 20px;
}