| @@ -67,8 +67,14 @@ | ||
| 67 | 67 | /** |
| 68 | 68 | * Focus styles. |
| 69 | 69 | */ |
| 70 | 70 | /** |
| 71 | + * Standard focus rings for the WordPress Design System. | |
| 72 | + * | |
| 73 | + * Apply `outset-ring__focus` inside the relevant pseudo-class at the call site, | |
| 74 | + * e.g. `&:focus { @include outset-ring__focus(); }`. | |
| 75 | + */ | |
| 76 | +/** | |
| 71 | 77 | * Applies editor left position to the selector passed as argument |
| 72 | 78 | */ |
| 73 | 79 | /** |
| 74 | 80 | * Styles that are reused verbatim in a few places |
| @@ -97,9 +103,9 @@ | ||
| 97 | 103 | display: block; |
| 98 | 104 | } |
| 99 | 105 | .block-library-utils__media-control .block-library-utils__media-control__replace-flow button.components-button { |
| 100 | 106 | color: #1e1e1e; |
| 101 | - box-shadow: inset 0 0 0 1px #ccc; | |
| 107 | + border-color: #ccc; | |
| 102 | 108 | width: 100%; |
| 103 | 109 | display: block; |
| 104 | 110 | height: 40px; |
| 105 | 111 | padding-left: 32px; |
| @@ -106,11 +112,8 @@ | ||
| 106 | 112 | } |
| 107 | 113 | .block-library-utils__media-control .block-library-utils__media-control__replace-flow button.components-button:hover { |
| 108 | 114 | color: var(--wp-admin-theme-color); |
| 109 | 115 | } |
| 110 | -.block-library-utils__media-control .block-library-utils__media-control__replace-flow button.components-button:focus { | |
| 111 | - box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color); | |
| 112 | -} | |
| 113 | 116 | |
| 114 | 117 | .block-library-utils__media-control__inspector-media-replace-title { |
| 115 | 118 | word-break: break-all; |
| 116 | 119 | white-space: normal; |
| @@ -334,9 +337,9 @@ | ||
| 334 | 337 | font-size: 0.875em; |
| 335 | 338 | line-height: 1.5; |
| 336 | 339 | } |
| 337 | 340 | .wp-block-post-comments .comment-meta b, .wp-block-comments__legacy-placeholder .comment-meta b { |
| 338 | - font-weight: normal; | |
| 341 | + font-weight: 400; | |
| 339 | 342 | } |
| 340 | 343 | .wp-block-post-comments .comment-meta .comment-awaiting-moderation, .wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation { |
| 341 | 344 | margin-top: 1em; |
| 342 | 345 | margin-bottom: 1em; |
| @@ -344,18 +347,8 @@ | ||
| 344 | 347 | } |
| 345 | 348 | .wp-block-post-comments .comment-body .commentmetadata, .wp-block-comments__legacy-placeholder .comment-body .commentmetadata { |
| 346 | 349 | font-size: 0.875em; |
| 347 | 350 | } |
| 348 | -.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label, | |
| 349 | -.wp-block-post-comments .comment-form-author label, | |
| 350 | -.wp-block-comments__legacy-placeholder .comment-form-author label, | |
| 351 | -.wp-block-post-comments .comment-form-email label, | |
| 352 | -.wp-block-comments__legacy-placeholder .comment-form-email label, | |
| 353 | -.wp-block-post-comments .comment-form-url label, | |
| 354 | -.wp-block-comments__legacy-placeholder .comment-form-url label { | |
| 355 | - display: block; | |
| 356 | - margin-bottom: 0.25em; | |
| 357 | -} | |
| 358 | 351 | .wp-block-post-comments .comment-form textarea, .wp-block-comments__legacy-placeholder .comment-form textarea, |
| 359 | 352 | .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]), |
| 360 | 353 | .wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]) { |
| 361 | 354 | display: block; |
| @@ -392,8 +385,16 @@ | ||
| 392 | 385 | .wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]) { |
| 393 | 386 | padding: calc(0.667em + 2px); |
| 394 | 387 | } |
| 395 | 388 | |
| 389 | +:where(.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label), | |
| 390 | +:where(.wp-block-post-comments .comment-form-author label, .wp-block-comments__legacy-placeholder .comment-form-author label), | |
| 391 | +:where(.wp-block-post-comments .comment-form-email label, .wp-block-comments__legacy-placeholder .comment-form-email label), | |
| 392 | +:where(.wp-block-post-comments .comment-form-url label, .wp-block-comments__legacy-placeholder .comment-form-url label) { | |
| 393 | + display: block; | |
| 394 | + margin-bottom: 0.25em; | |
| 395 | +} | |
| 396 | + | |
| 396 | 397 | :where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) { |
| 397 | 398 | border: none; |
| 398 | 399 | } |
| 399 | 400 | |
| @@ -475,8 +476,11 @@ | ||
| 475 | 476 | } |
| 476 | 477 | .wp-block-cover.is-transient .wp-block-cover__inner-container { |
| 477 | 478 | z-index: 2; |
| 478 | 479 | } |
| 480 | +.wp-block-cover.is-transient .components-spinner { | |
| 481 | + z-index: 3; | |
| 482 | +} | |
| 479 | 483 | .wp-block-cover .components-spinner { |
| 480 | 484 | position: absolute; |
| 481 | 485 | top: 50%; |
| 482 | 486 | right: 50%; |
| @@ -548,9 +552,10 @@ | ||
| 548 | 552 | .wp-block-embed .wp-block-embed__placeholder-input { |
| 549 | 553 | flex: 1 1 auto; |
| 550 | 554 | } |
| 551 | 555 | .wp-block-embed .components-placeholder__error { |
| 552 | - word-break: break-word; | |
| 556 | + word-break: normal; | |
| 557 | + overflow-wrap: break-word; | |
| 553 | 558 | } |
| 554 | 559 | |
| 555 | 560 | .wp-block-post-content .wp-block-embed__learn-more a { |
| 556 | 561 | color: var(--wp-admin-theme-color); |
| @@ -616,59 +621,8 @@ | ||
| 616 | 621 | display: inline-block; |
| 617 | 622 | margin-right: 0.75em; |
| 618 | 623 | } |
| 619 | 624 | |
| 620 | -.wp-block-form-input .is-input-hidden { | |
| 621 | - display: flex; | |
| 622 | - position: relative; | |
| 623 | - font-size: 0.85em; | |
| 624 | - opacity: 0.3; | |
| 625 | - border: 1px dashed; | |
| 626 | - padding: 0.5em; | |
| 627 | - box-sizing: border-box; | |
| 628 | - background: repeating-linear-gradient(-45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px); | |
| 629 | - justify-content: center; | |
| 630 | - align-items: center; | |
| 631 | -} | |
| 632 | -.wp-block-form-input .is-input-hidden::after { | |
| 633 | - content: attr(data-message); | |
| 634 | -} | |
| 635 | -.wp-block-form-input.is-selected .is-input-hidden { | |
| 636 | - opacity: 1; | |
| 637 | - background: none; | |
| 638 | -} | |
| 639 | - | |
| 640 | -.wp-block-form-submission-notification > * { | |
| 641 | - opacity: 0.25; | |
| 642 | - border: 1px dashed; | |
| 643 | - box-sizing: border-box; | |
| 644 | - background: repeating-linear-gradient(-45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px); | |
| 645 | -} | |
| 646 | -.wp-block-form-submission-notification.is-selected > *, .wp-block-form-submission-notification:has(.is-selected) > * { | |
| 647 | - opacity: 1; | |
| 648 | - background: none; | |
| 649 | -} | |
| 650 | -.wp-block-form-submission-notification.is-selected::after, .wp-block-form-submission-notification:has(.is-selected)::after { | |
| 651 | - display: none !important; | |
| 652 | -} | |
| 653 | -.wp-block-form-submission-notification::after { | |
| 654 | - display: flex; | |
| 655 | - position: absolute; | |
| 656 | - width: 100%; | |
| 657 | - height: 100%; | |
| 658 | - top: 0; | |
| 659 | - right: 0; | |
| 660 | - justify-content: center; | |
| 661 | - align-items: center; | |
| 662 | - font-size: 1.1em; | |
| 663 | -} | |
| 664 | -.wp-block-form-submission-notification.form-notification-type-success::after { | |
| 665 | - content: attr(data-message-success); | |
| 666 | -} | |
| 667 | -.wp-block-form-submission-notification.form-notification-type-error::after { | |
| 668 | - content: attr(data-message-error); | |
| 669 | -} | |
| 670 | - | |
| 671 | 625 | .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area iframe { |
| 672 | 626 | height: 50vh !important; |
| 673 | 627 | } |
| 674 | 628 | @media (min-width: 960px) { |
| @@ -700,17 +654,21 @@ | ||
| 700 | 654 | .block-editor-freeform-modal__actions { |
| 701 | 655 | margin-top: 16px; |
| 702 | 656 | } |
| 703 | 657 | |
| 704 | -:root :where(figure.wp-block-gallery) { | |
| 658 | +:root :where(figure.wp-block-gallery.is-layout-flex) { | |
| 705 | 659 | display: block; |
| 706 | 660 | } |
| 707 | -:root :where(figure.wp-block-gallery) > .blocks-gallery-caption { | |
| 661 | +:root :where(figure.wp-block-gallery.is-layout-flex) > .blocks-gallery-caption { | |
| 708 | 662 | flex: 0 0 100%; |
| 709 | 663 | } |
| 710 | -:root :where(figure.wp-block-gallery) > .blocks-gallery-media-placeholder-wrapper { | |
| 711 | - flex-basis: 100%; | |
| 664 | + | |
| 665 | +:root :where(.wp-block-gallery.is-layout-grid) > .blocks-gallery-caption, | |
| 666 | +:root :where(.wp-block-gallery.is-layout-grid) > .components-placeholder, | |
| 667 | +:root :where(.wp-block-gallery.is-layout-grid) > .block-editor-media-placeholder { | |
| 668 | + grid-column: 1/-1; | |
| 712 | 669 | } |
| 670 | + | |
| 713 | 671 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label { |
| 714 | 672 | display: none; |
| 715 | 673 | } |
| 716 | 674 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button { |
| @@ -787,8 +745,29 @@ | ||
| 787 | 745 | justify-content: flex-end; |
| 788 | 746 | gap: 12px; |
| 789 | 747 | } |
| 790 | 748 | |
| 749 | +.wp-block-gallery__source-settings { | |
| 750 | + grid-column: 1/-1; | |
| 751 | + display: flex; | |
| 752 | + flex-direction: column; | |
| 753 | + gap: 8px; | |
| 754 | +} | |
| 755 | +.wp-block-gallery__source-settings .wp-block-gallery__source-description { | |
| 756 | + margin: 0; | |
| 757 | + color: #757575; | |
| 758 | + font-size: 12px; | |
| 759 | +} | |
| 760 | +.wp-block-gallery__source-settings .components-button { | |
| 761 | + justify-content: center; | |
| 762 | + width: 100%; | |
| 763 | +} | |
| 764 | + | |
| 765 | +.wp-block-gallery__source-notice { | |
| 766 | + grid-column: 1/-1; | |
| 767 | + margin: 0; | |
| 768 | +} | |
| 769 | + | |
| 791 | 770 | /** |
| 792 | 771 | * Group: All Alignment Settings |
| 793 | 772 | */ |
| 794 | 773 | .wp-block-group .block-editor-block-list__insertion-point { |
| @@ -839,8 +818,15 @@ | ||
| 839 | 818 | top: 0; |
| 840 | 819 | right: 0; |
| 841 | 820 | } |
| 842 | 821 | |
| 822 | +.block-library-html__edit-code { | |
| 823 | + margin: 16px; | |
| 824 | +} | |
| 825 | +.block-library-html__edit-code .block-library-html__edit-code-button { | |
| 826 | + justify-content: center; | |
| 827 | +} | |
| 828 | + | |
| 843 | 829 | @media (min-width: 600px) { |
| 844 | 830 | .block-library-html__modal:not(.is-full-screen) { |
| 845 | 831 | height: 9999rem; |
| 846 | 832 | } |
| @@ -906,18 +892,35 @@ | ||
| 906 | 892 | display: flex; |
| 907 | 893 | justify-content: center; |
| 908 | 894 | } |
| 909 | 895 | |
| 910 | -.wp-block-icon__inserter { | |
| 911 | - padding: 0 24px; | |
| 912 | - margin: 0 -24px; | |
| 896 | +.wp-block-icon__inserter-sidebar { | |
| 897 | + padding-bottom: 24px; | |
| 913 | 898 | } |
| 899 | +@media (min-width: 782px) { | |
| 900 | + .wp-block-icon__inserter-sidebar { | |
| 901 | + overflow-x: visible; | |
| 902 | + overflow-y: auto; | |
| 903 | + position: absolute; | |
| 904 | + top: 72px; | |
| 905 | + right: 0; | |
| 906 | + bottom: 0; | |
| 907 | + width: 280px; | |
| 908 | + padding-top: 24px; | |
| 909 | + padding-inline: 24px; | |
| 910 | + } | |
| 911 | +} | |
| 914 | 912 | |
| 915 | -.wp-block-icon__inserter-header { | |
| 916 | - align-items: center; | |
| 913 | +@media (min-width: 782px) { | |
| 914 | + .wp-block-icon__inserter-panel { | |
| 915 | + margin-inline-start: 280px; | |
| 916 | + } | |
| 917 | +} | |
| 918 | + | |
| 919 | +.wp-block-icon__inserter-loading { | |
| 917 | 920 | display: flex; |
| 918 | - justify-content: space-between; | |
| 919 | - margin-bottom: 16px; | |
| 921 | + justify-content: center; | |
| 922 | + padding: 24px; | |
| 920 | 923 | } |
| 921 | 924 | |
| 922 | 925 | .wp-block-icon__inserter-grid-icons-list { |
| 923 | 926 | display: grid; |
| @@ -937,15 +940,18 @@ | ||
| 937 | 940 | |
| 938 | 941 | .wp-block-icon__inserter-grid-icons-list-item-icon { |
| 939 | 942 | padding: 12px; |
| 940 | 943 | } |
| 944 | +.wp-block-icon__inserter-grid-icons-list-item-icon svg { | |
| 945 | + display: block; | |
| 946 | + width: 24px; | |
| 947 | + height: 24px; | |
| 948 | +} | |
| 941 | 949 | |
| 942 | 950 | .wp-block-icon__inserter-grid-icons-list-item-title { |
| 943 | 951 | font-size: 12px; |
| 944 | 952 | padding: 4px 4px 8px; |
| 945 | - overflow: hidden; | |
| 946 | - text-overflow: ellipsis; | |
| 947 | - white-space: nowrap; | |
| 953 | + overflow-wrap: break-word; | |
| 948 | 954 | } |
| 949 | 955 | |
| 950 | 956 | .wp-block-icon__toolbar-content { |
| 951 | 957 | width: 250px; |
| @@ -965,9 +971,13 @@ | ||
| 965 | 971 | |
| 966 | 972 | .wp-block-image { |
| 967 | 973 | position: relative; |
| 968 | 974 | } |
| 969 | -.wp-block-image .is-applying img, .wp-block-image.is-transient img { | |
| 975 | +.wp-block-image.is-transient:not(.alignwide):not(.alignfull), .wp-block-image:has(img.is-swapping-media):not(.alignwide):not(.alignfull) { | |
| 976 | + width: fit-content; | |
| 977 | +} | |
| 978 | +.wp-block-image .is-applying img, .wp-block-image.is-transient img, | |
| 979 | +.wp-block-image img.is-swapping-media { | |
| 970 | 980 | opacity: 0.3; |
| 971 | 981 | } |
| 972 | 982 | .wp-block-image figcaption img { |
| 973 | 983 | display: inline; |
| @@ -978,8 +988,14 @@ | ||
| 978 | 988 | right: 50%; |
| 979 | 989 | transform: translate(50%, -50%); |
| 980 | 990 | margin: 0; |
| 981 | 991 | } |
| 992 | +.wp-block-image .components-resizable-box__container { | |
| 993 | + pointer-events: none; | |
| 994 | +} | |
| 995 | +.wp-block-image .components-resizable-box__handle { | |
| 996 | + pointer-events: auto; | |
| 997 | +} | |
| 982 | 998 | |
| 983 | 999 | .wp-block-image__placeholder { |
| 984 | 1000 | aspect-ratio: 4/3; |
| 985 | 1001 | } |
| @@ -1048,38 +1064,8 @@ | ||
| 1048 | 1064 | .wp-block[data-align]:has(> .wp-block-image) { |
| 1049 | 1065 | position: relative; |
| 1050 | 1066 | } |
| 1051 | 1067 | |
| 1052 | -.wp-block-image__crop-area { | |
| 1053 | - position: relative; | |
| 1054 | - max-width: 100%; | |
| 1055 | - width: 100%; | |
| 1056 | - overflow: hidden; | |
| 1057 | -} | |
| 1058 | -.wp-block-image__crop-area .reactEasyCrop_Container { | |
| 1059 | - pointer-events: auto; | |
| 1060 | -} | |
| 1061 | -.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image { | |
| 1062 | - border: none; | |
| 1063 | - border-radius: 0; | |
| 1064 | -} | |
| 1065 | - | |
| 1066 | -.wp-block-image__crop-icon { | |
| 1067 | - padding: 0 8px; | |
| 1068 | - min-width: 48px; | |
| 1069 | - display: flex; | |
| 1070 | - justify-content: center; | |
| 1071 | - align-items: center; | |
| 1072 | -} | |
| 1073 | -.wp-block-image__crop-icon svg { | |
| 1074 | - fill: currentColor; | |
| 1075 | -} | |
| 1076 | - | |
| 1077 | -.wp-block-image__zoom .components-popover__content { | |
| 1078 | - min-width: 260px; | |
| 1079 | - overflow: visible !important; | |
| 1080 | -} | |
| 1081 | - | |
| 1082 | 1068 | .wp-block-image__toolbar_content_textarea__container { |
| 1083 | 1069 | padding: 8px; |
| 1084 | 1070 | } |
| 1085 | 1071 | |
| @@ -1108,8 +1094,13 @@ | ||
| 1108 | 1094 | font-family: Menlo, Consolas, monaco, monospace; |
| 1109 | 1095 | direction: ltr; |
| 1110 | 1096 | } |
| 1111 | 1097 | |
| 1098 | +.wp-block-math__learn-more { | |
| 1099 | + display: inline-block; | |
| 1100 | + margin-top: var(--wpds-dimension-gap-sm, 8px); | |
| 1101 | +} | |
| 1102 | + | |
| 1112 | 1103 | .wp-block-media-text__media { |
| 1113 | 1104 | position: relative; |
| 1114 | 1105 | } |
| 1115 | 1106 | .wp-block-media-text__media.is-transient img { |
| @@ -1163,10 +1154,10 @@ | ||
| 1163 | 1154 | .wp-block-more .rich-text { |
| 1164 | 1155 | position: relative; |
| 1165 | 1156 | font-size: 13px; |
| 1166 | 1157 | text-transform: uppercase; |
| 1167 | - font-weight: 600; | |
| 1168 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1158 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1159 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1169 | 1160 | color: #757575; |
| 1170 | 1161 | display: inline-flex; |
| 1171 | 1162 | white-space: nowrap; |
| 1172 | 1163 | text-align: center; |
| @@ -1222,8 +1213,12 @@ | ||
| 1222 | 1213 | opacity: 1; |
| 1223 | 1214 | visibility: visible; |
| 1224 | 1215 | } |
| 1225 | 1216 | |
| 1217 | +.wp-block-navigation__container.block-editor-block-list__layout { | |
| 1218 | + flex-grow: 1; | |
| 1219 | +} | |
| 1220 | + | |
| 1226 | 1221 | .is-editing > .wp-block-navigation__container { |
| 1227 | 1222 | visibility: visible; |
| 1228 | 1223 | opacity: 1; |
| 1229 | 1224 | display: flex; |
| @@ -1315,8 +1310,9 @@ | ||
| 1315 | 1310 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender { |
| 1316 | 1311 | background-color: #1e1e1e; |
| 1317 | 1312 | color: #fff; |
| 1318 | 1313 | height: 24px; |
| 1314 | + width: 24px; | |
| 1319 | 1315 | } |
| 1320 | 1316 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender { |
| 1321 | 1317 | padding: 0; |
| 1322 | 1318 | } |
| @@ -1364,9 +1360,9 @@ | ||
| 1364 | 1360 | display: flex; |
| 1365 | 1361 | align-items: center; |
| 1366 | 1362 | min-width: 96px; |
| 1367 | 1363 | font-size: 13px; |
| 1368 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1364 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1369 | 1365 | } |
| 1370 | 1366 | .wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview { |
| 1371 | 1367 | display: none; |
| 1372 | 1368 | } |
| @@ -1458,9 +1454,9 @@ | ||
| 1458 | 1454 | |
| 1459 | 1455 | .wp-block-navigation-placeholder__actions { |
| 1460 | 1456 | display: flex; |
| 1461 | 1457 | font-size: 13px; |
| 1462 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1458 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1463 | 1459 | gap: 6px; |
| 1464 | 1460 | align-items: center; |
| 1465 | 1461 | } |
| 1466 | 1462 | .wp-block-navigation-placeholder__actions .components-dropdown, |
| @@ -1598,10 +1594,9 @@ | ||
| 1598 | 1594 | height: 64px !important; |
| 1599 | 1595 | grid-column: span 2; |
| 1600 | 1596 | } |
| 1601 | 1597 | .wp-block-navigation__overlay-menu-preview.open { |
| 1602 | - box-shadow: inset 0 0 0 1px #e0e0e0; | |
| 1603 | - outline: 1px solid transparent; | |
| 1598 | + border-color: #e0e0e0; | |
| 1604 | 1599 | background-color: #fff; |
| 1605 | 1600 | } |
| 1606 | 1601 | |
| 1607 | 1602 | .wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty { |
| @@ -1731,8 +1726,12 @@ | ||
| 1731 | 1726 | .wp-block-navigation__overlay-help-text-wrapper { |
| 1732 | 1727 | margin-top: 8px; |
| 1733 | 1728 | } |
| 1734 | 1729 | |
| 1730 | +.wp-block-audio__autoplay-help-text { | |
| 1731 | + grid-column: 1/-1; | |
| 1732 | +} | |
| 1733 | + | |
| 1735 | 1734 | /** |
| 1736 | 1735 | * Appender |
| 1737 | 1736 | */ |
| 1738 | 1737 | .wp-block-navigation .block-list-appender { |
| @@ -1753,13 +1752,15 @@ | ||
| 1753 | 1752 | } |
| 1754 | 1753 | .wp-block-navigation .has-child.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation .has-child.has-child-selected > .wp-block-navigation__submenu-container { |
| 1755 | 1754 | visibility: visible !important; |
| 1756 | 1755 | opacity: 1 !important; |
| 1757 | - min-width: 200px !important; | |
| 1758 | 1756 | height: auto !important; |
| 1759 | 1757 | width: auto !important; |
| 1760 | 1758 | overflow: visible !important; |
| 1761 | 1759 | } |
| 1760 | +.wp-block-navigation .has-child.is-selected:not(.open-always) > .wp-block-navigation__submenu-container, .wp-block-navigation .has-child.has-child-selected:not(.open-always) > .wp-block-navigation__submenu-container { | |
| 1761 | + min-width: 200px !important; | |
| 1762 | +} | |
| 1762 | 1763 | |
| 1763 | 1764 | /** |
| 1764 | 1765 | * Navigation Items. |
| 1765 | 1766 | */ |
| @@ -1810,9 +1811,9 @@ | ||
| 1810 | 1811 | |
| 1811 | 1812 | .link-control-transform__subheading { |
| 1812 | 1813 | font-size: 11px; |
| 1813 | 1814 | text-transform: uppercase; |
| 1814 | - font-weight: 499; | |
| 1815 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1815 | 1816 | color: #1e1e1e; |
| 1816 | 1817 | margin-bottom: 1.5em; |
| 1817 | 1818 | } |
| 1818 | 1819 | |
| @@ -1867,9 +1868,8 @@ | ||
| 1867 | 1868 | } |
| 1868 | 1869 | .wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container { |
| 1869 | 1870 | visibility: visible !important; |
| 1870 | 1871 | opacity: 1 !important; |
| 1871 | - min-width: 200px !important; | |
| 1872 | 1872 | height: auto !important; |
| 1873 | 1873 | width: auto !important; |
| 1874 | 1874 | position: absolute; |
| 1875 | 1875 | right: -1px; |
| @@ -1889,8 +1889,11 @@ | ||
| 1889 | 1889 | width: 0.5em; |
| 1890 | 1890 | background: transparent; |
| 1891 | 1891 | } |
| 1892 | 1892 | } |
| 1893 | +.wp-block-navigation-submenu.is-selected:not(.open-always) > .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected:not(.open-always) > .wp-block-navigation__submenu-container { | |
| 1894 | + min-width: 200px !important; | |
| 1895 | +} | |
| 1893 | 1896 | |
| 1894 | 1897 | .block-editor-block-list__block[data-type="core/nextpage"] { |
| 1895 | 1898 | max-width: 100%; |
| 1896 | 1899 | text-align: center; |
| @@ -1906,10 +1909,10 @@ | ||
| 1906 | 1909 | .wp-block-nextpage > span { |
| 1907 | 1910 | font-size: 13px; |
| 1908 | 1911 | position: relative; |
| 1909 | 1912 | text-transform: uppercase; |
| 1910 | - font-weight: 600; | |
| 1911 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1913 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1914 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1912 | 1915 | color: #757575; |
| 1913 | 1916 | border-radius: 4px; |
| 1914 | 1917 | background: #fff; |
| 1915 | 1918 | padding: 6px 8px; |
| @@ -1940,20 +1943,8 @@ | ||
| 1940 | 1943 | .wp-block-pages-list__item__link { |
| 1941 | 1944 | pointer-events: none; |
| 1942 | 1945 | } |
| 1943 | 1946 | |
| 1944 | -@media (min-width: 600px) { | |
| 1945 | - .wp-block-page-list-modal { | |
| 1946 | - max-width: 480px; | |
| 1947 | - } | |
| 1948 | -} | |
| 1949 | - | |
| 1950 | -.wp-block-page-list-modal-buttons { | |
| 1951 | - display: flex; | |
| 1952 | - justify-content: flex-end; | |
| 1953 | - gap: 12px; | |
| 1954 | -} | |
| 1955 | - | |
| 1956 | 1947 | .wp-block-page-list .open-on-click:focus-within > .wp-block-navigation__submenu-container { |
| 1957 | 1948 | visibility: visible; |
| 1958 | 1949 | opacity: 1; |
| 1959 | 1950 | width: auto; |
| @@ -1997,11 +1988,12 @@ | ||
| 1997 | 1988 | margin: 16px; |
| 1998 | 1989 | padding: 16px; |
| 1999 | 1990 | } |
| 2000 | 1991 | |
| 2001 | -.wp-block-playlist li.block-list-appender.block-list-appender { | |
| 2002 | - position: initial; | |
| 2003 | - margin-top: var(--wp--preset--spacing--30, 1em); | |
| 1992 | +.wp-block-playlist__waveform-color-controls { | |
| 1993 | + display: grid; | |
| 1994 | + grid-column: 1/-1; | |
| 1995 | + row-gap: 0; | |
| 2004 | 1996 | } |
| 2005 | 1997 | |
| 2006 | 1998 | .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline { |
| 2007 | 1999 | display: inline; |
| @@ -2018,8 +2010,12 @@ | ||
| 2018 | 2010 | .wp-block-pullquote__citation { |
| 2019 | 2011 | color: inherit; |
| 2020 | 2012 | } |
| 2021 | 2013 | |
| 2014 | +.wp-block-pullquote[style*=line-height] :where(p) { | |
| 2015 | + line-height: inherit; | |
| 2016 | +} | |
| 2017 | + | |
| 2022 | 2018 | .wp-block-rss li a > div { |
| 2023 | 2019 | display: inline; |
| 2024 | 2020 | } |
| 2025 | 2021 | |
| @@ -2164,10 +2160,9 @@ | ||
| 2164 | 2160 | .block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-media-replace-title { |
| 2165 | 2161 | word-break: break-all; |
| 2166 | 2162 | white-space: normal; |
| 2167 | 2163 | text-align: start; |
| 2168 | - -moz-text-align-last: center; | |
| 2169 | - text-align-last: center; | |
| 2164 | + text-align-last: center; | |
| 2170 | 2165 | } |
| 2171 | 2166 | .block-library-site-logo__inspector-media-replace-container img { |
| 2172 | 2167 | width: 20px; |
| 2173 | 2168 | min-width: 20px; |
| @@ -2190,8 +2185,12 @@ | ||
| 2190 | 2185 | padding: 1em 0; |
| 2191 | 2186 | border: 1px dashed; |
| 2192 | 2187 | } |
| 2193 | 2188 | |
| 2189 | +.wp-block-site-title.has-fit-text > * { | |
| 2190 | + white-space: inherit !important; | |
| 2191 | +} | |
| 2192 | + | |
| 2194 | 2193 | .wp-block-social-links .wp-social-link { |
| 2195 | 2194 | line-height: 0; |
| 2196 | 2195 | } |
| 2197 | 2196 | |
| @@ -2309,8 +2308,15 @@ | ||
| 2309 | 2308 | margin-bottom: 0; |
| 2310 | 2309 | height: 100% !important; |
| 2311 | 2310 | } |
| 2312 | 2311 | |
| 2312 | +@media (min-width: 600px) { | |
| 2313 | + .wp-block-tab-list__mover-button { | |
| 2314 | + width: 24px; | |
| 2315 | + min-width: 0 !important; | |
| 2316 | + } | |
| 2317 | +} | |
| 2318 | + | |
| 2313 | 2319 | .wp-block[data-align=left] > .wp-block-table, .wp-block[data-align=right] > .wp-block-table, .wp-block[data-align=center] > .wp-block-table { |
| 2314 | 2320 | height: auto; |
| 2315 | 2321 | } |
| 2316 | 2322 | .wp-block[data-align=left] > .wp-block-table table, .wp-block[data-align=right] > .wp-block-table table, .wp-block[data-align=center] > .wp-block-table table { |
| @@ -2368,22 +2374,18 @@ | ||
| 2368 | 2374 | .block-editor-template-part__selection-modal { |
| 2369 | 2375 | z-index: 1000001; |
| 2370 | 2376 | } |
| 2371 | 2377 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| 2372 | - -moz-column-count: 2; | |
| 2373 | - column-count: 2; | |
| 2374 | - -moz-column-gap: 24px; | |
| 2375 | - column-gap: 24px; | |
| 2378 | + column-count: 2; | |
| 2379 | + column-gap: 24px; | |
| 2376 | 2380 | } |
| 2377 | 2381 | @media (min-width: 1280px) { |
| 2378 | 2382 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| 2379 | - -moz-column-count: 3; | |
| 2380 | - column-count: 3; | |
| 2383 | + column-count: 3; | |
| 2381 | 2384 | } |
| 2382 | 2385 | } |
| 2383 | 2386 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 2384 | - -moz-column-break-inside: avoid; | |
| 2385 | - break-inside: avoid-column; | |
| 2387 | + break-inside: avoid-column; | |
| 2386 | 2388 | } |
| 2387 | 2389 | |
| 2388 | 2390 | .block-library-template-part__selection-search { |
| 2389 | 2391 | background: #fff; |
| @@ -2474,9 +2476,9 @@ | ||
| 2474 | 2476 | margin-top: 4px; |
| 2475 | 2477 | color: #757575; |
| 2476 | 2478 | text-transform: uppercase; |
| 2477 | 2479 | font-size: 11px; |
| 2478 | - font-weight: 499; | |
| 2480 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2479 | 2481 | display: block; |
| 2480 | 2482 | } |
| 2481 | 2483 | |
| 2482 | 2484 | .block-library-video-tracks-editor > .components-popover__content { |
| @@ -2495,22 +2497,18 @@ | ||
| 2495 | 2497 | margin-bottom: 0; |
| 2496 | 2498 | } |
| 2497 | 2499 | |
| 2498 | 2500 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list { |
| 2499 | - -moz-column-count: 2; | |
| 2500 | - column-count: 2; | |
| 2501 | - -moz-column-gap: 24px; | |
| 2502 | - column-gap: 24px; | |
| 2501 | + column-count: 2; | |
| 2502 | + column-gap: 24px; | |
| 2503 | 2503 | } |
| 2504 | 2504 | @media (min-width: 1280px) { |
| 2505 | 2505 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list { |
| 2506 | - -moz-column-count: 3; | |
| 2507 | - column-count: 3; | |
| 2506 | + column-count: 3; | |
| 2508 | 2507 | } |
| 2509 | 2508 | } |
| 2510 | 2509 | .block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item { |
| 2511 | - -moz-column-break-inside: avoid; | |
| 2512 | - break-inside: avoid-column; | |
| 2510 | + break-inside: avoid-column; | |
| 2513 | 2511 | } |
| 2514 | 2512 | .block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search { |
| 2515 | 2513 | background: #fff; |
| 2516 | 2514 | position: sticky; |
| @@ -2520,14 +2518,8 @@ | ||
| 2520 | 2518 | margin-bottom: -4px; |
| 2521 | 2519 | z-index: 2; |
| 2522 | 2520 | } |
| 2523 | 2521 | |
| 2524 | -@media (min-width: 600px) { | |
| 2525 | - .wp-block-query__enhanced-pagination-modal { | |
| 2526 | - max-width: 480px; | |
| 2527 | - } | |
| 2528 | -} | |
| 2529 | - | |
| 2530 | 2522 | .block-editor-block-settings-menu__popover.is-expanded { |
| 2531 | 2523 | overflow-y: scroll; |
| 2532 | 2524 | } |
| 2533 | 2525 | .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content { |
| @@ -2542,9 +2534,9 @@ | ||
| 2542 | 2534 | grid-template-columns: 1fr 1fr; |
| 2543 | 2535 | } |
| 2544 | 2536 | } |
| 2545 | 2537 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 2546 | - grid-gap: 12px; | |
| 2538 | + gap: 12px; | |
| 2547 | 2539 | min-width: 280px; |
| 2548 | 2540 | } |
| 2549 | 2541 | @media (min-width: 600px) { |
| 2550 | 2542 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| @@ -2565,11 +2557,8 @@ | ||
| 2565 | 2557 | |
| 2566 | 2558 | :where(.editor-styles-wrapper) .wp-block-query-pagination { |
| 2567 | 2559 | max-width: 100%; |
| 2568 | 2560 | } |
| 2569 | -:where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout { | |
| 2570 | - margin: 0; | |
| 2571 | -} | |
| 2572 | 2561 | |
| 2573 | 2562 | .wp-block-query-pagination-numbers a { |
| 2574 | 2563 | text-decoration: underline; |
| 2575 | 2564 | } |
| @@ -2760,13 +2749,11 @@ | ||
| 2760 | 2749 | height: auto !important; |
| 2761 | 2750 | outline: 1px solid rgba(0, 0, 0, 0.1); |
| 2762 | 2751 | } |
| 2763 | 2752 | .block-library-poster-image__preview .block-library-poster-image__preview-image { |
| 2764 | - -o-object-fit: cover; | |
| 2765 | - object-fit: cover; | |
| 2753 | + object-fit: cover; | |
| 2766 | 2754 | width: 100%; |
| 2767 | - -o-object-position: 50% 50%; | |
| 2768 | - object-position: 50% 50%; | |
| 2755 | + object-position: 50% 50%; | |
| 2769 | 2756 | aspect-ratio: 2/1; |
| 2770 | 2757 | } |
| 2771 | 2758 | |
| 2772 | 2759 | .block-library-poster-image__actions:not(.block-library-poster-image__actions-select) { |