]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-includes/css/media-views-rtl.css
WordPress 4.3
[autoinstalls/wordpress.git] / wp-includes / css / media-views-rtl.css
1 /**
2  * Base Styles
3  */
4 .media-modal * {
5         -webkit-box-sizing: content-box;
6         -moz-box-sizing: content-box;
7         box-sizing: content-box;
8 }
9
10 .media-frame input,
11 .media-frame select,
12 .media-frame textarea {
13     -webkit-box-sizing: border-box;
14     -moz-box-sizing: border-box;
15     box-sizing: border-box;
16 }
17
18 .media-modal,
19 .media-frame {
20         font-family: "Open Sans", sans-serif;
21         font-size: 12px;
22         -webkit-overflow-scrolling: touch;
23 }
24
25 .media-frame input,
26 .media-frame textarea {
27         padding: 6px 8px;
28 }
29
30 .media-frame select,
31 .wp-admin .media-frame select {
32         line-height: 28px;
33         margin-top: 3px;
34 }
35
36 .media-frame a {
37         border-bottom: none;
38         color: #21759b;
39 }
40
41 .media-frame a:hover {
42         color: #d54e21;
43 }
44
45 .media-frame a.button {
46         color: #32373c;
47 }
48
49 .media-frame a.button:hover {
50         color: #23282d;
51 }
52
53 .media-frame a.button-primary,
54 .media-frame a.button-primary:hover {
55         color: #fff;
56 }
57
58 .media-frame input[type="text"],
59 .media-frame input[type="password"],
60 .media-frame input[type="number"],
61 .media-frame input[type="search"],
62 .media-frame input[type="email"],
63 .media-frame input[type="url"],
64 .media-frame textarea,
65 .media-frame select {
66         font-family: "Open Sans", sans-serif;
67         font-size: 12px;
68         border-width: 1px;
69         border-style: solid;
70         border-color: #dfdfdf;
71 }
72
73 .media-frame input[type="text"]:focus,
74 .media-frame input[type="password"]:focus,
75 .media-frame input[type="number"]:focus,
76 .media-frame input[type="search"]:focus,
77 .media-frame input[type="email"]:focus,
78 .media-frame input[type="url"]:focus,
79 .media-frame textarea:focus,
80 .media-frame select:focus {
81         border-color: #5b9dd9;
82 }
83
84 .media-frame select {
85         height: 24px;
86         padding: 2px;
87 }
88
89 .media-frame input:disabled,
90 .media-frame textarea:disabled,
91 .media-frame input[readonly],
92 .media-frame textarea[readonly] {
93         background-color: #eee;
94 }
95
96 .media-frame input[type="search"] {
97         -webkit-appearance: textfield;
98 }
99
100 .media-frame :-moz-placeholder {
101    color: #a9a9a9;
102 }
103
104 .media-frame .hidden {
105         display: none;
106 }
107
108 /*!
109  * jQuery UI Draggable/Sortable 1.11.4
110  * http://jqueryui.com
111  *
112  * Copyright jQuery Foundation and other contributors
113  * Released under the MIT license.
114  * http://jquery.org/license
115  */
116 .ui-draggable-handle,
117 .ui-sortable-handle {
118         -ms-touch-action: none;
119         touch-action: none;
120 }
121
122 /**
123  * Modal
124  */
125 .media-modal {
126         position: fixed;
127         top: 30px;
128         right: 30px;
129         left: 30px;
130         bottom: 30px;
131         z-index: 160000;
132 }
133
134 .wp-customizer .media-modal {
135         z-index: 560000;
136 }
137
138 .media-modal-backdrop {
139         position: fixed;
140         top: 0;
141         right: 0;
142         left: 0;
143         bottom: 0;
144         min-height: 360px;
145         background: #000;
146         opacity: 0.7;
147         z-index: 159900;
148 }
149
150 .wp-customizer .media-modal-backdrop {
151         z-index: 559900;
152 }
153
154 .media-modal-close {
155         position: absolute;
156         top: 0;
157         left: 0;
158         width: 50px;
159         height: 50px;
160         padding: 0;
161         z-index: 1000;
162         -webkit-transition: color .1s ease-in-out, background .1s ease-in-out;
163         transition: color .1s ease-in-out, background .1s ease-in-out;
164 }
165
166 .media-modal-close:active {
167         -webkit-box-shadow: none;
168         box-shadow: none;
169 }
170
171 .media-modal-close span.media-modal-icon {
172         background-image: none;
173 }
174
175 .media-modal-close .media-modal-icon:before {
176         content: '\f158';
177         font: normal 20px/1 'dashicons';
178         speak: none;
179         vertical-align: middle;
180         -webkit-font-smoothing: antialiased;
181         -moz-osx-font-smoothing: grayscale;
182         color: #666;
183 }
184
185 .media-modal-close:hover .media-modal-icon:before {
186         color: #00a0d2;
187 }
188
189 .media-modal-close:active {
190         outline: 0;
191 }
192
193 .media-modal-content {
194         position: absolute;
195         top: 0;
196         right: 0;
197         left: 0;
198         bottom: 0;
199         overflow: auto;
200         min-height: 300px;
201         -webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.7);
202         box-shadow: 0 5px 15px rgba(0,0,0,0.7);
203         background: #fcfcfc;
204         -webkit-font-smoothing: subpixel-antialiased;
205 }
206
207 /* higher specificity */
208 .wp-core-ui .media-modal-icon {
209         background-image: url(../images/uploader-icons.png);
210         background-repeat: no-repeat;
211 }
212
213 /**
214  * Toolbar
215  */
216 .media-toolbar {
217         position: absolute;
218         top: 0;
219         right: 0;
220         left: 0;
221         z-index: 100;
222         height: 60px;
223         padding: 0 16px;
224         border: 0 solid #dfdfdf;
225         overflow: hidden;
226 }
227
228 .media-toolbar-primary {
229         float: left;
230         height: 100%;
231 }
232
233 .media-toolbar-secondary {
234         float: right;
235         height: 100%;
236 }
237
238 .media-toolbar-primary > .media-button,
239 .media-toolbar-primary > .media-button-group {
240         margin-right: 10px;
241         float: right;
242         margin-top: 15px;
243 }
244
245 .media-toolbar-secondary > .media-button,
246 .media-toolbar-secondary > .media-button-group {
247         margin-left: 10px;
248         margin-top: 15px;
249 }
250
251 /**
252  * Sidebar
253  */
254 .media-sidebar {
255         position: absolute;
256         top: 0;
257         left: 0;
258         bottom: 0;
259         width: 267px;
260         padding: 0 16px 24px;
261         z-index: 75;
262         background: #f3f3f3;
263         border-right: 1px solid #ddd;
264         overflow: auto;
265         -webkit-overflow-scrolling: touch;
266 }
267
268 .hide-toolbar .media-sidebar {
269         bottom: 0;
270 }
271
272 .media-sidebar .sidebar-title {
273         font-size: 20px;
274         margin: 0;
275         padding: 12px 10px 10px;
276         line-height: 28px;
277 }
278
279 .media-sidebar .sidebar-content {
280         padding: 0 10px;
281         margin-bottom: 130px;
282 }
283
284 .media-sidebar .search {
285         display: block;
286         width: 100%;
287 }
288
289 .media-sidebar h3,
290 .image-details h3 {
291         position: relative;
292         font-weight: bold;
293         text-transform: uppercase;
294         font-size: 12px;
295         color: #666;
296         margin: 24px 0 8px;
297 }
298
299 .media-sidebar .setting,
300 .attachment-details .setting {
301         display: block;
302         float: right;
303         width: 100%;
304         margin: 1px 0;
305 }
306
307 .media-sidebar .setting label,
308 .attachment-details .setting label {
309         display: block;
310 }
311
312 .media-sidebar .setting .link-to-custom,
313 .attachment-details .setting .link-to-custom {
314         margin: 3px 2px 0;
315 }
316
317 .media-sidebar .setting span,
318 .attachment-details .setting span {
319         min-width: 30%;
320         margin-left: 4%;
321         font-size: 12px;
322         text-align: left;
323         word-wrap: break-word;
324 }
325
326 .media-sidebar .setting .name {
327         max-width: 80px;
328 }
329
330 .media-sidebar .setting select,
331 .attachment-details .setting select {
332         max-width: 65%;
333 }
334
335 .media-sidebar .setting input[type="checkbox"],
336 .media-sidebar .field input[type="checkbox"],
337 .media-sidebar .setting input[type="radio"],
338 .media-sidebar .field input[type="radio"],
339 .attachment-details .setting input[type="checkbox"],
340 .attachment-details .field input[type="checkbox"],
341 .attachment-details .setting input[type="radio"],
342 .attachment-details .field input[type="radio"] {
343         float: none;
344         margin: 8px 3px 0;
345         padding: 0;
346 }
347
348 .media-sidebar .setting span,
349 .attachment-details .setting span,
350 .compat-item label span {
351         float: right;
352         min-height: 22px;
353         padding-top: 8px;
354         line-height: 16px;
355         font-weight: normal;
356         color: #666;
357 }
358
359 .compat-item label span  {
360         text-align: left;
361 }
362
363 .media-sidebar .setting input[type="text"],
364 .media-sidebar .setting input[type="password"],
365 .media-sidebar .setting input[type="email"],
366 .media-sidebar .setting input[type="number"],
367 .media-sidebar .setting input[type="search"],
368 .media-sidebar .setting input[type="tel"],
369 .media-sidebar .setting input[type="url"],
370 .media-sidebar .setting textarea,
371 .media-sidebar .setting .value,
372 .attachment-details .setting input[type="text"],
373 .attachment-details .setting input[type="password"],
374 .attachment-details .setting input[type="email"],
375 .attachment-details .setting input[type="number"],
376 .attachment-details .setting input[type="search"],
377 .attachment-details .setting input[type="tel"],
378 .attachment-details .setting input[type="url"],
379 .attachment-details .setting textarea,
380 .attachment-details .setting .value {
381         -webkit-box-sizing: border-box;
382         -moz-box-sizing: border-box;
383         box-sizing: border-box;
384         margin: 1px;
385         width: 65%;
386         float: left;
387 }
388
389 .media-sidebar .setting .value,
390 .attachment-details .setting .value {
391         margin: 0 1px;
392         text-align: right;
393 }
394
395 .media-sidebar .setting textarea,
396 .attachment-details .setting textarea,
397 .compat-item .field textarea {
398         height: 62px;
399         resize: vertical;
400 }
401
402 .media-sidebar select,
403 .attachment-details select {
404         margin-top: 3px;
405 }
406
407 .compat-item {
408         float: right;
409         width: 100%;
410         overflow: hidden;
411 }
412
413 .compat-item table {
414         width: 100%;
415         table-layout: fixed;
416         border-spacing: 0;
417         border: 0;
418 }
419
420 .compat-item tr {
421         padding: 2px 0;
422         display: block;
423         overflow: hidden;
424 }
425
426 .compat-item .label,
427 .compat-item .field {
428         display: block;
429         margin: 0;
430         padding: 0;
431 }
432
433 .compat-item .label {
434         min-width: 30%;
435         margin-left: 4%;
436         float: right;
437         text-align: left;
438 }
439
440 .compat-item .label span {
441         display: block;
442         width: 100%;
443 }
444
445 .compat-item .field {
446         float: left;
447         width: 65%;
448         margin: 1px;
449 }
450
451 .compat-item .field input[type="text"],
452 .compat-item .field input[type="password"],
453 .compat-item .field input[type="email"],
454 .compat-item .field input[type="number"],
455 .compat-item .field input[type="search"],
456 .compat-item .field input[type="tel"],
457 .compat-item .field input[type="url"],
458 .compat-item .field textarea {
459         width: 100%;
460         margin: 0;
461         -webkit-box-sizing: border-box;
462         -moz-box-sizing: border-box;
463         box-sizing: border-box;
464 }
465
466 .sidebar-for-errors .attachment-details,
467 .sidebar-for-errors .compat-item,
468 .sidebar-for-errors .media-sidebar .media-progress-bar,
469 .sidebar-for-errors .upload-details {
470         display: none !important;
471 }
472
473 /**
474  * Menu
475  */
476 .media-menu {
477         position: absolute;
478         top: 0;
479         right: 0;
480         left: 0;
481         bottom: 0;
482         margin: 0;
483         padding: 10px 0;
484         background: #f3f3f3;
485         border-left-width: 1px;
486         border-left-style: solid;
487         border-left-color: #ccc;
488         -webkit-user-select: none;
489         -moz-user-select: none;
490         -ms-user-select: none;
491         user-select: none;
492 }
493
494 .media-menu > a {
495         display: block;
496         position: relative;
497         padding: 8px 20px;
498         margin: 0;
499         line-height: 18px;
500         font-size: 14px;
501         color: #0073aa;
502         text-decoration: none;
503 }
504
505 .media-menu > a:hover {
506         color: #21759B;
507         background: rgba( 0, 0, 0, 0.04 );
508 }
509
510 .media-menu > a:active {
511         outline: none;
512 }
513
514 .media-menu .active,
515 .media-menu .active:hover {
516         color: #23282d;
517         font-weight: bold;
518 }
519
520 .media-menu .separator {
521         height: 0;
522         margin: 12px 20px;
523         padding: 0;
524         border-top: 1px solid #ddd;
525 }
526
527 /**
528  * Menu
529  */
530 .media-router {
531         position: relative;
532         padding: 0 6px;
533         margin: 0;
534         clear: both;
535         -webkit-user-select: none;
536         -moz-user-select: none;
537         -ms-user-select: none;
538         user-select: none;
539 }
540
541 .media-router a {
542         -webkit-transition: none;
543         transition: none;
544 }
545
546 .media-router > a {
547         position: relative;
548         float: right;
549         padding: 8px 10px 9px;
550         margin: 0;
551         height: 18px;
552         line-height: 18px;
553         font-size: 14px;
554         text-decoration: none;
555 }
556
557 .media-router > a:last-child {
558         border-left: 0;
559 }
560
561 .media-router > a:active {
562         outline: none;
563 }
564
565 .media-router .active,
566 .media-router .active:hover {
567         color: #32373c;
568 }
569
570 .media-router .active,
571 .media-router > a.active:last-child {
572         margin: -1px -1px 0;
573         background: #fff;
574         border: 1px solid #ddd;
575         border-bottom: none;
576 }
577
578 .media-router .active:after {
579         display: none;
580 }
581
582 /**
583  * Frame
584  */
585 .media-frame {
586         overflow: hidden;
587         position: absolute;
588         top: 0;
589         right: 0;
590         left: 0;
591         bottom: 0;
592 }
593
594 .media-frame-menu {
595         position: absolute;
596         top: 0;
597         right: 0;
598         bottom: 0;
599         width: 200px;
600         z-index: 150;
601 }
602
603 .media-frame-title {
604         position: absolute;
605         top: 0;
606         right: 200px;
607         left: 0;
608         height: 50px;
609         z-index: 200;
610 }
611
612 .media-frame-router {
613         position: absolute;
614         top: 50px;
615         right: 200px;
616         left: 0;
617         height: 36px;
618         z-index: 200;
619 }
620
621 .media-frame-content {
622         position: absolute;
623         top: 84px;
624         right: 200px;
625         left: 0;
626         bottom: 61px;
627         height: auto;
628         width: auto;
629         margin: 0;
630         overflow: auto;
631         background: #fff;
632         border-top: 1px solid #ddd;
633         border-bottom: 1px solid #ddd;
634 }
635
636 .media-frame-toolbar {
637         position: absolute;
638         right: 200px;
639         left: 0;
640         bottom: 0;
641         height: 60px;
642         z-index: 100;
643 }
644
645 .media-frame.hide-menu .media-frame-title,
646 .media-frame.hide-menu .media-frame-router,
647 .media-frame.hide-menu .media-frame-toolbar,
648 .media-frame.hide-menu .media-frame-content {
649         right: 0;
650 }
651
652 .media-frame.hide-menu .media-frame-menu {
653         right: -200px;
654 }
655
656 .media-frame.hide-toolbar .media-frame-content {
657         bottom: 0;
658 }
659
660 .media-frame.hide-toolbar .media-frame-toolbar {
661         bottom: -61px;
662 }
663
664 .media-frame.hide-router .media-frame-content {
665         top: 50px;
666 }
667
668 .media-frame.hide-router .media-frame-router {
669         display: none;
670 }
671
672 .media-frame.hide-router .media-frame-title {
673         border-bottom: 1px solid #dfdfdf;
674         -webkit-box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
675         box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 );
676 }
677
678 .media-frame-title .dashicons {
679         display: none;
680 }
681
682 .media-frame-title h1 {
683         padding: 0 16px;
684         font-size: 22px;
685         line-height: 50px;
686         margin: 0;
687 }
688
689 .media-frame-title .suggested-dimensions {
690         font-size: 14px;
691         float: left;
692         margin-left: 20px;
693 }
694
695 .media-frame-content .crop-content {
696         height: 100%;
697 }
698
699 .wp-customizer:not(.mobile) .media-frame-content .crop-content.site-icon {
700         margin-left: 300px;
701 }
702
703 .media-frame-content .crop-content .crop-image {
704         display: block;
705         margin: auto;
706         max-width: 100%;
707         max-height: 100%;
708 }
709
710 .media-frame-content .crop-content .upload-errors
711 {
712         position: absolute;
713         width: 300px;
714         top: 50%;
715         right: 50%;
716         margin-right: -150px;
717         margin-left: -150px;
718         z-index: 600000;
719 }
720
721 /**
722  * Iframes
723  */
724 .media-frame .media-iframe {
725         overflow: hidden;
726 }
727
728 .media-frame .media-iframe,
729 .media-frame .media-iframe iframe {
730         height: 100%;
731         width: 100%;
732         border: 0;
733 }
734
735 /**
736  * Attachment Browser Filters
737  */
738 .media-frame select.attachment-filters {
739         margin-top: 11px;
740         margin-left: 2%;
741         max-width: 42%;
742         max-width: -webkit-calc(48% - 12px);
743         max-width: calc(48% - 12px);
744 }
745
746 .media-frame select.attachment-filters:last-of-type {
747         margin-left: 0;
748 }
749
750 /**
751  * Search
752  */
753 .media-frame .search {
754         margin-top: 11px;
755         padding: 4px;
756         font-size: 13px;
757         color: #464646;
758         font-family: "Open Sans", sans-serif;
759         -webkit-appearance: none;
760 }
761
762 .media-toolbar-primary .search {
763         max-width: 100%;
764 }
765
766 /**
767  * Attachments
768  */
769 .wp-core-ui .attachments {
770         margin: 0;
771         -webkit-overflow-scrolling: touch;
772 }
773
774 /**
775  * Attachment
776  */
777 .wp-core-ui .attachment {
778         position: relative;
779         float: right;
780         padding: 8px;
781         margin: 0;
782         color: #464646;
783         cursor: pointer;
784         list-style: none;
785         text-align: center;
786         -webkit-user-select: none;
787         -moz-user-select: none;
788         -ms-user-select: none;
789         user-select: none;
790         width: 25%;
791         -webkit-box-sizing: border-box;
792         -moz-box-sizing: border-box;
793         box-sizing: border-box;
794 }
795
796 .wp-core-ui .attachment:focus,
797 .wp-core-ui .selected.attachment:focus,
798 .wp-core-ui .attachment.details:focus {
799         -webkit-box-shadow:
800                 inset 0 0 2px 3px #fff,
801                 inset 0 0 0 7px #5b9dd9;
802         box-shadow:
803                 inset 0 0 2px 3px #fff,
804                 inset 0 0 0 7px #5b9dd9;
805         outline: none;
806 }
807
808 .wp-core-ui .selected.attachment {
809         -webkit-box-shadow:
810                 inset 0 0 0 5px #fff,
811                 inset 0 0 0 7px #ccc;
812         box-shadow:
813                 inset 0 0 0 5px #fff,
814                 inset 0 0 0 7px #ccc;
815 }
816
817 .wp-core-ui .attachment.details {
818         -webkit-box-shadow:
819                 inset 0 0 0 3px #fff,
820                 inset 0 0 0 7px #1e8cbe;
821         box-shadow:
822                 inset 0 0 0 3px #fff,
823                 inset 0 0 0 7px #1e8cbe;
824 }
825
826 .wp-core-ui .attachment-preview {
827         position: relative;
828         -webkit-box-shadow:
829                 inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
830                 inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
831         box-shadow:
832                 inset 0 0 15px rgba( 0, 0, 0, 0.1 ),
833                 inset 0 0 0 1px rgba( 0, 0, 0, 0.05 );
834         background: #eee;
835         cursor: pointer;
836 }
837
838 .wp-core-ui .attachment-preview:before {
839         content: '';
840         display: block;
841         padding-top: 100%;
842 }
843
844 .wp-core-ui .attachment .icon {
845         margin: 0 auto;
846         overflow: hidden;
847 }
848
849 .wp-core-ui .attachment .thumbnail {
850         overflow: hidden;
851         position: absolute;
852         top: 0;
853         left: 0;
854         bottom: 0;
855         right: 0;
856         opacity: 1;
857         -webkit-transition: opacity .1s;
858         transition: opacity .1s;
859 }
860
861 .wp-core-ui .attachment .portrait img {
862         max-width: 100%;
863 }
864
865 .wp-core-ui .attachment .landscape img {
866         max-height: 100%;
867 }
868
869 .wp-core-ui .attachment .thumbnail:after {
870         content: '';
871         display: block;
872         position: absolute;
873         top: 0;
874         right: 0;
875         left: 0;
876         bottom: 0;
877         -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
878         box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
879         overflow: hidden;
880 }
881
882 .wp-core-ui .attachment .thumbnail img {
883         top: 0;
884         right: 0;
885 }
886
887 .wp-core-ui .attachment .thumbnail .centered {
888         position: absolute;
889         top: 0;
890         right: 0;
891         width: 100%;
892         height: 100%;
893         -webkit-transform: translate( -50%, 50% );
894         -ms-transform: translate(-50%,50%); /* Fails with spaces?? Weird! */
895         transform: translate( -50%, 50% );
896 }
897
898 .wp-core-ui .attachment .thumbnail .centered img {
899         -webkit-transform: translate( 50%, -50% );
900         -ms-transform: translate(50%,-50%);
901         transform: translate( 50%, -50% );
902 }
903
904 .wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon {
905         -webkit-transform: translate( 50%, -70% );
906         -ms-transform: translate(50%,-70%);
907         transform: translate( 50%, -70% );
908 }
909
910 .ie8 .wp-core-ui .attachment img.icon {
911         top: 20%;
912         position: relative;
913 }
914
915 .wp-core-ui .attachment .filename {
916         position: absolute;
917         right: 0;
918         left: 0;
919         bottom: 0;
920         overflow: hidden;
921         max-height: 100%;
922         word-wrap: break-word;
923         text-align: center;
924         font-weight: bold;
925         background: rgba( 255, 255, 255, 0.8 );
926         -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
927         box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
928 }
929
930 .wp-core-ui .attachment .filename div {
931         padding: 5px 10px;
932 }
933
934 .wp-core-ui .attachment .thumbnail img {
935         position: absolute;
936 }
937
938 .wp-core-ui .attachment-close {
939         display: block;
940         position: absolute;
941         top: 5px;
942         left: 5px;
943         height: 22px;
944         width: 22px;
945         padding: 0;
946         background-color: #fff;
947         background-position: -96px 4px;
948         -webkit-border-radius: 3px;
949         border-radius: 3px;
950         -webkit-box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
951         box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 );
952 }
953
954 .wp-core-ui .attachment-close:hover,
955 .wp-core-ui .attachment-close:focus {
956         background-position: -36px 4px;
957 }
958
959 .wp-core-ui .attachment .check {
960         display: none;
961         height: 24px;
962         width: 24px;
963         padding: 0;
964         position: absolute;
965         z-index: 10;
966         top: 0;
967         left: 0;
968         outline: none;
969         background: #eee;
970         -webkit-box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
971         box-shadow: 0 0 0 1px #fff, 0 0 0 2px rgba( 0, 0, 0, 0.15 );
972 }
973
974 .wp-core-ui .attachment .check .media-modal-icon {
975         display: block;
976         background-position: -1px 0;
977         height: 15px;
978         width: 15px;
979         margin: 5px;
980 }
981
982 .wp-core-ui .attachment .check:hover .media-modal-icon {
983         background-position: -40px 0;
984 }
985
986 .wp-core-ui .attachment.selected .check {
987         display: block;
988 }
989
990 .wp-core-ui .attachment.details .check,
991 .wp-core-ui .attachment.selected .check:focus,
992 .wp-core-ui .media-frame.mode-grid .attachment.selected .check {
993         background-color: #1e8cbe;
994         -webkit-box-shadow:
995                 0 0 0 1px #fff,
996                 0 0 0 2px #1e8cbe;
997         box-shadow:
998                 0 0 0 1px #fff,
999                 0 0 0 2px #1e8cbe;
1000 }
1001
1002 .wp-core-ui .attachment.details .check .media-modal-icon,
1003 .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon {
1004         background-position: -21px 0;
1005 }
1006
1007 .wp-core-ui .attachment.details .check:hover .media-modal-icon,
1008 .wp-core-ui .attachment.selected .check:focus .media-modal-icon,
1009 .wp-core-ui .media-frame.mode-grid .attachment.selected .check:hover .media-modal-icon {
1010         background-position: -60px 0;
1011 }
1012
1013 .wp-core-ui .media-frame .attachment .describe {
1014         position: relative;
1015         display: block;
1016         width: 100%;
1017         margin: 0;
1018         padding: 8px;
1019         font-size: 12px;
1020         -webkit-border-radius: 0;
1021         border-radius: 0;
1022 }
1023
1024 /**
1025  * Attachments Browser
1026  */
1027 .media-frame .attachments-browser {
1028         position: relative;
1029         width: 100%;
1030         height: 100%;
1031         overflow: hidden;
1032 }
1033
1034 .attachments-browser .media-toolbar {
1035         left: 300px;
1036         height: 50px;
1037 }
1038
1039 .attachments-browser.hide-sidebar .media-toolbar {
1040         left: 0;
1041 }
1042
1043 .attachments-browser .media-toolbar-primary > .media-button,
1044 .attachments-browser .media-toolbar-primary > .media-button-group,
1045 .attachments-browser .media-toolbar-secondary > .media-button,
1046 .attachments-browser .media-toolbar-secondary > .media-button-group {
1047         margin: 11px 0;
1048 }
1049
1050 .attachments-browser .attachments {
1051         padding: 2px 8px 8px;
1052 }
1053
1054 .attachments-browser .attachments,
1055 .attachments-browser .uploader-inline {
1056         position: absolute;
1057         top: 50px;
1058         right: 0;
1059         left: 300px;
1060         bottom: 0;
1061         overflow: auto;
1062         outline: none;
1063 }
1064
1065 .attachments-browser .uploader-inline.hidden {
1066         display: none;
1067 }
1068
1069 .attachments-browser .media-toolbar-primary {
1070         max-width: 33%;
1071 }
1072
1073 .attachments-browser .media-toolbar-secondary {
1074         max-width: 66%;
1075 }
1076
1077 .uploader-inline .close {
1078         background-color: transparent;
1079         border: 0;
1080         cursor: pointer;
1081         height: 48px;
1082         position: absolute;
1083         left: 0;
1084         text-align: center;
1085         top: 0;
1086         width: 50px;
1087         z-index: 1;
1088 }
1089
1090 .uploader-inline .close:before {
1091         font: normal 30px/50px 'dashicons' !important;
1092         color: #777;
1093         display: inline-block;
1094         content: '\f335';
1095         font-weight: 300;
1096 }
1097
1098 .attachments-browser.hide-sidebar .attachments,
1099 .attachments-browser.hide-sidebar .uploader-inline {
1100         left: 0;
1101         margin-left: 0;
1102 }
1103
1104 .attachments-browser .instructions {
1105         display: inline-block;
1106         margin-top: 16px;
1107         line-height: 18px;
1108         font-size: 13px;
1109         color: #666;
1110         margin-left: 0.5em;
1111 }
1112
1113 .attachments-browser .no-media {
1114         padding: 2em 2em 0 0;
1115 }
1116
1117 /**
1118  * Progress Bar
1119  */
1120 .media-progress-bar {
1121         position: relative;
1122         height: 10px;
1123         width: 70%;
1124         margin: 10px auto;
1125         -webkit-border-radius: 10px;
1126         border-radius: 10px;
1127         background: #dfdfdf;
1128         background: rgba( 0, 0, 0, 0.1 );
1129 }
1130
1131 .media-progress-bar div {
1132         height: 10px;
1133         min-width: 20px;
1134         width: 0;
1135         background: #1e8cbe;
1136         -webkit-border-radius: 10px;
1137         border-radius: 10px;
1138         -webkit-transition: width 300ms;
1139         transition: width 300ms;
1140 }
1141
1142 .media-uploader-status .media-progress-bar {
1143         display: none;
1144         width: 100%;
1145 }
1146
1147 .uploading.media-uploader-status .media-progress-bar {
1148         display: block;
1149 }
1150
1151 .attachment-preview .media-progress-bar {
1152         position: absolute;
1153         top: 50%;
1154         right: 15%;
1155         width: 70%;
1156         margin: -5px 0 0 0;
1157 }
1158
1159 .media-uploader-status {
1160         position: relative;
1161         margin: 0 auto;
1162         padding-bottom: 10px;
1163         max-width: 400px;
1164 }
1165
1166 .uploader-inline .media-uploader-status h3 {
1167         display: none;
1168 }
1169
1170 .media-uploader-status .upload-details {
1171         display: none;
1172         font-size: 12px;
1173         color: #666;
1174 }
1175
1176 .uploading.media-uploader-status .upload-details {
1177         display: block;
1178 }
1179
1180 .media-uploader-status .upload-detail-separator {
1181         padding: 0 4px;
1182 }
1183
1184 .media-uploader-status .upload-count {
1185         color: #464646;
1186 }
1187
1188 .media-uploader-status .upload-dismiss-errors,
1189 .media-uploader-status .upload-errors {
1190         display: none;
1191 }
1192
1193 .errors.media-uploader-status .upload-dismiss-errors,
1194 .errors.media-uploader-status .upload-errors {
1195         display: block;
1196 }
1197
1198 .media-uploader-status .upload-dismiss-errors {
1199         text-decoration: none;
1200 }
1201
1202 .media-sidebar .media-uploader-status .upload-dismiss-errors {
1203         position: absolute;
1204         top: 0;
1205         left: 0;
1206 }
1207
1208 .upload-errors .upload-error {
1209         padding: 12px;
1210         margin-bottom: 12px;
1211         background: #fff;
1212         border-right: 4px solid #dd3d36;
1213         -webkit-box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
1214         box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
1215 }
1216
1217 .upload-errors .upload-error-filename {
1218         font-weight: bold;
1219 }
1220
1221 .upload-errors .upload-error-message {
1222         display: block;
1223         padding-top: 8px;
1224         word-wrap: break-word;
1225 }
1226
1227 .uploader-window {
1228         position: fixed;
1229         top: 0;
1230         right: 0;
1231         left: 0;
1232         bottom: 0;
1233         background: rgba( 0, 86, 132, 0.9 );
1234         z-index: 250000;
1235         display: none;
1236         text-align: center;
1237         opacity: 0;
1238         -webkit-transition: opacity 250ms;
1239         transition: opacity 250ms;
1240 }
1241
1242 .uploader-window-content {
1243         position: absolute;
1244         top: 10px;
1245         right: 10px;
1246         left: 10px;
1247         bottom: 10px;
1248         border: 1px dashed #fff;
1249 }
1250
1251 .uploader-window h3 {
1252         margin: -0.5em 0 0;
1253         position: absolute;
1254         top: 50%;
1255         right: 0;
1256         left: 0;
1257         -webkit-transform: translateY( -50% );
1258         -ms-transform: translateY(-50%);
1259         transform: translateY( -50% );
1260         font-size: 40px;
1261         color: #fff;
1262         padding: 0;
1263 }
1264
1265 .uploader-window .media-progress-bar {
1266         margin-top: 20px;
1267         max-width: 300px;
1268         background: transparent;
1269         border-color: #fff;
1270         display: none;
1271 }
1272
1273 .uploader-window .media-progress-bar div {
1274         background: #fff;
1275 }
1276
1277 .uploading .uploader-window .media-progress-bar {
1278         display: block;
1279 }
1280
1281 .media-frame .uploader-inline {
1282         margin-bottom: 20px;
1283         padding: 0;
1284         text-align: center;
1285 }
1286
1287 .uploader-inline-content {
1288         position: absolute;
1289         top: 30%;
1290         right: 0;
1291         left: 0;
1292 }
1293
1294 .uploader-inline-content .upload-ui {
1295         margin: 2em 0;
1296 }
1297
1298 .uploader-inline-content .post-upload-ui {
1299         margin-bottom: 2em;
1300 }
1301
1302 .uploader-inline .has-upload-message .upload-ui {
1303         margin: 0 0 4em;
1304 }
1305
1306 .uploader-inline h3 {
1307         font-size: 20px;
1308         line-height: 28px;
1309         font-weight: 400;
1310         margin: 0;
1311 }
1312
1313 .uploader-inline .has-upload-message .upload-instructions {
1314         font-size: 14px;
1315         color: #464646;
1316         font-weight: normal;
1317 }
1318
1319 .uploader-inline .drop-instructions {
1320         display: none;
1321 }
1322
1323 .supports-drag-drop .uploader-inline .drop-instructions {
1324         display: block;
1325 }
1326
1327 .uploader-inline p {
1328         font-size: 12px;
1329         margin: 0.5em 0;
1330 }
1331
1332 .uploader-inline .media-progress-bar {
1333         display: none;
1334 }
1335
1336 .uploading.uploader-inline .media-progress-bar {
1337         display: block;
1338 }
1339
1340 .uploader-inline .browser {
1341         display: inline-block !important;
1342 }
1343
1344 /**
1345  * Selection
1346  */
1347 .media-selection {
1348         position: absolute;
1349         top: 0;
1350         right: 0;
1351         left: 350px;
1352         height: 60px;
1353         padding: 0 16px 0 0;
1354         overflow: hidden;
1355         white-space: nowrap;
1356 }
1357
1358 .media-selection .selection-info {
1359         display: inline-block;
1360         font-size: 12px;
1361         height: 60px;
1362         margin-left: 10px;
1363         vertical-align: top;
1364 }
1365
1366 .media-selection.empty,
1367 .media-selection.editing {
1368         display: none;
1369 }
1370
1371 .media-selection.one .edit-selection {
1372         display: none;
1373 }
1374
1375 .media-selection .count {
1376         display: block;
1377         padding-top: 12px;
1378         font-size: 14px;
1379         line-height: 20px;
1380         font-weight: bold;
1381 }
1382
1383 .media-selection .button-link {
1384         float: right;
1385         padding: 1px 8px;
1386         margin: 1px -8px 1px 8px;
1387         line-height: 16px;
1388         border-left: 1px solid #dfdfdf;
1389         color: #21759B;
1390 }
1391
1392 .media-selection .button-link:hover,
1393 .media-selection .button-link:focus {
1394         background: #21759B;
1395         color: #fff;
1396         border-color: transparent;
1397 }
1398
1399 .media-selection .button-link:last-child {
1400         border-left: 0;
1401         margin-left: 0;
1402 }
1403
1404 .selection-info .clear-selection {
1405         color: red;
1406 }
1407
1408 .selection-info .clear-selection:hover,
1409 .selection-info .clear-selection:focus {
1410         background: red;
1411         color: #fff;
1412 }
1413
1414 .media-selection .selection-view {
1415         display: inline-block;
1416         vertical-align: top;
1417 }
1418
1419 .media-selection .attachments {
1420         display: inline-block;
1421         height: 48px;
1422         margin: 6px;
1423         padding: 0;
1424         overflow: hidden;
1425         vertical-align: top;
1426 }
1427
1428 .media-selection .attachment {
1429         width: 40px;
1430         padding: 0;
1431         margin: 4px;
1432 }
1433
1434 .media-selection .attachment .thumbnail {
1435         top: 0;
1436         left: 0;
1437         bottom: 0;
1438         right: 0;
1439 }
1440
1441 .media-selection .attachment .icon {
1442         width: 50%;
1443 }
1444
1445 .media-selection .attachment-preview {
1446         -webkit-box-shadow: none;
1447         box-shadow: none;
1448         background: none;
1449 }
1450
1451 .wp-core-ui .media-selection .attachment:focus,
1452 .wp-core-ui .media-selection .selected.attachment:focus,
1453 .wp-core-ui .media-selection .attachment.details:focus {
1454         -webkit-box-shadow:
1455                 0 0 0 1px #fff,
1456                 0 0 2px 3px #5b9dd9;
1457         box-shadow:
1458                 0 0 0 1px #fff,
1459                 0 0 2px 3px #5b9dd9;
1460 }
1461
1462 .wp-core-ui .media-selection .selected.attachment {
1463         -webkit-box-shadow: none;
1464         box-shadow: none;
1465 }
1466
1467 .wp-core-ui .media-selection .attachment.details {
1468         -webkit-box-shadow:
1469                 0 0 0 1px #fff,
1470                 0 0 0 3px #1e8cbe;
1471         box-shadow:
1472                 0 0 0 1px #fff,
1473                 0 0 0 3px #1e8cbe;
1474 }
1475
1476 .media-selection:after {
1477         content: '';
1478         display: block;
1479         position: absolute;
1480         top: 0;
1481         left: 0;
1482         bottom: 0;
1483         width: 25px;
1484         background-image: -webkit-gradient(linear, left top, right top, from(rgba( 255, 255, 255, 1 )), to(rgba( 255, 255, 255, 0 )));
1485         background-image: -webkit-linear-gradient(left, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 ));
1486         background-image: linear-gradient(to right, rgba( 255, 255, 255, 1 ) ,  rgba( 255, 255, 255, 0 ) );
1487 }
1488
1489 .media-selection .attachment .filename {
1490         display: none;
1491 }
1492
1493 /**
1494  * Spinner
1495  */
1496 .media-frame .spinner {
1497         background: url(../images/spinner.gif) no-repeat;
1498         -webkit-background-size: 20px 20px;
1499         background-size: 20px 20px;
1500         float: left;
1501         display: inline-block;
1502         visibility: hidden;
1503         opacity: 0.7;
1504         filter: alpha(opacity=70);
1505         width: 20px;
1506         height: 20px;
1507         margin: 0;
1508         vertical-align: middle;
1509 }
1510
1511 .media-frame .spinner.is-active {
1512         visibility: visible;
1513 }
1514
1515 .media-toolbar .spinner {
1516         margin-top: 14px;
1517 }
1518
1519 /**
1520  * Attachment Details
1521  */
1522 .attachment-details {
1523         position: relative;
1524         overflow: auto;
1525 }
1526
1527 .attachment-details .settings-save-status {
1528         float: left;
1529         text-transform: none;
1530         z-index: 10;
1531 }
1532
1533 .attachment-details .settings-save-status .spinner {
1534         margin-right: 5px;
1535 }
1536
1537 .attachment-details .settings-save-status .saved {
1538         float: left;
1539         display: none;
1540 }
1541
1542 .attachment-details.save-waiting .settings-save-status .spinner {
1543         visibility: visible;
1544 }
1545
1546 .attachment-details.save-complete .settings-save-status .saved {
1547         display: block;
1548 }
1549
1550 .attachment-info {
1551         overflow: hidden;
1552         min-height: 60px;
1553         margin-bottom: 16px;
1554         line-height: 18px;
1555         color: #666;
1556         border-bottom: 1px solid #ddd;
1557         padding-bottom: 11px;
1558 }
1559
1560 .attachment-info .filename {
1561         font-weight: bold;
1562         color: #464646;
1563         word-wrap: break-word;
1564 }
1565
1566 .attachment-info .thumbnail {
1567         position: relative;
1568         float: right;
1569         max-width: 120px;
1570         max-height: 120px;
1571         margin-top: 5px;
1572         margin-left: 10px;
1573         margin-bottom: 5px;
1574 }
1575
1576 .uploading .attachment-info .thumbnail {
1577         width: 120px;
1578         height: 80px;
1579         -webkit-box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 );
1580         box-shadow: inset 0 0 15px rgba( 0, 0, 0, 0.1 );
1581 }
1582
1583 .uploading .attachment-info .media-progress-bar {
1584         margin-top: 35px;
1585 }
1586
1587 .attachment-info .thumbnail-image:after {
1588         content: '';
1589         display: block;
1590         position: absolute;
1591         top: 0;
1592         right: 0;
1593         left: 0;
1594         bottom: 0;
1595         -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
1596         box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 );
1597         overflow: hidden;
1598 }
1599
1600 .attachment-info .thumbnail img {
1601         display: block;
1602         max-width: 120px;
1603         max-height: 120px;
1604         margin: 0 auto;
1605 }
1606
1607 .attachment-info .details {
1608         float: right;
1609         font-size: 12px;
1610         max-width: 100%;
1611 }
1612
1613 .attachment-info .edit-attachment,
1614 .attachment-info .delete-attachment,
1615 .attachment-info .trash-attachment,
1616 .attachment-info .untrash-attachment {
1617         display: block;
1618         text-decoration: none;
1619         white-space: nowrap;
1620 }
1621
1622 .attachment-details.needs-refresh .attachment-info .edit-attachment {
1623         display: none;
1624 }
1625
1626 .attachment-info .edit-attachment {
1627         display: block;
1628 }
1629
1630 .media-modal .delete-attachment,
1631 .media-modal .trash-attachment,
1632 .media-modal .untrash-attachment {
1633         display: inline;
1634         padding: 0;
1635         color: #bc0b0b;
1636 }
1637
1638 .media-modal .delete-attachment:hover,
1639 .media-modal .delete-attachment:focus,
1640 .media-modal .trash-attachment:hover,
1641 .media-modal .trash-attachment:focus,
1642 .media-modal .untrash-attachment:hover,
1643 .media-modal .untrash-attachment:focus {
1644         color: red;
1645 }
1646
1647 /**
1648  * Attachment Display Settings
1649  */
1650 .attachment-display-settings {
1651         width: 100%;
1652         float: right;
1653         overflow: hidden;
1654 }
1655
1656 .attachment-display-settings h4 {
1657         margin: 1.4em 0 0.4em;
1658 }
1659
1660 .collection-settings {
1661         overflow: hidden;
1662 }
1663
1664 .collection-settings .setting input[type="checkbox"] {
1665         float: right;
1666         margin-left: 8px;
1667 }
1668
1669 .collection-settings .setting span {
1670         min-width: inherit;
1671 }
1672
1673 /**
1674  * Image Editor
1675  */
1676 .media-modal .imgedit-wrap {
1677         position: static;
1678 }
1679
1680 .media-modal .imgedit-wait {
1681         height: auto !important;
1682         left: 0;
1683         bottom: 0;
1684         right: 0;
1685 }
1686
1687 .media-modal .imgedit-wrap .imgedit-panel-content {
1688         padding: 16px;
1689         position: absolute;
1690         top: 0;
1691         left: 282px;
1692         bottom: 0;
1693         right: 0;
1694         overflow: auto;
1695 }
1696
1697 .media-modal .imgedit-wrap .imgedit-settings {
1698         background: #f3f3f3;
1699         border-right: 1px solid #ddd;
1700         padding: 0 16px 16px;
1701         position: absolute;
1702         top: 0;
1703         left: 0;
1704         bottom: 0;
1705         width: 250px;
1706         overflow: auto;
1707 }
1708
1709 .media-modal .imgedit-group {
1710         background: none;
1711         border: none;
1712         border-bottom: 1px solid #ddd;
1713         -webkit-box-shadow: none;
1714         box-shadow: none;
1715         margin: 0;
1716         margin-bottom: 16px;
1717         padding: 0;
1718         padding-bottom: 16px;
1719         position: relative; /* RTL fix, #WP29352 */
1720 }
1721
1722 .media-modal .imgedit-group:last-of-type {
1723         border: none;
1724         margin: 0;
1725         padding: 0;
1726 }
1727
1728 .media-modal .imgedit-group-top h3 {
1729         text-transform: uppercase;
1730         font-size: 12px;
1731         color: #666;
1732         margin: 0;
1733         margin-top: 24px;
1734 }
1735
1736 .media-modal .imgedit-group-top h3 a {
1737         text-decoration: none;
1738         color: #666;
1739 }
1740
1741 .media-modal .imgedit-help-toggle {
1742         margin-top: -2px;
1743         cursor: pointer;
1744         color: #666;
1745 }
1746
1747 .media-modal .imgedit-help-toggled span.dashicons:before {
1748         content: '\f142';
1749 }
1750
1751 .media-modal .imgedit-group img {
1752         margin-top: 5px;
1753 }
1754
1755 .media-modal .imgedit-wrap div.updated {
1756         margin: 0;
1757         margin-bottom: 16px;
1758 }
1759
1760
1761 /**
1762  * Embed from URL and Image Details
1763  */
1764 .embed-url {
1765         display: block;
1766         position: relative;
1767         padding: 16px;
1768         margin: 0;
1769         z-index: 250;
1770         background: #fff;
1771         font-size: 18px;
1772 }
1773
1774 .media-frame .embed-url input {
1775         font-size: 18px;
1776         padding: 12px 14px;
1777         width: 100%;
1778         min-width: 200px;
1779         -webkit-box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
1780         box-shadow: inset -2px 2px 4px -2px rgba( 0, 0, 0, 0.1 );
1781 }
1782
1783 .media-frame .embed-url .spinner {
1784         position: absolute;
1785         top: 32px;
1786         left: 26px;
1787 }
1788
1789 .media-frame .embed-loading .embed-url .spinner {
1790         visibility: visible;
1791 }
1792
1793 .embed-link-settings,
1794 .embed-media-settings {
1795         position: absolute;
1796         top: 70px;
1797         right: 0;
1798         left: 0;
1799         bottom: 0;
1800         padding: 16px 16px 32px;
1801         overflow: auto;
1802 }
1803
1804 .media-embed .embed-link-settings {
1805         /* avoid Firefox to give focus to the embed preview container parent */
1806         overflow: visible;
1807 }
1808
1809 .embed-preview img,
1810 .embed-preview iframe,
1811 .embed-preview embed,
1812 .mejs-container video {
1813         max-width: 100%;
1814         vertical-align: middle;
1815 }
1816
1817 .embed-preview a {
1818         display: inline-block;
1819 }
1820
1821 .embed-preview img {
1822         display: block;
1823         height: auto;
1824 }
1825
1826 .mejs-container:focus {
1827         outline: 1px solid #5b9dd9;
1828         -webkit-box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
1829         box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8);
1830 }
1831
1832 .image-details .media-modal {
1833         right: 140px;
1834         left: 140px;
1835 }
1836
1837 .image-details .media-frame-title,
1838 .image-details .media-frame-content,
1839 .image-details .media-frame-router {
1840         right: 0;
1841 }
1842
1843 .image-details .embed-media-settings {
1844         top: 0;
1845         overflow: visible;
1846         padding: 0;
1847 }
1848
1849 .image-details .embed-media-settings,
1850 .image-details .embed-media-settings div {
1851         -webkit-box-sizing: border-box;
1852         -moz-box-sizing: border-box;
1853         box-sizing: border-box;
1854 }
1855
1856 .image-details .column-settings {
1857         background: #f3f3f3;
1858         border-left: 1px solid #ddd;
1859         min-height: 100%;
1860         width: 55%;
1861         position: absolute;
1862         top: 0;
1863         right: 0;
1864 }
1865
1866 .image-details .column-settings h3 {
1867         margin: 20px;
1868         padding-top: 20px;
1869         border-top: 1px solid #ddd;
1870 }
1871
1872 .image-details .column-image {
1873         width: 45%;
1874         position: absolute;
1875         right: 55%;
1876         top: 0;
1877 }
1878
1879 .image-details .image {
1880         margin: 20px;
1881 }
1882
1883 .image-details .image img {
1884         max-width: 100%;
1885         max-height: 500px;
1886 }
1887
1888 .image-details .advanced-toggle {
1889         padding: 0;
1890         color: #666;
1891         text-transform: uppercase;
1892 }
1893
1894 .image-details .advanced-toggle:after {
1895         font: normal 20px/1 'dashicons';
1896         speak: none;
1897         vertical-align: top;
1898         -webkit-font-smoothing: antialiased;
1899         -moz-osx-font-smoothing: grayscale;
1900         content: '\f140';
1901         display: inline-block;
1902         margin-top: -2px;
1903 }
1904
1905 .image-details .advanced-visible .advanced-toggle:after {
1906         content: '\f142';
1907 }
1908
1909 .image-details .embed-media-settings .size {
1910         margin-bottom: 4px;
1911 }
1912
1913 .image-details .custom-size span {
1914         display: block;
1915 }
1916
1917 .image-details .custom-size label {
1918         display: block;
1919         float: right;
1920 }
1921
1922 .image-details .custom-size span small {
1923         color: #999;
1924         font-size: inherit;
1925 }
1926
1927 .image-details .custom-size input {
1928         width: 5em;
1929 }
1930
1931 .image-details .custom-size .sep {
1932         float: right;
1933         margin: 26px 6px 0 6px;
1934 }
1935
1936 .image-details .custom-size:after {
1937         content: '';
1938         display: table;
1939         clear: both;
1940 }
1941
1942 .media-embed .thumbnail {
1943         max-width: 100%;
1944         max-height: 200px;
1945         position: relative;
1946         float: right;
1947 }
1948
1949 .media-embed .thumbnail img {
1950         max-height: 200px;
1951         display: block;
1952 }
1953
1954 .media-embed .thumbnail:after {
1955         content: '';
1956         display: block;
1957         position: absolute;
1958         top: 0;
1959         right: 0;
1960         left: 0;
1961         bottom: 0;
1962         -webkit-box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
1963         box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.1 );
1964         overflow: hidden;
1965 }
1966
1967 .media-embed .setting {
1968         width: 100%;
1969         margin: 10px 0;
1970         float: right;
1971         display: block;
1972         clear: both;
1973 }
1974
1975 .image-details .embed-media-settings .setting {
1976         float: none;
1977         width: auto;
1978 }
1979
1980 .image-details .actions {
1981         margin: 10px 0;
1982 }
1983
1984 .image-details .hidden {
1985         display: none;
1986 }
1987
1988 .media-embed .setting input[type="text"],
1989 .media-embed .setting textarea {
1990         display: block;
1991         width: 100%;
1992         max-width: 400px;
1993         margin: 1px 0;
1994 }
1995
1996 .image-details .embed-media-settings .setting input[type="text"],
1997 .image-details .embed-media-settings .setting textarea {
1998         max-width: inherit;
1999         width: 70%;
2000 }
2001
2002 .image-details .embed-media-settings .setting input.link-to-custom,
2003 .image-details .embed-media-settings .link-target,
2004 .image-details .embed-media-settings .custom-size {
2005         margin-right: 27%;
2006         width: 70%;
2007 }
2008
2009 .image-details .embed-media-settings .link-target {
2010         margin-top: 24px;
2011 }
2012
2013 .media-embed .setting input.hidden,
2014 .media-embed .setting textarea.hidden {
2015         display: none;
2016 }
2017
2018 .media-embed .setting span {
2019         display: block;
2020         width: 200px;
2021         font-size: 13px;
2022         line-height: 24px;
2023         color: #666;
2024 }
2025
2026 .image-details .embed-media-settings .setting span {
2027         float: right;
2028         width: 25%;
2029         text-align: left;
2030         margin: 8px 1% 0 1%;
2031         line-height: 1.1;
2032 }
2033
2034 .media-embed .setting .button-group {
2035         margin: 2px 0;
2036 }
2037
2038 .media-embed-sidebar {
2039         position: absolute;
2040         top: 0;
2041         right: 440px;
2042 }
2043
2044 .advanced-section,
2045 .link-settings {
2046         margin-top: 10px;
2047 }
2048
2049 /* Drag & drop on the editor upload */
2050 .wp-editor-wrap .uploader-editor {
2051         background: rgba( 150, 150, 150, 0.9 );
2052         position: absolute;
2053         top: 0;
2054         right: 0;
2055         width: 100%;
2056         height: 100%;
2057         z-index: 99998; /* under the toolbar */
2058         display: none;
2059         text-align: center;
2060 }
2061
2062 .wp-editor-wrap .uploader-editor-content {
2063         border: 1px dashed #fff;
2064         position: absolute;
2065         top: 10px;
2066         right: 10px;
2067         left: 10px;
2068         bottom: 10px;
2069 }
2070
2071 .wp-editor-wrap .uploader-editor .uploader-editor-title {
2072         position: absolute;
2073         top: 50%;
2074         right: 0;
2075         left: 0;
2076         -webkit-transform: translateY( -50% );
2077         -ms-transform: translateY(-50%);
2078         transform: translateY( -50% );
2079         font-size: 3em;
2080         line-height: 1.3;
2081         font-weight: bold;
2082         color: #fff;
2083         padding: 0;
2084         margin: 0;
2085         display: none;
2086 }
2087
2088 .wp-editor-wrap .uploader-editor.droppable {
2089         background: rgba( 0, 86, 132, 0.9 );
2090 }
2091
2092 .wp-editor-wrap .uploader-editor.droppable .uploader-editor-title {
2093         display: block;
2094 }
2095
2096 /**
2097  * IE7 Fixes
2098  */
2099 .ie7 .media-frame .attachments-browser {
2100         position: static;
2101 }
2102
2103 .ie7 .media-frame .embed-url input {
2104         margin-top: 4px;
2105         width: 90%;
2106 }
2107
2108 .ie7 .compat-item {
2109         width: 99%;
2110 }
2111
2112 .ie7 .attachment-display-settings {
2113         width: auto;
2114 }
2115
2116 .ie7 .attachment-preview,
2117 .ie7 .attachment-preview .thumbnail {
2118         width: 120px;
2119         height: 120px;
2120 }
2121
2122 .ie7 .media-frame .attachment .describe {
2123         width: 102px;
2124 }
2125
2126 .ie7 .media-sidebar .setting select {
2127         max-width: 55%;
2128 }
2129
2130 .ie7 .media-sidebar .setting input[type="text"],
2131 .ie7 .media-sidebar .setting input[type="password"],
2132 .ie7 .media-sidebar .setting input[type="email"],
2133 .ie7 .media-sidebar .setting input[type="number"],
2134 .ie7 .media-sidebar .setting input[type="search"],
2135 .ie7 .media-sidebar .setting input[type="tel"],
2136 .ie7 .media-sidebar .setting input[type="url"],
2137 .ie7 .media-sidebar .setting textarea {
2138         width: 55%;
2139 }
2140
2141 .ie7 .media-sidebar .setting .link-to-custom {
2142         float: right;
2143 }
2144
2145 /**
2146  * Localization
2147  */
2148 .rtl .media-modal,
2149 .rtl .media-frame,
2150 .rtl .media-frame .search,
2151 .rtl .media-frame input[type="text"],
2152 .rtl .media-frame input[type="password"],
2153 .rtl .media-frame input[type="number"],
2154 .rtl .media-frame input[type="search"],
2155 .rtl .media-frame input[type="email"],
2156 .rtl .media-frame input[type="url"],
2157 .rtl .media-frame input[type="tel"],
2158 .rtl .media-frame textarea,
2159 .rtl .media-frame select {
2160         font-family: Tahoma, sans-serif;
2161 }
2162
2163 :lang(he-il) .rtl .media-modal,
2164 :lang(he-il) .rtl .media-frame,
2165 :lang(he-il) .rtl .media-frame .search,
2166 :lang(he-il) .rtl .media-frame input[type="text"],
2167 :lang(he-il) .rtl .media-frame input[type="password"],
2168 :lang(he-il) .rtl .media-frame input[type="number"],
2169 :lang(he-il) .rtl .media-frame input[type="search"],
2170 :lang(he-il) .rtl .media-frame input[type="email"],
2171 :lang(he-il) .rtl .media-frame input[type="url"],
2172 :lang(he-il) .rtl .media-frame textarea,
2173 :lang(he-il) .rtl .media-frame select {
2174         font-family: Arial, sans-serif;
2175 }
2176
2177 /**
2178  * Responsive layout
2179  */
2180 @media only screen and (max-width: 900px) {
2181
2182         /* Drop-down menu */
2183         .media-frame:not(.hide-menu) .media-frame-title,
2184         .media-frame:not(.hide-menu) .media-frame-router,
2185         .media-frame:not(.hide-menu) .media-frame-content,
2186         .media-frame:not(.hide-menu) .media-frame-toolbar {
2187                 right: 0;
2188         }
2189
2190         .media-frame:not(.hide-menu) .media-frame-menu {
2191                 position: static;
2192                 width: 0;
2193         }
2194
2195         .media-frame:not(.hide-menu) .media-menu {
2196                 width: auto;
2197                 max-width: 80%;
2198                 overflow: auto;
2199                 z-index: 2000;
2200                 top: 50px;
2201                 right: -300px;
2202                 left: auto;
2203                 bottom: auto;
2204                 padding: 5px 0;
2205                 border: 1px solid #ccc;
2206         }
2207
2208         .media-frame:not(.hide-menu) .media-menu.visible {
2209                 right: 0;
2210         }
2211
2212         .media-frame:not(.hide-menu) .media-menu > a {
2213                 padding: 12px 16px;
2214                 font-size: 16px;
2215         }
2216
2217         .media-frame:not(.hide-menu) .media-menu > a.active {
2218                 display: none;
2219         }
2220
2221         .media-frame:not(.hide-menu) .media-menu .separator {
2222                 margin: 5px 10px;
2223         }
2224
2225         .media-frame:not(.hide-menu) .media-frame-title {
2226                 right: 0;
2227                 color: #21759b;
2228         }
2229
2230         .media-frame:not(.hide-menu) .media-frame-title .dashicons {
2231                 display: inline-block;
2232                 line-height: 50px;
2233         }
2234
2235         .media-frame:not(.hide-menu) .media-frame-title h1 {
2236                 line-height: 3;
2237                 font-size: 18px;
2238                 float: right;
2239                 cursor: pointer;
2240         }
2241         /* End drop-down menu */
2242
2243         .media-sidebar {
2244                 width: 230px;
2245         }
2246
2247         .attachments-browser .attachments,
2248         .attachments-browser .uploader-inline,
2249         .attachments-browser .media-toolbar {
2250                 left: 262px;
2251         }
2252
2253         .media-sidebar .setting,
2254         .attachment-details .setting {
2255                 margin: 6px 0px;
2256         }
2257
2258         .media-sidebar .setting input,
2259         .media-sidebar .setting textarea,
2260         .media-sidebar .setting span,
2261         .attachment-details .setting input,
2262         .attachment-details .setting textarea,
2263         .attachment-details .setting span,
2264         .compat-item label span {
2265                 float: none;
2266         }
2267
2268         .media-sidebar .setting span,
2269         .attachment-details .setting span,
2270         .compat-item label span {
2271                 text-align: inherit;
2272                 min-height: 16px;
2273                 margin: 0;
2274                 padding: 8px 2px 0;
2275         }
2276
2277         .media-sidebar .setting .value,
2278         .attachment-details .setting .value {
2279                 float: none;
2280                 width: auto;
2281         }
2282
2283         .media-sidebar .setting input[type="text"],
2284         .media-sidebar .setting input[type="password"],
2285         .media-sidebar .setting input[type="email"],
2286         .media-sidebar .setting input[type="number"],
2287         .media-sidebar .setting input[type="search"],
2288         .media-sidebar .setting input[type="tel"],
2289         .media-sidebar .setting input[type="url"],
2290         .media-sidebar .setting textarea,
2291         .media-sidebar .setting select,
2292         .attachment-details .setting input[type="text"],
2293         .attachment-details .setting input[type="password"],
2294         .attachment-details .setting input[type="email"],
2295         .attachment-details .setting input[type="number"],
2296         .attachment-details .setting input[type="search"],
2297         .attachment-details .setting input[type="tel"],
2298         .attachment-details .setting input[type="url"],
2299         .attachment-details .setting textarea,
2300         .attachment-details .setting select {
2301                 float: none;
2302                 width: 98%;
2303                 max-width: none;
2304                 height: auto;
2305         }
2306
2307         .media-sidebar .setting select.columns,
2308         .attachment-details .setting select.columns {
2309                 width: auto;
2310         }
2311
2312         .media-frame input,
2313         .media-frame textarea,
2314         .media-frame .search {
2315                 padding: 3px 6px;
2316         }
2317
2318         .image-details .column-image {
2319                 width: 30%;
2320                 right: 70%;
2321         }
2322
2323         .image-details .column-settings {
2324                 width: 70%;
2325         }
2326
2327         .image-details .media-modal {
2328                 right: 30px;
2329                 left: 30px;
2330         }
2331
2332         .image-details .embed-media-settings .setting {
2333                 margin: 20px;
2334         }
2335
2336         .image-details .embed-media-settings .setting span {
2337                 float: none;
2338                 text-align: right;
2339                 width: 100%;
2340                 margin-bottom: 4px;
2341         }
2342
2343         .image-details .embed-media-settings .setting input.link-to-custom,
2344         .image-details .embed-media-settings .setting input[type="text"],
2345         .image-details .embed-media-settings .setting textarea {
2346                 width: 100%;
2347                 margin-right: 0;
2348         }
2349
2350         .image-details .embed-media-settings .custom-size {
2351                 margin-right: 20px;
2352         }
2353
2354         .collection-settings .setting input[type="checkbox"] {
2355                 margin-top: 0;
2356         }
2357
2358         .media-selection {
2359                 min-width: 120px;
2360         }
2361
2362         .media-selection:after {
2363                 background: none;
2364         }
2365
2366         .media-selection .attachments {
2367                 display: none;
2368         }
2369
2370         .media-modal .attachments-browser .media-toolbar .search {
2371                 max-width: 100%;
2372                 height: auto;
2373                 float: left;
2374         }
2375
2376         .media-modal .attachments-browser .media-toolbar .attachment-filters {
2377                 height: auto;
2378         }
2379
2380         .media-modal .attachments-browser .media-toolbar .spinner {
2381                 margin: 14px 2px 0;
2382         }
2383
2384         /* Text inputs need to be 16px, or they force zooming on iOS */
2385         .media-frame input[type="text"],
2386         .media-frame input[type="password"],
2387         .media-frame input[type="number"],
2388         .media-frame input[type="search"],
2389         .media-frame input[type="email"],
2390         .media-frame input[type="url"],
2391         .media-frame textarea,
2392         .media-frame select {
2393                 font-size: 16px;
2394         }
2395 }
2396
2397 /* Responsive on portrait and landscape */
2398 @media only screen and (max-width: 640px), screen and (max-height: 400px) {
2399         /* Full-bleed modal */
2400         .media-modal,
2401         .image-details .media-modal {
2402                 position: fixed;
2403                 top: 0;
2404                 right: 0;
2405                 left: 0;
2406                 bottom: 0;
2407         }
2408
2409         .media-modal-backdrop {
2410                 position: fixed;
2411         }
2412
2413         .media-sidebar {
2414                 z-index: 1900;
2415                 max-width: 70%;
2416                 bottom: 120%;
2417                 -webkit-box-sizing: border-box;
2418                 -moz-box-sizing: border-box;
2419                 box-sizing: border-box;
2420                 padding-bottom: 0;
2421         }
2422
2423         .media-sidebar.visible {
2424                 bottom: 0;
2425         }
2426
2427         .attachments-browser .attachments,
2428         .attachments-browser .uploader-inline,
2429         .attachments-browser .media-toolbar {
2430                 left: 0;
2431         }
2432
2433         .image-details .media-frame-title {
2434                 display: block;
2435                 top: 0;
2436                 font-size: 14px;
2437         }
2438
2439         .image-details .column-image,
2440         .image-details .column-settings {
2441                 width: 100%;
2442                 position: relative;
2443                 right: 0;
2444         }
2445
2446         .image-details .column-settings {
2447                 padding: 4px 0;
2448         }
2449
2450         /* Media tabs on the top */
2451         .media-frame-content .media-toolbar .instructions {
2452                 display: none;
2453         }
2454 }
2455
2456 /* Landscape specific header override */
2457 @media screen and (max-height: 400px) {
2458         .media-menu {
2459                 padding: 0;
2460         }
2461
2462         .media-frame-router {
2463                 top: 44px;
2464         }
2465
2466         .media-frame-content {
2467                 top: 78px;
2468         }
2469
2470         .attachments-browser .attachments {
2471                 top: 40px;
2472         }
2473
2474         /* Prevent unnecessary scrolling on title input */
2475         .embed-link-settings {
2476                 overflow: visible;
2477         }
2478 }
2479
2480 @media only screen and (max-width: 480px) {
2481         .media-modal-close {
2482                 top: -5px;
2483         }
2484
2485         .media-modal .media-frame-title {
2486                 height: 40px;
2487         }
2488
2489         .wp-core-ui.wp-customizer .media-button {
2490                 margin-top: 13px;
2491         }
2492
2493         .media-modal .media-frame-title h1,
2494         .media-frame:not(.hide-menu) .media-frame-title h1 {
2495                 font-size: 18px;
2496                 line-height: 40px;
2497         }
2498
2499         .media-frame:not(.hide-menu) .media-frame-title .dashicons {
2500                 line-height: 40px;
2501         }
2502
2503         .media-frame-router,
2504         .media-frame:not(.hide-menu) .media-menu {
2505                 top: 40px;
2506         }
2507
2508         .media-frame-content {
2509                 top: 74px;
2510         }
2511
2512         .media-frame.hide-router .media-frame-content {
2513                 top: 40px;
2514         }
2515 }
2516
2517 /**
2518  * HiDPI Displays
2519  */
2520 @media print,
2521   (-webkit-min-device-pixel-ratio: 1.25),
2522   (min-resolution: 120dpi) {
2523
2524         .media-modal-icon {
2525                 background-image: url(../images/uploader-icons-2x.png);
2526                 -webkit-background-size: 134px 15px;
2527                 background-size: 134px 15px;
2528         }
2529
2530         .media-frame .spinner {
2531                 background-image: url(../images/spinner-2x.gif);
2532         }
2533 }
2534
2535 .media-frame-content[data-columns="1"] .attachment {
2536         width: 100%;
2537 }
2538
2539 .media-frame-content[data-columns="2"] .attachment {
2540         width: 50%;
2541 }
2542
2543 .media-frame-content[data-columns="3"] .attachment {
2544         width: 33.33%;
2545 }
2546
2547 .media-frame-content[data-columns="4"] .attachment {
2548         width: 25%;
2549 }
2550
2551 .media-frame-content[data-columns="5"] .attachment {
2552         width: 20%;
2553 }
2554
2555 .media-frame-content[data-columns="6"] .attachment {
2556         width: 16.66%;
2557 }
2558
2559 .media-frame-content[data-columns="7"] .attachment {
2560         width: 14.28%;
2561 }
2562
2563 .media-frame-content[data-columns="8"] .attachment {
2564         width: 12.5%;
2565 }
2566
2567 .media-frame-content[data-columns="9"] .attachment {
2568         width: 11.11%;
2569 }
2570
2571 .media-frame-content[data-columns="10"] .attachment {
2572         width: 10%;
2573 }
2574
2575 .media-frame-content[data-columns="11"] .attachment {
2576         width: 9.09%;
2577 }
2578
2579 .media-frame-content[data-columns="12"] .attachment {
2580         width: 8.33%;
2581 }