| @@ -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-right: 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; |
| @@ -335,9 +338,9 @@ | ||
| 335 | 338 | font-size: 0.875em; |
| 336 | 339 | line-height: 1.5; |
| 337 | 340 | } |
| 338 | 341 | .wp-block-post-comments .comment-meta b, .wp-block-comments__legacy-placeholder .comment-meta b { |
| 339 | - font-weight: normal; | |
| 342 | + font-weight: 400; | |
| 340 | 343 | } |
| 341 | 344 | .wp-block-post-comments .comment-meta .comment-awaiting-moderation, .wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation { |
| 342 | 345 | margin-top: 1em; |
| 343 | 346 | margin-bottom: 1em; |
| @@ -345,18 +348,8 @@ | ||
| 345 | 348 | } |
| 346 | 349 | .wp-block-post-comments .comment-body .commentmetadata, .wp-block-comments__legacy-placeholder .comment-body .commentmetadata { |
| 347 | 350 | font-size: 0.875em; |
| 348 | 351 | } |
| 349 | -.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label, | |
| 350 | -.wp-block-post-comments .comment-form-author label, | |
| 351 | -.wp-block-comments__legacy-placeholder .comment-form-author label, | |
| 352 | -.wp-block-post-comments .comment-form-email label, | |
| 353 | -.wp-block-comments__legacy-placeholder .comment-form-email label, | |
| 354 | -.wp-block-post-comments .comment-form-url label, | |
| 355 | -.wp-block-comments__legacy-placeholder .comment-form-url label { | |
| 356 | - display: block; | |
| 357 | - margin-bottom: 0.25em; | |
| 358 | -} | |
| 359 | 352 | .wp-block-post-comments .comment-form textarea, .wp-block-comments__legacy-placeholder .comment-form textarea, |
| 360 | 353 | .wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]), |
| 361 | 354 | .wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]) { |
| 362 | 355 | display: block; |
| @@ -393,8 +386,16 @@ | ||
| 393 | 386 | .wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]) { |
| 394 | 387 | padding: calc(0.667em + 2px); |
| 395 | 388 | } |
| 396 | 389 | |
| 390 | +:where(.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label), | |
| 391 | +:where(.wp-block-post-comments .comment-form-author label, .wp-block-comments__legacy-placeholder .comment-form-author label), | |
| 392 | +:where(.wp-block-post-comments .comment-form-email label, .wp-block-comments__legacy-placeholder .comment-form-email label), | |
| 393 | +:where(.wp-block-post-comments .comment-form-url label, .wp-block-comments__legacy-placeholder .comment-form-url label) { | |
| 394 | + display: block; | |
| 395 | + margin-bottom: 0.25em; | |
| 396 | +} | |
| 397 | + | |
| 397 | 398 | :where(.wp-block-post-comments input[type=submit], .wp-block-comments__legacy-placeholder input[type=submit]) { |
| 398 | 399 | border: none; |
| 399 | 400 | } |
| 400 | 401 | |
| @@ -477,8 +478,11 @@ | ||
| 477 | 478 | } |
| 478 | 479 | .wp-block-cover.is-transient .wp-block-cover__inner-container { |
| 479 | 480 | z-index: 2; |
| 480 | 481 | } |
| 482 | +.wp-block-cover.is-transient .components-spinner { | |
| 483 | + z-index: 3; | |
| 484 | +} | |
| 481 | 485 | .wp-block-cover .components-spinner { |
| 482 | 486 | position: absolute; |
| 483 | 487 | top: 50%; |
| 484 | 488 | left: 50%; |
| @@ -550,9 +554,10 @@ | ||
| 550 | 554 | .wp-block-embed .wp-block-embed__placeholder-input { |
| 551 | 555 | flex: 1 1 auto; |
| 552 | 556 | } |
| 553 | 557 | .wp-block-embed .components-placeholder__error { |
| 554 | - word-break: break-word; | |
| 558 | + word-break: normal; | |
| 559 | + overflow-wrap: break-word; | |
| 555 | 560 | } |
| 556 | 561 | |
| 557 | 562 | .wp-block-post-content .wp-block-embed__learn-more a { |
| 558 | 563 | color: var(--wp-admin-theme-color); |
| @@ -618,59 +623,8 @@ | ||
| 618 | 623 | display: inline-block; |
| 619 | 624 | margin-left: 0.75em; |
| 620 | 625 | } |
| 621 | 626 | |
| 622 | -.wp-block-form-input .is-input-hidden { | |
| 623 | - display: flex; | |
| 624 | - position: relative; | |
| 625 | - font-size: 0.85em; | |
| 626 | - opacity: 0.3; | |
| 627 | - border: 1px dashed; | |
| 628 | - padding: 0.5em; | |
| 629 | - box-sizing: border-box; | |
| 630 | - background: repeating-linear-gradient(45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px); | |
| 631 | - justify-content: center; | |
| 632 | - align-items: center; | |
| 633 | -} | |
| 634 | -.wp-block-form-input .is-input-hidden::after { | |
| 635 | - content: attr(data-message); | |
| 636 | -} | |
| 637 | -.wp-block-form-input.is-selected .is-input-hidden { | |
| 638 | - opacity: 1; | |
| 639 | - background: none; | |
| 640 | -} | |
| 641 | - | |
| 642 | -.wp-block-form-submission-notification > * { | |
| 643 | - opacity: 0.25; | |
| 644 | - border: 1px dashed; | |
| 645 | - box-sizing: border-box; | |
| 646 | - background: repeating-linear-gradient(45deg, transparent, transparent 5px, currentColor 5px, currentColor 6px); | |
| 647 | -} | |
| 648 | -.wp-block-form-submission-notification.is-selected > *, .wp-block-form-submission-notification:has(.is-selected) > * { | |
| 649 | - opacity: 1; | |
| 650 | - background: none; | |
| 651 | -} | |
| 652 | -.wp-block-form-submission-notification.is-selected::after, .wp-block-form-submission-notification:has(.is-selected)::after { | |
| 653 | - display: none !important; | |
| 654 | -} | |
| 655 | -.wp-block-form-submission-notification::after { | |
| 656 | - display: flex; | |
| 657 | - position: absolute; | |
| 658 | - width: 100%; | |
| 659 | - height: 100%; | |
| 660 | - top: 0; | |
| 661 | - left: 0; | |
| 662 | - justify-content: center; | |
| 663 | - align-items: center; | |
| 664 | - font-size: 1.1em; | |
| 665 | -} | |
| 666 | -.wp-block-form-submission-notification.form-notification-type-success::after { | |
| 667 | - content: attr(data-message-success); | |
| 668 | -} | |
| 669 | -.wp-block-form-submission-notification.form-notification-type-error::after { | |
| 670 | - content: attr(data-message-error); | |
| 671 | -} | |
| 672 | - | |
| 673 | 627 | .block-editor-freeform-modal .block-editor-freeform-modal__content .mce-edit-area iframe { |
| 674 | 628 | height: 50vh !important; |
| 675 | 629 | } |
| 676 | 630 | @media (min-width: 960px) { |
| @@ -702,28 +656,21 @@ | ||
| 702 | 656 | .block-editor-freeform-modal__actions { |
| 703 | 657 | margin-top: 16px; |
| 704 | 658 | } |
| 705 | 659 | |
| 706 | -:root :where(figure.wp-block-gallery) { | |
| 660 | +:root :where(figure.wp-block-gallery.is-layout-flex) { | |
| 707 | 661 | display: block; |
| 708 | 662 | } |
| 709 | -:root :where(figure.wp-block-gallery) > .blocks-gallery-caption { | |
| 663 | +:root :where(figure.wp-block-gallery.is-layout-flex) > .blocks-gallery-caption { | |
| 710 | 664 | flex: 0 0 100%; |
| 711 | 665 | } |
| 712 | -:root :where(figure.wp-block-gallery) > .blocks-gallery-media-placeholder-wrapper { | |
| 713 | - flex-basis: 100%; | |
| 666 | + | |
| 667 | +:root :where(.wp-block-gallery.is-layout-grid) > .blocks-gallery-caption, | |
| 668 | +:root :where(.wp-block-gallery.is-layout-grid) > .components-placeholder, | |
| 669 | +:root :where(.wp-block-gallery.is-layout-grid) > .block-editor-media-placeholder { | |
| 670 | + grid-column: 1/-1; | |
| 714 | 671 | } |
| 715 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice.is-error { | |
| 716 | - display: block; | |
| 717 | -} | |
| 718 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__content { | |
| 719 | - margin: 4px 0; | |
| 720 | -} | |
| 721 | -:root :where(figure.wp-block-gallery) .wp-block-image .components-notice__dismiss { | |
| 722 | - position: absolute; | |
| 723 | - top: 0; | |
| 724 | - right: 5px; | |
| 725 | -} | |
| 672 | + | |
| 726 | 673 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .components-placeholder__label { |
| 727 | 674 | display: none; |
| 728 | 675 | } |
| 729 | 676 | :root :where(figure.wp-block-gallery) .block-editor-media-placeholder.is-appender .block-editor-media-placeholder__button { |
| @@ -800,8 +747,29 @@ | ||
| 800 | 747 | justify-content: flex-end; |
| 801 | 748 | gap: 12px; |
| 802 | 749 | } |
| 803 | 750 | |
| 751 | +.wp-block-gallery__source-settings { | |
| 752 | + grid-column: 1/-1; | |
| 753 | + display: flex; | |
| 754 | + flex-direction: column; | |
| 755 | + gap: 8px; | |
| 756 | +} | |
| 757 | +.wp-block-gallery__source-settings .wp-block-gallery__source-description { | |
| 758 | + margin: 0; | |
| 759 | + color: #757575; | |
| 760 | + font-size: 12px; | |
| 761 | +} | |
| 762 | +.wp-block-gallery__source-settings .components-button { | |
| 763 | + justify-content: center; | |
| 764 | + width: 100%; | |
| 765 | +} | |
| 766 | + | |
| 767 | +.wp-block-gallery__source-notice { | |
| 768 | + grid-column: 1/-1; | |
| 769 | + margin: 0; | |
| 770 | +} | |
| 771 | + | |
| 804 | 772 | /** |
| 805 | 773 | * Group: All Alignment Settings |
| 806 | 774 | */ |
| 807 | 775 | .wp-block-group .block-editor-block-list__insertion-point { |
| @@ -852,8 +820,15 @@ | ||
| 852 | 820 | top: 0; |
| 853 | 821 | left: 0; |
| 854 | 822 | } |
| 855 | 823 | |
| 824 | +.block-library-html__edit-code { | |
| 825 | + margin: 16px; | |
| 826 | +} | |
| 827 | +.block-library-html__edit-code .block-library-html__edit-code-button { | |
| 828 | + justify-content: center; | |
| 829 | +} | |
| 830 | + | |
| 856 | 831 | @media (min-width: 600px) { |
| 857 | 832 | .block-library-html__modal:not(.is-full-screen) { |
| 858 | 833 | height: 9999rem; |
| 859 | 834 | } |
| @@ -920,18 +895,35 @@ | ||
| 920 | 895 | display: flex; |
| 921 | 896 | justify-content: center; |
| 922 | 897 | } |
| 923 | 898 | |
| 924 | -.wp-block-icon__inserter { | |
| 925 | - padding: 0 24px; | |
| 926 | - margin: 0 -24px; | |
| 899 | +.wp-block-icon__inserter-sidebar { | |
| 900 | + padding-bottom: 24px; | |
| 927 | 901 | } |
| 902 | +@media (min-width: 782px) { | |
| 903 | + .wp-block-icon__inserter-sidebar { | |
| 904 | + overflow-x: visible; | |
| 905 | + overflow-y: auto; | |
| 906 | + position: absolute; | |
| 907 | + top: 72px; | |
| 908 | + left: 0; | |
| 909 | + bottom: 0; | |
| 910 | + width: 280px; | |
| 911 | + padding-top: 24px; | |
| 912 | + padding-inline: 24px; | |
| 913 | + } | |
| 914 | +} | |
| 928 | 915 | |
| 929 | -.wp-block-icon__inserter-header { | |
| 930 | - align-items: center; | |
| 916 | +@media (min-width: 782px) { | |
| 917 | + .wp-block-icon__inserter-panel { | |
| 918 | + margin-inline-start: 280px; | |
| 919 | + } | |
| 920 | +} | |
| 921 | + | |
| 922 | +.wp-block-icon__inserter-loading { | |
| 931 | 923 | display: flex; |
| 932 | - justify-content: space-between; | |
| 933 | - margin-bottom: 16px; | |
| 924 | + justify-content: center; | |
| 925 | + padding: 24px; | |
| 934 | 926 | } |
| 935 | 927 | |
| 936 | 928 | .wp-block-icon__inserter-grid-icons-list { |
| 937 | 929 | display: grid; |
| @@ -951,15 +943,18 @@ | ||
| 951 | 943 | |
| 952 | 944 | .wp-block-icon__inserter-grid-icons-list-item-icon { |
| 953 | 945 | padding: 12px; |
| 954 | 946 | } |
| 947 | +.wp-block-icon__inserter-grid-icons-list-item-icon svg { | |
| 948 | + display: block; | |
| 949 | + width: 24px; | |
| 950 | + height: 24px; | |
| 951 | +} | |
| 955 | 952 | |
| 956 | 953 | .wp-block-icon__inserter-grid-icons-list-item-title { |
| 957 | 954 | font-size: 12px; |
| 958 | 955 | padding: 4px 4px 8px; |
| 959 | - overflow: hidden; | |
| 960 | - text-overflow: ellipsis; | |
| 961 | - white-space: nowrap; | |
| 956 | + overflow-wrap: break-word; | |
| 962 | 957 | } |
| 963 | 958 | |
| 964 | 959 | .wp-block-icon__toolbar-content { |
| 965 | 960 | width: 250px; |
| @@ -979,9 +974,13 @@ | ||
| 979 | 974 | |
| 980 | 975 | .wp-block-image { |
| 981 | 976 | position: relative; |
| 982 | 977 | } |
| 983 | -.wp-block-image .is-applying img, .wp-block-image.is-transient img { | |
| 978 | +.wp-block-image.is-transient:not(.alignwide):not(.alignfull), .wp-block-image:has(img.is-swapping-media):not(.alignwide):not(.alignfull) { | |
| 979 | + width: fit-content; | |
| 980 | +} | |
| 981 | +.wp-block-image .is-applying img, .wp-block-image.is-transient img, | |
| 982 | +.wp-block-image img.is-swapping-media { | |
| 984 | 983 | opacity: 0.3; |
| 985 | 984 | } |
| 986 | 985 | .wp-block-image figcaption img { |
| 987 | 986 | display: inline; |
| @@ -992,8 +991,14 @@ | ||
| 992 | 991 | left: 50%; |
| 993 | 992 | transform: translate(-50%, -50%); |
| 994 | 993 | margin: 0; |
| 995 | 994 | } |
| 995 | +.wp-block-image .components-resizable-box__container { | |
| 996 | + pointer-events: none; | |
| 997 | +} | |
| 998 | +.wp-block-image .components-resizable-box__handle { | |
| 999 | + pointer-events: auto; | |
| 1000 | +} | |
| 996 | 1001 | |
| 997 | 1002 | .wp-block-image__placeholder { |
| 998 | 1003 | aspect-ratio: 4/3; |
| 999 | 1004 | } |
| @@ -1062,38 +1067,8 @@ | ||
| 1062 | 1067 | .wp-block[data-align]:has(> .wp-block-image) { |
| 1063 | 1068 | position: relative; |
| 1064 | 1069 | } |
| 1065 | 1070 | |
| 1066 | -.wp-block-image__crop-area { | |
| 1067 | - position: relative; | |
| 1068 | - max-width: 100%; | |
| 1069 | - width: 100%; | |
| 1070 | - overflow: hidden; | |
| 1071 | -} | |
| 1072 | -.wp-block-image__crop-area .reactEasyCrop_Container { | |
| 1073 | - pointer-events: auto; | |
| 1074 | -} | |
| 1075 | -.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image { | |
| 1076 | - border: none; | |
| 1077 | - border-radius: 0; | |
| 1078 | -} | |
| 1079 | - | |
| 1080 | -.wp-block-image__crop-icon { | |
| 1081 | - padding: 0 8px; | |
| 1082 | - min-width: 48px; | |
| 1083 | - display: flex; | |
| 1084 | - justify-content: center; | |
| 1085 | - align-items: center; | |
| 1086 | -} | |
| 1087 | -.wp-block-image__crop-icon svg { | |
| 1088 | - fill: currentColor; | |
| 1089 | -} | |
| 1090 | - | |
| 1091 | -.wp-block-image__zoom .components-popover__content { | |
| 1092 | - min-width: 260px; | |
| 1093 | - overflow: visible !important; | |
| 1094 | -} | |
| 1095 | - | |
| 1096 | 1071 | .wp-block-image__toolbar_content_textarea__container { |
| 1097 | 1072 | padding: 8px; |
| 1098 | 1073 | } |
| 1099 | 1074 | |
| @@ -1123,8 +1098,13 @@ | ||
| 1123 | 1098 | /*rtl:ignore*/ |
| 1124 | 1099 | direction: ltr; |
| 1125 | 1100 | } |
| 1126 | 1101 | |
| 1102 | +.wp-block-math__learn-more { | |
| 1103 | + display: inline-block; | |
| 1104 | + margin-top: var(--wpds-dimension-gap-sm, 8px); | |
| 1105 | +} | |
| 1106 | + | |
| 1127 | 1107 | .wp-block-media-text__media { |
| 1128 | 1108 | position: relative; |
| 1129 | 1109 | } |
| 1130 | 1110 | .wp-block-media-text__media.is-transient img { |
| @@ -1178,10 +1158,10 @@ | ||
| 1178 | 1158 | .wp-block-more .rich-text { |
| 1179 | 1159 | position: relative; |
| 1180 | 1160 | font-size: 13px; |
| 1181 | 1161 | text-transform: uppercase; |
| 1182 | - font-weight: 600; | |
| 1183 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1162 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1163 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1184 | 1164 | color: #757575; |
| 1185 | 1165 | display: inline-flex; |
| 1186 | 1166 | white-space: nowrap; |
| 1187 | 1167 | text-align: center; |
| @@ -1237,8 +1217,12 @@ | ||
| 1237 | 1217 | opacity: 1; |
| 1238 | 1218 | visibility: visible; |
| 1239 | 1219 | } |
| 1240 | 1220 | |
| 1221 | +.wp-block-navigation__container.block-editor-block-list__layout { | |
| 1222 | + flex-grow: 1; | |
| 1223 | +} | |
| 1224 | + | |
| 1241 | 1225 | .is-editing > .wp-block-navigation__container { |
| 1242 | 1226 | visibility: visible; |
| 1243 | 1227 | opacity: 1; |
| 1244 | 1228 | display: flex; |
| @@ -1330,8 +1314,9 @@ | ||
| 1330 | 1314 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender { |
| 1331 | 1315 | background-color: #1e1e1e; |
| 1332 | 1316 | color: #fff; |
| 1333 | 1317 | height: 24px; |
| 1318 | + width: 24px; | |
| 1334 | 1319 | } |
| 1335 | 1320 | .wp-block-navigation .wp-block + .block-list-appender .block-editor-button-block-appender.block-editor-button-block-appender.block-editor-button-block-appender { |
| 1336 | 1321 | padding: 0; |
| 1337 | 1322 | } |
| @@ -1379,9 +1364,9 @@ | ||
| 1379 | 1364 | display: flex; |
| 1380 | 1365 | align-items: center; |
| 1381 | 1366 | min-width: 96px; |
| 1382 | 1367 | font-size: 13px; |
| 1383 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1368 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1384 | 1369 | } |
| 1385 | 1370 | .wp-block-navigation.is-selected .wp-block-navigation-placeholder__preview { |
| 1386 | 1371 | display: none; |
| 1387 | 1372 | } |
| @@ -1473,9 +1458,9 @@ | ||
| 1473 | 1458 | |
| 1474 | 1459 | .wp-block-navigation-placeholder__actions { |
| 1475 | 1460 | display: flex; |
| 1476 | 1461 | font-size: 13px; |
| 1477 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1462 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1478 | 1463 | gap: 6px; |
| 1479 | 1464 | align-items: center; |
| 1480 | 1465 | } |
| 1481 | 1466 | .wp-block-navigation-placeholder__actions .components-dropdown, |
| @@ -1613,10 +1598,9 @@ | ||
| 1613 | 1598 | height: 64px !important; |
| 1614 | 1599 | grid-column: span 2; |
| 1615 | 1600 | } |
| 1616 | 1601 | .wp-block-navigation__overlay-menu-preview.open { |
| 1617 | - box-shadow: inset 0 0 0 1px #e0e0e0; | |
| 1618 | - outline: 1px solid transparent; | |
| 1602 | + border-color: #e0e0e0; | |
| 1619 | 1603 | background-color: #fff; |
| 1620 | 1604 | } |
| 1621 | 1605 | |
| 1622 | 1606 | .wp-block-navigation__toolbar-menu-selector.components-toolbar-group:empty { |
| @@ -1746,8 +1730,12 @@ | ||
| 1746 | 1730 | .wp-block-navigation__overlay-help-text-wrapper { |
| 1747 | 1731 | margin-top: 8px; |
| 1748 | 1732 | } |
| 1749 | 1733 | |
| 1734 | +.wp-block-audio__autoplay-help-text { | |
| 1735 | + grid-column: 1/-1; | |
| 1736 | +} | |
| 1737 | + | |
| 1750 | 1738 | /** |
| 1751 | 1739 | * Appender |
| 1752 | 1740 | */ |
| 1753 | 1741 | .wp-block-navigation .block-list-appender { |
| @@ -1768,13 +1756,15 @@ | ||
| 1768 | 1756 | } |
| 1769 | 1757 | .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 { |
| 1770 | 1758 | visibility: visible !important; |
| 1771 | 1759 | opacity: 1 !important; |
| 1772 | - min-width: 200px !important; | |
| 1773 | 1760 | height: auto !important; |
| 1774 | 1761 | width: auto !important; |
| 1775 | 1762 | overflow: visible !important; |
| 1776 | 1763 | } |
| 1764 | +.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 { | |
| 1765 | + min-width: 200px !important; | |
| 1766 | +} | |
| 1777 | 1767 | |
| 1778 | 1768 | /** |
| 1779 | 1769 | * Navigation Items. |
| 1780 | 1770 | */ |
| @@ -1825,9 +1815,9 @@ | ||
| 1825 | 1815 | |
| 1826 | 1816 | .link-control-transform__subheading { |
| 1827 | 1817 | font-size: 11px; |
| 1828 | 1818 | text-transform: uppercase; |
| 1829 | - font-weight: 499; | |
| 1819 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1830 | 1820 | color: #1e1e1e; |
| 1831 | 1821 | margin-bottom: 1.5em; |
| 1832 | 1822 | } |
| 1833 | 1823 | |
| @@ -1882,9 +1872,8 @@ | ||
| 1882 | 1872 | } |
| 1883 | 1873 | .wp-block-navigation-submenu.is-selected > .wp-block-navigation__submenu-container, .wp-block-navigation-submenu.has-child-selected > .wp-block-navigation__submenu-container { |
| 1884 | 1874 | visibility: visible !important; |
| 1885 | 1875 | opacity: 1 !important; |
| 1886 | - min-width: 200px !important; | |
| 1887 | 1876 | height: auto !important; |
| 1888 | 1877 | width: auto !important; |
| 1889 | 1878 | position: absolute; |
| 1890 | 1879 | left: -1px; |
| @@ -1904,8 +1893,11 @@ | ||
| 1904 | 1893 | width: 0.5em; |
| 1905 | 1894 | background: transparent; |
| 1906 | 1895 | } |
| 1907 | 1896 | } |
| 1897 | +.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 { | |
| 1898 | + min-width: 200px !important; | |
| 1899 | +} | |
| 1908 | 1900 | |
| 1909 | 1901 | .block-editor-block-list__block[data-type="core/nextpage"] { |
| 1910 | 1902 | max-width: 100%; |
| 1911 | 1903 | text-align: center; |
| @@ -1921,10 +1913,10 @@ | ||
| 1921 | 1913 | .wp-block-nextpage > span { |
| 1922 | 1914 | font-size: 13px; |
| 1923 | 1915 | position: relative; |
| 1924 | 1916 | text-transform: uppercase; |
| 1925 | - font-weight: 600; | |
| 1926 | - font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1917 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 1918 | + font-family: -apple-system, system-ui, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; | |
| 1927 | 1919 | color: #757575; |
| 1928 | 1920 | border-radius: 4px; |
| 1929 | 1921 | background: #fff; |
| 1930 | 1922 | padding: 6px 8px; |
| @@ -1955,20 +1947,8 @@ | ||
| 1955 | 1947 | .wp-block-pages-list__item__link { |
| 1956 | 1948 | pointer-events: none; |
| 1957 | 1949 | } |
| 1958 | 1950 | |
| 1959 | -@media (min-width: 600px) { | |
| 1960 | - .wp-block-page-list-modal { | |
| 1961 | - max-width: 480px; | |
| 1962 | - } | |
| 1963 | -} | |
| 1964 | - | |
| 1965 | -.wp-block-page-list-modal-buttons { | |
| 1966 | - display: flex; | |
| 1967 | - justify-content: flex-end; | |
| 1968 | - gap: 12px; | |
| 1969 | -} | |
| 1970 | - | |
| 1971 | 1951 | .wp-block-page-list .open-on-click:focus-within > .wp-block-navigation__submenu-container { |
| 1972 | 1952 | visibility: visible; |
| 1973 | 1953 | opacity: 1; |
| 1974 | 1954 | width: auto; |
| @@ -2012,11 +1992,12 @@ | ||
| 2012 | 1992 | margin: 16px; |
| 2013 | 1993 | padding: 16px; |
| 2014 | 1994 | } |
| 2015 | 1995 | |
| 2016 | -.wp-block-playlist li.block-list-appender.block-list-appender { | |
| 2017 | - position: initial; | |
| 2018 | - margin-top: var(--wp--preset--spacing--30, 1em); | |
| 1996 | +.wp-block-playlist__waveform-color-controls { | |
| 1997 | + display: grid; | |
| 1998 | + grid-column: 1/-1; | |
| 1999 | + row-gap: 0; | |
| 2019 | 2000 | } |
| 2020 | 2001 | |
| 2021 | 2002 | .wp-block-post-excerpt .wp-block-post-excerpt__excerpt.is-inline { |
| 2022 | 2003 | display: inline; |
| @@ -2033,8 +2014,12 @@ | ||
| 2033 | 2014 | .wp-block-pullquote__citation { |
| 2034 | 2015 | color: inherit; |
| 2035 | 2016 | } |
| 2036 | 2017 | |
| 2018 | +.wp-block-pullquote[style*=line-height] :where(p) { | |
| 2019 | + line-height: inherit; | |
| 2020 | +} | |
| 2021 | + | |
| 2037 | 2022 | .wp-block-rss li a > div { |
| 2038 | 2023 | display: inline; |
| 2039 | 2024 | } |
| 2040 | 2025 | |
| @@ -2204,8 +2189,12 @@ | ||
| 2204 | 2189 | padding: 1em 0; |
| 2205 | 2190 | border: 1px dashed; |
| 2206 | 2191 | } |
| 2207 | 2192 | |
| 2193 | +.wp-block-site-title.has-fit-text > * { | |
| 2194 | + white-space: inherit !important; | |
| 2195 | +} | |
| 2196 | + | |
| 2208 | 2197 | .wp-block-social-links .wp-social-link { |
| 2209 | 2198 | line-height: 0; |
| 2210 | 2199 | } |
| 2211 | 2200 | |
| @@ -2323,8 +2312,15 @@ | ||
| 2323 | 2312 | margin-bottom: 0; |
| 2324 | 2313 | height: 100% !important; |
| 2325 | 2314 | } |
| 2326 | 2315 | |
| 2316 | +@media (min-width: 600px) { | |
| 2317 | + .wp-block-tab-list__mover-button { | |
| 2318 | + width: 24px; | |
| 2319 | + min-width: 0 !important; | |
| 2320 | + } | |
| 2321 | +} | |
| 2322 | + | |
| 2327 | 2323 | .wp-block[data-align=left] > .wp-block-table, .wp-block[data-align=right] > .wp-block-table, .wp-block[data-align=center] > .wp-block-table { |
| 2328 | 2324 | height: auto; |
| 2329 | 2325 | } |
| 2330 | 2326 | .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 { |
| @@ -2378,27 +2374,8 @@ | ||
| 2378 | 2374 | .blocks-table__placeholder-input { |
| 2379 | 2375 | width: 112px; |
| 2380 | 2376 | } |
| 2381 | 2377 | |
| 2382 | -.wp-block-tab-list > .block-editor-block-list__layout { | |
| 2383 | - display: contents; | |
| 2384 | -} | |
| 2385 | -.wp-block-tab-list .block-editor-block-list__block:has(> .wp-block-tab) { | |
| 2386 | - display: contents; | |
| 2387 | -} | |
| 2388 | - | |
| 2389 | -.wp-block-tab.is-selected { | |
| 2390 | - outline-offset: 2px; | |
| 2391 | -} | |
| 2392 | - | |
| 2393 | -.block-editor-block-preview__live-content:has(.wp-block-tab) { | |
| 2394 | - flex-basis: inherit !important; | |
| 2395 | - flex-grow: inherit !important; | |
| 2396 | -} | |
| 2397 | -.block-editor-block-preview__live-content:has(.wp-block-tab) .wp-block-tab { | |
| 2398 | - flex-basis: 100% !important; | |
| 2399 | -} | |
| 2400 | - | |
| 2401 | 2378 | .block-editor-template-part__selection-modal { |
| 2402 | 2379 | z-index: 1000001; |
| 2403 | 2380 | } |
| 2404 | 2381 | .block-editor-template-part__selection-modal .block-editor-block-patterns-list { |
| @@ -2503,9 +2480,9 @@ | ||
| 2503 | 2480 | margin-top: 4px; |
| 2504 | 2481 | color: #757575; |
| 2505 | 2482 | text-transform: uppercase; |
| 2506 | 2483 | font-size: 11px; |
| 2507 | - font-weight: 499; | |
| 2484 | + font-weight: var(--wpds-typography-font-weight-emphasis, 600); | |
| 2508 | 2485 | display: block; |
| 2509 | 2486 | } |
| 2510 | 2487 | |
| 2511 | 2488 | .block-library-video-tracks-editor > .components-popover__content { |
| @@ -2545,14 +2522,8 @@ | ||
| 2545 | 2522 | margin-bottom: -4px; |
| 2546 | 2523 | z-index: 2; |
| 2547 | 2524 | } |
| 2548 | 2525 | |
| 2549 | -@media (min-width: 600px) { | |
| 2550 | - .wp-block-query__enhanced-pagination-modal { | |
| 2551 | - max-width: 480px; | |
| 2552 | - } | |
| 2553 | -} | |
| 2554 | - | |
| 2555 | 2526 | .block-editor-block-settings-menu__popover.is-expanded { |
| 2556 | 2527 | overflow-y: scroll; |
| 2557 | 2528 | } |
| 2558 | 2529 | .block-editor-block-settings-menu__popover .block-library-query-pattern__selection-content { |
| @@ -2567,9 +2538,9 @@ | ||
| 2567 | 2538 | grid-template-columns: 1fr 1fr; |
| 2568 | 2539 | } |
| 2569 | 2540 | } |
| 2570 | 2541 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| 2571 | - grid-gap: 12px; | |
| 2542 | + gap: 12px; | |
| 2572 | 2543 | min-width: 280px; |
| 2573 | 2544 | } |
| 2574 | 2545 | @media (min-width: 600px) { |
| 2575 | 2546 | .block-editor-block-settings-menu__popover .block-editor-block-patterns-list { |
| @@ -2589,11 +2560,8 @@ | ||
| 2589 | 2560 | } |
| 2590 | 2561 | |
| 2591 | 2562 | :where(.editor-styles-wrapper) .wp-block-query-pagination { |
| 2592 | 2563 | max-width: 100%; |
| 2593 | -} | |
| 2594 | -:where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout { | |
| 2595 | - margin: 0; | |
| 2596 | 2564 | } |
| 2597 | 2565 | |
| 2598 | 2566 | .wp-block-query-pagination-numbers a { |
| 2599 | 2567 | text-decoration: underline; |