1 /*------------------------------------------------------------------------------
3 ------------------------------------------------------------------------------*/
5 .media-item .describe {
6 border-collapse: collapse;
8 border-top: 1px solid #ddd;
13 .media-item.media-blank .describe {
17 .media-item .describe th {
20 padding: 5px 10px 10px;
24 .media-item .describe .align th {
28 .media-item .media-item-info tr {
29 background-color: transparent;
32 .media-item .describe td {
37 .media-item thead.media-item-info td {
41 .media-item .media-item-info .A1B1 {
45 .media-item td.savesend {
49 .media-item .thumbnail {
54 #wpbody-content #async-upload-wrap a {
62 .media-upload-form td label {
67 .media-upload-form .align .field label {
74 .media-upload-form tr.image-size label {
79 .media-upload-form th.label label {
85 .media-upload-form th.label label span {
89 .media-item .describe input[type="text"],
90 .media-item .describe textarea {
94 .media-item .describe p.help {
99 .media-item .edit-attachment,
101 .describe-toggle-off {
108 .media-item .describe-toggle-off,
109 .media-item.open .describe-toggle-on {
113 .media-item.open .describe-toggle-off {
117 .media-upload-form .media-item {
125 .media-upload-form .media-item,
126 .media-upload-form .media-item .error {
127 -webkit-box-shadow: 0 1px 0 #ddd;
128 box-shadow: 0 1px 0 #ddd;
135 .media-item .filename {
141 .media-item .pinkynail {
143 margin: 2px 3px 0 10px;
148 .media-item .startopen,
149 .media-item .startclosed {
153 .media-item .original {
158 .media-item .progress {
166 -webkit-border-radius: 22px;
169 -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
170 box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
178 -webkit-border-radius: 22px;
180 background-color: #0073aa;
181 -webkit-box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
182 box-shadow: inset 0 0 2px rgba(0,0,0,0.3);
185 .media-item .progress .percent {
194 text-shadow: 0 1px 2px rgba(0,0,0,0.2);
197 .upload-php .fixed .column-parent {
201 .js .html-uploader #plupload-upload-ui {
205 .js .html-uploader #html-upload-ui {
209 .media-upload-form .media-item.error,
210 .media-upload-form .media-item .error {
215 .media-upload-form .media-item .error {
216 padding: 10px 14px 10px 0;
219 .media-item .error-div a.dismiss {
222 margin: 0 15px 0 10px;
225 /*------------------------------------------------------------------------------
227 ------------------------------------------------------------------------------*/
230 background-color: #fff;
231 -webkit-box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
232 box-shadow: 0 3px 6px rgba( 0, 0, 0, 0.3 );
235 margin-right: -300px;
245 border-bottom: 1px solid #ddd;
250 padding: 0 16px 0 36px;
260 background-color: #fff;
266 -webkit-box-sizing: border-box;
267 -moz-box-sizing: border-box;
268 box-sizing: border-box;
272 padding-bottom: 16px;
275 .find-box-search .spinner {
282 #find-posts-response {
283 position: relative; /* RTL fix, #WP28010 */
297 .widefat .found-radio {
316 #find-posts-close:hover,
317 #find-posts-close:focus {
321 #find-posts-close:focus {
325 0 0 2px 1px rgba(30, 140, 190, .8);
328 0 0 2px 1px rgba(30, 140, 190, .8);
331 #find-posts-close:before {
332 font: normal 20px/36px dashicons;
335 -webkit-font-smoothing: antialiased;
336 -moz-osx-font-smoothing: grayscale;
343 border-top: 1px solid #ddd;
350 @media screen and ( max-width: 782px ) {
356 @media screen and ( max-width: 660px ) {
377 filter: alpha(opacity=70);
381 ul#dismissed-updates {
392 margin: -0.5em 0 2em 0;
395 #poststuff .inside .the-tagcloud {
398 border: 1px solid #ddd;
403 .drag-drop #drag-drop-area {
404 border: 4px dashed #b4b9be;
408 .drag-drop .drag-drop-inside {
413 .drag-drop-inside p {
420 .drag-drop .drag-drop-inside p {
424 .drag-drop-inside p.drag-drop-info {
428 .drag-drop .drag-drop-inside p,
429 .drag-drop-inside p.drag-drop-buttons {
434 #drag-drop-area:-moz-drag-over {
435 border-color: #83b4d8;
437 border color while dragging a file over the uploader drop area */
438 .drag-drop.drag-over #drag-drop-area {
439 border-color: #83b4d8;
442 #plupload-upload-ui {
447 * Media Library grid view
450 .media-frame.mode-grid,
451 .media-frame.mode-grid .media-frame-content,
452 .media-frame.mode-grid .attachments-browser .attachments,
453 .media-frame.mode-grid .uploader-inline-content {
457 /* Regions we don't use at all */
458 .media-frame.mode-grid .media-frame-title,
459 .media-frame.mode-grid .media-frame-router,
460 .media-frame.mode-grid .media-frame-menu {
464 .media-frame.mode-grid .media-frame-content {
465 background-color: transparent;
469 .upload-php .mode-grid .media-sidebar {
474 border-right: 4px solid #dd3d36;
475 -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
476 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
477 background-color: #fff;
480 .upload-php .mode-grid .hide-sidebar .media-sidebar {
484 .upload-php .mode-grid .media-sidebar .media-uploader-status {
490 .upload-php .mode-grid .media-sidebar .upload-error {
494 -webkit-box-shadow: none;
499 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
505 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
508 font: normal 16px/1 dashicons;
512 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
513 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before {
517 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */
518 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
522 .media-frame.mode-grid .uploader-inline {
530 border: 4px dashed #b4b9be;
533 .media-frame.mode-select .attachments-browser.fixed .attachments {
535 top: 94px; /* prevent jumping up when the toolbar becomes fixed */
536 padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
539 .media-frame.mode-grid .attachment:focus,
540 .media-frame.mode-grid .selected.attachment:focus,
541 .media-frame.mode-grid .attachment.details:focus {
543 inset 0 0 2px 3px #f1f1f1,
544 inset 0 0 0 7px #5b9dd9;
546 inset 0 0 2px 3px #f1f1f1,
547 inset 0 0 0 7px #5b9dd9;
551 .media-frame.mode-grid .selected.attachment {
553 inset 0 0 0 5px #f1f1f1,
554 inset 0 0 0 7px #ccc;
556 inset 0 0 0 5px #f1f1f1,
557 inset 0 0 0 7px #ccc;
560 .media-frame.mode-grid .attachment.details {
562 inset 0 0 0 3px #f1f1f1,
563 inset 0 0 0 7px #1e8cbe;
565 inset 0 0 0 3px #f1f1f1,
566 inset 0 0 0 7px #1e8cbe;
569 .media-frame.mode-grid.mode-select .attachment .thumbnail {
573 .media-frame.mode-select .attachment.selected .thumbnail {
577 .media-frame.mode-grid .media-toolbar {
582 .media-frame.mode-grid .media-toolbar select {
587 .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
589 vertical-align: middle;
592 .media-frame.mode-grid .attachments-browser .bulk-select {
593 display: inline-block;
597 .media-frame.mode-grid .search {
601 .media-frame.mode-grid .spinner {
605 .attachments-browser .media-toolbar-secondary > .media-button {
609 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
617 .media-frame.mode-grid .attachments-browser {
621 .media-frame.mode-grid .attachments-browser .attachments {
625 .media-frame.mode-grid .attachments-browser .no-media {
626 color: #666; /* same as no plugins and no themes */
635 * Attachment details modal
638 .edit-attachment-frame {
644 .edit-attachment-frame .edit-media-header {
648 .upload-php .media-modal-close .media-modal-icon:before {
653 .upload-php .media-modal-close,
654 .edit-attachment-frame .edit-media-header .left,
655 .edit-attachment-frame .edit-media-header .right {
658 background-color: transparent;
665 border-right: 1px solid #ddd;
666 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
667 transition: color .1s ease-in-out, background .1s ease-in-out;
670 .upload-php .media-modal-close {
675 .edit-attachment-frame .edit-media-header .left {
679 .edit-attachment-frame .edit-media-header .right {
683 .edit-attachment-frame .media-frame-title {
685 left: 150px; /* leave space for prev/next/close */
688 .edit-attachment-frame .edit-media-header .right:before,
689 .edit-attachment-frame .edit-media-header .left:before {
690 font: normal 20px/50px dashicons !important;
695 .upload-php .media-modal-close:hover,
696 .upload-php .media-modal-close:focus,
697 .edit-attachment-frame .edit-media-header .left:hover,
698 .edit-attachment-frame .edit-media-header .right:hover,
699 .edit-attachment-frame .edit-media-header .left:focus,
700 .edit-attachment-frame .edit-media-header .right:focus {
705 -webkit-box-shadow: none;
709 .upload-php .media-modal-close:focus .media-modal-icon:before,
710 .upload-php .media-modal-close:hover .media-modal-icon:before {
714 .edit-attachment-frame .edit-media-header .left:before,
715 .rtl .edit-attachment-frame .edit-media-header .right:before {
719 .edit-attachment-frame .edit-media-header .right:before,
720 .rtl .edit-attachment-frame .edit-media-header .left:before {
724 .edit-attachment-frame .edit-media-header .left.disabled,
725 .edit-attachment-frame .edit-media-header .right.disabled,
726 .edit-attachment-frame .edit-media-header .left.disabled:hover,
727 .edit-attachment-frame .edit-media-header .right.disabled:hover {
731 pointer-events: none;
734 .edit-attachment-frame .media-frame-content,
735 .edit-attachment-frame .media-frame-router {
739 .edit-attachment-frame .media-frame-content {
745 .edit-attachment-frame .attachment-details {
752 -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
753 box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
756 .edit-attachment-frame .attachment-media-view {
762 .edit-attachment-frame .attachment-media-view .thumbnail {
763 -webkit-box-sizing: border-box;
764 -moz-box-sizing: border-box;
765 box-sizing: border-box;
770 .edit-attachment-frame .attachment-media-view .details-image {
775 max-height: -webkit-calc( 100% - 42px );
776 max-height: calc( 100% - 42px ); /* leave space for actions underneath */
779 .edit-attachment-frame .attachment-media-view .attachment-actions {
783 .edit-attachment-frame .wp-media-wrapper {
787 .edit-attachment-frame input,
788 .edit-attachment-frame textarea {
793 .edit-attachment-frame .attachment-info {
795 -webkit-box-sizing: border-box;
796 -moz-box-sizing: border-box;
797 box-sizing: border-box;
799 padding: 12px 16px 0;
802 -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
803 box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
805 border-right: 1px solid #ddd;
809 .edit-attachment-frame .attachment-info .details,
810 .edit-attachment-frame .attachment-info .settings {
811 position: relative; /* RTL fix, #WP29352 */
815 padding-bottom: 15px;
816 border-bottom: 1px solid #ddd;
819 .edit-attachment-frame .attachment-info .filename {
824 .edit-attachment-frame .attachment-info .thumbnail {
828 .attachment-info .actions {
832 .attachment-info .actions a {
834 text-decoration: none;
838 /*------------------------------------------------------------------------------
840 ------------------------------------------------------------------------------*/
842 .wp_attachment_details label[for="content"] {
848 .wp_attachment_details #attachment_caption {
852 .describe .image-editor {
862 .imgedit-settings fieldset {
866 .imgedit-settings legend {
870 .describe .imgedit-wrap .imgedit-settings {
874 .wp_attachment_holder div.updated {
878 .wp_attachment_holder .imgedit-wrap > div {
882 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
883 padding: 3px 0 0 16px;
887 .wp_attachment_holder .imgedit-wrap .imgedit-settings {
892 .imgedit-settings input {
894 vertical-align: middle;
904 filter: alpha(opacity=70);
908 .imgedit-wait:before {
916 margin: -10px -10px 0 0;
917 background: transparent url(../images/spinner.gif) no-repeat center;
918 -webkit-background-size: 20px 20px;
919 background-size: 20px 20px;
920 -webkit-transform: translateZ(0);
921 transform: translateZ(0);
929 .imgedit-settings .disabled {
930 /* WCAG 1.4.3 Text or images of text that are part of an inactive user
931 interface component ... have no contrast requirement. */
939 .wp_attachment_image .button,
944 .no-js .wp_attachment_image .button {
948 .wp_attachment_image .spinner,
958 .imgedit-menu .note-no-rotate {
964 .image-editor .imgedit-menu .button {
971 -webkit-font-smoothing: antialiased;
972 -moz-osx-font-smoothing: grayscale;
977 .imgedit-menu .button:before {
978 font: normal 20px/1 dashicons;
980 vertical-align: middle;
983 .imgedit-menu .button.disabled {
985 background-color: #ddd;
987 filter: alpha(opacity=50);
992 .imgedit-crop:before {
996 .imgedit-rleft:before {
1000 .imgedit-rright:before {
1004 .imgedit-flipv:before {
1008 .imgedit-fliph:before {
1012 .imgedit-undo:before {
1016 .imgedit-redo:before {
1020 .imgedit-crop-wrap {
1033 margin: 0 3px 0 8px;
1041 margin: 0 3px 0 8px;
1049 margin: 0 3px 0 8px;
1052 .imgedit-thumbnail-preview {
1053 margin: 10px 0 0 8px;
1056 .imgedit-thumbnail-preview-caption {
1060 #poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */
1061 #poststuff .imgedit-group-top h2 {
1062 display: inline-block;
1069 .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
1070 .imgedit-group-top h2 a {
1071 text-decoration: none;
1074 .imgedit-applyto .imgedit-label {
1084 /* higher specificity than buttons */
1085 .image-editor .imgedit-settings .imgedit-help-toggle,
1086 .image-editor .imgedit-settings .imgedit-help-toggle:hover,
1087 .image-editor .imgedit-settings .imgedit-help-toggle:active {
1088 border: 1px solid transparent;
1089 margin: -1px -1px 0 0;
1091 background: transparent;
1096 -webkit-box-sizing: content-box;
1097 -moz-box-sizing: content-box;
1098 box-sizing: content-box;
1099 -webkit-box-shadow: none;
1103 .image-editor .imgedit-settings .imgedit-help-toggle:focus {
1105 border-color: #5b9dd9;
1107 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1108 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1111 .form-table td.imgedit-response {
1119 .imgedit-submit-btn {
1123 .imgedit-wrap .nowrap {
1124 white-space: nowrap;
1126 line-height: inherit;
1129 span.imgedit-scale-warn {
1134 vertical-align: middle;
1137 .imgedit-save-target {
1146 .imgedit-settings .imgedit-scale input[type="text"],
1147 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1148 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1154 .imgedit-separator {
1155 display: inline-block;
1158 vertical-align: middle;
1163 .imgedit-settings .imgedit-scale .button {
1168 display: inline-block;
1178 -------------------------------------------------------------- */
1184 (-webkit-min-device-pixel-ratio: 1.25),
1185 (min-resolution: 120dpi) {
1186 .imgedit-wait:before {
1187 background-image: url(../images/spinner-2x.gif);
1191 @media screen and ( max-width: 782px ) {
1192 .wp_attachment_details label[for="content"] {
1197 .media-upload-form .media-item.error,
1198 .media-upload-form .media-item .error {
1203 .media-upload-form .media-item.error {
1207 .media-upload-form .media-item .error {
1208 padding: 10px 12px 10px 0;
1211 .imgedit-settings .imgedit-scale input[type="text"],
1212 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1213 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1219 .imgedit-applyto .imgedit-label {
1220 vertical-align: middle;
1225 * Media queries for media grid.
1228 @media only screen and (max-width: 1120px) {
1229 /* override for media-views.css */
1230 #wp-media-grid .wp-filter .attachment-filters {
1235 @media only screen and ( max-width: 782px ) {
1236 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1242 @media only screen and (max-width: 600px) {
1243 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1248 @media only screen and (max-width: 480px) {
1249 .edit-attachment-frame .media-frame-title {
1253 .upload-php .media-modal-close,
1254 .edit-attachment-frame .edit-media-header .left,
1255 .edit-attachment-frame .edit-media-header .right {
1260 .upload-php .media-modal-close .media-modal-icon {
1264 .edit-attachment-frame .edit-media-header .right:before,
1265 .edit-attachment-frame .edit-media-header .left:before {
1266 line-height: 40px !important;
1269 .edit-attachment-frame .edit-media-header .left {
1273 .edit-attachment-frame .edit-media-header .right {
1277 .edit-attachment-frame .media-frame-content {
1281 .edit-attachment-frame .attachment-media-view {
1287 .edit-attachment-frame .attachment-info {
1293 @media only screen and (max-width: 640px), screen and (max-height: 400px) {
1294 .upload-php .mode-grid .media-sidebar{