| @@ -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,28 +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 | } |
| 713 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error { | |
| 714 | - display: block; | |
| 715 | -} | |
| 716 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content { | |
| 717 | - margin: 4px 0; | |
| 718 | -} | |
| 719 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss { | |
| 720 | - position: absolute; | |
| 721 | - top: 0; | |
| 722 | - left: 5px; | |
| 723 | -} | |
| 670 | + | |
| 724 | 671 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label { |
| 725 | 672 | display: none; |
| 726 | 673 | } |
| 727 | 674 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button { |
| @@ -798,8 +745,29 @@ | ||
| 798 | 745 | justify-content: flex-end; |
| 799 | 746 | gap: 12px; |
| 800 | 747 | } |
| 801 | 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 | + | |
| 802 | 770 | /** |
| 803 | 771 | * Group: All Alignment Settings |
| 804 | 772 | */ |
| 805 | 773 | .wp-block-group .block-editor-block-list__insertion-point { |
| @@ -850,8 +818,15 @@ | ||
| 850 | 818 | top: 0; |
| 851 | 819 | right: 0; |
| 852 | 820 | } |
| 853 | 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 | + | |
| 854 | 829 | @media (min-width: 600px) { |
| 855 | 830 | .block-library-html__modal:not(.is-full-screen) { |
| 856 | 831 | height: 9999rem; |
| 857 | 832 | } |
| @@ -917,18 +892,35 @@ | ||
| 917 | 892 | display: flex; |
| 918 | 893 | justify-content: center; |
| 919 | 894 | } |
| 920 | 895 | |
| 921 | -.wp-block-icon__inserter { | |
| 922 | - padding: 0 24px; | |
| 923 | - margin: 0 -24px; | |
| 896 | +.wp-block-icon__inserter-sidebar { | |
| 897 | + padding-bottom: 24px; | |
| 924 | 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 | +} | |
| 925 | 912 | |
| 926 | -.wp-block-icon__inserter-header { | |
| 927 | - 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 { | |
| 928 | 920 | display: flex; |
| 929 | - justify-content: space-between; | |
| 930 | - margin-bottom: 16px; | |
| 921 | + justify-content: center; | |
| 922 | + padding: 24px; | |
| 931 | 923 | } |
| 932 | 924 | |
| 933 | 925 | .wp-block-icon__inserter-grid-icons-list { |
| 934 | 926 | display: grid; |
| @@ -948,15 +940,18 @@ | ||
| 948 | 940 | |
| 949 | 941 | .wp-block-icon__inserter-grid-icons-list-item-icon { |
| 950 | 942 | padding: 12px; |
| 951 | 943 | } |
| 944 | +.wp-block-icon__inserter-grid-icons-list-item-icon svg { | |
| 945 | + display: block; | |
| 946 | + width: 24px; | |
| 947 | + height: 24px; | |
| 948 | +} | |
| 952 | 949 | |
| 953 | 950 | .wp-block-icon__inserter-grid-icons-list-item-title { |
| 954 | 951 | font-size: 12px; |
| 955 | 952 | padding: 4px 4px 8px; |
| 956 | - overflow: hidden; | |
| 957 | - text-overflow: ellipsis; | |
| 958 | - white-space: nowrap; | |
| 953 | + overflow-wrap: break-word; | |
| 959 | 954 | } |
| 960 | 955 | |
| 961 | 956 | .wp-block-icon__toolbar-content { |
| 962 | 957 | width: 250px; |
| @@ -976,9 +971,13 @@ | ||
| 976 | 971 | |
| 977 | 972 | .wp-block-image { |
| 978 | 973 | position: relative; |
| 979 | 974 | } |
| 980 | -.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 { | |
| 981 | 980 | opacity: 0.3; |
| 982 | 981 | } |
| 983 | 982 | .wp-block-image figcaption img { |
| 984 | 983 | display: inline; |
| @@ -989,8 +988,14 @@ | ||
| 989 | 988 | right: 50%; |
| 990 | 989 | transform: translate(50%, -50%); |
| 991 | 990 | margin: 0; |
| 992 | 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 | +} | |
| 993 | 998 | |
| 994 | 999 | .wp-block-image__placeholder { |
| 995 | 1000 | aspect-ratio: 4/3; |
| 996 | 1001 | } |
| @@ -1059,38 +1064,8 @@ | ||
| 1059 | 1064 | .wp-block[data-align]:has(> .wp-block-image) { |
| 1060 | 1065 | position: relative; |
| 1061 | 1066 | } |
| 1062 | 1067 | |
| 1063 | -.wp-block-image__crop-area { | |
| 1064 | - position: relative; | |
| 1065 | - max-width: 100%; | |
| 1066 | - width: 100%; | |
| 1067 | - overflow: hidden; | |
| 1068 | -} | |
| 1069 | -.wp-block-image__crop-area .reactEasyCrop_Container { | |
| 1070 | - pointer-events: auto; | |
| 1071 | -} | |
| 1072 | -.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image { | |
| 1073 | - border: none; | |
| 1074 | - border-radius: 0; | |
| 1075 | -} | |
| 1076 | - | |
| 1077 | -.wp-block-image__crop-icon { | |
| 1078 | - padding: 0 8px; | |
| 1079 | - min-width: 48px; | |
| 1080 | - display: flex; | |
| 1081 | - justify-content: center; | |
| 1082 | - align-items: center; | |
| 1083 | -} | |
| 1084 | -.wp-block-image__crop-icon svg { | |
| 1085 | - fill: currentColor; | |
| 1086 | -} | |
| 1087 | - | |
| 1088 | -.wp-block-image__zoom .components-popover__content { | |
| 1089 | - min-width: 260px; | |
| 1090 | - overflow: visible !important; | |
| 1091 | -} | |
| 1092 | - | |
| 1093 | 1068 | .wp-block-image__toolbar_content_textarea__container { |
| 1094 | 1069 | padding: 8px; |
| 1095 | 1070 | } |
| 1096 | 1071 | |
| @@ -1119,8 +1094,13 @@ | ||
| 1119 | 1094 | font-family: Menlo, Consolas, monaco, monospace; |
| 1120 | 1095 | direction: ltr; |
| 1121 | 1096 | } |
| 1122 | 1097 | |
| 1098 | +.wp-block-math__learn-more { | |
| 1099 | + display: inline-block; | |
| 1100 | + margin-top: var(--wpds-dimension-gap-sm, 8px); | |
| 1101 | +} | |
| 1102 | + | |
| 1123 | 1103 | .wp-block-media-text__media { |
| 1124 | 1104 | position: relative; |
| 1125 | 1105 | } |
| 1126 | 1106 | .wp-block-media-text__media.is-transient img { |
| @@ -1174,10 +1154,10 @@ | ||
| 1174 | 1154 | .wp-block-more .rich-text { |
| 1175 | 1155 | position: relative; |
| 1176 | 1156 | font-size: 13px; |
| 1177 | 1157 | text-transform: uppercase; |
| 1178 | - font-weight: 600; | |
| 1179 | - 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; | |
| 1180 | 1160 | color: #757575; |
| 1181 | 1161 | display: inline-flex; |
| 1182 | 1162 | white-space: nowrap; |
| 1183 | 1163 | text-align: center; |
| @@ -1233,8 +1213,12 @@ | ||
| 1233 | 1213 | opacity: 1; |
| 1234 | 1214 | visibility: visible; |
| 1235 | 1215 | } |
| 1236 | 1216 | |
| 1217 | +.wp-block-navigation__container.block-editor-block-list__layout { | |
| 1218 | + flex-grow: 1; | |
| 1219 | +} | |
| 1220 | + | |
| 1237 | 1221 | .is-editing > .wp-block-navigation__container { |
| 1238 | 1222 | visibility: visible; |
| 1239 | 1223 | opacity: 1; |
| 1240 | 1224 | display: flex; |
| @@ -1326,8 +1310,9 @@ | ||
| 1326 | 1310 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender { |
| 1327 | 1311 | background-color: #1e1e1e; |
| 1328 | 1312 | color: #fff; |
| 1329 | 1313 | height: 24px; |
| 1314 | + width: 24px; | |
| 1330 | 1315 | } |
| 1331 | 1316 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender { |
| 1332 | 1317 | padding: 0; |
| 1333 | 1318 | } |
| @@ -1375,9 +1360,9 @@ | ||
| 1375 | 1360 | display: flex; |
| 1376 | 1361 | align-items: center; |
| 1377 | 1362 | min-width: 96px; |
| 1378 | 1363 | font-size: 13px; |
| 1379 | - 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; | |
| 1380 | 1365 | } |
| 1381 | 1366 | .wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview { |
| 1382 | 1367 | display: none; |
| 1383 | 1368 | } |
| @@ -1469,9 +1454,9 @@ | ||
| 1469 | 1454 | |
| 1470 | 1455 | .wp-block-navigation-placeholder__actions { |
| 1471 | 1456 | display: flex; |
| 1472 | 1457 | font-size: 13px; |
| 1473 | - 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; | |
| 1474 | 1459 | gap: 6px; |
| 1475 | 1460 | align-items: center; |
| 1476 | 1461 | } |
| 1477 | 1462 | .wp-block-navigation-placeholder__actions .components-dropdown, |
| @@ -1609,10 +1594,9 @@ | ||
| 1609 | 1594 | height: 64px !important; |
| 1610 | 1595 | grid-column: span 2; |
| 1611 | 1596 | } |
| 1612 | 1597 | .wp-block-navigation__overlay-menu-preview.open { |
| 1613 | - box-shadow: inset 0 0 0 1px #e0e0e0; | |
| 1614 | - outline: 1px solid transparent; | |
| 1598 | + border-color: #e0e0e0; | |
| 1615 | 1599 | background-color: #fff; |
| 1616 | 1600 | } |
| 1617 | 1601 | |
| 1618 | 1602 | .wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty { |
| @@ -1742,8 +1726,12 @@ | ||
| 1742 | 1726 | .wp-block-navigation__overlay-help-text-wrapper { |
| 1743 | 1727 | margin-top: 8px; |
| 1744 | 1728 | } |
| 1745 | 1729 | |
| 1730 | +.wp-block-audio__autoplay-help-text { | |
| 1731 | + grid-column: 1/-1; | |
| 1732 | +} | |
| 1733 | + | |
| 1746 | 1734 | /** |
| 1747 | 1735 | * Appender |
| 1748 | 1736 | */ |
| 1749 | 1737 | .wp-block-navigation .block-list-appender { |
| @@ -1764,13 +1752,15 @@ | ||
| 1764 | 1752 | } |
| 1765 | 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 { |
| 1766 | 1754 | visibility: visible !important; |
| 1767 | 1755 | opacity: 1 !important; |
| 1768 | - min-width: 200px !important; | |
| 1769 | 1756 | height: auto !important; |
| 1770 | 1757 | width: auto !important; |
| 1771 | 1758 | overflow: visible !important; |
| 1772 | 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 | +} | |
| 1773 | 1763 | |
| 1774 | 1764 | /** |
| 1775 | 1765 | * Navigation Items. |
| 1776 | 1766 | */ |
| @@ -1821,9 +1811,9 @@ | ||
| 1821 | 1811 | |
| 1822 | 1812 | .link-control-transform__subheading { |
| 1823 | 1813 | font-size: 11px; |
| 1824 | 1814 | text-transform: uppercase; |
| 1825 | - font-weight: 499; | |
| 1815 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1826 | 1816 | color: #1e1e1e; |
| 1827 | 1817 | margin-bottom: 1.5em; |
| 1828 | 1818 | } |
| 1829 | 1819 | |
| @@ -1878,9 +1868,8 @@ | ||
| 1878 | 1868 | } |
| 1879 | 1869 | .wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container { |
| 1880 | 1870 | visibility: visible !important; |
| 1881 | 1871 | opacity: 1 !important; |
| 1882 | - min-width: 200px !important; | |
| 1883 | 1872 | height: auto !important; |
| 1884 | 1873 | width: auto !important; |
| 1885 | 1874 | position: absolute; |
| 1886 | 1875 | right: -1px; |
| @@ -1900,8 +1889,11 @@ | ||
| 1900 | 1889 | width: 0.5em; |
| 1901 | 1890 | background: transparent; |
| 1902 | 1891 | } |
| 1903 | 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 | +} | |
| 1904 | 1896 | |
| 1905 | 1897 | .block-editor-block-list__block[data-type="core/nextpage"] { |
| 1906 | 1898 | max-width: 100%; |
| 1907 | 1899 | text-align: center; |
| @@ -1917,10 +1909,10 @@ | ||
| 1917 | 1909 | .wp-block-nextpage > span { |
| 1918 | 1910 | font-size: 13px; |
| 1919 | 1911 | position: relative; |
| 1920 | 1912 | text-transform: uppercase; |
| 1921 | - font-weight: 600; | |
| 1922 | - 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; | |
| 1923 | 1915 | color: #757575; |
| 1924 | 1916 | border-radius: 4px; |
| 1925 | 1917 | background: #fff; |
| 1926 | 1918 | padding: 6px 8px; |
| @@ -1951,20 +1943,8 @@ | ||
| 1951 | 1943 | .wp-block-pages-list__item__link { |
| 1952 | 1944 | pointer-events: none; |
| 1953 | 1945 | } |
| 1954 | 1946 | |
| 1955 | -@media (min-width: 600px) { | |
| 1956 | - .wp-block-page-list-modal { | |
| 1957 | - max-width: 480px; | |
| 1958 | - } | |
| 1959 | -} | |
| 1960 | - | |
| 1961 | -.wp-block-page-list-modal-buttons { | |
| 1962 | - display: flex; | |
| 1963 | - justify-content: flex-end; | |
| 1964 | - gap: 12px; | |
| 1965 | -} | |
| 1966 | - | |
| 1967 | 1947 | .wp-block-page-list .open-on-click:focus-within > .wp-block-navigation__submenu-container { |
| 1968 | 1948 | visibility: visible; |
| 1969 | 1949 | opacity: 1; |
| 1970 | 1950 | width: auto; |
| @@ -2008,11 +1988,12 @@ | ||
| 2008 | 1988 | margin: 16px; |
| 2009 | 1989 | padding: 16px; |
| 2010 | 1990 | } |
| 2011 | 1991 | |
| 2012 | -.wp-block-playlist li.block-list-appender.block-list-appender { | |
| 2013 | - position: initial; | |
| 2014 | - 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; | |
| 2015 | 1996 | } |
| 2016 | 1997 | |
| 2017 | 1998 | .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline { |
| 2018 | 1999 | display: inline; |
| @@ -2029,8 +2010,12 @@ | ||
| 2029 | 2010 | .wp-block-pullquote__citation { |
| 2030 | 2011 | color: inherit; |
| 2031 | 2012 | } |
| 2032 | 2013 | |
| 2014 | +.wp-block-pullquote[style*=line-height] :where(p) { | |
| 2015 | + line-height: inherit; | |
| 2016 | +} | |
| 2017 | + | |
| 2033 | 2018 | .wp-block-rss li a > div { |
| 2034 | 2019 | display: inline; |
| 2035 | 2020 | } |
| 2036 | 2021 | |
| @@ -2200,8 +2185,12 @@ | ||
| 2200 | 2185 | padding: 1em 0; |
| 2201 | 2186 | border: 1px dashed; |
| 2202 | 2187 | } |
| 2203 | 2188 | |
| 2189 | +.wp-block-site-title.has-fit-text > * { | |
| 2190 | + white-space: inherit !important; | |
| 2191 | +} | |
| 2192 | + | |
| 2204 | 2193 | .wp-block-social-links .wp-social-link { |
| 2205 | 2194 | line-height: 0; |
| 2206 | 2195 | } |
| 2207 | 2196 | |
| @@ -2319,8 +2308,15 @@ | ||
| 2319 | 2308 | margin-bottom: 0; |
| 2320 | 2309 | height: 100% !important; |
| 2321 | 2310 | } |
| 2322 | 2311 | |
| 2312 | +@media (min-width: 600px) { | |
| 2313 | + .wp-block-tab-list__mover-button { | |
| 2314 | + width: 24px; | |
| 2315 | + min-width: 0 !important; | |
| 2316 | + } | |
| 2317 | +} | |
| 2318 | + | |
| 2323 | 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 { |
| 2324 | 2320 | height: auto; |
| 2325 | 2321 | } |
| 2326 | 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 { |
| @@ -2374,27 +2370,8 @@ | ||
| 2374 | 2370 | .blocks-table__placeholder-input { |
| 2375 | 2371 | width: 112px; |
| 2376 | 2372 | } |
| 2377 | 2373 | |
| 2378 | -.wp-block-tab-list > .block-editor-block-list__layout { | |
| 2379 | - display: contents; | |
| 2380 | -} | |
| 2381 | -.wp-block-tab-list .block-editor-block-list__block:has(> .wp-block-tab) { | |
| 2382 | - display: contents; | |
| 2383 | -} | |
| 2384 | - | |
| 2385 | -.wp-block-tab.is-selected { | |
| 2386 | - outline-offset: 2px; | |
| 2387 | -} | |
| 2388 | - | |
| 2389 | -.block-editor-block-preview__live-content:has(.wp-block-tab) { | |
| 2390 | - flex-basis: inherit !important; | |
| 2391 | - flex-grow: inherit !important; | |
| 2392 | -} | |
| 2393 | -.block-editor-block-preview__live-content:has(.wp-block-tab) .wp-block-tab { | |
| 2394 | - flex-basis: 100% !important; | |
| 2395 | -} | |
| 2396 | - | |
| 2397 | 2374 | .block-editor-template-part__selection-modal { |
| 2398 | 2375 | z-index: 1000001; |
| 2399 | 2376 | } |
| 2400 | 2377 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| @@ -2499,9 +2476,9 @@ | ||
| 2499 | 2476 | margin-top: 4px; |
| 2500 | 2477 | color: #757575; |
| 2501 | 2478 | text-transform: uppercase; |
| 2502 | 2479 | font-size: 11px; |
| 2503 | - font-weight: 499; | |
| 2480 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2504 | 2481 | display: block; |
| 2505 | 2482 | } |
| 2506 | 2483 | |
| 2507 | 2484 | .block-library-video-tracks-editor > .components-popover__content { |
| @@ -2541,14 +2518,8 @@ | ||
| 2541 | 2518 | margin-bottom: -4px; |
| 2542 | 2519 | z-index: 2; |
| 2543 | 2520 | } |
| 2544 | 2521 | |
| 2545 | -@media (min-width: 600px) { | |
| 2546 | - .wp-block-query__enhanced-pagination-modal { | |
| 2547 | - max-width: 480px; | |
| 2548 | - } | |
| 2549 | -} | |
| 2550 | - | |
| 2551 | 2522 | .block-editor-block-settings-menu__popover.is-expanded { |
| 2552 | 2523 | overflow-y: scroll; |
| 2553 | 2524 | } |
| 2554 | 2525 | .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content { |
| @@ -2563,9 +2534,9 @@ | ||
| 2563 | 2534 | grid-template-columns: 1fr 1fr; |
| 2564 | 2535 | } |
| 2565 | 2536 | } |
| 2566 | 2537 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 2567 | - grid-gap: 12px; | |
| 2538 | + gap: 12px; | |
| 2568 | 2539 | min-width: 280px; |
| 2569 | 2540 | } |
| 2570 | 2541 | @media (min-width: 600px) { |
| 2571 | 2542 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| @@ -2585,11 +2556,8 @@ | ||
| 2585 | 2556 | } |
| 2586 | 2557 | |
| 2587 | 2558 | :where(.editor-styles-wrapper) .wp-block-query-pagination { |
| 2588 | 2559 | max-width: 100%; |
| 2589 | -} | |
| 2590 | -:where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout { | |
| 2591 | - margin: 0; | |
| 2592 | 2560 | } |
| 2593 | 2561 | |
| 2594 | 2562 | .wp-block-query-pagination-numbers a { |
| 2595 | 2563 | text-decoration: underline; |