144 #post-status-select { |
145 #post-status-select { |
145 margin-top: 3px; |
146 margin-top: 3px; |
146 } |
147 } |
147 |
148 |
148 /* Post Screen */ |
149 /* Post Screen */ |
149 #post-body #normal-sortables { |
150 |
150 min-height: 50px; |
151 /* Only highlight drop zones when dragging and only in the 2 columns layout. */ |
|
152 .is-dragging-metaboxes .metabox-holder .postbox-container .meta-box-sortables { |
|
153 outline: 3px dashed #606a73; |
|
154 /* Prevent margin on the child from collapsing with margin on the parent. */ |
|
155 display: flow-root; |
|
156 /* |
|
157 * This min-height is meant to limit jumpiness while dragging. It's equivalent |
|
158 * to the minimum height of the sortable-placeholder which is given by the height |
|
159 * of a collapsed post box (36px + 1px top and bottom borders) + the placeholder |
|
160 * bottom margin (20px) + 2 additional pixels to compensate browsers rounding. |
|
161 */ |
|
162 min-height: 60px; |
|
163 margin-bottom: 20px; |
151 } |
164 } |
152 |
165 |
153 .postbox { |
166 .postbox { |
154 position: relative; |
167 position: relative; |
155 min-width: 255px; |
168 min-width: 255px; |
156 border: 1px solid #e5e5e5; |
169 border: 1px solid #ccd0d4; |
157 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
170 box-shadow: 0 1px 1px rgba(0, 0, 0, 0.04); |
158 background: #fff; |
171 background: #fff; |
159 } |
172 } |
160 |
173 |
161 #trackback_url { |
174 #trackback_url { |
446 |
458 |
447 #post-body .misc-pub-post-status:before, |
459 #post-body .misc-pub-post-status:before, |
448 #post-body #visibility:before, |
460 #post-body #visibility:before, |
449 .curtime #timestamp:before, |
461 .curtime #timestamp:before, |
450 #post-body .misc-pub-revisions:before, |
462 #post-body .misc-pub-revisions:before, |
451 span.wp-media-buttons-icon:before { |
463 #post-body .misc-pub-response-to:before, |
|
464 #post-body .misc-pub-comment-status:before { |
452 color: #82878c; |
465 color: #82878c; |
453 } |
466 } |
454 |
467 |
455 #post-body .misc-pub-post-status:before, |
468 #post-body .misc-pub-post-status:before, |
456 #post-body #visibility:before, |
469 #post-body #visibility:before, |
457 .curtime #timestamp:before, |
470 .curtime #timestamp:before, |
458 #post-body .misc-pub-revisions:before { |
471 #post-body .misc-pub-revisions:before, |
|
472 #post-body .misc-pub-response-to:before, |
|
473 #post-body .misc-pub-comment-status:before { |
459 font: normal 20px/1 dashicons; |
474 font: normal 20px/1 dashicons; |
460 speak: none; |
475 speak: none; |
461 display: inline-block; |
476 display: inline-block; |
462 margin-left: -1px; |
477 margin-left: -1px; |
463 padding-right: 3px; |
478 padding-right: 3px; |
464 vertical-align: top; |
479 vertical-align: top; |
465 -webkit-font-smoothing: antialiased; |
480 -webkit-font-smoothing: antialiased; |
466 -moz-osx-font-smoothing: grayscale; |
481 -moz-osx-font-smoothing: grayscale; |
467 } |
482 } |
468 |
483 |
469 #post-body .misc-pub-post-status:before { |
484 #post-body .misc-pub-post-status:before, |
|
485 #post-body .misc-pub-comment-status:before { |
470 content: "\f173"; |
486 content: "\f173"; |
471 } |
487 } |
472 |
488 |
473 #post-body #visibility:before { |
489 #post-body #visibility:before { |
474 content: "\f177"; |
490 content: "\f177"; |
623 #poststuff .inside #parent_id, |
645 #poststuff .inside #parent_id, |
624 #poststuff .inside #page_template { |
646 #poststuff .inside #page_template { |
625 max-width: 100%; |
647 max-width: 100%; |
626 } |
648 } |
627 |
649 |
628 .ie8 #poststuff .inside #parent_id, |
|
629 .ie8 #poststuff .inside #page_template { |
|
630 width: 250px; |
|
631 } |
|
632 |
|
633 .post-attributes-label-wrapper { |
650 .post-attributes-label-wrapper { |
634 margin-bottom: 0.5em; |
651 margin-bottom: 0.5em; |
635 } |
652 } |
636 |
653 |
637 .post-attributes-label { |
654 .post-attributes-label { |
638 vertical-align: baseline; |
655 vertical-align: baseline; |
639 font-weight: 600; |
656 font-weight: 600; |
640 } |
657 } |
641 |
658 |
642 #post-visibility-select { |
659 #post-visibility-select, |
643 line-height: 1.5em; |
660 #comment-status-radio { |
|
661 line-height: 1.5; |
644 margin-top: 3px; |
662 margin-top: 3px; |
645 } |
663 } |
646 |
664 |
647 #linksubmitdiv .inside, /* Old Link Manager back-compat. */ |
665 #linksubmitdiv .inside, /* Old Link Manager back-compat. */ |
648 #poststuff #submitdiv .inside { |
666 #poststuff #submitdiv .inside { |
698 .privacy-text-section.text-removed { |
722 .privacy-text-section.text-removed { |
699 padding-bottom: 12px; |
723 padding-bottom: 12px; |
700 } |
724 } |
701 |
725 |
702 .text-removed .policy-text { |
726 .text-removed .policy-text { |
703 font-style: italic; |
|
704 color: #666; |
727 color: #666; |
705 font-weight: 600; |
728 font-weight: 600; |
706 } |
729 } |
707 |
730 |
708 .privacy-text-actions { |
731 .privacy-text-actions { |
|
732 display: inline-block; |
|
733 width: 100%; |
709 height: 32px; |
734 height: 32px; |
710 line-height: 32px; |
735 line-height: 2.46153846; |
711 padding-bottom: 6px; |
736 padding-bottom: 6px; |
|
737 } |
|
738 |
|
739 .privacy-text-actions .success { |
|
740 display: none; |
|
741 color: #40860a; |
|
742 float: right; |
|
743 padding-right: 1em; |
|
744 } |
|
745 |
|
746 .privacy-text-actions .success.visible { |
|
747 display: inline-block; |
|
748 height: 32px; |
712 } |
749 } |
713 |
750 |
714 .wp-privacy-policy-guide .policy-text h2 { |
751 .wp-privacy-policy-guide .policy-text h2 { |
715 margin: 1.2em 0 1em; |
752 margin: 1.2em 0 1em; |
716 padding: 0; |
753 padding: 0; |
718 |
755 |
719 .suggested-policy-content { |
756 .suggested-policy-content { |
720 font-style: italic; |
757 font-style: italic; |
721 } |
758 } |
722 |
759 |
723 .privacy-text-section a.return-to-top { |
760 .privacy-text-section .return-to-top { |
724 float: right; |
761 float: right; |
725 margin-right: -250px; |
762 margin-right: -250px; |
726 margin-top: 6px; |
763 margin-top: 6px; |
727 } |
764 } |
728 |
765 |
|
766 #wpbody:target:before { |
|
767 content: ""; |
|
768 display: block; |
|
769 padding-top: 50px; |
|
770 margin-top: -50px; |
|
771 } |
|
772 |
|
773 .hide-privacy-policy-tutorial { |
|
774 background-color: #fff; |
|
775 } |
|
776 |
|
777 .hide-privacy-policy-tutorial .wp-policy-help, /* For back-compat, see #49282 */ |
729 .hide-privacy-policy-tutorial .privacy-policy-tutorial { |
778 .hide-privacy-policy-tutorial .privacy-policy-tutorial { |
730 visibility: hidden; |
779 display: none; |
731 } |
780 } |
732 |
781 |
733 .wp-suggested-text p { |
782 .policy-text { |
734 font-style: italic; |
783 margin-bottom: 1em; |
735 } |
784 } |
736 |
785 |
737 .wp-suggested-text p.privacy-policy-tutorial { |
786 .policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), |
738 font-style: normal; |
787 .policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { |
|
788 background-color: #fff; |
|
789 margin: 0; |
|
790 padding: 1em; |
|
791 } |
|
792 |
|
793 .policy-text > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help), |
|
794 .policy-text div > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) + *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { |
|
795 padding-top: 0; |
|
796 } |
|
797 |
|
798 .hide-privacy-policy-tutorial > *:not(h1):not(h2):not(h3):not(h4):not(h5):not(h6):not(div):not(.privacy-policy-tutorial):not(.wp-policy-help) { |
|
799 margin: 1em 0; |
|
800 padding: 0; |
|
801 } |
|
802 |
|
803 .policy-text ul li, |
|
804 .policy-text ol li { |
|
805 margin-left: 2em; |
|
806 } |
|
807 |
|
808 .policy-text ul { |
|
809 list-style: disc; |
|
810 } |
|
811 |
|
812 strong.wp-policy-help, /* For back-compat, see #49282 */ |
|
813 strong.privacy-policy-tutorial { |
|
814 display: block; |
|
815 margin: 0 0 1em; |
739 } |
816 } |
740 |
817 |
741 .notice.wp-pp-notice { |
818 .notice.wp-pp-notice { |
742 margin: 15px 0 3px; |
819 margin: 15px 0 3px; |
743 } |
820 } |
876 -webkit-font-smoothing: antialiased; |
953 -webkit-font-smoothing: antialiased; |
877 -moz-osx-font-smoothing: grayscale; |
954 -moz-osx-font-smoothing: grayscale; |
878 } |
955 } |
879 |
956 |
880 a.post-format-icon:hover:before { |
957 a.post-format-icon:hover:before { |
881 color: #00a0d2; |
958 color: #006799; |
882 } |
959 } |
883 |
960 |
884 #post-formats-select { |
961 #post-formats-select { |
885 line-height: 2em; |
962 line-height: 2; |
886 } |
963 } |
887 |
964 |
888 #post-formats-select .post-format-icon::before { |
965 #post-formats-select .post-format-icon::before { |
889 top: 5px; |
966 top: 5px; |
890 } |
967 } |
974 |
1051 |
975 div.tabs-panel-inactive { |
1052 div.tabs-panel-inactive { |
976 display: none; |
1053 display: none; |
977 } |
1054 } |
978 |
1055 |
|
1056 div.tabs-panel-active:focus { |
|
1057 box-shadow: inset 0 0 0 1px #5b9dd9, inset 0 0 2px 1px rgba(30, 140, 190, 0.8); |
|
1058 outline: 0 none; |
|
1059 } |
|
1060 |
979 #front-page-warning, |
1061 #front-page-warning, |
980 #front-static-pages ul, |
1062 #front-static-pages ul, |
981 ul.export-filters, |
1063 ul.export-filters, |
982 .inline-editor ul.cat-checklist ul, |
1064 .inline-editor ul.cat-checklist ul, |
983 .categorydiv ul.categorychecklist ul, |
1065 .categorydiv ul.categorychecklist ul, |
1364 background-image: url(../images/resize-rtl-2x.gif); |
1463 background-image: url(../images/resize-rtl-2x.gif); |
1365 background-position: left bottom; |
1464 background-position: left bottom; |
1366 } |
1465 } |
1367 } |
1466 } |
1368 |
1467 |
|
1468 /* |
|
1469 * The edit attachment screen auto-switches to one column layout when the |
|
1470 * viewport is smaller than 1200 pixels. |
|
1471 */ |
|
1472 @media only screen and (max-width: 1200px) { |
|
1473 .post-type-attachment #poststuff { |
|
1474 min-width: 0; |
|
1475 } |
|
1476 |
|
1477 .post-type-attachment #wpbody-content #poststuff #post-body { |
|
1478 margin: 0; |
|
1479 } |
|
1480 |
|
1481 .post-type-attachment #wpbody-content #post-body.columns-2 #postbox-container-1 { |
|
1482 margin-right: 0; |
|
1483 width: 100%; |
|
1484 } |
|
1485 |
|
1486 .post-type-attachment #poststuff #postbox-container-1 .empty-container, |
|
1487 .post-type-attachment #poststuff #postbox-container-1 #side-sortables:empty { |
|
1488 outline: none; |
|
1489 height: 0; |
|
1490 min-height: 0; |
|
1491 } |
|
1492 |
|
1493 .post-type-attachment #poststuff #post-body.columns-2 #side-sortables { |
|
1494 min-height: 0; |
|
1495 width: auto; |
|
1496 } |
|
1497 |
|
1498 .is-dragging-metaboxes.post-type-attachment #post-body .meta-box-sortables { |
|
1499 outline: none; |
|
1500 min-height: 0; |
|
1501 margin-bottom: 0; |
|
1502 } |
|
1503 |
|
1504 /* hide the radio buttons for column prefs */ |
|
1505 .post-type-attachment .screen-layout, |
|
1506 .post-type-attachment .columns-prefs { |
|
1507 display: none; |
|
1508 } |
|
1509 } |
|
1510 |
1369 /* one column on the post write/edit screen */ |
1511 /* one column on the post write/edit screen */ |
1370 @media only screen and (max-width: 850px) { |
1512 @media only screen and (max-width: 850px) { |
1371 #poststuff { |
1513 #poststuff { |
1372 min-width: 0; |
1514 min-width: 0; |
1373 } |
1515 } |
1381 width: 100%; |
1523 width: 100%; |
1382 } |
1524 } |
1383 |
1525 |
1384 #poststuff #postbox-container-1 .empty-container, |
1526 #poststuff #postbox-container-1 .empty-container, |
1385 #poststuff #postbox-container-1 #side-sortables:empty { |
1527 #poststuff #postbox-container-1 #side-sortables:empty { |
1386 border: 0 none; |
|
1387 height: 0; |
1528 height: 0; |
1388 min-height: 0; |
1529 min-height: 0; |
1389 } |
1530 } |
1390 |
1531 |
1391 #poststuff #post-body.columns-2 #side-sortables { |
1532 #poststuff #post-body.columns-2 #side-sortables { |
1392 min-height: 0; |
1533 min-height: 0; |
1393 width: auto; |
1534 width: auto; |
|
1535 } |
|
1536 |
|
1537 /* Increase min-height while dragging for the #side-sortables and any potential sortables area with custom ID. */ |
|
1538 .is-dragging-metaboxes #poststuff #postbox-container-1 .empty-container, |
|
1539 .is-dragging-metaboxes #poststuff #postbox-container-1 #side-sortables:empty, |
|
1540 .is-dragging-metaboxes #poststuff #post-body.columns-2 #side-sortables, |
|
1541 .is-dragging-metaboxes #poststuff #post-body.columns-2 .meta-box-sortables { |
|
1542 height: auto; |
|
1543 min-height: 60px; |
1394 } |
1544 } |
1395 |
1545 |
1396 /* hide the radio buttons for column prefs */ |
1546 /* hide the radio buttons for column prefs */ |
1397 .screen-layout, |
1547 .screen-layout, |
1398 .columns-prefs { |
1548 .columns-prefs { |