@wordpress/block-library 8.6.0 → 8.8.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/buttons/index.js +1 -0
- package/build/buttons/index.js.map +1 -1
- package/build/buttons/transforms.js +1 -0
- package/build/buttons/transforms.js.map +1 -1
- package/build/column/index.js +2 -1
- package/build/column/index.js.map +1 -1
- package/build/columns/edit.js +28 -8
- package/build/columns/edit.js.map +1 -1
- package/build/columns/index.js +6 -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/inspector-controls.js +2 -2
- package/build/cover/edit/inspector-controls.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/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/edit.js +8 -5
- package/build/gallery/edit.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/gallery/use-image-sizes.js +1 -1
- package/build/gallery/use-image-sizes.js.map +1 -1
- package/build/group/deprecated.js +4 -2
- package/build/group/deprecated.js.map +1 -1
- package/build/group/edit.js +22 -5
- package/build/group/edit.js.map +1 -1
- package/build/group/placeholder.js +11 -1
- package/build/group/placeholder.js.map +1 -1
- package/build/group/variations.js +23 -3
- package/build/group/variations.js.map +1 -1
- package/build/image/edit.js +1 -1
- package/build/image/edit.js.map +1 -1
- package/build/image/edit.native.js +1 -1
- package/build/image/edit.native.js.map +1 -1
- package/build/image/image.js +8 -6
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +9 -2
- package/build/image/index.js.map +1 -1
- package/build/index.js +24 -6
- package/build/index.js.map +1 -1
- package/build/latest-posts/edit.js +1 -0
- package/build/latest-posts/edit.js.map +1 -1
- package/build/media-text/deprecated.js +228 -18
- package/build/media-text/deprecated.js.map +1 -1
- package/build/media-text/edit.js +3 -3
- package/build/media-text/edit.js.map +1 -1
- package/build/media-text/index.js +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 +1 -12
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/inner-blocks.js +1 -4
- package/build/navigation/edit/inner-blocks.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/navigation/index.js +0 -1
- package/build/navigation/index.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 +2 -1
- package/build/post-date/edit.js.map +1 -1
- package/build/post-date/index.js +4 -1
- package/build/post-date/index.js.map +1 -1
- package/build/post-date/variations.js +28 -0
- package/build/post-date/variations.js.map +1 -0
- package/build/post-excerpt/edit.js +39 -10
- package/build/post-excerpt/edit.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +4 -3
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +8 -22
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-template/index.js +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 +24 -1
- package/build/post-time-to-read/index.js.map +1 -1
- package/build/quote/index.js +1 -0
- package/build/quote/index.js.map +1 -1
- package/build/spacer/controls.js +25 -6
- package/build/spacer/controls.js.map +1 -1
- package/build/spacer/edit.js +27 -7
- 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/term-description/index.js +1 -2
- package/build/term-description/index.js.map +1 -1
- package/build/utils/clean-empty-object.js +5 -2
- package/build/utils/clean-empty-object.js.map +1 -1
- package/build-module/buttons/index.js +1 -0
- package/build-module/buttons/index.js.map +1 -1
- package/build-module/buttons/transforms.js +1 -0
- package/build-module/buttons/transforms.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 +28 -8
- package/build-module/columns/edit.js.map +1 -1
- package/build-module/columns/index.js +6 -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/inspector-controls.js +2 -2
- package/build-module/cover/edit/inspector-controls.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/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/edit.js +8 -5
- package/build-module/gallery/edit.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/gallery/use-image-sizes.js +1 -1
- package/build-module/gallery/use-image-sizes.js.map +1 -1
- package/build-module/group/deprecated.js +4 -2
- package/build-module/group/deprecated.js.map +1 -1
- package/build-module/group/edit.js +21 -5
- package/build-module/group/edit.js.map +1 -1
- package/build-module/group/placeholder.js +11 -1
- package/build-module/group/placeholder.js.map +1 -1
- package/build-module/group/variations.js +24 -1
- package/build-module/group/variations.js.map +1 -1
- package/build-module/image/edit.js +1 -1
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/edit.native.js +1 -1
- package/build-module/image/edit.native.js.map +1 -1
- package/build-module/image/image.js +8 -6
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +9 -2
- 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/latest-posts/edit.js +1 -0
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/media-text/deprecated.js +227 -18
- package/build-module/media-text/deprecated.js.map +1 -1
- package/build-module/media-text/edit.js +3 -3
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/media-text/index.js +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 +1 -12
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/inner-blocks.js +1 -4
- package/build-module/navigation/edit/inner-blocks.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/navigation/index.js +0 -1
- package/build-module/navigation/index.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 +2 -1
- package/build-module/post-date/edit.js.map +1 -1
- package/build-module/post-date/index.js +3 -1
- package/build-module/post-date/index.js.map +1 -1
- package/build-module/post-date/variations.js +18 -0
- package/build-module/post-date/variations.js.map +1 -0
- package/build-module/post-excerpt/edit.js +38 -11
- package/build-module/post-excerpt/edit.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +4 -3
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +8 -22
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-template/index.js +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 +24 -1
- package/build-module/post-time-to-read/index.js.map +1 -1
- package/build-module/quote/index.js +1 -0
- package/build-module/quote/index.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 +27 -8
- 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/term-description/index.js +1 -2
- package/build-module/term-description/index.js.map +1 -1
- package/build-module/utils/clean-empty-object.js +6 -3
- package/build-module/utils/clean-empty-object.js.map +1 -1
- package/build-style/categories/editor-rtl.css +5 -0
- package/build-style/categories/editor.css +5 -0
- package/build-style/categories/style-rtl.css +4 -0
- package/build-style/categories/style.css +4 -0
- 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 +11 -12
- package/build-style/cover/editor.css +11 -12
- package/build-style/cover/style-rtl.css +3 -2
- package/build-style/cover/style.css +3 -2
- 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 +40 -48
- package/build-style/editor.css +40 -48
- package/build-style/file/style-rtl.css +4 -3
- package/build-style/file/style.css +4 -3
- package/build-style/navigation/style-rtl.css +2 -0
- package/build-style/navigation/style.css +2 -0
- package/build-style/post-excerpt/style-rtl.css +1 -1
- package/build-style/post-excerpt/style.css +1 -1
- package/build-style/post-featured-image/editor-rtl.css +1 -0
- package/build-style/post-featured-image/editor.css +1 -0
- package/build-style/post-template/style-rtl.css +1 -1
- package/build-style/post-template/style.css +1 -1
- package/build-style/post-time-to-read/style-rtl.css +91 -0
- package/build-style/post-time-to-read/style.css +91 -0
- package/build-style/pullquote/style-rtl.css +4 -1
- package/build-style/pullquote/style.css +4 -1
- package/build-style/search/style-rtl.css +8 -7
- package/build-style/search/style.css +8 -7
- package/build-style/shortcode/editor-rtl.css +15 -34
- package/build-style/shortcode/editor.css +15 -34
- package/build-style/spacer/editor-rtl.css +4 -2
- package/build-style/spacer/editor.css +4 -2
- package/build-style/style-rtl.css +44 -17
- package/build-style/style.css +44 -17
- package/package.json +31 -31
- package/src/buttons/block.json +1 -0
- package/src/categories/editor.scss +5 -0
- package/src/categories/style.scss +4 -0
- package/src/column/block.json +2 -1
- package/src/columns/block.json +6 -1
- package/src/columns/edit.js +35 -10
- package/src/columns/style.scss +5 -1
- package/src/columns/utils.js +8 -9
- package/src/comments/index.php +1 -0
- 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/inspector-controls.js +4 -5
- 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 +2 -1
- package/src/cover/test/__snapshots__/transforms.native.js.snap +2 -2
- package/src/cover/test/edit.js +324 -0
- 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/edit.js +5 -2
- package/src/gallery/test/use-get-media.native.js +24 -0
- package/src/gallery/use-get-media.native.js +1 -1
- package/src/gallery/use-image-sizes.js +1 -1
- package/src/group/deprecated.js +4 -2
- package/src/group/edit.js +27 -9
- package/src/group/placeholder.js +13 -1
- package/src/group/variations.js +14 -1
- package/src/home-link/index.php +2 -2
- package/src/image/block.json +9 -2
- package/src/image/edit.js +1 -1
- package/src/image/edit.native.js +1 -1
- package/src/image/image.js +15 -7
- package/src/image/index.php +7 -2
- package/src/image/test/__snapshots__/transforms.native.js.snap +1 -1
- package/src/index.js +13 -3
- package/src/latest-comments/style.scss +1 -1
- package/src/latest-posts/edit.js +3 -0
- package/src/media-text/block.json +1 -1
- package/src/media-text/deprecated.js +235 -3
- package/src/media-text/edit.js +7 -6
- package/src/media-text/media-container.js +1 -5
- package/src/media-text/media-container.native.js +1 -1
- package/src/media-text/test/__snapshots__/transforms.native.js.snap +4 -4
- package/src/navigation/block.json +0 -1
- package/src/navigation/deprecated.js +15 -19
- package/src/navigation/edit/index.js +0 -13
- package/src/navigation/edit/inner-blocks.js +0 -3
- package/src/navigation/edit/unsaved-inner-blocks.js +34 -46
- package/src/navigation/index.php +0 -4
- package/src/navigation/style.scss +6 -4
- package/src/navigation-link/index.php +2 -1
- package/src/navigation-submenu/index.php +30 -76
- package/src/paragraph/test/edit.native.js +356 -1
- package/src/post-author/block.json +0 -1
- package/src/post-author/index.php +1 -1
- package/src/post-date/edit.js +4 -1
- package/src/post-date/index.js +2 -0
- package/src/post-date/variations.js +20 -0
- package/src/post-excerpt/edit.js +48 -16
- package/src/post-excerpt/index.php +3 -3
- package/src/post-excerpt/style.scss +2 -1
- package/src/post-featured-image/dimension-controls.js +7 -3
- package/src/post-featured-image/edit.js +8 -29
- package/src/post-featured-image/editor.scss +1 -0
- package/src/post-template/block.json +1 -1
- package/src/post-template/style.scss +1 -1
- package/src/post-time-to-read/block.json +24 -1
- package/src/post-time-to-read/edit.js +1 -1
- package/src/post-time-to-read/index.php +3 -3
- package/src/post-time-to-read/style.scss +4 -0
- package/src/preformatted/test/__snapshots__/edit.native.js.snap +2 -2
- package/src/preformatted/test/edit.native.js +45 -2
- package/src/pullquote/style.scss +5 -1
- package/src/pullquote/test/edit.native.js +70 -0
- package/src/query-title/index.php +2 -5
- package/src/quote/block.json +1 -0
- package/src/quote/test/edit.native.js +92 -0
- package/src/search/index.php +1 -1
- package/src/search/style.scss +16 -12
- package/src/shortcode/editor.scss +26 -5
- package/src/spacer/controls.js +42 -17
- package/src/spacer/edit.js +41 -9
- package/src/spacer/editor.scss +2 -1
- package/src/spacer/save.js +3 -3
- package/src/style.scss +3 -0
- package/src/table/state.js +83 -66
- package/src/term-description/block.json +1 -2
- package/src/utils/clean-empty-object.js +4 -4
- package/src/verse/test/edit.native.js +33 -0
- package/src/video/test/__snapshots__/transforms.native.js.snap +1 -1
- package/tsconfig.tsbuildinfo +1 -1
- 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-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/src/cover/edit/resizable-cover.js +0 -61
- package/src/cover/test/block-controls.js +0 -62
- package/src/media-text/media-container-icon.js +0 -12
|
@@ -289,6 +289,11 @@ div[data-type="core/button"] {
|
|
|
289
289
|
margin-top: 6px;
|
|
290
290
|
}
|
|
291
291
|
|
|
292
|
+
/* Center alignment for classic themes. */
|
|
293
|
+
[data-align=center] .wp-block-categories {
|
|
294
|
+
text-align: center;
|
|
295
|
+
}
|
|
296
|
+
|
|
292
297
|
.wp-block-code code {
|
|
293
298
|
background: none;
|
|
294
299
|
}
|
|
@@ -485,20 +490,18 @@ html :where(.wp-block-column) {
|
|
|
485
490
|
box-sizing: border-box;
|
|
486
491
|
}
|
|
487
492
|
.wp-block-cover.is-placeholder {
|
|
488
|
-
min-height: auto !important;
|
|
489
493
|
padding: 0 !important;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
494
|
+
display: flex;
|
|
495
|
+
align-items: stretch;
|
|
496
|
+
overflow: visible;
|
|
497
|
+
min-height: 240px;
|
|
493
498
|
}
|
|
494
499
|
.wp-block-cover.is-placeholder .components-placeholder.is-large {
|
|
495
|
-
min-height: 240px;
|
|
496
500
|
justify-content: flex-start;
|
|
497
|
-
z-index:
|
|
501
|
+
z-index: 32;
|
|
498
502
|
}
|
|
499
|
-
.wp-block-cover.is-placeholder
|
|
500
|
-
min-height:
|
|
501
|
-
display: block;
|
|
503
|
+
.wp-block-cover.is-placeholder:focus::after {
|
|
504
|
+
min-height: auto;
|
|
502
505
|
}
|
|
503
506
|
.wp-block-cover.components-placeholder h2 {
|
|
504
507
|
color: inherit;
|
|
@@ -509,7 +512,7 @@ html :where(.wp-block-column) {
|
|
|
509
512
|
}
|
|
510
513
|
.wp-block-cover .components-spinner {
|
|
511
514
|
position: absolute;
|
|
512
|
-
z-index:
|
|
515
|
+
z-index: 32;
|
|
513
516
|
top: 50%;
|
|
514
517
|
right: 50%;
|
|
515
518
|
transform: translate(50%, -50%);
|
|
@@ -550,8 +553,9 @@ html :where(.wp-block-column) {
|
|
|
550
553
|
min-height: 50px;
|
|
551
554
|
}
|
|
552
555
|
|
|
553
|
-
.block-library-
|
|
554
|
-
|
|
556
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .components-popover__content > div,
|
|
557
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .block-library-cover__resize-container {
|
|
558
|
+
pointer-events: none;
|
|
555
559
|
}
|
|
556
560
|
|
|
557
561
|
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
|
@@ -570,6 +574,10 @@ html :where(.wp-block-column) {
|
|
|
570
574
|
min-height: auto;
|
|
571
575
|
}
|
|
572
576
|
|
|
577
|
+
.wp-block-details-summary div {
|
|
578
|
+
display: inline;
|
|
579
|
+
}
|
|
580
|
+
|
|
573
581
|
.wp-block-embed {
|
|
574
582
|
margin-right: 0;
|
|
575
583
|
margin-left: 0;
|
|
@@ -2285,52 +2293,33 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2285
2293
|
border: none;
|
|
2286
2294
|
}
|
|
2287
2295
|
|
|
2288
|
-
[data-type="core/shortcode"] .block-editor-plain-text {
|
|
2289
|
-
max-height: 250px;
|
|
2290
|
-
}
|
|
2291
2296
|
[data-type="core/shortcode"].components-placeholder {
|
|
2292
2297
|
min-height: 0;
|
|
2293
2298
|
}
|
|
2294
2299
|
|
|
2295
2300
|
.blocks-shortcode__textarea {
|
|
2296
|
-
font-family:
|
|
2297
|
-
|
|
2298
|
-
|
|
2299
|
-
|
|
2300
|
-
border
|
|
2301
|
-
|
|
2301
|
+
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
2302
|
+
color: #1e1e1e !important;
|
|
2303
|
+
background: #fff !important;
|
|
2304
|
+
padding: 12px !important;
|
|
2305
|
+
border: 1px solid #1e1e1e !important;
|
|
2306
|
+
box-shadow: none !important;
|
|
2307
|
+
border-radius: 2px !important;
|
|
2308
|
+
box-sizing: border-box;
|
|
2309
|
+
max-height: 250px;
|
|
2310
|
+
resize: none;
|
|
2302
2311
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
2303
|
-
font-size: 16px;
|
|
2304
|
-
/* Override core line-height. To be reviewed. */
|
|
2305
|
-
line-height: normal;
|
|
2306
|
-
}
|
|
2307
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2308
|
-
.blocks-shortcode__textarea {
|
|
2309
|
-
transition-duration: 0s;
|
|
2310
|
-
transition-delay: 0s;
|
|
2311
|
-
}
|
|
2312
|
+
font-size: 16px !important;
|
|
2312
2313
|
}
|
|
2313
2314
|
@media (min-width: 600px) {
|
|
2314
2315
|
.blocks-shortcode__textarea {
|
|
2315
|
-
font-size: 13px;
|
|
2316
|
-
/* Override core line-height. To be reviewed. */
|
|
2317
|
-
line-height: normal;
|
|
2316
|
+
font-size: 13px !important;
|
|
2318
2317
|
}
|
|
2319
2318
|
}
|
|
2320
2319
|
.blocks-shortcode__textarea:focus {
|
|
2321
|
-
border-color: var(--wp-admin-theme-color);
|
|
2322
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
2323
|
-
outline: 2px solid transparent;
|
|
2324
|
-
}
|
|
2325
|
-
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
|
2326
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2327
|
-
}
|
|
2328
|
-
.blocks-shortcode__textarea::-moz-placeholder {
|
|
2329
|
-
opacity: 1;
|
|
2330
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2331
|
-
}
|
|
2332
|
-
.blocks-shortcode__textarea:-ms-input-placeholder {
|
|
2333
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2320
|
+
border-color: var(--wp-admin-theme-color) !important;
|
|
2321
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) !important;
|
|
2322
|
+
outline: 2px solid transparent !important;
|
|
2334
2323
|
}
|
|
2335
2324
|
|
|
2336
2325
|
.wp-block[data-align=center] > .wp-block-site-logo,
|
|
@@ -2538,11 +2527,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2538
2527
|
}
|
|
2539
2528
|
|
|
2540
2529
|
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2541
|
-
.block-library-spacer__resize-container.has-show-handle
|
|
2530
|
+
.block-library-spacer__resize-container.has-show-handle,
|
|
2531
|
+
.wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2542
2532
|
background: rgba(0, 0, 0, 0.1);
|
|
2543
2533
|
}
|
|
2544
2534
|
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2545
|
-
.is-dark-theme .block-library-spacer__resize-container.has-show-handle
|
|
2535
|
+
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,
|
|
2536
|
+
.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2546
2537
|
background: rgba(255, 255, 255, 0.15);
|
|
2547
2538
|
}
|
|
2548
2539
|
|
|
@@ -2861,6 +2852,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2861
2852
|
justify-content: center;
|
|
2862
2853
|
align-items: center;
|
|
2863
2854
|
padding: 0;
|
|
2855
|
+
display: flex;
|
|
2864
2856
|
min-height: 200px;
|
|
2865
2857
|
}
|
|
2866
2858
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
package/build-style/editor.css
CHANGED
|
@@ -290,6 +290,11 @@ div[data-type="core/button"] {
|
|
|
290
290
|
margin-top: 6px;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
+
/* Center alignment for classic themes. */
|
|
294
|
+
[data-align=center] .wp-block-categories {
|
|
295
|
+
text-align: center;
|
|
296
|
+
}
|
|
297
|
+
|
|
293
298
|
.wp-block-code code {
|
|
294
299
|
background: none;
|
|
295
300
|
}
|
|
@@ -489,20 +494,18 @@ html :where(.wp-block-column) {
|
|
|
489
494
|
box-sizing: border-box;
|
|
490
495
|
}
|
|
491
496
|
.wp-block-cover.is-placeholder {
|
|
492
|
-
min-height: auto !important;
|
|
493
497
|
padding: 0 !important;
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
498
|
+
display: flex;
|
|
499
|
+
align-items: stretch;
|
|
500
|
+
overflow: visible;
|
|
501
|
+
min-height: 240px;
|
|
497
502
|
}
|
|
498
503
|
.wp-block-cover.is-placeholder .components-placeholder.is-large {
|
|
499
|
-
min-height: 240px;
|
|
500
504
|
justify-content: flex-start;
|
|
501
|
-
z-index:
|
|
505
|
+
z-index: 32;
|
|
502
506
|
}
|
|
503
|
-
.wp-block-cover.is-placeholder
|
|
504
|
-
min-height:
|
|
505
|
-
display: block;
|
|
507
|
+
.wp-block-cover.is-placeholder:focus::after {
|
|
508
|
+
min-height: auto;
|
|
506
509
|
}
|
|
507
510
|
.wp-block-cover.components-placeholder h2 {
|
|
508
511
|
color: inherit;
|
|
@@ -513,7 +516,7 @@ html :where(.wp-block-column) {
|
|
|
513
516
|
}
|
|
514
517
|
.wp-block-cover .components-spinner {
|
|
515
518
|
position: absolute;
|
|
516
|
-
z-index:
|
|
519
|
+
z-index: 32;
|
|
517
520
|
top: 50%;
|
|
518
521
|
left: 50%;
|
|
519
522
|
transform: translate(-50%, -50%);
|
|
@@ -554,8 +557,9 @@ html :where(.wp-block-column) {
|
|
|
554
557
|
min-height: 50px;
|
|
555
558
|
}
|
|
556
559
|
|
|
557
|
-
.block-library-
|
|
558
|
-
|
|
560
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .components-popover__content > div,
|
|
561
|
+
.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .block-library-cover__resize-container {
|
|
562
|
+
pointer-events: none;
|
|
559
563
|
}
|
|
560
564
|
|
|
561
565
|
.wp-block-cover > .components-drop-zone .components-drop-zone__content {
|
|
@@ -574,6 +578,10 @@ html :where(.wp-block-column) {
|
|
|
574
578
|
min-height: auto;
|
|
575
579
|
}
|
|
576
580
|
|
|
581
|
+
.wp-block-details-summary div {
|
|
582
|
+
display: inline;
|
|
583
|
+
}
|
|
584
|
+
|
|
577
585
|
.wp-block-embed {
|
|
578
586
|
margin-left: 0;
|
|
579
587
|
margin-right: 0;
|
|
@@ -2293,52 +2301,33 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2293
2301
|
border: none;
|
|
2294
2302
|
}
|
|
2295
2303
|
|
|
2296
|
-
[data-type="core/shortcode"] .block-editor-plain-text {
|
|
2297
|
-
max-height: 250px;
|
|
2298
|
-
}
|
|
2299
2304
|
[data-type="core/shortcode"].components-placeholder {
|
|
2300
2305
|
min-height: 0;
|
|
2301
2306
|
}
|
|
2302
2307
|
|
|
2303
2308
|
.blocks-shortcode__textarea {
|
|
2304
|
-
font-family:
|
|
2305
|
-
|
|
2306
|
-
|
|
2307
|
-
|
|
2308
|
-
border
|
|
2309
|
-
|
|
2309
|
+
font-family: Menlo, Consolas, monaco, monospace !important;
|
|
2310
|
+
color: #1e1e1e !important;
|
|
2311
|
+
background: #fff !important;
|
|
2312
|
+
padding: 12px !important;
|
|
2313
|
+
border: 1px solid #1e1e1e !important;
|
|
2314
|
+
box-shadow: none !important;
|
|
2315
|
+
border-radius: 2px !important;
|
|
2316
|
+
box-sizing: border-box;
|
|
2317
|
+
max-height: 250px;
|
|
2318
|
+
resize: none;
|
|
2310
2319
|
/* Fonts smaller than 16px causes mobile safari to zoom. */
|
|
2311
|
-
font-size: 16px;
|
|
2312
|
-
/* Override core line-height. To be reviewed. */
|
|
2313
|
-
line-height: normal;
|
|
2314
|
-
}
|
|
2315
|
-
@media (prefers-reduced-motion: reduce) {
|
|
2316
|
-
.blocks-shortcode__textarea {
|
|
2317
|
-
transition-duration: 0s;
|
|
2318
|
-
transition-delay: 0s;
|
|
2319
|
-
}
|
|
2320
|
+
font-size: 16px !important;
|
|
2320
2321
|
}
|
|
2321
2322
|
@media (min-width: 600px) {
|
|
2322
2323
|
.blocks-shortcode__textarea {
|
|
2323
|
-
font-size: 13px;
|
|
2324
|
-
/* Override core line-height. To be reviewed. */
|
|
2325
|
-
line-height: normal;
|
|
2324
|
+
font-size: 13px !important;
|
|
2326
2325
|
}
|
|
2327
2326
|
}
|
|
2328
2327
|
.blocks-shortcode__textarea:focus {
|
|
2329
|
-
border-color: var(--wp-admin-theme-color);
|
|
2330
|
-
box-shadow: 0 0 0 1px var(--wp-admin-theme-color);
|
|
2331
|
-
outline: 2px solid transparent;
|
|
2332
|
-
}
|
|
2333
|
-
.blocks-shortcode__textarea::-webkit-input-placeholder {
|
|
2334
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2335
|
-
}
|
|
2336
|
-
.blocks-shortcode__textarea::-moz-placeholder {
|
|
2337
|
-
opacity: 1;
|
|
2338
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2339
|
-
}
|
|
2340
|
-
.blocks-shortcode__textarea:-ms-input-placeholder {
|
|
2341
|
-
color: rgba(30, 30, 30, 0.62);
|
|
2328
|
+
border-color: var(--wp-admin-theme-color) !important;
|
|
2329
|
+
box-shadow: 0 0 0 1px var(--wp-admin-theme-color) !important;
|
|
2330
|
+
outline: 2px solid transparent !important;
|
|
2342
2331
|
}
|
|
2343
2332
|
|
|
2344
2333
|
.wp-block[data-align=center] > .wp-block-site-logo,
|
|
@@ -2546,11 +2535,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2546
2535
|
}
|
|
2547
2536
|
|
|
2548
2537
|
.wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2549
|
-
.block-library-spacer__resize-container.has-show-handle
|
|
2538
|
+
.block-library-spacer__resize-container.has-show-handle,
|
|
2539
|
+
.wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2550
2540
|
background: rgba(0, 0, 0, 0.1);
|
|
2551
2541
|
}
|
|
2552
2542
|
.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,
|
|
2553
|
-
.is-dark-theme .block-library-spacer__resize-container.has-show-handle
|
|
2543
|
+
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,
|
|
2544
|
+
.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled {
|
|
2554
2545
|
background: rgba(255, 255, 255, 0.15);
|
|
2555
2546
|
}
|
|
2556
2547
|
|
|
@@ -2872,6 +2863,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2872
2863
|
justify-content: center;
|
|
2873
2864
|
align-items: center;
|
|
2874
2865
|
padding: 0;
|
|
2866
|
+
display: flex;
|
|
2875
2867
|
min-height: 200px;
|
|
2876
2868
|
}
|
|
2877
2869
|
.wp-block-post-featured-image .wp-block-post-featured-image__placeholder .components-form-file-upload,
|
|
@@ -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
|
}
|
|
@@ -564,6 +564,8 @@ button.wp-block-navigation-item__content {
|
|
|
564
564
|
|
|
565
565
|
.wp-block-navigation__responsive-close {
|
|
566
566
|
width: 100%;
|
|
567
|
+
}
|
|
568
|
+
.has-modal-open .wp-block-navigation__responsive-close {
|
|
567
569
|
max-width: var(--wp--style--global--wide-size, 100%);
|
|
568
570
|
margin-right: auto;
|
|
569
571
|
margin-left: auto;
|
|
@@ -564,6 +564,8 @@ button.wp-block-navigation-item__content {
|
|
|
564
564
|
|
|
565
565
|
.wp-block-navigation__responsive-close {
|
|
566
566
|
width: 100%;
|
|
567
|
+
}
|
|
568
|
+
.has-modal-open .wp-block-navigation__responsive-close {
|
|
567
569
|
max-width: var(--wp--style--global--wide-size, 100%);
|
|
568
570
|
margin-left: auto;
|
|
569
571
|
margin-right: auto;
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Dimensions.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Shadows.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Editor widths.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Block & Editor UI.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block paddings.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* React Native specific.
|
|
53
|
+
* These variables do not appear to be used anywhere else.
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Converts a hex value into the rgb equivalent.
|
|
57
|
+
*
|
|
58
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
59
|
+
* @return {string} comma separated rgb values
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Long content fade mixin
|
|
63
|
+
*
|
|
64
|
+
* Creates a fading overlay to signify that the content is longer
|
|
65
|
+
* than the space allows.
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Breakpoint mixins
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Focus styles.
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Applies editor left position to the selector passed as argument
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Styles that are reused verbatim in a few places
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Reset default styles for JavaScript UI based pages.
|
|
84
|
+
* This is a WP-admin agnostic reset
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
|
+
*/
|
|
89
|
+
.wp-block-post-time-to-read {
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
}
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Converts a hex value into the rgb equivalent.
|
|
3
|
+
*
|
|
4
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
5
|
+
* @return {string} comma separated rgb values
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Colors
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Breakpoints & Media Queries
|
|
12
|
+
*/
|
|
13
|
+
/**
|
|
14
|
+
* SCSS Variables.
|
|
15
|
+
*
|
|
16
|
+
* Please use variables from this sheet to ensure consistency across the UI.
|
|
17
|
+
* Don't add to this sheet unless you're pretty sure the value will be reused in many places.
|
|
18
|
+
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
|
|
19
|
+
*/
|
|
20
|
+
/**
|
|
21
|
+
* Converts a hex value into the rgb equivalent.
|
|
22
|
+
*
|
|
23
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
24
|
+
* @return {string} comma separated rgb values
|
|
25
|
+
*/
|
|
26
|
+
/**
|
|
27
|
+
* Colors
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* Fonts & basic variables.
|
|
31
|
+
*/
|
|
32
|
+
/**
|
|
33
|
+
* Grid System.
|
|
34
|
+
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
|
|
35
|
+
*/
|
|
36
|
+
/**
|
|
37
|
+
* Dimensions.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Shadows.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Editor widths.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Block & Editor UI.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block paddings.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* React Native specific.
|
|
53
|
+
* These variables do not appear to be used anywhere else.
|
|
54
|
+
*/
|
|
55
|
+
/**
|
|
56
|
+
* Converts a hex value into the rgb equivalent.
|
|
57
|
+
*
|
|
58
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
59
|
+
* @return {string} comma separated rgb values
|
|
60
|
+
*/
|
|
61
|
+
/**
|
|
62
|
+
* Long content fade mixin
|
|
63
|
+
*
|
|
64
|
+
* Creates a fading overlay to signify that the content is longer
|
|
65
|
+
* than the space allows.
|
|
66
|
+
*/
|
|
67
|
+
/**
|
|
68
|
+
* Breakpoint mixins
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Focus styles.
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Applies editor left position to the selector passed as argument
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Styles that are reused verbatim in a few places
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Reset default styles for JavaScript UI based pages.
|
|
84
|
+
* This is a WP-admin agnostic reset
|
|
85
|
+
*/
|
|
86
|
+
/**
|
|
87
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
88
|
+
*/
|
|
89
|
+
.wp-block-post-time-to-read {
|
|
90
|
+
box-sizing: border-box;
|
|
91
|
+
}
|
|
@@ -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
|
}
|
|
@@ -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: left;
|
|
114
117
|
}
|