mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-16 09:14:35 +00:00
Media: Visually align upload errors with other admin notices.
props sagarjadhav. fixes #31874. git-svn-id: https://develop.svn.wordpress.org/trunk@32506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -459,8 +459,9 @@ border color while dragging a file over the uploader drop area */
|
||||
width: auto;
|
||||
margin-bottom: 16px;
|
||||
padding: 0 16px;
|
||||
border: 1px solid #c00;
|
||||
background-color: #feebe8;
|
||||
border-left: 4px solid #dd3d36;
|
||||
box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .hide-sidebar .media-sidebar {
|
||||
@@ -474,27 +475,28 @@ border color while dragging a file over the uploader drop area */
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .media-sidebar .upload-error {
|
||||
margin: 20px 0;
|
||||
padding: 0;
|
||||
margin: 12px 0;
|
||||
padding: 4px 0 0;
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
background: none;
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
|
||||
font-size: 0;
|
||||
top: -12px;
|
||||
right: -10px;
|
||||
top: 0;
|
||||
right: -6px;
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
|
||||
content: "\f158";
|
||||
font: normal 20px/1 dashicons;
|
||||
color: #666;
|
||||
content: "\f153";
|
||||
font: normal 16px/1 dashicons;
|
||||
color: #bbb;
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
|
||||
.upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before {
|
||||
color: #00a0d2;
|
||||
color: #c00;
|
||||
}
|
||||
|
||||
.upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3 {
|
||||
|
||||
Reference in New Issue
Block a user