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 .wp-media-wrapper {
783 .edit-attachment-frame input,
784 .edit-attachment-frame textarea {
789 .edit-attachment-frame .attachment-info {
791 -webkit-box-sizing: border-box;
792 -moz-box-sizing: border-box;
793 box-sizing: border-box;
795 padding: 12px 16px 0;
798 -webkit-box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
799 box-shadow: inset 0px 4px 4px -4px rgba(0, 0, 0, 0.1);
801 border-right: 1px solid #ddd;
805 .edit-attachment-frame .attachment-info .details,
806 .edit-attachment-frame .attachment-info .settings {
807 position: relative; /* RTL fix, #WP29352 */
811 padding-bottom: 15px;
812 border-bottom: 1px solid #ddd;
815 .edit-attachment-frame .attachment-info .filename {
820 .edit-attachment-frame .attachment-info .thumbnail {
824 .attachment-info .actions {
828 .attachment-info .actions a {
830 text-decoration: none;
834 /*------------------------------------------------------------------------------
836 ------------------------------------------------------------------------------*/
838 .wp_attachment_details label[for="content"] {
844 .wp_attachment_details #attachment_caption {
848 .describe .image-editor {
858 .imgedit-settings fieldset {
862 .imgedit-settings legend {
866 .describe .imgedit-wrap .imgedit-settings {
870 .wp_attachment_holder div.updated {
874 .wp_attachment_holder .imgedit-wrap > div {
878 .wp_attachment_holder .imgedit-wrap .imgedit-panel-content {
879 padding: 3px 0 0 16px;
883 .wp_attachment_holder .imgedit-wrap .imgedit-settings {
888 .imgedit-settings input {
890 vertical-align: middle;
900 filter: alpha(opacity=70);
904 .imgedit-wait:before {
912 margin: -10px -10px 0 0;
913 background: transparent url(../images/spinner.gif) no-repeat center;
914 -webkit-background-size: 20px 20px;
915 background-size: 20px 20px;
916 -webkit-transform: translateZ(0);
917 transform: translateZ(0);
925 .imgedit-settings .disabled {
926 /* WCAG 1.4.3 Text or images of text that are part of an inactive user
927 interface component ... have no contrast requirement. */
935 .wp_attachment_image .button,
940 .no-js .wp_attachment_image .button {
944 .wp_attachment_image .spinner,
954 .imgedit-menu .note-no-rotate {
960 .image-editor .imgedit-menu .button {
967 -webkit-font-smoothing: antialiased;
968 -moz-osx-font-smoothing: grayscale;
973 .imgedit-menu .button:before {
974 font: normal 20px/1 dashicons;
976 vertical-align: middle;
979 .imgedit-menu .button.disabled {
981 background-color: #ddd;
983 filter: alpha(opacity=50);
988 .imgedit-crop:before {
992 .imgedit-rleft:before {
996 .imgedit-rright:before {
1000 .imgedit-flipv:before {
1004 .imgedit-fliph:before {
1008 .imgedit-undo:before {
1012 .imgedit-redo:before {
1016 .imgedit-crop-wrap {
1029 margin: 0 3px 0 8px;
1037 margin: 0 3px 0 8px;
1045 margin: 0 3px 0 8px;
1048 .imgedit-thumbnail-preview {
1049 margin: 10px 0 0 8px;
1052 .imgedit-thumbnail-preview-caption {
1056 #poststuff .imgedit-group-top h3, /* Back-compat for pre-4.4 */
1057 #poststuff .imgedit-group-top h2 {
1058 display: inline-block;
1065 .imgedit-group-top h3 a, /* Back-compat for pre-4.4 */
1066 .imgedit-group-top h2 a {
1067 text-decoration: none;
1070 .imgedit-applyto .imgedit-label {
1080 /* higher specificity than buttons */
1081 .image-editor .imgedit-settings .imgedit-help-toggle,
1082 .image-editor .imgedit-settings .imgedit-help-toggle:hover,
1083 .image-editor .imgedit-settings .imgedit-help-toggle:active {
1084 border: 1px solid transparent;
1085 margin: -1px -1px 0 0;
1087 background: transparent;
1092 -webkit-box-sizing: content-box;
1093 -moz-box-sizing: content-box;
1094 box-sizing: content-box;
1095 -webkit-box-shadow: none;
1099 .image-editor .imgedit-settings .imgedit-help-toggle:focus {
1101 border-color: #5b9dd9;
1103 -webkit-box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1104 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 );
1107 .form-table td.imgedit-response {
1115 .imgedit-submit-btn {
1119 .imgedit-wrap .nowrap {
1120 white-space: nowrap;
1122 line-height: inherit;
1125 span.imgedit-scale-warn {
1130 vertical-align: middle;
1133 .imgedit-save-target {
1142 .imgedit-settings .imgedit-scale input[type="text"],
1143 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1144 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1150 .imgedit-separator {
1151 display: inline-block;
1154 vertical-align: middle;
1159 .imgedit-settings .imgedit-scale .button {
1164 display: inline-block;
1174 -------------------------------------------------------------- */
1180 (-webkit-min-device-pixel-ratio: 1.25),
1181 (min-resolution: 120dpi) {
1182 .imgedit-wait:before {
1183 background-image: url(../images/spinner-2x.gif);
1187 @media screen and ( max-width: 782px ) {
1188 .wp_attachment_details label[for="content"] {
1193 .media-upload-form .media-item.error,
1194 .media-upload-form .media-item .error {
1199 .media-upload-form .media-item.error {
1203 .media-upload-form .media-item .error {
1204 padding: 10px 12px 10px 0;
1207 .imgedit-settings .imgedit-scale input[type="text"],
1208 .imgedit-settings .imgedit-crop-ratio input[type="text"],
1209 .imgedit-settings .imgedit-crop-sel input[type="text"] {
1215 .imgedit-applyto .imgedit-label {
1216 vertical-align: middle;
1221 * Media queries for media grid.
1224 @media only screen and (max-width: 1120px) {
1225 /* override for media-views.css */
1226 #wp-media-grid .wp-filter .attachment-filters {
1231 @media only screen and ( max-width: 782px ) {
1232 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1238 @media only screen and (max-width: 600px) {
1239 .media-frame.mode-select .attachments-browser.fixed .media-toolbar {
1244 @media only screen and (max-width: 480px) {
1245 .edit-attachment-frame .media-frame-title {
1249 .upload-php .media-modal-close,
1250 .edit-attachment-frame .edit-media-header .left,
1251 .edit-attachment-frame .edit-media-header .right {
1256 .upload-php .media-modal-close .media-modal-icon {
1260 .edit-attachment-frame .edit-media-header .right:before,
1261 .edit-attachment-frame .edit-media-header .left:before {
1262 line-height: 40px !important;
1265 .edit-attachment-frame .edit-media-header .left {
1269 .edit-attachment-frame .edit-media-header .right {
1273 .edit-attachment-frame .media-frame-content {
1277 .edit-attachment-frame .attachment-media-view {
1283 .edit-attachment-frame .attachment-info {
1289 @media only screen and (max-width: 640px), screen and (max-height: 400px) {
1290 .upload-php .mode-grid .media-sidebar{