@wordpress/block-library 8.7.0 → 8.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +4 -0
- package/build/column/index.js +2 -1
- package/build/column/index.js.map +1 -1
- package/build/columns/edit.js +24 -6
- package/build/columns/edit.js.map +1 -1
- package/build/columns/index.js +2 -1
- package/build/columns/index.js.map +1 -1
- package/build/columns/utils.js +4 -9
- package/build/columns/utils.js.map +1 -1
- package/build/cover/edit/index.js +46 -50
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/edit/{resizable-cover.js → resizable-cover-popover.js} +32 -6
- package/build/cover/edit/resizable-cover-popover.js.map +1 -0
- package/build/cover/index.js +12 -0
- package/build/cover/index.js.map +1 -1
- package/build/cover/transforms.js +10 -7
- package/build/cover/transforms.js.map +1 -1
- package/build/details/edit.js +67 -0
- package/build/details/edit.js.map +1 -0
- package/build/details/index.js +110 -0
- package/build/details/index.js.map +1 -0
- package/build/details/save.js +33 -0
- package/build/details/save.js.map +1 -0
- package/build/details-content/edit.js +34 -0
- package/build/details-content/edit.js.map +1 -0
- package/build/details-content/index.js +94 -0
- package/build/details-content/index.js.map +1 -0
- package/build/details-content/save.js +20 -0
- package/build/details-content/save.js.map +1 -0
- package/build/details-summary/edit.js +42 -0
- package/build/details-summary/edit.js.map +1 -0
- package/build/details-summary/index.js +97 -0
- package/build/details-summary/index.js.map +1 -0
- package/build/details-summary/save.js +24 -0
- package/build/details-summary/save.js.map +1 -0
- package/build/embed/deprecated.js +4 -1
- package/build/embed/deprecated.js.map +1 -1
- package/build/embed/embed-link-settings.native.js +1 -1
- package/build/embed/embed-link-settings.native.js.map +1 -1
- package/build/embed/embed-placeholder.js +1 -1
- package/build/embed/embed-placeholder.js.map +1 -1
- package/build/embed/index.js +4 -1
- package/build/embed/index.js.map +1 -1
- package/build/embed/transforms.js +4 -1
- package/build/embed/transforms.js.map +1 -1
- package/build/embed/util.js +4 -1
- package/build/embed/util.js.map +1 -1
- package/build/file/edit.native.js +0 -2
- package/build/file/edit.native.js.map +1 -1
- package/build/gallery/use-get-media.native.js +2 -1
- package/build/gallery/use-get-media.native.js.map +1 -1
- package/build/group/edit.js +3 -1
- package/build/group/edit.js.map +1 -1
- package/build/group/index.js +3 -0
- package/build/group/index.js.map +1 -1
- package/build/image/edit.js +16 -13
- package/build/image/edit.js.map +1 -1
- package/build/image/index.js +5 -3
- package/build/image/index.js.map +1 -1
- package/build/index.js +24 -6
- package/build/index.js.map +1 -1
- package/build/index.native.js +9 -5
- package/build/index.native.js.map +1 -1
- package/build/media-text/edit.js +4 -2
- package/build/media-text/edit.js.map +1 -1
- package/build/media-text/index.js +3 -0
- package/build/media-text/index.js.map +1 -1
- package/build/media-text/media-container.js +2 -6
- package/build/media-text/media-container.js.map +1 -1
- package/build/media-text/media-container.native.js +3 -3
- package/build/media-text/media-container.native.js.map +1 -1
- package/build/navigation/deprecated.js +8 -11
- package/build/navigation/deprecated.js.map +1 -1
- package/build/navigation/edit/index.js +32 -64
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +1 -14
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/post-author/index.js +0 -1
- package/build/post-author/index.js.map +1 -1
- package/build/post-date/edit.js +4 -2
- package/build/post-date/edit.js.map +1 -1
- package/build/post-excerpt/edit.js +2 -2
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +2 -1
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +16 -27
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-time-to-read/edit.js +1 -1
- package/build/post-time-to-read/edit.js.map +1 -1
- package/build/post-time-to-read/index.js +7 -0
- package/build/post-time-to-read/index.js.map +1 -1
- package/build/query/deprecated.js +8 -6
- package/build/query/deprecated.js.map +1 -1
- package/build/query/edit/inspector-controls/create-new-post-link.js +41 -0
- package/build/query/edit/inspector-controls/create-new-post-link.js.map +1 -0
- package/build/query/edit/inspector-controls/index.js +14 -6
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/pattern-selection-modal.js +2 -1
- package/build/query/edit/pattern-selection-modal.js.map +1 -1
- package/build/query/index.js +5 -12
- package/build/query/index.js.map +1 -1
- package/build/site-logo/edit.js +114 -16
- package/build/site-logo/edit.js.map +1 -1
- package/build/site-logo/index.js +1 -1
- package/build/social-link/icons/chain.js +1 -1
- package/build/social-link/icons/chain.js.map +1 -1
- package/build/social-link/icons/mail.js +1 -1
- package/build/social-link/icons/mail.js.map +1 -1
- package/build/spacer/controls.js +25 -6
- package/build/spacer/controls.js.map +1 -1
- package/build/spacer/edit.js +129 -13
- package/build/spacer/edit.js.map +1 -1
- package/build/spacer/save.js +2 -2
- package/build/spacer/save.js.map +1 -1
- package/build/table/state.js +35 -35
- package/build/table/state.js.map +1 -1
- package/build/template-part/edit/index.js +2 -1
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/utils/hooks.js +2 -2
- package/build/template-part/edit/utils/hooks.js.map +1 -1
- package/build/term-description/index.js +1 -2
- package/build/term-description/index.js.map +1 -1
- package/build/utils/migrate-font-family.js +12 -5
- package/build/utils/migrate-font-family.js.map +1 -1
- package/build/video/edit.native.js +4 -3
- package/build/video/edit.native.js.map +1 -1
- package/build-module/column/index.js +2 -1
- package/build-module/column/index.js.map +1 -1
- package/build-module/columns/edit.js +24 -6
- package/build-module/columns/edit.js.map +1 -1
- package/build-module/columns/index.js +2 -1
- package/build-module/columns/index.js.map +1 -1
- package/build-module/columns/utils.js +4 -8
- package/build-module/columns/utils.js.map +1 -1
- package/build-module/cover/edit/index.js +48 -52
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/edit/{resizable-cover.js → resizable-cover-popover.js} +31 -6
- package/build-module/cover/edit/resizable-cover-popover.js.map +1 -0
- package/build-module/cover/index.js +12 -0
- package/build-module/cover/index.js.map +1 -1
- package/build-module/cover/transforms.js +5 -1
- package/build-module/cover/transforms.js.map +1 -1
- package/build-module/details/edit.js +52 -0
- package/build-module/details/edit.js.map +1 -0
- package/build-module/details/index.js +91 -0
- package/build-module/details/index.js.map +1 -0
- package/build-module/details/save.js +20 -0
- package/build-module/details/save.js.map +1 -0
- package/build-module/details-content/edit.js +23 -0
- package/build-module/details-content/edit.js.map +1 -0
- package/build-module/details-content/index.js +76 -0
- package/build-module/details-content/index.js.map +1 -0
- package/build-module/details-content/save.js +11 -0
- package/build-module/details-content/save.js.map +1 -0
- package/build-module/details-summary/edit.js +30 -0
- package/build-module/details-summary/edit.js.map +1 -0
- package/build-module/details-summary/index.js +79 -0
- package/build-module/details-summary/index.js.map +1 -0
- package/build-module/details-summary/save.js +16 -0
- package/build-module/details-summary/save.js.map +1 -0
- package/build-module/embed/deprecated.js +4 -1
- package/build-module/embed/deprecated.js.map +1 -1
- package/build-module/embed/embed-link-settings.native.js +1 -1
- package/build-module/embed/embed-link-settings.native.js.map +1 -1
- package/build-module/embed/embed-placeholder.js +1 -1
- package/build-module/embed/embed-placeholder.js.map +1 -1
- package/build-module/embed/index.js +4 -1
- package/build-module/embed/index.js.map +1 -1
- package/build-module/embed/transforms.js +4 -1
- package/build-module/embed/transforms.js.map +1 -1
- package/build-module/embed/util.js +4 -1
- package/build-module/embed/util.js.map +1 -1
- package/build-module/file/edit.native.js +0 -2
- package/build-module/file/edit.native.js.map +1 -1
- package/build-module/gallery/use-get-media.native.js +2 -1
- package/build-module/gallery/use-get-media.native.js.map +1 -1
- package/build-module/group/edit.js +3 -1
- package/build-module/group/edit.js.map +1 -1
- package/build-module/group/index.js +3 -0
- package/build-module/group/index.js.map +1 -1
- package/build-module/image/edit.js +16 -13
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/index.js +5 -3
- package/build-module/image/index.js.map +1 -1
- package/build-module/index.js +21 -6
- package/build-module/index.js.map +1 -1
- package/build-module/index.native.js +9 -5
- package/build-module/index.native.js.map +1 -1
- package/build-module/media-text/edit.js +4 -2
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/media-text/index.js +3 -0
- package/build-module/media-text/index.js.map +1 -1
- package/build-module/media-text/media-container.js +1 -5
- package/build-module/media-text/media-container.js.map +1 -1
- package/build-module/media-text/media-container.native.js +1 -1
- package/build-module/media-text/media-container.native.js.map +1 -1
- package/build-module/navigation/deprecated.js +8 -10
- package/build-module/navigation/deprecated.js.map +1 -1
- package/build-module/navigation/edit/index.js +31 -63
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +1 -14
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/post-author/index.js +0 -1
- package/build-module/post-author/index.js.map +1 -1
- package/build-module/post-date/edit.js +4 -2
- package/build-module/post-date/edit.js.map +1 -1
- package/build-module/post-excerpt/edit.js +2 -2
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +2 -1
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +16 -27
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-time-to-read/edit.js +1 -1
- package/build-module/post-time-to-read/edit.js.map +1 -1
- package/build-module/post-time-to-read/index.js +7 -0
- package/build-module/post-time-to-read/index.js.map +1 -1
- package/build-module/query/deprecated.js +5 -2
- package/build-module/query/deprecated.js.map +1 -1
- package/build-module/query/edit/inspector-controls/create-new-post-link.js +33 -0
- package/build-module/query/edit/inspector-controls/create-new-post-link.js.map +1 -0
- package/build-module/query/edit/inspector-controls/index.js +12 -7
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/pattern-selection-modal.js +2 -1
- package/build-module/query/edit/pattern-selection-modal.js.map +1 -1
- package/build-module/query/index.js +5 -10
- package/build-module/query/index.js.map +1 -1
- package/build-module/site-logo/edit.js +115 -18
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/site-logo/index.js +1 -1
- package/build-module/social-link/icons/chain.js +1 -1
- package/build-module/social-link/icons/chain.js.map +1 -1
- package/build-module/social-link/icons/mail.js +1 -1
- package/build-module/social-link/icons/mail.js.map +1 -1
- package/build-module/spacer/controls.js +27 -9
- package/build-module/spacer/controls.js.map +1 -1
- package/build-module/spacer/edit.js +129 -14
- package/build-module/spacer/edit.js.map +1 -1
- package/build-module/spacer/save.js +3 -3
- package/build-module/spacer/save.js.map +1 -1
- package/build-module/table/state.js +35 -33
- package/build-module/table/state.js.map +1 -1
- package/build-module/template-part/edit/index.js +2 -1
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/utils/hooks.js +2 -2
- package/build-module/template-part/edit/utils/hooks.js.map +1 -1
- package/build-module/term-description/index.js +1 -2
- package/build-module/term-description/index.js.map +1 -1
- package/build-module/utils/migrate-font-family.js +9 -1
- package/build-module/utils/migrate-font-family.js.map +1 -1
- package/build-module/video/edit.native.js +4 -3
- package/build-module/video/edit.native.js.map +1 -1
- package/build-style/columns/style-rtl.css +4 -1
- package/build-style/columns/style.css +4 -1
- package/build-style/common-rtl.css +1 -1
- package/build-style/common.css +1 -1
- package/build-style/cover/editor-rtl.css +9 -10
- package/build-style/cover/editor.css +9 -10
- package/build-style/cover/style-rtl.css +1 -1
- package/build-style/cover/style.css +1 -1
- package/build-style/details/style-rtl.css +91 -0
- package/build-style/details/style.css +91 -0
- package/build-style/details-summary/editor-rtl.css +91 -0
- package/build-style/details-summary/editor.css +91 -0
- package/build-style/details-summary/style-rtl.css +91 -0
- package/build-style/details-summary/style.css +91 -0
- package/build-style/editor-rtl.css +97 -74
- package/build-style/editor.css +97 -74
- package/build-style/file/style-rtl.css +4 -3
- package/build-style/file/style.css +4 -3
- package/build-style/html/editor-rtl.css +2 -2
- package/build-style/html/editor.css +2 -2
- package/build-style/image/editor-rtl.css +1 -1
- package/build-style/image/editor.css +1 -1
- package/build-style/post-excerpt/style-rtl.css +1 -1
- package/build-style/post-excerpt/style.css +1 -1
- package/build-style/pullquote/style-rtl.css +4 -1
- package/build-style/pullquote/style.css +4 -1
- package/build-style/query/editor-rtl.css +8 -12
- package/build-style/query/editor.css +8 -12
- package/build-style/search/style-rtl.css +2 -0
- package/build-style/search/style.css +2 -0
- package/build-style/shortcode/editor-rtl.css +15 -35
- package/build-style/shortcode/editor.css +15 -35
- package/build-style/site-logo/editor-rtl.css +46 -0
- package/build-style/site-logo/editor.css +46 -0
- package/build-style/spacer/editor-rtl.css +4 -2
- package/build-style/spacer/editor.css +4 -2
- package/build-style/style-rtl.css +25 -8
- package/build-style/style.css +25 -8
- package/build-style/template-part/editor-rtl.css +8 -12
- package/build-style/template-part/editor.css +8 -12
- package/package.json +31 -31
- package/src/buttons/test/__snapshots__/edit.native.js.snap +18 -0
- package/src/buttons/test/edit.native.js +123 -2
- package/src/column/block.json +2 -1
- package/src/columns/block.json +2 -1
- package/src/columns/edit.js +33 -9
- package/src/columns/style.scss +5 -1
- package/src/columns/utils.js +8 -9
- package/src/common.scss +1 -1
- package/src/cover/block.json +12 -0
- package/src/cover/edit/index.js +44 -37
- package/src/cover/edit/resizable-cover-popover.js +82 -0
- package/src/cover/editor.scss +20 -13
- package/src/cover/index.php +9 -10
- package/src/cover/style.scss +1 -1
- package/src/cover/test/edit.js +1 -1
- package/src/cover/transforms.js +4 -1
- package/src/details/block.json +54 -0
- package/src/details/edit.js +59 -0
- package/src/details/index.js +35 -0
- package/src/details/save.js +15 -0
- package/src/details/style.scss +3 -0
- package/src/details-content/block.json +50 -0
- package/src/details-content/edit.js +29 -0
- package/src/details-content/index.js +23 -0
- package/src/details-content/save.js +12 -0
- package/src/details-summary/block.json +53 -0
- package/src/details-summary/edit.js +27 -0
- package/src/details-summary/editor.scss +3 -0
- package/src/details-summary/index.js +23 -0
- package/src/details-summary/save.js +13 -0
- package/src/details-summary/style.scss +3 -0
- package/src/editor.scss +1 -0
- package/src/embed/block.json +4 -1
- package/src/embed/embed-link-settings.native.js +1 -1
- package/src/embed/embed-placeholder.js +1 -1
- package/src/file/edit.native.js +0 -2
- package/src/file/style.scss +5 -2
- package/src/gallery/test/index.native.js +4 -4
- package/src/gallery/test/use-get-media.native.js +24 -0
- package/src/gallery/use-get-media.native.js +1 -1
- package/src/group/block.json +3 -0
- package/src/group/edit.js +8 -2
- package/src/heading/test/__snapshots__/index.native.js.snap +12 -0
- package/src/heading/test/index.native.js +71 -0
- package/src/html/editor.scss +2 -21
- package/src/image/block.json +5 -3
- package/src/image/edit.js +21 -17
- package/src/image/editor.scss +1 -1
- package/src/index.js +13 -3
- package/src/index.native.js +9 -5
- package/src/list/test/edit.native.js +7 -7
- package/src/media-text/block.json +3 -0
- package/src/media-text/edit.js +2 -1
- package/src/media-text/media-container.js +1 -5
- package/src/media-text/media-container.native.js +1 -1
- package/src/navigation/deprecated.js +15 -19
- package/src/navigation/edit/index.js +32 -106
- package/src/navigation/edit/unsaved-inner-blocks.js +34 -46
- package/src/navigation/index.php +15 -12
- package/src/paragraph/test/edit.native.js +616 -1
- package/src/post-author/block.json +0 -1
- package/src/post-date/edit.js +4 -0
- package/src/post-date/index.php +17 -8
- package/src/post-excerpt/edit.js +1 -1
- package/src/post-excerpt/index.php +3 -3
- package/src/post-excerpt/style.scss +2 -1
- package/src/post-featured-image/dimension-controls.js +5 -1
- package/src/post-featured-image/edit.js +14 -34
- package/src/post-featured-image/index.php +1 -1
- package/src/post-time-to-read/block.json +7 -0
- package/src/post-time-to-read/edit.js +1 -1
- package/src/post-time-to-read/index.php +3 -3
- package/src/preformatted/test/__snapshots__/edit.native.js.snap +2 -2
- package/src/preformatted/test/edit.native.js +42 -2
- package/src/pullquote/style.scss +5 -1
- package/src/pullquote/test/edit.native.js +65 -0
- package/src/query/deprecated.js +4 -1
- package/src/query/edit/inspector-controls/create-new-post-link.js +26 -0
- package/src/query/edit/inspector-controls/index.js +13 -6
- package/src/query/edit/pattern-selection-modal.js +1 -0
- package/src/query/editor.scss +8 -11
- package/src/query/index.js +1 -7
- package/src/quote/test/edit.native.js +88 -0
- package/src/search/index.php +1 -1
- package/src/search/style.scss +3 -0
- package/src/shortcode/editor.scss +6 -5
- package/src/site-logo/block.json +1 -1
- package/src/site-logo/edit.js +123 -9
- package/src/site-logo/editor.scss +57 -0
- package/src/social-link/icons/chain.js +1 -1
- package/src/social-link/icons/mail.js +1 -1
- package/src/social-link/index.php +2 -2
- package/src/spacer/controls.js +42 -17
- package/src/spacer/edit.js +176 -18
- package/src/spacer/editor.scss +2 -1
- package/src/spacer/save.js +3 -3
- package/src/style.scss +2 -0
- package/src/table/state.js +83 -66
- package/src/template-part/edit/index.js +1 -0
- package/src/template-part/edit/utils/hooks.js +2 -2
- package/src/template-part/editor.scss +9 -11
- package/src/term-description/block.json +1 -2
- package/src/utils/migrate-font-family.js +8 -1
- package/src/verse/test/edit.native.js +28 -0
- package/src/video/edit.native.js +2 -2
- package/tsconfig.json +1 -0
- package/build/cover/edit/resizable-cover.js.map +0 -1
- package/build/media-text/media-container-icon.js +0 -27
- package/build/media-text/media-container-icon.js.map +0 -1
- package/build/query/hooks.js +0 -72
- package/build/query/hooks.js.map +0 -1
- package/build/utils/clean-empty-object.js +0 -34
- package/build/utils/clean-empty-object.js.map +0 -1
- package/build-module/cover/edit/resizable-cover.js.map +0 -1
- package/build-module/media-text/media-container-icon.js +0 -17
- package/build-module/media-text/media-container-icon.js.map +0 -1
- package/build-module/query/hooks.js +0 -59
- package/build-module/query/hooks.js.map +0 -1
- package/build-module/utils/clean-empty-object.js +0 -25
- package/build-module/utils/clean-empty-object.js.map +0 -1
- package/src/cover/edit/resizable-cover.js +0 -61
- package/src/media-text/media-container-icon.js +0 -12
- package/src/query/hooks.js +0 -53
- package/src/utils/clean-empty-object.js +0 -28
|
@@ -490,20 +490,17 @@ html :where(.wp-block-column) {
|
|
|
490
490
|
box-sizing: border-box;
|
|
491
491
|
}
|
|
492
492
|
.wp-block-cover.is-placeholder {
|
|
493
|
-
min-height: auto !important;
|
|
494
493
|
padding: 0 !important;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
494
|
+
display: flex;
|
|
495
|
+
align-items: stretch;
|
|
496
|
+
min-height: 240px;
|
|
498
497
|
}
|
|
499
498
|
.wp-block-cover.is-placeholder .components-placeholder.is-large {
|
|
500
|
-
min-height: 240px;
|
|
501
499
|
justify-content: flex-start;
|
|
502
500
|
z-index: 1;
|
|
503
501
|
}
|
|
504
|
-
.wp-block-cover.is-placeholder
|
|
505
|
-
min-height:
|
|
506
|
-
display: block;
|
|
502
|
+
.wp-block-cover.is-placeholder:focus::after {
|
|
503
|
+
min-height: auto;
|
|
507
504
|
}
|
|
508
505
|
.wp-block-cover.components-placeholder h2 {
|
|
509
506
|
color: inherit;
|
|
@@ -555,8 +552,10 @@ html :where(.wp-block-column) {
|
|
|
555
552
|
min-height: 50px;
|
|
556
553
|
}
|
|
557
554
|
|
|
558
|
-
.block-library-
|
|
559
|
-
|
|
555
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .components-popover__content > div,
|
|
556
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .block-library-cover__resize-container {
|
|
557
|
+
pointer-events: none;
|
|
558
|
+
overflow: visible;
|
|
560
559
|
}
|
|
561
560
|
|
|
562
561
|
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
|
@@ -575,6 +574,10 @@ html :where(.wp-block-column) {
|
|
|
575
574
|
min-height: auto;
|
|
576
575
|
}
|
|
577
576
|
|
|
577
|
+
.wp-block-details-summary div {
|
|
578
|
+
display: inline;
|
|
579
|
+
}
|
|
580
|
+
|
|
578
581
|
.wp-block-embed {
|
|
579
582
|
margin-right: 0;
|
|
580
583
|
margin-left: 0;
|
|
@@ -1237,6 +1240,8 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1237
1240
|
right: 0;
|
|
1238
1241
|
}
|
|
1239
1242
|
.block-library-html__edit .block-editor-plain-text {
|
|
1243
|
+
box-sizing: border-box;
|
|
1244
|
+
max-height: 250px;
|
|
1240
1245
|
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
1241
1246
|
color: #1e1e1e !important;
|
|
1242
1247
|
background: #fff !important;
|
|
@@ -1244,8 +1249,6 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1244
1249
|
border: 1px solid #1e1e1e !important;
|
|
1245
1250
|
box-shadow: none !important;
|
|
1246
1251
|
border-radius: 2px !important;
|
|
1247
|
-
max-height: 250px;
|
|
1248
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
1249
1252
|
font-size: 16px !important;
|
|
1250
1253
|
}
|
|
1251
1254
|
@media (min-width: 600px) {
|
|
@@ -1264,7 +1267,7 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1264
1267
|
background-color: #fff;
|
|
1265
1268
|
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
1266
1269
|
border: none;
|
|
1267
|
-
filter: none;
|
|
1270
|
+
filter: none !important;
|
|
1268
1271
|
border-radius: 2px;
|
|
1269
1272
|
}
|
|
1270
1273
|
.wp-block-image.wp-block-image.is-selected .components-placeholder > svg {
|
|
@@ -2290,52 +2293,32 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2290
2293
|
border: none;
|
|
2291
2294
|
}
|
|
2292
2295
|
|
|
2293
|
-
[data-type="core/shortcode"] .block-editor-plain-text {
|
|
2294
|
-
max-height: 250px;
|
|
2295
|
-
}
|
|
2296
2296
|
[data-type="core/shortcode"].components-placeholder {
|
|
2297
2297
|
min-height: 0;
|
|
2298
2298
|
}
|
|
2299
2299
|
|
|
2300
2300
|
.blocks-shortcode__textarea {
|
|
2301
|
-
|
|
2302
|
-
|
|
2303
|
-
|
|
2304
|
-
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2313
|
-
.blocks-shortcode__textarea {
|
|
2314
|
-
transition-duration: 0s;
|
|
2315
|
-
transition-delay: 0s;
|
|
2316
|
-
}
|
|
2301
|
+
box-sizing: border-box;
|
|
2302
|
+
max-height: 250px;
|
|
2303
|
+
resize: none;
|
|
2304
|
+
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
2305
|
+
color: #1e1e1e !important;
|
|
2306
|
+
background: #fff !important;
|
|
2307
|
+
padding: 12px !important;
|
|
2308
|
+
border: 1px solid #1e1e1e !important;
|
|
2309
|
+
box-shadow: none !important;
|
|
2310
|
+
border-radius: 2px !important;
|
|
2311
|
+
font-size: 16px !important;
|
|
2317
2312
|
}
|
|
2318
2313
|
@media (min-width: 600px) {
|
|
2319
2314
|
.blocks-shortcode__textarea {
|
|
2320
|
-
font-size: 13px;
|
|
2321
|
-
/* Override core line-height. To be reviewed. */
|
|
2322
|
-
line-height: normal;
|
|
2315
|
+
font-size: 13px !important;
|
|
2323
2316
|
}
|
|
2324
2317
|
}
|
|
2325
2318
|
.blocks-shortcode__textarea:focus {
|
|
2326
|
-
border-color: var(--wp-admin-theme-color);
|
|
2327
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
2328
|
-
outline: 2px solid transparent;
|
|
2329
|
-
}
|
|
2330
|
-
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
|
2331
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2332
|
-
}
|
|
2333
|
-
.blocks-shortcode__textarea::-moz-placeholder {
|
|
2334
|
-
opacity: 1;
|
|
2335
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2336
|
-
}
|
|
2337
|
-
.blocks-shortcode__textarea:-ms-input-placeholder {
|
|
2338
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2319
|
+
border-color: var(--wp-admin-theme-color) !important;
|
|
2320
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) !important;
|
|
2321
|
+
outline: 2px solid transparent !important;
|
|
2339
2322
|
}
|
|
2340
2323
|
|
|
2341
2324
|
.wp-block[data-align=center] > .wp-block-site-logo,
|
|
@@ -2406,6 +2389,52 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2406
2389
|
color: inherit;
|
|
2407
2390
|
}
|
|
2408
2391
|
|
|
2392
|
+
.block-library-site-logo__inspector-upload-container {
|
|
2393
|
+
position: relative;
|
|
2394
|
+
}
|
|
2395
|
+
.block-library-site-logo__inspector-upload-container .components-drop-zone__content-icon {
|
|
2396
|
+
display: none;
|
|
2397
|
+
}
|
|
2398
|
+
|
|
2399
|
+
.block-library-site-logo__inspector-upload-container button.components-button,
|
|
2400
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button {
|
|
2401
|
+
color: #1e1e1e;
|
|
2402
|
+
box-shadow: inset 0 0 0 1px #ccc;
|
|
2403
|
+
width: 100%;
|
|
2404
|
+
display: block;
|
|
2405
|
+
height: 40px;
|
|
2406
|
+
}
|
|
2407
|
+
.block-library-site-logo__inspector-upload-container button.components-button:hover,
|
|
2408
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button:hover {
|
|
2409
|
+
color: var(--wp-admin-theme-color);
|
|
2410
|
+
}
|
|
2411
|
+
.block-library-site-logo__inspector-upload-container button.components-button:focus,
|
|
2412
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button:focus {
|
|
2413
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2414
|
+
}
|
|
2415
|
+
.block-library-site-logo__inspector-upload-container .block-library-site-logo__inspector-media-replace-title,
|
|
2416
|
+
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-media-replace-title {
|
|
2417
|
+
word-break: break-all;
|
|
2418
|
+
white-space: normal;
|
|
2419
|
+
text-align: start;
|
|
2420
|
+
text-align-last: center;
|
|
2421
|
+
}
|
|
2422
|
+
|
|
2423
|
+
.block-library-site-logo__inspector-media-replace-container .components-dropdown {
|
|
2424
|
+
display: block;
|
|
2425
|
+
}
|
|
2426
|
+
.block-library-site-logo__inspector-media-replace-container img {
|
|
2427
|
+
width: 20px;
|
|
2428
|
+
aspect-ratio: 1;
|
|
2429
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
|
|
2430
|
+
border-radius: 50% !important;
|
|
2431
|
+
}
|
|
2432
|
+
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-readonly-logo-preview {
|
|
2433
|
+
padding: 6px 12px;
|
|
2434
|
+
display: flex;
|
|
2435
|
+
height: 40px;
|
|
2436
|
+
}
|
|
2437
|
+
|
|
2409
2438
|
.wp-block-site-tagline__placeholder {
|
|
2410
2439
|
padding: 1em 0;
|
|
2411
2440
|
border: 1px dashed;
|
|
@@ -2543,11 +2572,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2543
2572
|
}
|
|
2544
2573
|
|
|
2545
2574
|
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2546
|
-
.block-library-spacer__resize-container.has-show-handle
|
|
2575
|
+
.block-library-spacer__resize-container.has-show-handle,
|
|
2576
|
+
.wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2547
2577
|
background: rgba(0, 0, 0, 0.1);
|
|
2548
2578
|
}
|
|
2549
2579
|
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2550
|
-
.is-dark-theme .block-library-spacer__resize-container.has-show-handle
|
|
2580
|
+
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,
|
|
2581
|
+
.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2551
2582
|
background: rgba(255, 255, 255, 0.15);
|
|
2552
2583
|
}
|
|
2553
2584
|
|
|
@@ -2636,21 +2667,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2636
2667
|
.block-editor-template-part__selection-modal {
|
|
2637
2668
|
z-index: 1000001;
|
|
2638
2669
|
}
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
height: calc(100% - 120px);
|
|
2643
|
-
}
|
|
2670
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list {
|
|
2671
|
+
column-count: 2;
|
|
2672
|
+
column-gap: 24px;
|
|
2644
2673
|
}
|
|
2645
|
-
@media (min-width:
|
|
2646
|
-
.block-editor-template-part__selection-modal .
|
|
2647
|
-
|
|
2674
|
+
@media (min-width: 1280px) {
|
|
2675
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list {
|
|
2676
|
+
column-count: 3;
|
|
2648
2677
|
}
|
|
2649
2678
|
}
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
height: 70%;
|
|
2653
|
-
}
|
|
2679
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
|
|
2680
|
+
break-inside: avoid-column;
|
|
2654
2681
|
}
|
|
2655
2682
|
|
|
2656
2683
|
.block-library-template-part__selection-search {
|
|
@@ -2789,21 +2816,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2789
2816
|
max-height: 250px;
|
|
2790
2817
|
}
|
|
2791
2818
|
|
|
2792
|
-
|
|
2793
|
-
|
|
2794
|
-
|
|
2795
|
-
height: calc(100% - 120px);
|
|
2796
|
-
}
|
|
2819
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
|
|
2820
|
+
column-count: 2;
|
|
2821
|
+
column-gap: 24px;
|
|
2797
2822
|
}
|
|
2798
|
-
@media (min-width:
|
|
2799
|
-
.block-library-query-pattern__selection-modal .
|
|
2800
|
-
|
|
2823
|
+
@media (min-width: 1280px) {
|
|
2824
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
|
|
2825
|
+
column-count: 3;
|
|
2801
2826
|
}
|
|
2802
2827
|
}
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
height: 70%;
|
|
2806
|
-
}
|
|
2828
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
|
|
2829
|
+
break-inside: avoid-column;
|
|
2807
2830
|
}
|
|
2808
2831
|
.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search {
|
|
2809
2832
|
background: #fff;
|
package/build-style/editor.css
CHANGED
|
@@ -494,20 +494,17 @@ html :where(.wp-block-column) {
|
|
|
494
494
|
box-sizing: border-box;
|
|
495
495
|
}
|
|
496
496
|
.wp-block-cover.is-placeholder {
|
|
497
|
-
min-height: auto !important;
|
|
498
497
|
padding: 0 !important;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
498
|
+
display: flex;
|
|
499
|
+
align-items: stretch;
|
|
500
|
+
min-height: 240px;
|
|
502
501
|
}
|
|
503
502
|
.wp-block-cover.is-placeholder .components-placeholder.is-large {
|
|
504
|
-
min-height: 240px;
|
|
505
503
|
justify-content: flex-start;
|
|
506
504
|
z-index: 1;
|
|
507
505
|
}
|
|
508
|
-
.wp-block-cover.is-placeholder
|
|
509
|
-
min-height:
|
|
510
|
-
display: block;
|
|
506
|
+
.wp-block-cover.is-placeholder:focus::after {
|
|
507
|
+
min-height: auto;
|
|
511
508
|
}
|
|
512
509
|
.wp-block-cover.components-placeholder h2 {
|
|
513
510
|
color: inherit;
|
|
@@ -559,8 +556,10 @@ html :where(.wp-block-column) {
|
|
|
559
556
|
min-height: 50px;
|
|
560
557
|
}
|
|
561
558
|
|
|
562
|
-
.block-library-
|
|
563
|
-
|
|
559
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .components-popover__content > div,
|
|
560
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .block-library-cover__resize-container {
|
|
561
|
+
pointer-events: none;
|
|
562
|
+
overflow: visible;
|
|
564
563
|
}
|
|
565
564
|
|
|
566
565
|
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
|
@@ -579,6 +578,10 @@ html :where(.wp-block-column) {
|
|
|
579
578
|
min-height: auto;
|
|
580
579
|
}
|
|
581
580
|
|
|
581
|
+
.wp-block-details-summary div {
|
|
582
|
+
display: inline;
|
|
583
|
+
}
|
|
584
|
+
|
|
582
585
|
.wp-block-embed {
|
|
583
586
|
margin-left: 0;
|
|
584
587
|
margin-right: 0;
|
|
@@ -1245,6 +1248,8 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1245
1248
|
left: 0;
|
|
1246
1249
|
}
|
|
1247
1250
|
.block-library-html__edit .block-editor-plain-text {
|
|
1251
|
+
box-sizing: border-box;
|
|
1252
|
+
max-height: 250px;
|
|
1248
1253
|
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
1249
1254
|
color: #1e1e1e !important;
|
|
1250
1255
|
background: #fff !important;
|
|
@@ -1252,8 +1257,6 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1252
1257
|
border: 1px solid #1e1e1e !important;
|
|
1253
1258
|
box-shadow: none !important;
|
|
1254
1259
|
border-radius: 2px !important;
|
|
1255
|
-
max-height: 250px;
|
|
1256
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
1257
1260
|
font-size: 16px !important;
|
|
1258
1261
|
}
|
|
1259
1262
|
@media (min-width: 600px) {
|
|
@@ -1272,7 +1275,7 @@ figure.wp-block-gallery .components-spinner {
|
|
|
1272
1275
|
background-color: #fff;
|
|
1273
1276
|
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
1274
1277
|
border: none;
|
|
1275
|
-
filter: none;
|
|
1278
|
+
filter: none !important;
|
|
1276
1279
|
border-radius: 2px;
|
|
1277
1280
|
}
|
|
1278
1281
|
.wp-block-image.wp-block-image.is-selected .components-placeholder > svg {
|
|
@@ -2298,52 +2301,32 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2298
2301
|
border: none;
|
|
2299
2302
|
}
|
|
2300
2303
|
|
|
2301
|
-
[data-type="core/shortcode"] .block-editor-plain-text {
|
|
2302
|
-
max-height: 250px;
|
|
2303
|
-
}
|
|
2304
2304
|
[data-type="core/shortcode"].components-placeholder {
|
|
2305
2305
|
min-height: 0;
|
|
2306
2306
|
}
|
|
2307
2307
|
|
|
2308
2308
|
.blocks-shortcode__textarea {
|
|
2309
|
-
|
|
2310
|
-
|
|
2311
|
-
|
|
2312
|
-
|
|
2313
|
-
|
|
2314
|
-
|
|
2315
|
-
|
|
2316
|
-
|
|
2317
|
-
|
|
2318
|
-
|
|
2319
|
-
|
|
2320
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2321
|
-
.blocks-shortcode__textarea {
|
|
2322
|
-
transition-duration: 0s;
|
|
2323
|
-
transition-delay: 0s;
|
|
2324
|
-
}
|
|
2309
|
+
box-sizing: border-box;
|
|
2310
|
+
max-height: 250px;
|
|
2311
|
+
resize: none;
|
|
2312
|
+
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
2313
|
+
color: #1e1e1e !important;
|
|
2314
|
+
background: #fff !important;
|
|
2315
|
+
padding: 12px !important;
|
|
2316
|
+
border: 1px solid #1e1e1e !important;
|
|
2317
|
+
box-shadow: none !important;
|
|
2318
|
+
border-radius: 2px !important;
|
|
2319
|
+
font-size: 16px !important;
|
|
2325
2320
|
}
|
|
2326
2321
|
@media (min-width: 600px) {
|
|
2327
2322
|
.blocks-shortcode__textarea {
|
|
2328
|
-
font-size: 13px;
|
|
2329
|
-
/* Override core line-height. To be reviewed. */
|
|
2330
|
-
line-height: normal;
|
|
2323
|
+
font-size: 13px !important;
|
|
2331
2324
|
}
|
|
2332
2325
|
}
|
|
2333
2326
|
.blocks-shortcode__textarea:focus {
|
|
2334
|
-
border-color: var(--wp-admin-theme-color);
|
|
2335
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
2336
|
-
outline: 2px solid transparent;
|
|
2337
|
-
}
|
|
2338
|
-
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
|
2339
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2340
|
-
}
|
|
2341
|
-
.blocks-shortcode__textarea::-moz-placeholder {
|
|
2342
|
-
opacity: 1;
|
|
2343
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2344
|
-
}
|
|
2345
|
-
.blocks-shortcode__textarea:-ms-input-placeholder {
|
|
2346
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2327
|
+
border-color: var(--wp-admin-theme-color) !important;
|
|
2328
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) !important;
|
|
2329
|
+
outline: 2px solid transparent !important;
|
|
2347
2330
|
}
|
|
2348
2331
|
|
|
2349
2332
|
.wp-block[data-align=center] > .wp-block-site-logo,
|
|
@@ -2414,6 +2397,52 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2414
2397
|
color: inherit;
|
|
2415
2398
|
}
|
|
2416
2399
|
|
|
2400
|
+
.block-library-site-logo__inspector-upload-container {
|
|
2401
|
+
position: relative;
|
|
2402
|
+
}
|
|
2403
|
+
.block-library-site-logo__inspector-upload-container .components-drop-zone__content-icon {
|
|
2404
|
+
display: none;
|
|
2405
|
+
}
|
|
2406
|
+
|
|
2407
|
+
.block-library-site-logo__inspector-upload-container button.components-button,
|
|
2408
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button {
|
|
2409
|
+
color: #1e1e1e;
|
|
2410
|
+
box-shadow: inset 0 0 0 1px #ccc;
|
|
2411
|
+
width: 100%;
|
|
2412
|
+
display: block;
|
|
2413
|
+
height: 40px;
|
|
2414
|
+
}
|
|
2415
|
+
.block-library-site-logo__inspector-upload-container button.components-button:hover,
|
|
2416
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button:hover {
|
|
2417
|
+
color: var(--wp-admin-theme-color);
|
|
2418
|
+
}
|
|
2419
|
+
.block-library-site-logo__inspector-upload-container button.components-button:focus,
|
|
2420
|
+
.block-library-site-logo__inspector-media-replace-container button.components-button:focus {
|
|
2421
|
+
box-shadow: inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
|
|
2422
|
+
}
|
|
2423
|
+
.block-library-site-logo__inspector-upload-container .block-library-site-logo__inspector-media-replace-title,
|
|
2424
|
+
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-media-replace-title {
|
|
2425
|
+
word-break: break-all;
|
|
2426
|
+
white-space: normal;
|
|
2427
|
+
text-align: start;
|
|
2428
|
+
text-align-last: center;
|
|
2429
|
+
}
|
|
2430
|
+
|
|
2431
|
+
.block-library-site-logo__inspector-media-replace-container .components-dropdown {
|
|
2432
|
+
display: block;
|
|
2433
|
+
}
|
|
2434
|
+
.block-library-site-logo__inspector-media-replace-container img {
|
|
2435
|
+
width: 20px;
|
|
2436
|
+
aspect-ratio: 1;
|
|
2437
|
+
box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2);
|
|
2438
|
+
border-radius: 50% !important;
|
|
2439
|
+
}
|
|
2440
|
+
.block-library-site-logo__inspector-media-replace-container .block-library-site-logo__inspector-readonly-logo-preview {
|
|
2441
|
+
padding: 6px 12px;
|
|
2442
|
+
display: flex;
|
|
2443
|
+
height: 40px;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2417
2446
|
.wp-block-site-tagline__placeholder {
|
|
2418
2447
|
padding: 1em 0;
|
|
2419
2448
|
border: 1px dashed;
|
|
@@ -2551,11 +2580,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2551
2580
|
}
|
|
2552
2581
|
|
|
2553
2582
|
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2554
|
-
.block-library-spacer__resize-container.has-show-handle
|
|
2583
|
+
.block-library-spacer__resize-container.has-show-handle,
|
|
2584
|
+
.wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2555
2585
|
background: rgba(0, 0, 0, 0.1);
|
|
2556
2586
|
}
|
|
2557
2587
|
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2558
|
-
.is-dark-theme .block-library-spacer__resize-container.has-show-handle
|
|
2588
|
+
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,
|
|
2589
|
+
.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2559
2590
|
background: rgba(255, 255, 255, 0.15);
|
|
2560
2591
|
}
|
|
2561
2592
|
|
|
@@ -2644,21 +2675,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2644
2675
|
.block-editor-template-part__selection-modal {
|
|
2645
2676
|
z-index: 1000001;
|
|
2646
2677
|
}
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
height: calc(100% - 120px);
|
|
2651
|
-
}
|
|
2678
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list {
|
|
2679
|
+
column-count: 2;
|
|
2680
|
+
column-gap: 24px;
|
|
2652
2681
|
}
|
|
2653
|
-
@media (min-width:
|
|
2654
|
-
.block-editor-template-part__selection-modal .
|
|
2655
|
-
|
|
2682
|
+
@media (min-width: 1280px) {
|
|
2683
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list {
|
|
2684
|
+
column-count: 3;
|
|
2656
2685
|
}
|
|
2657
2686
|
}
|
|
2658
|
-
|
|
2659
|
-
|
|
2660
|
-
height: 70%;
|
|
2661
|
-
}
|
|
2687
|
+
.block-editor-template-part__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
|
|
2688
|
+
break-inside: avoid-column;
|
|
2662
2689
|
}
|
|
2663
2690
|
|
|
2664
2691
|
.block-library-template-part__selection-search {
|
|
@@ -2797,21 +2824,17 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2797
2824
|
max-height: 250px;
|
|
2798
2825
|
}
|
|
2799
2826
|
|
|
2800
|
-
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
height: calc(100% - 120px);
|
|
2804
|
-
}
|
|
2827
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
|
|
2828
|
+
column-count: 2;
|
|
2829
|
+
column-gap: 24px;
|
|
2805
2830
|
}
|
|
2806
|
-
@media (min-width:
|
|
2807
|
-
.block-library-query-pattern__selection-modal .
|
|
2808
|
-
|
|
2831
|
+
@media (min-width: 1280px) {
|
|
2832
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list {
|
|
2833
|
+
column-count: 3;
|
|
2809
2834
|
}
|
|
2810
2835
|
}
|
|
2811
|
-
|
|
2812
|
-
|
|
2813
|
-
height: 70%;
|
|
2814
|
-
}
|
|
2836
|
+
.block-library-query-pattern__selection-modal .block-editor-block-patterns-list .block-editor-block-patterns-list__list-item {
|
|
2837
|
+
break-inside: avoid-column;
|
|
2815
2838
|
}
|
|
2816
2839
|
.block-library-query-pattern__selection-modal .block-library-query-pattern__selection-search {
|
|
2817
2840
|
background: #fff;
|
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-file {
|
|
90
|
-
margin-bottom: 1.5em;
|
|
91
|
-
}
|
|
92
89
|
.wp-block-file:not(.wp-element-button) {
|
|
93
90
|
font-size: 0.8em;
|
|
94
91
|
}
|
|
@@ -102,6 +99,10 @@
|
|
|
102
99
|
margin-right: 0.75em;
|
|
103
100
|
}
|
|
104
101
|
|
|
102
|
+
:where(.wp-block-file) {
|
|
103
|
+
margin-bottom: 1.5em;
|
|
104
|
+
}
|
|
105
|
+
|
|
105
106
|
.wp-block-file__embed {
|
|
106
107
|
margin-bottom: 1em;
|
|
107
108
|
}
|
|
@@ -86,9 +86,6 @@
|
|
|
86
86
|
/**
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
|
-
.wp-block-file {
|
|
90
|
-
margin-bottom: 1.5em;
|
|
91
|
-
}
|
|
92
89
|
.wp-block-file:not(.wp-element-button) {
|
|
93
90
|
font-size: 0.8em;
|
|
94
91
|
}
|
|
@@ -103,6 +100,10 @@
|
|
|
103
100
|
margin-left: 0.75em;
|
|
104
101
|
}
|
|
105
102
|
|
|
103
|
+
:where(.wp-block-file) {
|
|
104
|
+
margin-bottom: 1.5em;
|
|
105
|
+
}
|
|
106
|
+
|
|
106
107
|
.wp-block-file__embed {
|
|
107
108
|
margin-bottom: 1em;
|
|
108
109
|
}
|
|
@@ -94,6 +94,8 @@
|
|
|
94
94
|
right: 0;
|
|
95
95
|
}
|
|
96
96
|
.block-library-html__edit .block-editor-plain-text {
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
max-height: 250px;
|
|
97
99
|
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
98
100
|
color: #1e1e1e !important;
|
|
99
101
|
background: #fff !important;
|
|
@@ -101,8 +103,6 @@
|
|
|
101
103
|
border: 1px solid #1e1e1e !important;
|
|
102
104
|
box-shadow: none !important;
|
|
103
105
|
border-radius: 2px !important;
|
|
104
|
-
max-height: 250px;
|
|
105
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
106
106
|
font-size: 16px !important;
|
|
107
107
|
}
|
|
108
108
|
@media (min-width: 600px) {
|
|
@@ -94,6 +94,8 @@
|
|
|
94
94
|
left: 0;
|
|
95
95
|
}
|
|
96
96
|
.block-library-html__edit .block-editor-plain-text {
|
|
97
|
+
box-sizing: border-box;
|
|
98
|
+
max-height: 250px;
|
|
97
99
|
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
98
100
|
color: #1e1e1e !important;
|
|
99
101
|
background: #fff !important;
|
|
@@ -101,8 +103,6 @@
|
|
|
101
103
|
border: 1px solid #1e1e1e !important;
|
|
102
104
|
box-shadow: none !important;
|
|
103
105
|
border-radius: 2px !important;
|
|
104
|
-
max-height: 250px;
|
|
105
|
-
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
106
106
|
font-size: 16px !important;
|
|
107
107
|
}
|
|
108
108
|
@media (min-width: 600px) {
|
|
@@ -87,7 +87,6 @@
|
|
|
87
87
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
88
|
*/
|
|
89
89
|
.wp-block-pullquote {
|
|
90
|
-
margin: 0 0 1em 0;
|
|
91
90
|
padding: 3em 0;
|
|
92
91
|
text-align: center;
|
|
93
92
|
overflow-wrap: break-word;
|
|
@@ -109,6 +108,10 @@
|
|
|
109
108
|
color: inherit;
|
|
110
109
|
}
|
|
111
110
|
|
|
111
|
+
:where(.wp-block-pullquote) {
|
|
112
|
+
margin: 0 0 1em 0;
|
|
113
|
+
}
|
|
114
|
+
|
|
112
115
|
.wp-block-pullquote.has-text-align-left blockquote {
|
|
113
116
|
text-align: right;
|
|
114
117
|
}
|