45 } |
45 } |
46 |
46 |
47 .media-frame a:focus { |
47 .media-frame a:focus { |
48 box-shadow: |
48 box-shadow: |
49 0 0 0 1px #5b9dd9, |
49 0 0 0 1px #5b9dd9, |
50 0 0 2px 1px rgba(30, 140, 190, .8); |
50 0 0 2px 1px rgba(30, 140, 190, 0.8); |
51 outline: none; |
|
52 color: #124964; |
51 color: #124964; |
|
52 /* Only visible in Windows High Contrast mode */ |
|
53 outline: 1px solid transparent; |
53 } |
54 } |
54 |
55 |
55 .media-frame a.button { |
56 .media-frame a.button { |
56 color: #32373c; |
57 color: #32373c; |
57 } |
58 } |
192 } |
193 } |
193 |
194 |
194 .media-modal-close:focus { |
195 .media-modal-close:focus { |
195 color: #00a0d2; |
196 color: #00a0d2; |
196 border-color: #5b9dd9; |
197 border-color: #5b9dd9; |
197 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); |
198 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
|
199 /* Only visible in Windows High Contrast mode */ |
|
200 outline: 2px solid transparent; |
|
201 outline-offset: -2px; |
198 } |
202 } |
199 |
203 |
200 .media-modal-close span.media-modal-icon { |
204 .media-modal-close span.media-modal-icon { |
201 background-image: none; |
205 background-image: none; |
202 } |
206 } |
258 border: 0 solid #ddd; |
262 border: 0 solid #ddd; |
259 overflow: hidden; |
263 overflow: hidden; |
260 } |
264 } |
261 |
265 |
262 .media-frame-toolbar .media-toolbar { |
266 .media-frame-toolbar .media-toolbar { |
263 top: initial; |
267 top: auto; |
264 bottom: -45px; |
268 bottom: -45px; |
265 height: auto; |
269 height: auto; |
266 overflow: initial; |
270 overflow: visible; |
267 border-top: 1px solid #ddd; |
271 border-top: 1px solid #ddd; |
268 } |
272 } |
269 |
273 |
270 @media screen and (max-width: 782px) { |
274 @media screen and (max-width: 782px) { |
271 .media-frame-toolbar .media-toolbar { |
275 .media-frame-toolbar .media-toolbar { |
425 .attachment-details .setting input[type="number"], |
429 .attachment-details .setting input[type="number"], |
426 .attachment-details .setting input[type="search"], |
430 .attachment-details .setting input[type="search"], |
427 .attachment-details .setting input[type="tel"], |
431 .attachment-details .setting input[type="tel"], |
428 .attachment-details .setting input[type="url"], |
432 .attachment-details .setting input[type="url"], |
429 .attachment-details .setting textarea, |
433 .attachment-details .setting textarea, |
430 .attachment-details .setting .value { |
434 .attachment-details .setting .value, |
|
435 .attachment-details .setting + .description { |
431 box-sizing: border-box; |
436 box-sizing: border-box; |
432 margin: 1px; |
437 margin: 1px; |
433 width: 65%; |
438 width: 65%; |
434 float: left; |
439 float: left; |
435 } |
440 } |
436 |
441 |
437 .media-sidebar .setting .value, |
442 .media-sidebar .setting .value, |
438 .attachment-details .setting .value { |
443 .attachment-details .setting .value, |
|
444 .attachment-details .setting + .description { |
439 margin: 0 1px; |
445 margin: 0 1px; |
440 text-align: right; |
446 text-align: right; |
|
447 } |
|
448 |
|
449 .attachment-details .setting + .description { |
|
450 clear: both; |
|
451 font-size: 12px; |
|
452 font-style: normal; |
|
453 margin-bottom: 0.5em; |
441 } |
454 } |
442 |
455 |
443 .media-sidebar .setting textarea, |
456 .media-sidebar .setting textarea, |
444 .attachment-details .setting textarea, |
457 .attachment-details .setting textarea, |
445 .compat-item .field textarea { |
458 .compat-item .field textarea { |
548 text-decoration: none; |
561 text-decoration: none; |
549 } |
562 } |
550 |
563 |
551 .media-menu > a:hover { |
564 .media-menu > a:hover { |
552 color: #0073aa; |
565 color: #0073aa; |
553 background: rgba( 0, 0, 0, 0.04 ); |
566 background: rgba(0, 0, 0, 0.04); |
554 } |
567 } |
555 |
568 |
556 .media-menu > a:active { |
569 .media-menu > a:active { |
557 outline: none; |
570 outline: none; |
558 } |
571 } |
709 display: none; |
722 display: none; |
710 } |
723 } |
711 |
724 |
712 .media-frame.hide-router .media-frame-title { |
725 .media-frame.hide-router .media-frame-title { |
713 border-bottom: 1px solid #ddd; |
726 border-bottom: 1px solid #ddd; |
714 box-shadow: 0 4px 4px -4px rgba( 0, 0, 0, 0.1 ); |
727 box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.1); |
715 } |
728 } |
716 |
729 |
717 .media-frame-title .dashicons { |
730 .media-frame-title .dashicons { |
718 display: none; |
731 display: none; |
719 } |
732 } |
833 .wp-core-ui .selected.attachment:focus, |
848 .wp-core-ui .selected.attachment:focus, |
834 .wp-core-ui .attachment.details:focus { |
849 .wp-core-ui .attachment.details:focus { |
835 box-shadow: |
850 box-shadow: |
836 inset 0 0 2px 3px #fff, |
851 inset 0 0 2px 3px #fff, |
837 inset 0 0 0 7px #5b9dd9; |
852 inset 0 0 0 7px #5b9dd9; |
838 outline: none; |
853 /* Only visible in Windows High Contrast mode */ |
|
854 outline: 2px solid transparent; |
|
855 outline-offset: -6px; |
839 } |
856 } |
840 |
857 |
841 .wp-core-ui .selected.attachment { |
858 .wp-core-ui .selected.attachment { |
842 box-shadow: |
859 box-shadow: |
843 inset 0 0 0 5px #fff, |
860 inset 0 0 0 5px #fff, |
851 } |
868 } |
852 |
869 |
853 .wp-core-ui .attachment-preview { |
870 .wp-core-ui .attachment-preview { |
854 position: relative; |
871 position: relative; |
855 box-shadow: |
872 box-shadow: |
856 inset 0 0 15px rgba( 0, 0, 0, 0.1 ), |
873 inset 0 0 15px rgba(0, 0, 0, 0.1), |
857 inset 0 0 0 1px rgba( 0, 0, 0, 0.05 ); |
874 inset 0 0 0 1px rgba(0, 0, 0, 0.05); |
858 background: #eee; |
875 background: #eee; |
859 cursor: pointer; |
876 cursor: pointer; |
860 } |
877 } |
861 |
878 |
862 .wp-core-ui .attachment-preview:before { |
879 .wp-core-ui .attachment-preview:before { |
910 position: absolute; |
927 position: absolute; |
911 top: 0; |
928 top: 0; |
912 right: 0; |
929 right: 0; |
913 width: 100%; |
930 width: 100%; |
914 height: 100%; |
931 height: 100%; |
915 -webkit-transform: translate( -50%, 50% ); /* Fails with spaces?? Weird! */ |
|
916 transform: translate( -50%, 50% ); |
932 transform: translate( -50%, 50% ); |
917 } |
933 } |
918 |
934 |
919 .wp-core-ui .attachment .thumbnail .centered img { |
935 .wp-core-ui .attachment .thumbnail .centered img { |
920 -webkit-transform: translate( 50%, -50% ); |
|
921 transform: translate( 50%, -50% ); |
936 transform: translate( 50%, -50% ); |
922 } |
937 } |
923 |
938 |
924 .wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon { |
939 .wp-core-ui .attachments-browser .attachment .thumbnail .centered img.icon { |
925 -webkit-transform: translate( 50%, -70% ); |
|
926 transform: translate( 50%, -70% ); |
940 transform: translate( 50%, -70% ); |
927 } |
941 } |
928 |
942 |
929 .ie8 .wp-core-ui .attachment img.icon { |
943 .ie8 .wp-core-ui .attachment img.icon { |
930 top: 20%; |
944 top: 20%; |
939 overflow: hidden; |
953 overflow: hidden; |
940 max-height: 100%; |
954 max-height: 100%; |
941 word-wrap: break-word; |
955 word-wrap: break-word; |
942 text-align: center; |
956 text-align: center; |
943 font-weight: 600; |
957 font-weight: 600; |
944 background: rgba( 255, 255, 255, 0.8 ); |
958 background: rgba(255, 255, 255, 0.8); |
945 box-shadow: inset 0 0 0 1px rgba( 0, 0, 0, 0.15 ); |
959 box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.15); |
946 } |
960 } |
947 |
961 |
948 .wp-core-ui .attachment .filename div { |
962 .wp-core-ui .attachment .filename div { |
949 padding: 5px 10px; |
963 padding: 5px 10px; |
950 } |
964 } |
962 width: 22px; |
976 width: 22px; |
963 padding: 0; |
977 padding: 0; |
964 background-color: #fff; |
978 background-color: #fff; |
965 background-position: -96px 4px; |
979 background-position: -96px 4px; |
966 border-radius: 3px; |
980 border-radius: 3px; |
967 box-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.3 ); |
981 box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3); |
968 transition: none; |
982 transition: none; |
969 } |
983 } |
970 |
984 |
971 .wp-core-ui .attachment-close:hover, |
985 .wp-core-ui .attachment-close:hover, |
972 .wp-core-ui .attachment-close:focus { |
986 .wp-core-ui .attachment-close:focus { |
1010 .wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
1024 .wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
1011 background-color: #0073aa; |
1025 background-color: #0073aa; |
1012 box-shadow: |
1026 box-shadow: |
1013 0 0 0 1px #fff, |
1027 0 0 0 1px #fff, |
1014 0 0 0 2px #0073aa; |
1028 0 0 0 2px #0073aa; |
|
1029 } |
|
1030 |
|
1031 .wp-core-ui .attachment.selected .check:focus { |
|
1032 /* Only visible in Windows High Contrast mode */ |
|
1033 outline: 2px solid transparent; |
1015 } |
1034 } |
1016 |
1035 |
1017 .wp-core-ui .attachment.details .check .media-modal-icon, |
1036 .wp-core-ui .attachment.details .check .media-modal-icon, |
1018 .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon { |
1037 .wp-core-ui .media-frame.mode-grid .attachment.selected .check .media-modal-icon { |
1019 background-position: -21px 0; |
1038 background-position: -21px 0; |
1111 font-weight: 300; |
1130 font-weight: 300; |
1112 margin-top: 1px; |
1131 margin-top: 1px; |
1113 } |
1132 } |
1114 |
1133 |
1115 .uploader-inline .close:focus { |
1134 .uploader-inline .close:focus { |
1116 outline: 1px solid #5b9dd9; |
1135 outline: 1px solid #5b9dd9; |
1117 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); |
1136 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
1118 } |
1137 } |
1119 |
1138 |
1120 .attachments-browser.hide-sidebar .attachments, |
1139 .attachments-browser.hide-sidebar .attachments, |
1121 .attachments-browser.hide-sidebar .uploader-inline { |
1140 .attachments-browser.hide-sidebar .uploader-inline { |
1122 left: 0; |
1141 left: 0; |
1214 .errors.media-uploader-status .upload-errors { |
1233 .errors.media-uploader-status .upload-errors { |
1215 display: block; |
1234 display: block; |
1216 } |
1235 } |
1217 |
1236 |
1218 .media-uploader-status .upload-dismiss-errors { |
1237 .media-uploader-status .upload-dismiss-errors { |
|
1238 position: absolute; |
|
1239 top: -3px; |
|
1240 left: -5px; |
|
1241 padding: 5px; |
|
1242 border-radius: 50%; |
|
1243 transition: none; |
1219 text-decoration: none; |
1244 text-decoration: none; |
1220 } |
1245 } |
1221 |
1246 |
1222 .media-sidebar .media-uploader-status .upload-dismiss-errors { |
1247 .uploader-inline .media-uploader-status .upload-dismiss-errors { |
1223 position: absolute; |
1248 top: 2px; |
1224 top: -10px; |
1249 left: 2px; |
1225 left: -10px; |
1250 } |
1226 padding: 10px; |
1251 |
1227 transition: none; |
1252 .media-uploader-status .upload-dismiss-errors::before { |
1228 } |
|
1229 |
|
1230 .media-sidebar .media-uploader-status .upload-dismiss-errors:before { |
|
1231 content: "\f153"; |
1253 content: "\f153"; |
1232 display: block; |
1254 display: block; |
1233 font: normal 16px/1 dashicons; |
1255 font: normal 16px/1 dashicons; |
1234 color: #72777c; |
1256 color: #72777c; |
1235 } |
1257 } |
1236 |
1258 |
1237 .media-sidebar .media-uploader-status .upload-dismiss-errors:hover:before, |
1259 .uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before { |
1238 .media-sidebar .media-uploader-status .upload-dismiss-errors:focus:before { |
1260 color: #606a73; |
|
1261 } |
|
1262 |
|
1263 .errors.media-uploader-status .upload-dismiss-errors:hover::before, |
|
1264 .errors.media-uploader-status .upload-dismiss-errors:focus::before { |
1239 color: #c00; |
1265 color: #c00; |
1240 } |
1266 } |
1241 |
1267 |
1242 .upload-errors .upload-error { |
1268 .upload-errors .upload-error { |
1243 padding: 12px; |
1269 padding: 12px; |
1246 border-right: 4px solid #dc3232; |
1272 border-right: 4px solid #dc3232; |
1247 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
1273 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
1248 } |
1274 } |
1249 |
1275 |
1250 .uploader-inline .upload-errors .upload-error { |
1276 .uploader-inline .upload-errors .upload-error { |
|
1277 padding: 12px 30px; |
1251 background-color: #fbeaea; |
1278 background-color: #fbeaea; |
1252 box-shadow: none; |
1279 box-shadow: none; |
1253 } |
1280 } |
1254 |
1281 |
1255 .upload-errors .upload-error-filename { |
1282 .upload-errors .upload-error-filename { |
1487 .wp-core-ui .media-selection .selected.attachment:focus, |
1513 .wp-core-ui .media-selection .selected.attachment:focus, |
1488 .wp-core-ui .media-selection .attachment.details:focus { |
1514 .wp-core-ui .media-selection .attachment.details:focus { |
1489 box-shadow: |
1515 box-shadow: |
1490 0 0 0 1px #fff, |
1516 0 0 0 1px #fff, |
1491 0 0 2px 3px #5b9dd9; |
1517 0 0 2px 3px #5b9dd9; |
|
1518 /* Only visible in Windows High Contrast mode */ |
|
1519 outline: 2px solid transparent; |
1492 } |
1520 } |
1493 |
1521 |
1494 .wp-core-ui .media-selection .selected.attachment { |
1522 .wp-core-ui .media-selection .selected.attachment { |
1495 box-shadow: none; |
1523 box-shadow: none; |
1496 } |
1524 } |
1507 position: absolute; |
1535 position: absolute; |
1508 top: 0; |
1536 top: 0; |
1509 left: 0; |
1537 left: 0; |
1510 bottom: 0; |
1538 bottom: 0; |
1511 width: 25px; |
1539 width: 25px; |
1512 background-image: linear-gradient(to right, rgba( 255, 255, 255, 1 ), rgba( 255, 255, 255, 0 )); |
1540 background-image: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); |
1513 } |
1541 } |
1514 |
1542 |
1515 .media-selection .attachment .filename { |
1543 .media-selection .attachment .filename { |
1516 display: none; |
1544 display: none; |
1517 } |
1545 } |
1779 } |
1807 } |
1780 |
1808 |
1781 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { |
1809 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { |
1782 color: #0074a2; |
1810 color: #0074a2; |
1783 border-color: #5b9dd9; |
1811 border-color: #5b9dd9; |
1784 outline: none; |
1812 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
1785 box-shadow: 0 0 3px rgba( 0, 115, 170, .8 ); |
1813 /* Only visible in Windows High Contrast mode */ |
|
1814 outline: 2px solid transparent; |
1786 } |
1815 } |
1787 |
1816 |
1788 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { |
1817 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { |
1789 margin-top: -3px; |
1818 margin-top: -3px; |
1790 } |
1819 } |
1875 height: auto; |
1904 height: auto; |
1876 } |
1905 } |
1877 |
1906 |
1878 .mejs-container:focus { |
1907 .mejs-container:focus { |
1879 outline: 1px solid #5b9dd9; |
1908 outline: 1px solid #5b9dd9; |
1880 box-shadow: 0 0 2px 1px rgba(30, 140, 190, .8); |
1909 box-shadow: 0 0 2px 1px rgba(30, 140, 190, 0.8); |
1881 } |
1910 } |
1882 |
1911 |
1883 .image-details .media-modal { |
1912 .image-details .media-modal { |
1884 right: 140px; |
1913 right: 140px; |
1885 left: 140px; |
1914 left: 140px; |
2055 width: 70%; |
2093 width: 70%; |
2056 } |
2094 } |
2057 |
2095 |
2058 .image-details .embed-media-settings .setting input.link-to-custom, |
2096 .image-details .embed-media-settings .setting input.link-to-custom, |
2059 .image-details .embed-media-settings .link-target, |
2097 .image-details .embed-media-settings .link-target, |
2060 .image-details .embed-media-settings .custom-size { |
2098 .image-details .embed-media-settings .custom-size, |
|
2099 .image-details .description { |
2061 margin-right: 27%; |
2100 margin-right: 27%; |
2062 width: 70%; |
2101 width: 70%; |
|
2102 } |
|
2103 |
|
2104 .image-details .description { |
|
2105 font-style: normal; |
|
2106 margin-top: 0; |
2063 } |
2107 } |
2064 |
2108 |
2065 .image-details .embed-media-settings .link-target { |
2109 .image-details .embed-media-settings .link-target { |
2066 margin-top: 24px; |
2110 margin-top: 24px; |
2067 } |
2111 } |
2350 .attachment-details .setting input[type="number"], |
2393 .attachment-details .setting input[type="number"], |
2351 .attachment-details .setting input[type="search"], |
2394 .attachment-details .setting input[type="search"], |
2352 .attachment-details .setting input[type="tel"], |
2395 .attachment-details .setting input[type="tel"], |
2353 .attachment-details .setting input[type="url"], |
2396 .attachment-details .setting input[type="url"], |
2354 .attachment-details .setting textarea, |
2397 .attachment-details .setting textarea, |
2355 .attachment-details .setting select { |
2398 .attachment-details .setting select, |
|
2399 .attachment-details .setting + .description { |
2356 float: none; |
2400 float: none; |
2357 width: 98%; |
2401 width: 98%; |
2358 max-width: none; |
2402 max-width: none; |
2359 height: auto; |
2403 height: auto; |
2360 } |
2404 } |
2398 .image-details .embed-media-settings .setting input.link-to-custom, |
2442 .image-details .embed-media-settings .setting input.link-to-custom, |
2399 .image-details .embed-media-settings .setting input[type="text"], |
2443 .image-details .embed-media-settings .setting input[type="text"], |
2400 .image-details .embed-media-settings .setting textarea { |
2444 .image-details .embed-media-settings .setting textarea { |
2401 width: 100%; |
2445 width: 100%; |
2402 margin-right: 0; |
2446 margin-right: 0; |
|
2447 } |
|
2448 |
|
2449 .image-details .embed-media-settings .setting.has-description { |
|
2450 margin-bottom: 5px; |
|
2451 } |
|
2452 |
|
2453 .image-details .description { |
|
2454 width: auto; |
|
2455 margin: 0 20px; |
2403 } |
2456 } |
2404 |
2457 |
2405 .image-details .embed-media-settings .custom-size { |
2458 .image-details .embed-media-settings .custom-size { |
2406 margin-right: 20px; |
2459 margin-right: 20px; |
2407 } |
2460 } |