34 line-height: 1.2; |
34 line-height: 1.2; |
35 } |
35 } |
36 |
36 |
37 .media-frame a { |
37 .media-frame a { |
38 border-bottom: none; |
38 border-bottom: none; |
39 color: #0073aa; |
39 color: #2271b1; |
40 } |
40 } |
41 |
41 |
42 .media-frame a:hover, |
42 .media-frame a:hover, |
43 .media-frame a:active { |
43 .media-frame a:active { |
44 color: #006799; |
44 color: #135e96; |
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 #4f94d4, |
50 0 0 2px 1px rgba(30, 140, 190, 0.8); |
50 0 0 2px 1px rgba(79, 148, 212, 0.8); |
51 color: #124964; |
51 color: #043959; |
52 /* Only visible in Windows High Contrast mode */ |
52 /* Only visible in Windows High Contrast mode */ |
53 outline: 1px solid transparent; |
53 outline: 1px solid transparent; |
54 } |
54 } |
55 |
55 |
56 .media-frame a.button { |
56 .media-frame a.button { |
57 color: #32373c; |
57 color: #2c3338; |
58 } |
58 } |
59 |
59 |
60 .media-frame a.button:hover { |
60 .media-frame a.button:hover { |
61 color: #23282d; |
61 color: #1d2327; |
62 } |
62 } |
63 |
63 |
64 .media-frame a.button-primary, |
64 .media-frame a.button-primary, |
65 .media-frame a.button-primary:hover { |
65 .media-frame a.button-primary:hover { |
66 color: #fff; |
66 color: #fff; |
93 .media-frame input[type="week"], |
93 .media-frame input[type="week"], |
94 .media-frame textarea, |
94 .media-frame textarea, |
95 .media-frame select { |
95 .media-frame select { |
96 box-shadow: 0 0 0 transparent; |
96 box-shadow: 0 0 0 transparent; |
97 border-radius: 4px; |
97 border-radius: 4px; |
98 border: 1px solid #7e8993; |
98 border: 1px solid #8c8f94; |
99 background-color: #fff; |
99 background-color: #fff; |
100 color: #32373c; |
100 color: #2c3338; |
101 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
101 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
102 font-size: 13px; |
102 font-size: 13px; |
103 } |
103 } |
104 |
104 |
105 .media-frame input[type="text"], |
105 .media-frame input[type="text"], |
132 .media-frame input[type="search"]:focus, |
132 .media-frame input[type="search"]:focus, |
133 .media-frame input[type="email"]:focus, |
133 .media-frame input[type="email"]:focus, |
134 .media-frame input[type="url"]:focus, |
134 .media-frame input[type="url"]:focus, |
135 .media-frame textarea:focus, |
135 .media-frame textarea:focus, |
136 .media-frame select:focus { |
136 .media-frame select:focus { |
137 border-color: #007cba; |
137 border-color: #3582c4; |
138 box-shadow: 0 0 0 1px #007cba; |
138 box-shadow: 0 0 0 1px #3582c4; |
139 outline: 2px solid transparent; |
139 outline: 2px solid transparent; |
140 } |
140 } |
141 |
141 |
142 .media-frame input:disabled, |
142 .media-frame input:disabled, |
143 .media-frame textarea:disabled, |
143 .media-frame textarea:disabled, |
144 .media-frame input[readonly], |
144 .media-frame input[readonly], |
145 .media-frame textarea[readonly] { |
145 .media-frame textarea[readonly] { |
146 background-color: #eee; |
146 background-color: #f0f0f1; |
147 } |
147 } |
148 |
148 |
149 .media-frame input[type="search"] { |
149 .media-frame input[type="search"] { |
150 -webkit-appearance: textfield; |
150 -webkit-appearance: textfield; |
151 } |
151 } |
152 |
152 |
153 .media-frame ::-webkit-input-placeholder { |
153 .media-frame ::-webkit-input-placeholder { |
154 color: #72777c; |
154 color: #646970; |
155 } |
155 } |
156 |
156 |
157 .media-frame ::-moz-placeholder { |
157 .media-frame ::-moz-placeholder { |
158 color: #72777c; |
158 color: #646970; |
159 opacity: 1; |
159 opacity: 1; |
160 } |
160 } |
161 |
161 |
162 .media-frame :-ms-input-placeholder { |
162 .media-frame :-ms-input-placeholder { |
163 color: #72777c; |
163 color: #646970; |
164 } |
164 } |
165 |
165 |
166 /* |
166 /* |
167 * In some cases there's the need of higher specificity, |
167 * In some cases there's the need of higher specificity, |
168 * for example higher than `.media-embed .setting`. |
168 * for example higher than `.media-embed .setting`. |
225 height: 50px; |
225 height: 50px; |
226 margin: 0; |
226 margin: 0; |
227 padding: 0; |
227 padding: 0; |
228 border: 1px solid transparent; |
228 border: 1px solid transparent; |
229 background: none; |
229 background: none; |
230 color: #666; |
230 color: #646970; |
231 z-index: 1000; |
231 z-index: 1000; |
232 cursor: pointer; |
232 cursor: pointer; |
233 outline: none; |
233 outline: none; |
234 transition: color .1s ease-in-out, background .1s ease-in-out; |
234 transition: color .1s ease-in-out, background .1s ease-in-out; |
235 } |
235 } |
236 |
236 |
237 .media-modal-close:hover, |
237 .media-modal-close:hover, |
238 .media-modal-close:active { |
238 .media-modal-close:active { |
239 color: #006799; |
239 color: #135e96; |
240 } |
240 } |
241 |
241 |
242 .media-modal-close:focus { |
242 .media-modal-close:focus { |
243 color: #006799; |
243 color: #135e96; |
244 border-color: #5b9dd9; |
244 border-color: #4f94d4; |
245 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
245 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
246 /* Only visible in Windows High Contrast mode */ |
246 /* Only visible in Windows High Contrast mode */ |
247 outline: 2px solid transparent; |
247 outline: 2px solid transparent; |
248 } |
248 } |
249 |
249 |
250 .media-modal-close span.media-modal-icon { |
250 .media-modal-close span.media-modal-icon { |
600 left: 0; |
602 left: 0; |
601 right: 0; |
603 right: 0; |
602 bottom: 0; |
604 bottom: 0; |
603 margin: 0; |
605 margin: 0; |
604 padding: 50px 0 10px; |
606 padding: 50px 0 10px; |
605 background: #f3f3f3; |
607 background: #f6f7f7; |
606 border-right-width: 1px; |
608 border-right-width: 1px; |
607 border-right-style: solid; |
609 border-right-style: solid; |
608 border-right-color: #ccc; |
610 border-right-color: #c3c4c7; |
609 -webkit-user-select: none; |
611 -webkit-user-select: none; |
610 -moz-user-select: none; |
|
611 -ms-user-select: none; |
|
612 user-select: none; |
612 user-select: none; |
613 } |
613 } |
614 |
614 |
615 .media-menu .media-menu-item { |
615 .media-menu .media-menu-item { |
616 display: block; |
616 display: block; |
621 margin: 0; |
621 margin: 0; |
622 padding: 8px 20px; |
622 padding: 8px 20px; |
623 font-size: 14px; |
623 font-size: 14px; |
624 line-height: 1.28571428; |
624 line-height: 1.28571428; |
625 background: transparent; |
625 background: transparent; |
626 color: #0073aa; |
626 color: #2271b1; |
627 text-align: left; |
627 text-align: left; |
628 text-decoration: none; |
628 text-decoration: none; |
629 cursor: pointer; |
629 cursor: pointer; |
630 } |
630 } |
631 |
631 |
632 .media-menu .media-menu-item:hover { |
632 .media-menu .media-menu-item:hover { |
633 background: rgba(0, 0, 0, 0.04); |
633 background: rgba(0, 0, 0, 0.04); |
634 } |
634 } |
635 |
635 |
636 .media-menu .media-menu-item:active { |
636 .media-menu .media-menu-item:active { |
637 color: #0073aa; |
637 color: #2271b1; |
638 outline: none; |
638 outline: none; |
639 } |
639 } |
640 |
640 |
641 .media-menu .active, |
641 .media-menu .active, |
642 .media-menu .active:hover { |
642 .media-menu .active:hover { |
643 color: #23282d; |
643 color: #1d2327; |
644 font-weight: 600; |
644 font-weight: 600; |
645 } |
645 } |
646 |
646 |
647 .media-menu .media-menu-item:focus { |
647 .media-menu .media-menu-item:focus { |
648 box-shadow: |
648 box-shadow: |
649 0 0 0 1px #5b9dd9, |
649 0 0 0 1px #4f94d4, |
650 0 0 2px 1px rgba(30, 140, 190, 0.8); |
650 0 0 2px 1px rgba(79, 148, 212, 0.8); |
651 color: #124964; |
651 color: #043959; |
652 /* Only visible in Windows High Contrast mode */ |
652 /* Only visible in Windows High Contrast mode */ |
653 outline: 1px solid transparent; |
653 outline: 1px solid transparent; |
654 } |
654 } |
655 |
655 |
656 .media-menu .separator { |
656 .media-menu .separator { |
657 height: 0; |
657 height: 0; |
658 margin: 12px 20px; |
658 margin: 12px 20px; |
659 padding: 0; |
659 padding: 0; |
660 border-top: 1px solid #ddd; |
660 border-top: 1px solid #dcdcde; |
661 } |
661 } |
662 |
662 |
663 /** |
663 /** |
664 * Menu |
664 * Menu |
665 */ |
665 */ |
689 border-right: 0; |
689 border-right: 0; |
690 } |
690 } |
691 |
691 |
692 .media-router .media-menu-item:hover, |
692 .media-router .media-menu-item:hover, |
693 .media-router .media-menu-item:active { |
693 .media-router .media-menu-item:active { |
694 color: #0073aa; |
694 color: #2271b1; |
695 } |
695 } |
696 |
696 |
697 .media-router .active, |
697 .media-router .active, |
698 .media-router .active:hover { |
698 .media-router .active:hover { |
699 color: #23282d; |
699 color: #1d2327; |
700 } |
700 } |
701 |
701 |
702 .media-router .media-menu-item:focus { |
702 .media-router .media-menu-item:focus { |
703 box-shadow: |
703 box-shadow: |
704 0 0 0 1px #5b9dd9, |
704 0 0 0 1px #4f94d4, |
705 0 0 2px 1px rgba(30, 140, 190, 0.8); |
705 0 0 2px 1px rgba(79, 148, 212, 0.8); |
706 color: #124964; |
706 color: #043959; |
707 /* Only visible in Windows High Contrast mode */ |
707 /* Only visible in Windows High Contrast mode */ |
708 outline: 1px solid transparent; |
708 outline: 1px solid transparent; |
709 } |
709 } |
710 |
710 |
711 .media-router .active, |
711 .media-router .active, |
712 .media-router .media-menu-item.active:last-child { |
712 .media-router .media-menu-item.active:last-child { |
713 margin: -1px -1px 0; |
713 margin: -1px -1px 0; |
714 background: #fff; |
714 background: #fff; |
715 border: 1px solid #ddd; |
715 border: 1px solid #dcdcde; |
716 border-bottom: none; |
716 border-bottom: none; |
717 } |
717 } |
718 |
718 |
719 .media-router .active:after { |
719 .media-router .active:after { |
720 display: none; |
720 display: none; |
907 */ |
907 */ |
908 .media-frame .search { |
908 .media-frame .search { |
909 margin: 32px 0 0; |
909 margin: 32px 0 0; |
910 padding: 4px; |
910 padding: 4px; |
911 font-size: 13px; |
911 font-size: 13px; |
912 color: #444; |
912 color: #3c434a; |
913 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
913 font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; |
914 -webkit-appearance: none; |
914 -webkit-appearance: none; |
915 } |
915 } |
916 |
916 |
917 .media-toolbar-primary .search { |
917 .media-toolbar-primary .search { |
940 .wp-core-ui .attachment { |
940 .wp-core-ui .attachment { |
941 position: relative; |
941 position: relative; |
942 float: left; |
942 float: left; |
943 padding: 8px; |
943 padding: 8px; |
944 margin: 0; |
944 margin: 0; |
945 color: #444; |
945 color: #3c434a; |
946 cursor: pointer; |
946 cursor: pointer; |
947 list-style: none; |
947 list-style: none; |
948 text-align: center; |
948 text-align: center; |
949 -webkit-user-select: none; |
949 -webkit-user-select: none; |
950 -moz-user-select: none; |
|
951 -ms-user-select: none; |
|
952 user-select: none; |
950 user-select: none; |
953 width: 25%; |
951 width: 25%; |
954 box-sizing: border-box; |
952 box-sizing: border-box; |
955 } |
953 } |
956 |
954 |
957 .wp-core-ui .attachment:focus, |
955 .wp-core-ui .attachment:focus, |
958 .wp-core-ui .selected.attachment:focus, |
956 .wp-core-ui .selected.attachment:focus, |
959 .wp-core-ui .attachment.details:focus { |
957 .wp-core-ui .attachment.details:focus { |
960 box-shadow: |
958 box-shadow: |
961 inset 0 0 2px 3px #fff, |
959 inset 0 0 2px 3px #fff, |
962 inset 0 0 0 7px #5b9dd9; |
960 inset 0 0 0 7px #4f94d4; |
963 /* Only visible in Windows High Contrast mode */ |
961 /* Only visible in Windows High Contrast mode */ |
964 outline: 2px solid transparent; |
962 outline: 2px solid transparent; |
965 outline-offset: -6px; |
963 outline-offset: -6px; |
966 } |
964 } |
967 |
965 |
968 .wp-core-ui .selected.attachment { |
966 .wp-core-ui .selected.attachment { |
969 box-shadow: |
967 box-shadow: |
970 inset 0 0 0 5px #fff, |
968 inset 0 0 0 5px #fff, |
971 inset 0 0 0 7px #ccc; |
969 inset 0 0 0 7px #c3c4c7; |
972 } |
970 } |
973 |
971 |
974 .wp-core-ui .attachment.details { |
972 .wp-core-ui .attachment.details { |
975 box-shadow: |
973 box-shadow: |
976 inset 0 0 0 3px #fff, |
974 inset 0 0 0 3px #fff, |
977 inset 0 0 0 7px #0073aa; |
975 inset 0 0 0 7px #2271b1; |
978 } |
976 } |
979 |
977 |
980 .wp-core-ui .attachment-preview { |
978 .wp-core-ui .attachment-preview { |
981 position: relative; |
979 position: relative; |
982 box-shadow: |
980 box-shadow: |
983 inset 0 0 15px rgba(0, 0, 0, 0.1), |
981 inset 0 0 15px rgba(0, 0, 0, 0.1), |
984 inset 0 0 0 1px rgba(0, 0, 0, 0.05); |
982 inset 0 0 0 1px rgba(0, 0, 0, 0.05); |
985 background: #eee; |
983 background: #f0f0f1; |
986 cursor: pointer; |
984 cursor: pointer; |
987 } |
985 } |
988 |
986 |
989 .wp-core-ui .attachment-preview:before { |
987 .wp-core-ui .attachment-preview:before { |
990 content: ""; |
988 content: ""; |
1125 } |
1123 } |
1126 |
1124 |
1127 .wp-core-ui .attachment.details .check, |
1125 .wp-core-ui .attachment.details .check, |
1128 .wp-core-ui .attachment.selected .check:focus, |
1126 .wp-core-ui .attachment.selected .check:focus, |
1129 .wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
1127 .wp-core-ui .media-frame.mode-grid .attachment.selected .check { |
1130 background-color: #0073aa; |
1128 background-color: #2271b1; |
1131 box-shadow: |
1129 box-shadow: |
1132 0 0 0 1px #fff, |
1130 0 0 0 1px #fff, |
1133 0 0 0 2px #0073aa; |
1131 0 0 0 2px #2271b1; |
1134 } |
1132 } |
1135 |
1133 |
1136 .wp-core-ui .attachment.selected .check:focus { |
1134 .wp-core-ui .attachment.selected .check:focus { |
1137 /* Only visible in Windows High Contrast mode */ |
1135 /* Only visible in Windows High Contrast mode */ |
1138 outline: 2px solid transparent; |
1136 outline: 2px solid transparent; |
1237 z-index: 1; |
1236 z-index: 1; |
1238 } |
1237 } |
1239 |
1238 |
1240 .uploader-inline .close:before { |
1239 .uploader-inline .close:before { |
1241 font: normal 30px/1 dashicons !important; |
1240 font: normal 30px/1 dashicons !important; |
1242 color: #555d66; |
1241 color: #50575e; |
1243 display: inline-block; |
1242 display: inline-block; |
1244 content: "\f335"; |
1243 content: "\f335"; |
1245 font-weight: 300; |
1244 font-weight: 300; |
1246 margin-top: 1px; |
1245 margin-top: 1px; |
1247 } |
1246 } |
1248 |
1247 |
1249 .uploader-inline .close:focus { |
1248 .uploader-inline .close:focus { |
1250 outline: 1px solid #5b9dd9; |
1249 outline: 1px solid #4f94d4; |
1251 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
1250 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
1252 } |
1251 } |
1253 |
1252 |
1254 .attachments-browser.hide-sidebar .attachments, |
1253 .attachments-browser.hide-sidebar .attachments, |
1255 .attachments-browser.hide-sidebar .uploader-inline { |
1254 .attachments-browser.hide-sidebar .uploader-inline { |
1256 right: 0; |
1255 right: 0; |
1260 .attachments-browser .instructions { |
1259 .attachments-browser .instructions { |
1261 display: inline-block; |
1260 display: inline-block; |
1262 margin-top: 16px; |
1261 margin-top: 16px; |
1263 line-height: 1.38461538; |
1262 line-height: 1.38461538; |
1264 font-size: 13px; |
1263 font-size: 13px; |
1265 color: #666; |
1264 color: #646970; |
1266 } |
1265 } |
1267 |
1266 |
1268 .attachments-browser .no-media { |
1267 .attachments-browser .no-media { |
1269 padding: 2em 0 0 2em; |
1268 padding: 2em 0 0 2em; |
|
1269 } |
|
1270 |
|
1271 .more-loaded .attachment:not(.found-media) { |
|
1272 background: #dcdcde; |
|
1273 } |
|
1274 |
|
1275 .load-more-wrapper { |
|
1276 clear: both; |
|
1277 display: flex; |
|
1278 flex-wrap: wrap; |
|
1279 align-items: center; |
|
1280 justify-content: center; |
|
1281 padding: 1em 0; |
|
1282 } |
|
1283 |
|
1284 .load-more-wrapper .load-more-count { |
|
1285 min-width: 100%; |
|
1286 margin: 0 0 1em; |
|
1287 text-align: center; |
|
1288 } |
|
1289 |
|
1290 .load-more-wrapper .load-more { |
|
1291 margin: 0; |
|
1292 } |
|
1293 |
|
1294 /* Needs high specificity. */ |
|
1295 .media-frame .load-more-wrapper .load-more + .spinner { |
|
1296 float: none; |
|
1297 margin: 0 -30px 0 10px; |
|
1298 } |
|
1299 |
|
1300 /* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */ |
|
1301 .media-frame .load-more-wrapper .load-more.hidden + .spinner { |
|
1302 margin: 0; |
|
1303 } |
|
1304 |
|
1305 /* Force a new row within the flex container. */ |
|
1306 .load-more-wrapper::after { |
|
1307 content: ""; |
|
1308 min-width: 100%; |
|
1309 order: 1; |
|
1310 } |
|
1311 |
|
1312 .load-more-wrapper .load-more-jump { |
|
1313 margin: 0 0 0 12px; |
|
1314 } |
|
1315 |
|
1316 .attachment.new-media { |
|
1317 outline: 2px dotted #c3c4c7; |
|
1318 } |
|
1319 |
|
1320 .load-more-wrapper { |
|
1321 clear: both; |
|
1322 display: flex; |
|
1323 flex-wrap: wrap; |
|
1324 align-items: center; |
|
1325 justify-content: center; |
|
1326 padding: 1em 0; |
|
1327 } |
|
1328 |
|
1329 .load-more-wrapper .load-more-count { |
|
1330 min-width: 100%; |
|
1331 margin: 0 0 1em; |
|
1332 text-align: center; |
|
1333 } |
|
1334 |
|
1335 .load-more-wrapper .load-more { |
|
1336 margin: 0; |
|
1337 } |
|
1338 |
|
1339 /* Needs high specificity. */ |
|
1340 .media-frame .load-more-wrapper .load-more + .spinner { |
|
1341 float: none; |
|
1342 margin: 0 -30px 0 10px; |
|
1343 } |
|
1344 |
|
1345 /* Reset spinner margin when the button is hidden to avoid horizontal scrollbar. */ |
|
1346 .media-frame .load-more-wrapper .load-more.hidden + .spinner { |
|
1347 margin: 0; |
|
1348 } |
|
1349 |
|
1350 /* Force a new row within the flex container. */ |
|
1351 .load-more-wrapper::after { |
|
1352 content: ""; |
|
1353 min-width: 100%; |
|
1354 order: 1; |
|
1355 } |
|
1356 |
|
1357 .load-more-wrapper .load-more-jump { |
|
1358 margin: 0 0 0 12px; |
1270 } |
1359 } |
1271 |
1360 |
1272 /** |
1361 /** |
1273 * Progress Bar |
1362 * Progress Bar |
1274 */ |
1363 */ |
1276 position: relative; |
1365 position: relative; |
1277 height: 10px; |
1366 height: 10px; |
1278 width: 70%; |
1367 width: 70%; |
1279 margin: 10px auto; |
1368 margin: 10px auto; |
1280 border-radius: 10px; |
1369 border-radius: 10px; |
1281 background: #ddd; |
1370 background: #dcdcde; |
1282 background: rgba(0, 0, 0, 0.1); |
1371 background: rgba(0, 0, 0, 0.1); |
1283 } |
1372 } |
1284 |
1373 |
1285 .media-progress-bar div { |
1374 .media-progress-bar div { |
1286 height: 10px; |
1375 height: 10px; |
1287 min-width: 20px; |
1376 min-width: 20px; |
1288 width: 0; |
1377 width: 0; |
1289 background: #0073aa; |
1378 background: #2271b1; |
1290 border-radius: 10px; |
1379 border-radius: 10px; |
1291 transition: width 300ms; |
1380 transition: width 300ms; |
1292 } |
1381 } |
1293 |
1382 |
1294 .media-uploader-status .media-progress-bar { |
1383 .media-uploader-status .media-progress-bar { |
1364 |
1453 |
1365 .media-uploader-status .upload-dismiss-errors::before { |
1454 .media-uploader-status .upload-dismiss-errors::before { |
1366 content: "\f153"; |
1455 content: "\f153"; |
1367 display: block; |
1456 display: block; |
1368 font: normal 16px/1 dashicons; |
1457 font: normal 16px/1 dashicons; |
1369 color: #72777c; |
1458 color: #787c82; |
1370 } |
1459 } |
1371 |
1460 |
1372 .uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before { |
1461 .uploader-inline .errors.media-uploader-status .upload-dismiss-errors::before { |
1373 color: #606a73; |
1462 color: #646970; |
1374 } |
1463 } |
1375 |
1464 |
1376 .errors.media-uploader-status .upload-dismiss-errors:hover::before, |
1465 .errors.media-uploader-status .upload-dismiss-errors:hover::before, |
1377 .errors.media-uploader-status .upload-dismiss-errors:focus::before { |
1466 .errors.media-uploader-status .upload-dismiss-errors:focus::before { |
1378 color: #c00; |
1467 color: #d63638; |
1379 } |
1468 } |
1380 |
1469 |
1381 .upload-errors .upload-error { |
1470 .upload-errors .upload-error { |
1382 padding: 12px; |
1471 padding: 12px; |
1383 margin-bottom: 12px; |
1472 margin-bottom: 12px; |
1384 background: #fff; |
1473 background: #fff; |
1385 border-left: 4px solid #dc3232; |
1474 border-left: 4px solid #d63638; |
1386 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
1475 box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1); |
1387 } |
1476 } |
1388 |
1477 |
1389 .uploader-inline .upload-errors .upload-error { |
1478 .uploader-inline .upload-errors .upload-error { |
1390 padding: 12px 30px; |
1479 padding: 12px 30px; |
1391 background-color: #fbeaea; |
1480 background-color: #fcf0f1; |
1392 box-shadow: none; |
1481 box-shadow: none; |
1393 } |
1482 } |
1394 |
1483 |
1395 .upload-errors .upload-error-filename { |
1484 .upload-errors .upload-error-filename { |
1396 font-weight: 600; |
1485 font-weight: 600; |
1423 } |
1512 } |
1424 |
1513 |
1425 .wp-editor-wrap .uploader-editor { |
1514 .wp-editor-wrap .uploader-editor { |
1426 position: absolute; |
1515 position: absolute; |
1427 z-index: 99998; /* under the toolbar */ |
1516 z-index: 99998; /* under the toolbar */ |
1428 background: rgba(150, 150, 150, 0.9); |
1517 background: rgba(140, 143, 148, 0.9); |
1429 } |
1518 } |
1430 |
1519 |
1431 .uploader-window, |
1520 .uploader-window, |
1432 .wp-editor-wrap .uploader-editor.droppable { |
1521 .wp-editor-wrap .uploader-editor.droppable { |
1433 background: rgba(0, 86, 132, 0.9); |
1522 background: rgba(10, 75, 120, 0.9); |
1434 } |
1523 } |
1435 |
1524 |
1436 .uploader-window-content, |
1525 .uploader-window-content, |
1437 .wp-editor-wrap .uploader-editor-content { |
1526 .wp-editor-wrap .uploader-editor-content { |
1438 position: absolute; |
1527 position: absolute; |
1588 .media-selection .button-link { |
1677 .media-selection .button-link { |
1589 float: left; |
1678 float: left; |
1590 padding: 1px 8px; |
1679 padding: 1px 8px; |
1591 margin: 1px 8px 1px -8px; |
1680 margin: 1px 8px 1px -8px; |
1592 line-height: 1.4; |
1681 line-height: 1.4; |
1593 border-right: 1px solid #ddd; |
1682 border-right: 1px solid #dcdcde; |
1594 color: #0073aa; |
1683 color: #2271b1; |
1595 text-decoration: none; |
1684 text-decoration: none; |
1596 } |
1685 } |
1597 |
1686 |
1598 .media-selection .button-link:hover, |
1687 .media-selection .button-link:hover, |
1599 .media-selection .button-link:focus { |
1688 .media-selection .button-link:focus { |
1600 color: #006799; |
1689 color: #135e96; |
1601 } |
1690 } |
1602 |
1691 |
1603 .media-selection .button-link:last-child { |
1692 .media-selection .button-link:last-child { |
1604 border-right: 0; |
1693 border-right: 0; |
1605 margin-right: 0; |
1694 margin-right: 0; |
1606 } |
1695 } |
1607 |
1696 |
1608 .selection-info .clear-selection { |
1697 .selection-info .clear-selection { |
1609 color: #bc0b0b; |
1698 color: #d63638; |
1610 } |
1699 } |
1611 |
1700 |
1612 .selection-info .clear-selection:hover, |
1701 .selection-info .clear-selection:hover, |
1613 .selection-info .clear-selection:focus { |
1702 .selection-info .clear-selection:focus { |
1614 color: #dc3232; |
1703 color: #d63638; |
1615 } |
1704 } |
1616 |
1705 |
1617 .media-selection .selection-view { |
1706 .media-selection .selection-view { |
1618 display: inline-block; |
1707 display: inline-block; |
1619 vertical-align: top; |
1708 vertical-align: top; |
1653 .wp-core-ui .media-selection .attachment:focus, |
1742 .wp-core-ui .media-selection .attachment:focus, |
1654 .wp-core-ui .media-selection .selected.attachment:focus, |
1743 .wp-core-ui .media-selection .selected.attachment:focus, |
1655 .wp-core-ui .media-selection .attachment.details:focus { |
1744 .wp-core-ui .media-selection .attachment.details:focus { |
1656 box-shadow: |
1745 box-shadow: |
1657 0 0 0 1px #fff, |
1746 0 0 0 1px #fff, |
1658 0 0 2px 3px #5b9dd9; |
1747 0 0 2px 3px #4f94d4; |
1659 /* Only visible in Windows High Contrast mode */ |
1748 /* Only visible in Windows High Contrast mode */ |
1660 outline: 2px solid transparent; |
1749 outline: 2px solid transparent; |
1661 } |
1750 } |
1662 |
1751 |
1663 .wp-core-ui .media-selection .selected.attachment { |
1752 .wp-core-ui .media-selection .selected.attachment { |
1665 } |
1754 } |
1666 |
1755 |
1667 .wp-core-ui .media-selection .attachment.details { |
1756 .wp-core-ui .media-selection .attachment.details { |
1668 box-shadow: |
1757 box-shadow: |
1669 0 0 0 1px #fff, |
1758 0 0 0 1px #fff, |
1670 0 0 0 3px #0073aa; |
1759 0 0 0 3px #2271b1; |
1671 } |
1760 } |
1672 |
1761 |
1673 .media-selection:after { |
1762 .media-selection:after { |
1674 content: ""; |
1763 content: ""; |
1675 display: block; |
1764 display: block; |
1676 position: absolute; |
1765 position: absolute; |
1677 top: 0; |
1766 top: 0; |
1678 right: 0; |
1767 right: 0; |
1679 bottom: 0; |
1768 bottom: 0; |
1680 width: 25px; |
1769 width: 25px; |
1681 background-image: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0)); |
1770 background-image: linear-gradient(to left,#fff,rgba(255, 255, 255, 0)); |
1682 } |
1771 } |
1683 |
1772 |
1684 .media-selection .attachment .filename { |
1773 .media-selection .attachment .filename { |
1685 display: none; |
1774 display: none; |
1686 } |
1775 } |
1756 .attachment-info { |
1845 .attachment-info { |
1757 overflow: hidden; |
1846 overflow: hidden; |
1758 min-height: 60px; |
1847 min-height: 60px; |
1759 margin-bottom: 16px; |
1848 margin-bottom: 16px; |
1760 line-height: 1.5; |
1849 line-height: 1.5; |
1761 color: #666; |
1850 color: #646970; |
1762 border-bottom: 1px solid #ddd; |
1851 border-bottom: 1px solid #dcdcde; |
1763 padding-bottom: 11px; |
1852 padding-bottom: 11px; |
|
1853 } |
|
1854 |
|
1855 .attachment-info .wp-media-wrapper { |
|
1856 margin-bottom: 8px; |
|
1857 } |
|
1858 |
|
1859 .attachment-info .wp-media-wrapper.wp-audio { |
|
1860 margin-top: 13px; |
1764 } |
1861 } |
1765 |
1862 |
1766 .attachment-info .filename { |
1863 .attachment-info .filename { |
1767 font-weight: 600; |
1864 font-weight: 600; |
1768 color: #444; |
1865 color: #3c434a; |
1769 word-wrap: break-word; |
1866 word-wrap: break-word; |
1770 } |
1867 } |
1771 |
1868 |
1772 .attachment-info .thumbnail { |
1869 .attachment-info .thumbnail { |
1773 position: relative; |
1870 position: relative; |
1834 .media-modal .delete-attachment, |
1931 .media-modal .delete-attachment, |
1835 .media-modal .trash-attachment, |
1932 .media-modal .trash-attachment, |
1836 .media-modal .untrash-attachment { |
1933 .media-modal .untrash-attachment { |
1837 display: inline; |
1934 display: inline; |
1838 padding: 0; |
1935 padding: 0; |
1839 color: #bc0b0b; |
1936 color: #d63638; |
1840 } |
1937 } |
1841 |
1938 |
1842 .media-modal .delete-attachment:hover, |
1939 .media-modal .delete-attachment:hover, |
1843 .media-modal .delete-attachment:focus, |
1940 .media-modal .delete-attachment:focus, |
1844 .media-modal .trash-attachment:hover, |
1941 .media-modal .trash-attachment:hover, |
1845 .media-modal .trash-attachment:focus, |
1942 .media-modal .trash-attachment:focus, |
1846 .media-modal .untrash-attachment:hover, |
1943 .media-modal .untrash-attachment:hover, |
1847 .media-modal .untrash-attachment:focus { |
1944 .media-modal .untrash-attachment:focus { |
1848 color: #dc3232; |
1945 color: #d63638; |
1849 } |
1946 } |
1850 |
1947 |
1851 /** |
1948 /** |
1852 * Attachment Display Settings |
1949 * Attachment Display Settings |
1853 */ |
1950 */ |
1895 .media-modal .imgedit-wrap .imgedit-submit { |
1992 .media-modal .imgedit-wrap .imgedit-submit { |
1896 margin-bottom: 16px; |
1993 margin-bottom: 16px; |
1897 } |
1994 } |
1898 |
1995 |
1899 .media-modal .imgedit-wrap .imgedit-settings { |
1996 .media-modal .imgedit-wrap .imgedit-settings { |
1900 background: #f3f3f3; |
1997 background: #f6f7f7; |
1901 border-left: 1px solid #ddd; |
1998 border-left: 1px solid #dcdcde; |
1902 padding: 20px 16px 0; |
1999 padding: 20px 16px 0; |
1903 position: absolute; |
2000 position: absolute; |
1904 top: 0; |
2001 top: 0; |
1905 right: 0; |
2002 right: 0; |
1906 bottom: 0; |
2003 bottom: 0; |
1941 .media-modal .imgedit-group-top h2, |
2038 .media-modal .imgedit-group-top h2, |
1942 .media-modal .imgedit-group-top h2 .button-link { |
2039 .media-modal .imgedit-group-top h2 .button-link { |
1943 display: inline-block; |
2040 display: inline-block; |
1944 text-transform: uppercase; |
2041 text-transform: uppercase; |
1945 font-size: 12px; |
2042 font-size: 12px; |
1946 color: #666; |
2043 color: #646970; |
1947 margin: 0; |
2044 margin: 0; |
1948 margin-top: 3px; |
2045 margin-top: 3px; |
1949 } |
2046 } |
1950 |
2047 |
1951 .media-modal .imgedit-group-top h2 a, |
2048 .media-modal .imgedit-group-top h2 a, |
1952 .media-modal .imgedit-group-top h2 .button-link { |
2049 .media-modal .imgedit-group-top h2 .button-link { |
1953 text-decoration: none; |
2050 text-decoration: none; |
1954 color: #666; |
2051 color: #646970; |
1955 } |
2052 } |
1956 |
2053 |
1957 /* higher specificity than media.css */ |
2054 /* higher specificity than media.css */ |
1958 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle, |
2055 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle, |
1959 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover, |
2056 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:hover, |
1960 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active { |
2057 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:active { |
1961 border: 1px solid transparent; |
2058 border: 1px solid transparent; |
1962 margin: 0; |
2059 margin: 0; |
1963 padding: 0; |
2060 padding: 0; |
1964 background: transparent; |
2061 background: transparent; |
1965 color: #0074a2; |
2062 color: #2271b1; |
1966 font-size: 20px; |
2063 font-size: 20px; |
1967 line-height: 1; |
2064 line-height: 1; |
1968 cursor: pointer; |
2065 cursor: pointer; |
1969 box-sizing: content-box; |
2066 box-sizing: content-box; |
1970 box-shadow: none; |
2067 box-shadow: none; |
1971 } |
2068 } |
1972 |
2069 |
1973 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { |
2070 .wp-core-ui.media-modal .image-editor .imgedit-help-toggle:focus { |
1974 color: #0074a2; |
2071 color: #2271b1; |
1975 border-color: #5b9dd9; |
2072 border-color: #4f94d4; |
1976 box-shadow: 0 0 3px rgba(0, 115, 170, 0.8); |
2073 box-shadow: 0 0 3px rgba(34, 113, 177, 0.8); |
1977 /* Only visible in Windows High Contrast mode */ |
2074 /* Only visible in Windows High Contrast mode */ |
1978 outline: 2px solid transparent; |
2075 outline: 2px solid transparent; |
1979 } |
2076 } |
1980 |
2077 |
1981 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { |
2078 .wp-core-ui.media-modal .imgedit-group-top .dashicons-arrow-down.imgedit-help-toggle { |
2115 .image-details .embed-media-settings div { |
2212 .image-details .embed-media-settings div { |
2116 box-sizing: border-box; |
2213 box-sizing: border-box; |
2117 } |
2214 } |
2118 |
2215 |
2119 .image-details .column-settings { |
2216 .image-details .column-settings { |
2120 background: #f3f3f3; |
2217 background: #f6f7f7; |
2121 border-right: 1px solid #ddd; |
2218 border-right: 1px solid #dcdcde; |
2122 min-height: 100%; |
2219 min-height: 100%; |
2123 width: 55%; |
2220 width: 55%; |
2124 position: absolute; |
2221 position: absolute; |
2125 top: 0; |
2222 top: 0; |
2126 left: 0; |
2223 left: 0; |
2127 } |
2224 } |
2128 |
2225 |
2129 .image-details .column-settings h2 { |
2226 .image-details .column-settings h2 { |
2130 margin: 20px; |
2227 margin: 20px; |
2131 padding-top: 20px; |
2228 padding-top: 20px; |
2132 border-top: 1px solid #ddd; |
2229 border-top: 1px solid #dcdcde; |
2133 color: #23282d; |
2230 color: #1d2327; |
2134 } |
2231 } |
2135 |
2232 |
2136 .image-details .column-image { |
2233 .image-details .column-image { |
2137 width: 45%; |
2234 width: 45%; |
2138 position: absolute; |
2235 position: absolute; |
2149 max-height: 500px; |
2246 max-height: 500px; |
2150 } |
2247 } |
2151 |
2248 |
2152 .image-details .advanced-toggle { |
2249 .image-details .advanced-toggle { |
2153 padding: 0; |
2250 padding: 0; |
2154 color: #666; |
2251 color: #646970; |
2155 text-transform: uppercase; |
2252 text-transform: uppercase; |
2156 text-decoration: none; |
2253 text-decoration: none; |
2157 } |
2254 } |
2158 |
2255 |
2159 .image-details .advanced-toggle:hover, |
2256 .image-details .advanced-toggle:hover, |
2160 .image-details .advanced-toggle:active { |
2257 .image-details .advanced-toggle:active { |
2161 color: #666; |
2258 color: #646970; |
2162 } |
2259 } |
2163 |
2260 |
2164 .image-details .advanced-toggle:after { |
2261 .image-details .advanced-toggle:after { |
2165 font: normal 20px/1 dashicons; |
2262 font: normal 20px/1 dashicons; |
2166 speak: none; |
2263 speak: never; |
2167 vertical-align: top; |
2264 vertical-align: top; |
2168 -webkit-font-smoothing: antialiased; |
2265 -webkit-font-smoothing: antialiased; |
2169 -moz-osx-font-smoothing: grayscale; |
2266 -moz-osx-font-smoothing: grayscale; |
2170 content: "\f140"; |
2267 content: "\f140"; |
2171 display: inline-block; |
2268 display: inline-block; |
2316 .media-embed .setting .name, |
2413 .media-embed .setting .name, |
2317 .media-embed .setting-group .name { |
2414 .media-embed .setting-group .name { |
2318 display: inline-block; |
2415 display: inline-block; |
2319 font-size: 13px; |
2416 font-size: 13px; |
2320 line-height: 1.84615384; |
2417 line-height: 1.84615384; |
2321 color: #666; |
2418 color: #646970; |
2322 } |
2419 } |
2323 |
2420 |
2324 .media-embed .setting span { |
2421 .media-embed .setting span { |
2325 display: block; /* Back-compat for pre-5.3 */ |
2422 display: block; /* Back-compat for pre-5.3 */ |
2326 width: 200px; /* Back-compat for pre-5.3 */ |
2423 width: 200px; /* Back-compat for pre-5.3 */ |
2518 width: 230px; |
2615 width: 230px; |
2519 } |
2616 } |
2520 |
2617 |
2521 .attachments-browser .attachments, |
2618 .attachments-browser .attachments, |
2522 .attachments-browser .uploader-inline, |
2619 .attachments-browser .uploader-inline, |
2523 .attachments-browser .media-toolbar { |
2620 .attachments-browser .media-toolbar, |
|
2621 .attachments-browser .attachments-wrapper, |
|
2622 .attachments-browser.has-load-more .attachments-wrapper { |
2524 right: 262px; |
2623 right: 262px; |
2525 } |
2624 } |
2526 |
2625 |
2527 .media-sidebar .setting, |
2626 .media-sidebar .setting, |
2528 .attachment-details .setting { |
2627 .attachment-details .setting { |
2785 bottom: 0; |
2884 bottom: 0; |
2786 } |
2885 } |
2787 |
2886 |
2788 .attachments-browser .attachments, |
2887 .attachments-browser .attachments, |
2789 .attachments-browser .uploader-inline, |
2888 .attachments-browser .uploader-inline, |
2790 .attachments-browser .media-toolbar { |
2889 .attachments-browser .media-toolbar, |
|
2890 .media-frame-content .attachments-browser .attachments-wrapper { |
2791 right: 0; |
2891 right: 0; |
|
2892 } |
|
2893 |
|
2894 .attachments-browser .attachments-wrapper { |
|
2895 padding-top: 12px; |
2792 } |
2896 } |
2793 |
2897 |
2794 .image-details .media-frame-title { |
2898 .image-details .media-frame-title { |
2795 display: block; |
2899 display: block; |
2796 top: 0; |
2900 top: 0; |
2810 |
2914 |
2811 /* Media tabs on the top */ |
2915 /* Media tabs on the top */ |
2812 .media-frame-content .media-toolbar .instructions { |
2916 .media-frame-content .media-toolbar .instructions { |
2813 display: none; |
2917 display: none; |
2814 } |
2918 } |
|
2919 |
|
2920 /* Change margin direction on load more button in responsive views. */ |
|
2921 .load-more-wrapper .load-more-jump { |
|
2922 margin: 12px 0 0 0; |
|
2923 } |
|
2924 |
2815 } |
2925 } |
2816 |
2926 |
2817 @media only screen and (min-width: 901px) and (max-height: 400px) { |
2927 @media only screen and (min-width: 901px) and (max-height: 400px) { |
2818 .media-menu, |
2928 .media-menu, |
2819 .media-frame:not(.hide-menu) .media-menu { |
2929 .media-frame:not(.hide-menu) .media-menu { |
2820 top: 0; |
2930 top: 0; |
2821 padding-top: 44px; |
2931 padding-top: 44px; |
2822 } |
2932 } |
|
2933 |
|
2934 /* Change margin direction on load more button in responsive views. */ |
|
2935 .load-more-wrapper .load-more-jump { |
|
2936 margin: 12px 0 0 0; |
|
2937 } |
|
2938 |
2823 } |
2939 } |
2824 |
2940 |
2825 @media only screen and (max-width: 480px) { |
2941 @media only screen and (max-width: 480px) { |
2826 .wp-core-ui.wp-customizer .media-button { |
2942 .wp-core-ui.wp-customizer .media-button { |
2827 margin-top: 13px; |
2943 margin-top: 13px; |