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 10px 0 3px;
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 0 10px 14px;
219 .media-item .error-div a.dismiss {
222 margin: 0 10px 0 15px;
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 );
245 border-bottom: 1px solid #ddd;
250 padding: 0 36px 0 16px;
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 {
313 #find-posts-close:hover {
317 #find-posts-close:before {
318 font: normal 20px/36px dashicons;
321 -webkit-font-smoothing: antialiased;
322 -moz-osx-font-smoothing: grayscale;
329 border-top: 1px solid #ddd;
336 @media screen and ( max-width: 782px ) {
342 @media screen and ( max-width: 660px ) {
363 filter: alpha(opacity=70);
367 ul#dismissed-updates {
378 margin: -0.5em 0 2em 0;
381 #poststuff .inside .the-tagcloud {
384 border: 1px solid #ddd;
389 .drag-drop #drag-drop-area {
390 border: 4px dashed #b4b9be;
394 .drag-drop .drag-drop-inside {
399 .drag-drop-inside p {
406 .drag-drop .drag-drop-inside p {
410 .drag-drop-inside p.drag-drop-info {
414 .drag-drop .drag-drop-inside p,
415 .drag-drop-inside p.drag-drop-buttons {
420 #drag-drop-area:-moz-drag-over {
421 border-color: #83b4d8;
423 border color while dragging a file over the uploader drop area */
424 .drag-drop.drag-over #drag-drop-area {
425 border-color: #83b4d8;
428 #plupload-upload-ui {
433 * Media Library grid view
436 .media-frame.mode-grid,
437 .media-frame.mode-grid .media-frame-content,
438 .media-frame.mode-grid .attachments-browser .attachments,
439 .media-frame.mode-grid .uploader-inline-content {
443 /* Regions we don't use at all */
444 .media-frame.mode-grid .media-frame-title,
445 .media-frame.mode-grid .media-frame-router,
446 .media-frame.mode-grid .media-frame-menu {
450 .media-frame.mode-grid .media-frame-content {
451 background-color: transparent;
455 .upload-php .mode-grid .media-sidebar {
460 border-left: 4px solid #dd3d36;
461 -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
462 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
463 background-color: #fff;
466 .upload-php .mode-grid .hide-sidebar .media-sidebar {
470 .upload-php .mode-grid .media-sidebar .media-uploader-status {
476 .upload-php .mode-grid .media-sidebar .upload-error {
480 -webkit-box-shadow: none;
485 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors {
491 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:before {
494 font: normal 16px/1 dashicons;
498 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before,
499 .upload-php .mode-grid .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before {
503 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h3, /* Back-compat for pre-4.4 */
504 .upload-php .mode-grid .media-sidebar .media-uploader-status.errors h2 {
508 .media-frame.mode-grid .uploader-inline {
516 border: 4px dashed #b4b9be;
519 .media-frame.mode-select .attachments-browser.fixed .attachments {
521 top: 94px; /* prevent jumping up when the toolbar becomes fixed */
522 padding-bottom: 94px; /* offset for above so the bottom doesn't get cut off */
525 .media-frame.mode-grid .attachment:focus,
526 .media-frame.mode-grid .selected.attachment:focus,
527 .media-frame.mode-grid .attachment.details:focus {
529 inset 0 0 2px 3px #f1f1f1,
530 inset 0 0 0 7px #5b9dd9;
532 inset 0 0 2px 3px #f1f1f1,
533 inset 0 0 0 7px #5b9dd9;
537 .media-frame.mode-grid .selected.attachment {
539 inset 0 0 0 5px #f1f1f1,
540 inset 0 0 0 7px #ccc;
542 inset 0 0 0 5px #f1f1f1,
543 inset 0 0 0 7px #ccc;
546 .media-frame.mode-grid .attachment.details {
548 inset 0 0 0 3px #f1f1f1,
549 inset 0 0 0 7px #1e8cbe;
551 inset 0 0 0 3px #f1f1f1,
552 inset 0 0 0 7px #1e8cbe;
555 .media-frame.mode-grid.mode-select .attachment .thumbnail {
559 .media-frame.mode-select .attachment.selected .thumbnail {
563 .media-frame.mode-grid .media-toolbar {
568 .media-frame.mode-grid .media-toolbar select {
573 .media-frame.mode-grid.mode-edit .media-toolbar-secondary > .select-mode-toggle-button {
575 vertical-align: middle;
578 .media-frame.mode-grid .attachments-browser .bulk-select {
579 display: inline-block;
583 .media-frame.mode-grid .search {
587 .media-frame.mode-grid .spinner {
591 .attachments-browser .media-toolbar-secondary > .media-button {
595 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
603 .media-frame.mode-grid .attachments-browser {
607 .media-frame.mode-grid .attachments-browser .attachments {
611 .media-frame.mode-grid .attachments-browser .no-media {
612 color: #666; /* same as no plugins and no themes */
621 * Attachment details modal
624 .edit-attachment-frame {
630 .edit-attachment-frame .edit-media-header {
634 .upload-php .media-modal-close .media-modal-icon:before {
639 .upload-php .media-modal-close,
640 .edit-attachment-frame .edit-media-header .left,
641 .edit-attachment-frame .edit-media-header .right {
644 background-color: transparent;
651 border-left: 1px solid #ddd;
652 -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
653 transition: color .1s ease-in-out, background .1s ease-in-out;
656 .upload-php .media-modal-close {
661 .edit-attachment-frame .edit-media-header .left {
665 .edit-attachment-frame .edit-media-header .right {
669 .edit-attachment-frame .media-frame-title {
671 right: 150px; /* leave space for prev/next/close */
674 .edit-attachment-frame .edit-media-header .right:before,
675 .edit-attachment-frame .edit-media-header .left:before {
676 font: normal 20px/50px dashicons !important;
681 .upload-php .media-modal-close:hover,
682 .upload-php .media-modal-close:focus,
683 .edit-attachment-frame .edit-media-header .left:hover,
684 .edit-attachment-frame .edit-media-header .right:hover,
685 .edit-attachment-frame .edit-media-header .left:focus,
686 .edit-attachment-frame .edit-media-header .right:focus {
691 -webkit-box-shadow: none;
695 .upload-php .media-modal-close:focus .media-modal-icon:before,
696 .upload-php .media-modal-close:hover .media-modal-icon:before {
700 .edit-attachment-frame .edit-media-header .left:before,
701 .rtl .edit-attachment-frame .edit-media-header .right:before {
705 .edit-attachment-frame .edit-media-header .right:before,
706 .rtl .edit-attachment-frame .edit-media-header .left:before {
710 .edit-attachment-frame .edit-media-header .left.disabled,
711 .edit-attachment-frame .edit-media-header .right.disabled,
712 .edit-attachment-frame .edit-media-header .left.disabled:hover,
713 .edit-attachment-frame .edit-media-header .right.disabled:hover {
717 pointer-events: none;
720 .edit-attachment-frame .media-frame-content,
721 .edit-attachment-frame .media-frame-router {
725 .edit-attachment-frame .media-frame-content {
731 .edit-attachment-frame .attachment-details {
738 -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
739 box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
742 .edit-attachment-frame .attachment-media-view {
748 .edit-attachment-frame .attachment-media-view .thumbnail {
749 -webkit-box-sizing: border-box;
750 -moz-box-sizing: border-box;
751 box-sizing: border-box;
756 .edit-attachment-frame .attachment-media-view .details-image {
761 max-height: -webkit-calc( 100% - 42px );
762 max-height: calc( 100% - 42px ); /* leave space for actions underneath */
765 .edit-attachment-frame .wp-media-wrapper {
769 .edit-attachment-frame input,
770 .edit-attachment-frame textarea {
775 .edit-attachment-frame .attachment-info {
777 -webkit-box-sizing: border-box;
778 -moz-box-sizing: border-box;
779 box-sizing: border-box;
781 padding: 12px 16px 0;
784 -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
785 box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
787 border-left: 1px solid #ddd;
791 .edit-attachment-frame .attachment-info .details,
792 .edit-attachment-frame .attachment-info .settings {
793 position: relative; /* RTL fix, #WP29352 */
797 padding-bottom: 15px;
798 border-bottom: 1px solid #ddd;
801 .edit-attachment-frame .attachment-info .filename {
806 .edit-attachment-frame .attachment-info .thumbnail {
810 .attachment-info .actions {
814 .attachment-info .actions a {
816 text-decoration: none;
820 /*------------------------------------------------------------------------------
822 ------------------------------------------------------------------------------*/
824 .wp_attachment_details label[for="content"] {
830 .wp_attachment_details #attachment_caption {
834 .describe .image-editor {
844 .imgedit-settings fieldset {
848 .imgedit-settings legend {
852 .describe .imgedit-wrap .imgedit-settings {
856 .wp_attachment_holder div.updated {
860 .wp_attachment_holder .imgedit-wrap > div {
864 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
865 padding: 3px 16px 0 0;
869 .wp_attachment_holder .imgedit-wrap .imgedit-settings {
874 .imgedit-settings input {
876 vertical-align: middle;
886 filter: alpha(opacity=70);
890 .imgedit-wait:before {
898 margin: -10px 0 0 -10px;
899 background: transparent url(../images/spinner.gif) no-repeat center;
900 -webkit-background-size: 20px 20px;
901 background-size: 20px 20px;
902 -webkit-transform: translateZ(0);
903 transform: translateZ(0);
911 .imgedit-settings .disabled {
912 /* WCAG 1.4.3 Text or images of text that are part of an inactive user
913 interface component ... have no contrast requirement. */
921 .wp_attachment_image .button,
926 .no-js .wp_attachment_image .button {
930 .wp_attachment_image .spinner,
940 .imgedit-menu .note-no-rotate {
946 .image-editor .imgedit-menu .button {
953 -webkit-font-smoothing: antialiased;
954 -moz-osx-font-smoothing: grayscale;
959 .imgedit-menu .button:before {
960 font: normal 20px/1 dashicons;
962 vertical-align: middle;
965 .imgedit-menu .button.disabled {
967 background-color: #ddd;
969 filter: alpha(opacity=50);
974 .imgedit-crop:before {
978 .imgedit-rleft:before {
982 .imgedit-rright:before {
986 .imgedit-flipv:before {
990 .imgedit-fliph:before {
994 .imgedit-undo:before {
998 .imgedit-redo:before {
1002 .imgedit-crop-wrap {
1015 margin: 0 8px 0 3px;
1023 margin: 0 8px 0 3px;
1031 margin: 0 8px 0 3px;
1034 .imgedit-thumbnail-preview {
1035 margin: 10px 8px 0 0;
1038 .imgedit-thumbnail-preview-caption {
1042 #poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */
1043 #poststuff .imgedit-group-top h2 {
1044 display: inline-block;
1051 .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
1052 .imgedit-group-top h2 a {
1053 text-decoration: none;
1056 .imgedit-applyto .imgedit-label {
1066 /* higher specificity than buttons */
1067 .image-editor .imgedit-settings .imgedit-help-toggle,
1068 .image-editor .imgedit-settings .imgedit-help-toggle:hover,
1069 .image-editor .imgedit-settings .imgedit-help-toggle:active {
1070 border: 1px solid transparent;
1071 margin: -1px 0 0 -1px;
1073 background: transparent;
1078 -webkit-box-sizing: content-box;
1079 -moz-box-sizing: content-box;
1080 box-sizing: content-box;
1081 -webkit-box-shadow: none;
1085 .image-editor .imgedit-settings .imgedit-help-toggle:focus {
1087 border-color: #5b9dd9;
1089 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1090 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1093 .form-table td.imgedit-response {
1101 .imgedit-submit-btn {
1105 .imgedit-wrap .nowrap {
1106 white-space: nowrap;
1108 line-height: inherit;
1111 span.imgedit-scale-warn {
1116 vertical-align: middle;
1119 .imgedit-save-target {
1128 .imgedit-settings .imgedit-scale input[type="text"],
1129 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1130 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1136 .imgedit-separator {
1137 display: inline-block;
1140 vertical-align: middle;
1145 .imgedit-settings .imgedit-scale .button {
1150 display: inline-block;
1160 -------------------------------------------------------------- */
1166 (-webkit-min-device-pixel-ratio: 1.25),
1167 (min-resolution: 120dpi) {
1168 .imgedit-wait:before {
1169 background-image: url(../images/spinner-2x.gif);
1173 @media screen and ( max-width: 782px ) {
1174 .wp_attachment_details label[for="content"] {
1179 .media-upload-form .media-item.error,
1180 .media-upload-form .media-item .error {
1185 .media-upload-form .media-item.error {
1189 .media-upload-form .media-item .error {
1190 padding: 10px 0 10px 12px;
1193 .imgedit-settings .imgedit-scale input[type="text"],
1194 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1195 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1201 .imgedit-applyto .imgedit-label {
1202 vertical-align: middle;
1207 * Media queries for media grid.
1210 @media only screen and (max-width: 1120px) {
1211 /* override for media-views.css */
1212 #wp-media-grid .wp-filter .attachment-filters {
1217 @media only screen and ( max-width: 782px ) {
1218 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1224 @media only screen and (max-width: 600px) {
1225 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1230 @media only screen and (max-width: 480px) {
1231 .edit-attachment-frame .media-frame-title {
1235 .upload-php .media-modal-close,
1236 .edit-attachment-frame .edit-media-header .left,
1237 .edit-attachment-frame .edit-media-header .right {
1242 .upload-php .media-modal-close .media-modal-icon {
1246 .edit-attachment-frame .edit-media-header .right:before,
1247 .edit-attachment-frame .edit-media-header .left:before {
1248 line-height: 40px !important;
1251 .edit-attachment-frame .edit-media-header .left {
1255 .edit-attachment-frame .edit-media-header .right {
1259 .edit-attachment-frame .media-frame-content {
1263 .edit-attachment-frame .attachment-media-view {
1269 .edit-attachment-frame .attachment-info {
1275 @media only screen and (max-width: 640px), screen and (max-height: 400px) {
1276 .upload-php .mode-grid .media-sidebar{