@wordpress/block-library 9.6.1 → 9.7.1-next.1f6eadc42.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 +2 -0
- package/build/archives/edit.js +1 -1
- package/build/archives/edit.js.map +1 -1
- package/build/audio/edit.js +2 -1
- package/build/audio/edit.js.map +1 -1
- package/build/block/edit.js +5 -8
- package/build/block/edit.js.map +1 -1
- package/build/button/edit.js +1 -1
- package/build/button/edit.js.map +1 -1
- package/build/buttons/index.js +1 -1
- package/build/categories/index.js +1 -0
- package/build/categories/index.js.map +1 -1
- package/build/comment-edit-link/index.js +13 -2
- package/build/comment-edit-link/index.js.map +1 -1
- package/build/comment-reply-link/index.js +13 -2
- package/build/comment-reply-link/index.js.map +1 -1
- package/build/comments/edit/comments-legacy.js +1 -0
- package/build/comments/edit/comments-legacy.js.map +1 -1
- package/build/cover/deprecated.js +1 -1
- package/build/cover/deprecated.js.map +1 -1
- package/build/cover/edit/block-controls.js +4 -2
- package/build/cover/edit/block-controls.js.map +1 -1
- package/build/cover/edit/index.js +6 -3
- package/build/cover/edit/index.js.map +1 -1
- package/build/cover/edit/inspector-controls.js +4 -12
- package/build/cover/edit/inspector-controls.js.map +1 -1
- package/build/details/index.js +3 -1
- package/build/details/index.js.map +1 -1
- package/build/details/transforms.js +24 -0
- package/build/details/transforms.js.map +1 -0
- package/build/embed/edit.js +5 -11
- package/build/embed/edit.js.map +1 -1
- package/build/embed/embed-placeholder.js +2 -0
- package/build/embed/embed-placeholder.js.map +1 -1
- package/build/embed/embed-preview.js +16 -4
- package/build/embed/embed-preview.js.map +1 -1
- package/build/file/edit.js +12 -1
- package/build/file/edit.js.map +1 -1
- package/build/file/transforms.js +18 -4
- package/build/file/transforms.js.map +1 -1
- package/build/form-input/deprecated.js +113 -1
- package/build/form-input/deprecated.js.map +1 -1
- package/build/form-input/edit.js +16 -12
- package/build/form-input/edit.js.map +1 -1
- package/build/form-input/save.js +9 -1
- package/build/form-input/save.js.map +1 -1
- package/build/freeform/edit.js +4 -4
- package/build/freeform/edit.js.map +1 -1
- package/build/freeform/modal.js +3 -0
- package/build/freeform/modal.js.map +1 -1
- package/build/home-link/edit.js +3 -9
- package/build/home-link/edit.js.map +1 -1
- package/build/image/edit.js +95 -45
- package/build/image/edit.js.map +1 -1
- package/build/image/image.js +39 -24
- package/build/image/image.js.map +1 -1
- package/build/image/transforms.js +0 -13
- package/build/image/transforms.js.map +1 -1
- package/build/image/use-max-width-observer.js +35 -0
- package/build/image/use-max-width-observer.js.map +1 -0
- package/build/image/utils.js +11 -0
- package/build/image/utils.js.map +1 -1
- package/build/latest-posts/edit.js +1 -1
- package/build/latest-posts/edit.js.map +1 -1
- package/build/media-text/deprecated.js +144 -3
- package/build/media-text/deprecated.js.map +1 -1
- package/build/media-text/edit.js +5 -5
- package/build/media-text/edit.js.map +1 -1
- package/build/media-text/image-fill.js +12 -0
- package/build/media-text/image-fill.js.map +1 -0
- package/build/media-text/media-container.js +21 -18
- package/build/media-text/media-container.js.map +1 -1
- package/build/media-text/media-container.native.js +0 -7
- package/build/media-text/media-container.native.js.map +1 -1
- package/build/media-text/save.js +5 -6
- package/build/media-text/save.js.map +1 -1
- package/build/missing/edit.js +3 -2
- package/build/missing/edit.js.map +1 -1
- package/build/navigation/edit/deleted-navigation-warning.js +14 -7
- package/build/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build/navigation/edit/index.js +1 -0
- package/build/navigation/edit/index.js.map +1 -1
- package/build/navigation/edit/menu-inspector-controls.js +2 -1
- package/build/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/build/navigation/edit/navigation-menu-delete-control.js.map +1 -1
- package/build/navigation/edit/placeholder/index.js +1 -0
- package/build/navigation/edit/placeholder/index.js.map +1 -1
- package/build/navigation/edit/responsive-wrapper.js +2 -0
- package/build/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/build/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build/navigation-link/link-ui.js +2 -1
- package/build/navigation-link/link-ui.js.map +1 -1
- package/build/page-list/convert-to-links-modal.js +2 -0
- package/build/page-list/convert-to-links-modal.js.map +1 -1
- package/build/page-list/edit.js +4 -1
- package/build/page-list/edit.js.map +1 -1
- package/build/post-comments-form/form.js +1 -0
- package/build/post-comments-form/form.js.map +1 -1
- package/build/post-featured-image/dimension-controls.js +6 -8
- package/build/post-featured-image/dimension-controls.js.map +1 -1
- package/build/post-featured-image/edit.js +2 -4
- package/build/post-featured-image/edit.js.map +1 -1
- package/build/post-title/index.js +4 -1
- package/build/post-title/index.js.map +1 -1
- package/build/query/edit/enhanced-pagination-modal.js +3 -2
- package/build/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/build/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build/query/edit/inspector-controls/index.js +2 -10
- package/build/query/edit/inspector-controls/index.js.map +1 -1
- package/build/query/edit/query-content.js +9 -3
- package/build/query/edit/query-content.js.map +1 -1
- package/build/query/edit/query-placeholder.js +2 -0
- package/build/query/edit/query-placeholder.js.map +1 -1
- package/build/site-logo/edit.js +9 -13
- package/build/site-logo/edit.js.map +1 -1
- package/build/site-title/index.js +4 -1
- package/build/site-title/index.js.map +1 -1
- package/build/social-link/edit.js +4 -1
- package/build/social-link/edit.js.map +1 -1
- package/build/social-links/edit.js +10 -9
- package/build/social-links/edit.js.map +1 -1
- package/build/template-part/edit/advanced-controls.js.map +1 -1
- package/build/template-part/edit/index.js +1 -1
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/inner-blocks.js +10 -1
- package/build/template-part/edit/inner-blocks.js.map +1 -1
- package/build/template-part/edit/placeholder.js +2 -0
- package/build/template-part/edit/placeholder.js.map +1 -1
- package/build/utils/hooks.js +10 -10
- package/build/utils/hooks.js.map +1 -1
- package/build/video/edit.js +16 -12
- package/build/video/edit.js.map +1 -1
- package/build/video/tracks-editor.js +3 -0
- package/build/video/tracks-editor.js.map +1 -1
- package/build-module/archives/edit.js +1 -1
- package/build-module/archives/edit.js.map +1 -1
- package/build-module/audio/edit.js +2 -1
- package/build-module/audio/edit.js.map +1 -1
- package/build-module/block/edit.js +6 -9
- package/build-module/block/edit.js.map +1 -1
- package/build-module/button/edit.js +1 -1
- package/build-module/button/edit.js.map +1 -1
- package/build-module/buttons/index.js +1 -1
- package/build-module/categories/index.js +1 -0
- package/build-module/categories/index.js.map +1 -1
- package/build-module/comment-edit-link/index.js +13 -2
- package/build-module/comment-edit-link/index.js.map +1 -1
- package/build-module/comment-reply-link/index.js +13 -2
- package/build-module/comment-reply-link/index.js.map +1 -1
- package/build-module/comments/edit/comments-legacy.js +1 -0
- package/build-module/comments/edit/comments-legacy.js.map +1 -1
- package/build-module/cover/deprecated.js +1 -1
- package/build-module/cover/deprecated.js.map +1 -1
- package/build-module/cover/edit/block-controls.js +4 -2
- package/build-module/cover/edit/block-controls.js.map +1 -1
- package/build-module/cover/edit/index.js +6 -3
- package/build-module/cover/edit/index.js.map +1 -1
- package/build-module/cover/edit/inspector-controls.js +5 -13
- package/build-module/cover/edit/inspector-controls.js.map +1 -1
- package/build-module/details/index.js +3 -1
- package/build-module/details/index.js.map +1 -1
- package/build-module/details/transforms.js +18 -0
- package/build-module/details/transforms.js.map +1 -0
- package/build-module/embed/edit.js +6 -12
- package/build-module/embed/edit.js.map +1 -1
- package/build-module/embed/embed-placeholder.js +2 -0
- package/build-module/embed/embed-placeholder.js.map +1 -1
- package/build-module/embed/embed-preview.js +16 -4
- package/build-module/embed/embed-preview.js.map +1 -1
- package/build-module/file/edit.js +12 -1
- package/build-module/file/edit.js.map +1 -1
- package/build-module/file/transforms.js +18 -4
- package/build-module/file/transforms.js.map +1 -1
- package/build-module/form-input/deprecated.js +114 -2
- package/build-module/form-input/deprecated.js.map +1 -1
- package/build-module/form-input/edit.js +16 -12
- package/build-module/form-input/edit.js.map +1 -1
- package/build-module/form-input/save.js +9 -1
- package/build-module/form-input/save.js.map +1 -1
- package/build-module/freeform/edit.js +4 -4
- package/build-module/freeform/edit.js.map +1 -1
- package/build-module/freeform/modal.js +3 -0
- package/build-module/freeform/modal.js.map +1 -1
- package/build-module/home-link/edit.js +3 -9
- package/build-module/home-link/edit.js.map +1 -1
- package/build-module/image/edit.js +99 -48
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/image.js +40 -25
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/transforms.js +0 -13
- package/build-module/image/transforms.js.map +1 -1
- package/build-module/image/use-max-width-observer.js +29 -0
- package/build-module/image/use-max-width-observer.js.map +1 -0
- package/build-module/image/utils.js +11 -1
- package/build-module/image/utils.js.map +1 -1
- package/build-module/latest-posts/edit.js +1 -1
- package/build-module/latest-posts/edit.js.map +1 -1
- package/build-module/media-text/deprecated.js +144 -3
- package/build-module/media-text/deprecated.js.map +1 -1
- package/build-module/media-text/edit.js +5 -5
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/media-text/image-fill.js +6 -0
- package/build-module/media-text/image-fill.js.map +1 -0
- package/build-module/media-text/media-container.js +21 -17
- package/build-module/media-text/media-container.js.map +1 -1
- package/build-module/media-text/media-container.native.js +0 -1
- package/build-module/media-text/media-container.native.js.map +1 -1
- package/build-module/media-text/save.js +5 -6
- package/build-module/media-text/save.js.map +1 -1
- package/build-module/missing/edit.js +3 -2
- package/build-module/missing/edit.js.map +1 -1
- package/build-module/navigation/edit/deleted-navigation-warning.js +15 -8
- package/build-module/navigation/edit/deleted-navigation-warning.js.map +1 -1
- package/build-module/navigation/edit/index.js +1 -0
- package/build-module/navigation/edit/index.js.map +1 -1
- package/build-module/navigation/edit/menu-inspector-controls.js +2 -1
- package/build-module/navigation/edit/menu-inspector-controls.js.map +1 -1
- package/build-module/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/build-module/navigation/edit/navigation-menu-delete-control.js.map +1 -1
- package/build-module/navigation/edit/placeholder/index.js +1 -0
- package/build-module/navigation/edit/placeholder/index.js.map +1 -1
- package/build-module/navigation/edit/responsive-wrapper.js +2 -0
- package/build-module/navigation/edit/responsive-wrapper.js.map +1 -1
- package/build-module/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/build-module/navigation/edit/unsaved-inner-blocks.js.map +1 -1
- package/build-module/navigation-link/link-ui.js +4 -3
- package/build-module/navigation-link/link-ui.js.map +1 -1
- package/build-module/page-list/convert-to-links-modal.js +2 -0
- package/build-module/page-list/convert-to-links-modal.js.map +1 -1
- package/build-module/page-list/edit.js +4 -1
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/post-comments-form/form.js +1 -0
- package/build-module/post-comments-form/form.js.map +1 -1
- package/build-module/post-featured-image/dimension-controls.js +6 -8
- package/build-module/post-featured-image/dimension-controls.js.map +1 -1
- package/build-module/post-featured-image/edit.js +3 -5
- package/build-module/post-featured-image/edit.js.map +1 -1
- package/build-module/post-title/index.js +4 -1
- package/build-module/post-title/index.js.map +1 -1
- package/build-module/query/edit/enhanced-pagination-modal.js +3 -2
- package/build-module/query/edit/enhanced-pagination-modal.js.map +1 -1
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/build-module/query/edit/inspector-controls/enhanced-pagination-control.js.map +1 -1
- package/build-module/query/edit/inspector-controls/index.js +2 -10
- package/build-module/query/edit/inspector-controls/index.js.map +1 -1
- package/build-module/query/edit/query-content.js +10 -4
- package/build-module/query/edit/query-content.js.map +1 -1
- package/build-module/query/edit/query-placeholder.js +2 -0
- package/build-module/query/edit/query-placeholder.js.map +1 -1
- package/build-module/site-logo/edit.js +10 -14
- package/build-module/site-logo/edit.js.map +1 -1
- package/build-module/site-title/index.js +4 -1
- package/build-module/site-title/index.js.map +1 -1
- package/build-module/social-link/edit.js +4 -1
- package/build-module/social-link/edit.js.map +1 -1
- package/build-module/social-links/edit.js +11 -10
- package/build-module/social-links/edit.js.map +1 -1
- package/build-module/template-part/edit/advanced-controls.js.map +1 -1
- package/build-module/template-part/edit/index.js +1 -1
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/inner-blocks.js +10 -1
- package/build-module/template-part/edit/inner-blocks.js.map +1 -1
- package/build-module/template-part/edit/placeholder.js +2 -0
- package/build-module/template-part/edit/placeholder.js.map +1 -1
- package/build-module/utils/hooks.js +10 -10
- package/build-module/utils/hooks.js.map +1 -1
- package/build-module/video/edit.js +16 -13
- package/build-module/video/edit.js.map +1 -1
- package/build-module/video/tracks-editor.js +3 -0
- package/build-module/video/tracks-editor.js.map +1 -1
- package/build-style/button/editor-rtl.css +0 -4
- package/build-style/button/editor.css +0 -4
- package/build-style/buttons/editor-rtl.css +2 -5
- package/build-style/buttons/editor.css +2 -5
- package/build-style/buttons/style-rtl.css +2 -2
- package/build-style/buttons/style.css +2 -2
- package/build-style/comment-edit-link/style-rtl.css +94 -0
- package/build-style/comment-edit-link/style.css +94 -0
- package/build-style/comment-reply-link/style-rtl.css +94 -0
- package/build-style/comment-reply-link/style.css +94 -0
- package/build-style/comments-pagination/editor-rtl.css +2 -2
- package/build-style/comments-pagination/editor.css +2 -2
- package/build-style/common-rtl.css +2 -2
- package/build-style/common.css +2 -2
- package/build-style/cover/editor-rtl.css +0 -6
- package/build-style/cover/editor.css +0 -6
- package/build-style/editor-rtl.css +35 -99
- package/build-style/editor.css +35 -101
- package/build-style/form-input/style-rtl.css +7 -8
- package/build-style/form-input/style.css +7 -8
- package/build-style/group/editor-rtl.css +0 -1
- package/build-style/group/editor.css +0 -1
- package/build-style/image/editor-rtl.css +6 -27
- package/build-style/image/editor.css +6 -27
- package/build-style/media-text/editor-rtl.css +3 -1
- package/build-style/media-text/editor.css +3 -1
- package/build-style/media-text/style-rtl.css +20 -0
- package/build-style/media-text/style.css +20 -0
- package/build-style/navigation/editor-rtl.css +1 -2
- package/build-style/navigation/editor.css +1 -2
- package/build-style/post-featured-image/style-rtl.css +1 -1
- package/build-style/post-featured-image/style.css +1 -1
- package/build-style/post-title/style-rtl.css +21 -0
- package/build-style/post-title/style.css +21 -0
- package/build-style/query-pagination/editor-rtl.css +2 -16
- package/build-style/query-pagination/editor.css +2 -18
- package/build-style/query-pagination/style-rtl.css +0 -11
- package/build-style/query-pagination/style.css +0 -13
- package/build-style/site-title/editor-rtl.css +0 -4
- package/build-style/site-title/editor.css +0 -4
- package/build-style/site-title/style-rtl.css +21 -0
- package/build-style/site-title/style.css +21 -0
- package/build-style/social-links/editor-rtl.css +17 -0
- package/build-style/social-links/editor.css +17 -0
- package/build-style/style-rtl.css +82 -24
- package/build-style/style.css +82 -26
- package/build-style/video/editor-rtl.css +0 -29
- package/build-style/video/editor.css +0 -29
- package/package.json +42 -35
- package/src/archives/edit.js +1 -1
- package/src/audio/edit.js +1 -0
- package/src/block/edit.js +9 -11
- package/src/button/edit.js +1 -1
- package/src/button/editor.scss +0 -5
- package/src/buttons/block.json +1 -1
- package/src/buttons/editor.scss +2 -8
- package/src/buttons/style.scss +2 -2
- package/src/categories/block.json +1 -0
- package/src/categories/index.php +13 -2
- package/src/comment-edit-link/block.json +13 -2
- package/src/comment-edit-link/style.scss +4 -0
- package/src/comment-reply-link/block.json +13 -2
- package/src/comment-reply-link/style.scss +4 -0
- package/src/comments/edit/comments-legacy.js +1 -0
- package/src/comments-pagination/editor.scss +1 -1
- package/src/cover/deprecated.js +3 -2
- package/src/cover/edit/block-controls.js +2 -0
- package/src/cover/edit/index.js +6 -1
- package/src/cover/edit/inspector-controls.js +3 -15
- package/src/cover/editor.scss +0 -5
- package/src/cover/test/edit.js +30 -26
- package/src/details/index.js +2 -0
- package/src/details/transforms.js +26 -0
- package/src/embed/edit.js +0 -7
- package/src/embed/embed-placeholder.js +10 -2
- package/src/embed/embed-preview.js +22 -2
- package/src/file/edit.js +11 -0
- package/src/file/index.php +1 -1
- package/src/file/transforms.js +26 -6
- package/src/form-input/deprecated.js +114 -1
- package/src/form-input/edit.js +17 -11
- package/src/form-input/save.js +13 -3
- package/src/form-input/style.scss +9 -8
- package/src/freeform/edit.js +4 -4
- package/src/freeform/editor.scss +1 -1
- package/src/freeform/modal.js +7 -1
- package/src/gallery/editor.scss +1 -1
- package/src/group/editor.scss +0 -1
- package/src/home-link/edit.js +4 -7
- package/src/image/edit.js +130 -47
- package/src/image/editor.scss +7 -41
- package/src/image/image.js +100 -67
- package/src/image/index.php +1 -1
- package/src/image/transforms.js +0 -23
- package/src/image/use-max-width-observer.js +32 -0
- package/src/image/utils.js +13 -1
- package/src/latest-posts/edit.js +1 -1
- package/src/media-text/deprecated.js +159 -3
- package/src/media-text/edit.js +5 -5
- package/src/media-text/editor.scss +3 -1
- package/src/media-text/image-fill.js +11 -0
- package/src/media-text/index.php +53 -43
- package/src/media-text/media-container.js +25 -25
- package/src/media-text/media-container.native.js +0 -2
- package/src/media-text/save.js +9 -13
- package/src/media-text/style.scss +21 -0
- package/src/media-text/test/image-fill.js +19 -0
- package/src/missing/edit.js +8 -3
- package/src/navigation/edit/deleted-navigation-warning.js +23 -13
- package/src/navigation/edit/index.js +1 -0
- package/src/navigation/edit/menu-inspector-controls.js +3 -1
- package/src/navigation/edit/navigation-menu-delete-control.js +1 -0
- package/src/navigation/edit/placeholder/index.js +1 -0
- package/src/navigation/edit/responsive-wrapper.js +2 -0
- package/src/navigation/edit/unsaved-inner-blocks.js +4 -4
- package/src/navigation/editor.scss +11 -4
- package/src/navigation/index.php +1 -1
- package/src/navigation-link/link-ui.js +4 -3
- package/src/page-list/convert-to-links-modal.js +6 -1
- package/src/page-list/edit.js +6 -1
- package/src/page-list/index.php +3 -1
- package/src/post-comments-form/form.js +1 -0
- package/src/post-featured-image/dimension-controls.js +4 -4
- package/src/post-featured-image/edit.js +3 -6
- package/src/post-featured-image/style.scss +1 -1
- package/src/post-title/block.json +4 -1
- package/src/post-title/style.scss +24 -0
- package/src/query/edit/enhanced-pagination-modal.js +7 -3
- package/src/query/edit/inspector-controls/enhanced-pagination-control.js +3 -3
- package/src/query/edit/inspector-controls/index.js +2 -9
- package/src/query/edit/query-content.js +7 -0
- package/src/query/edit/query-placeholder.js +2 -0
- package/src/query/index.php +1 -1
- package/src/query-pagination/editor.scss +1 -21
- package/src/query-pagination/style.scss +0 -15
- package/src/search/index.php +1 -1
- package/src/site-logo/edit.js +11 -20
- package/src/site-title/block.json +4 -1
- package/src/site-title/editor.scss +0 -4
- package/src/site-title/style.scss +24 -0
- package/src/social-link/edit.js +2 -0
- package/src/social-links/edit.js +17 -10
- package/src/social-links/editor.scss +24 -5
- package/src/style.scss +2 -0
- package/src/tag-cloud/index.php +7 -2
- package/src/template-part/edit/advanced-controls.js +0 -1
- package/src/template-part/edit/index.js +12 -10
- package/src/template-part/edit/inner-blocks.js +20 -1
- package/src/template-part/edit/placeholder.js +6 -1
- package/src/utils/hooks.js +11 -11
- package/src/video/edit.js +24 -21
- package/src/video/editor.scss +0 -45
- package/src/video/tracks-editor.js +3 -0
- package/src/media-text/test/media-container.js +0 -24
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
* Radius scale.
|
|
38
|
+
*/
|
|
39
|
+
/**
|
|
40
|
+
* Elevation scale.
|
|
41
|
+
*/
|
|
42
|
+
/**
|
|
43
|
+
* Dimensions.
|
|
44
|
+
*/
|
|
45
|
+
/**
|
|
46
|
+
* Editor widths.
|
|
47
|
+
*/
|
|
48
|
+
/**
|
|
49
|
+
* Block & Editor UI.
|
|
50
|
+
*/
|
|
51
|
+
/**
|
|
52
|
+
* Block paddings.
|
|
53
|
+
*/
|
|
54
|
+
/**
|
|
55
|
+
* React Native specific.
|
|
56
|
+
* These variables do not appear to be used anywhere else.
|
|
57
|
+
*/
|
|
58
|
+
/**
|
|
59
|
+
* Converts a hex value into the rgb equivalent.
|
|
60
|
+
*
|
|
61
|
+
* @param {string} hex - the hexadecimal value to convert
|
|
62
|
+
* @return {string} comma separated rgb values
|
|
63
|
+
*/
|
|
64
|
+
/**
|
|
65
|
+
* Long content fade mixin
|
|
66
|
+
*
|
|
67
|
+
* Creates a fading overlay to signify that the content is longer
|
|
68
|
+
* than the space allows.
|
|
69
|
+
*/
|
|
70
|
+
/**
|
|
71
|
+
* Breakpoint mixins
|
|
72
|
+
*/
|
|
73
|
+
/**
|
|
74
|
+
* Focus styles.
|
|
75
|
+
*/
|
|
76
|
+
/**
|
|
77
|
+
* Applies editor left position to the selector passed as argument
|
|
78
|
+
*/
|
|
79
|
+
/**
|
|
80
|
+
* Styles that are reused verbatim in a few places
|
|
81
|
+
*/
|
|
82
|
+
/**
|
|
83
|
+
* Allows users to opt-out of animations via OS-level preferences.
|
|
84
|
+
*/
|
|
85
|
+
/**
|
|
86
|
+
* Reset default styles for JavaScript UI based pages.
|
|
87
|
+
* This is a WP-admin agnostic reset
|
|
88
|
+
*/
|
|
89
|
+
/**
|
|
90
|
+
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
|
+
*/
|
|
92
|
+
.wp-block-comment-reply-link {
|
|
93
|
+
box-sizing: border-box;
|
|
94
|
+
}
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
justify-content: center;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
96
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
97
97
|
max-width: 100%;
|
|
98
98
|
}
|
|
99
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
99
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
100
100
|
margin: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -93,10 +93,10 @@
|
|
|
93
93
|
justify-content: center;
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
96
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
97
97
|
max-width: 100%;
|
|
98
98
|
}
|
|
99
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
99
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
100
100
|
margin: 0;
|
|
101
101
|
}
|
|
102
102
|
|
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
:root {
|
|
118
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
-
/* stylelint-enable function-comma-space-after */
|
|
118
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
120
120
|
--wp--preset--font-size--normal: 16px;
|
|
121
121
|
--wp--preset--font-size--huge: 42px;
|
|
122
122
|
}
|
package/build-style/common.css
CHANGED
|
@@ -115,8 +115,8 @@
|
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
:root {
|
|
118
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
-
/* stylelint-enable function-comma-space-after */
|
|
118
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
119
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
120
120
|
--wp--preset--font-size--normal: 16px;
|
|
121
121
|
--wp--preset--font-size--huge: 42px;
|
|
122
122
|
}
|
|
@@ -89,12 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-cover {
|
|
93
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
94
|
-
}
|
|
95
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
}
|
|
98
92
|
.wp-block-cover.is-placeholder {
|
|
99
93
|
padding: 0 !important;
|
|
100
94
|
display: flex;
|
|
@@ -89,12 +89,6 @@
|
|
|
89
89
|
/**
|
|
90
90
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
91
91
|
*/
|
|
92
|
-
.wp-block-cover {
|
|
93
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
94
|
-
}
|
|
95
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
96
|
-
box-sizing: border-box;
|
|
97
|
-
}
|
|
98
92
|
.wp-block-cover.is-placeholder {
|
|
99
93
|
padding: 0 !important;
|
|
100
94
|
display: flex;
|
|
@@ -144,12 +144,8 @@ div[data-type="core/button"] {
|
|
|
144
144
|
display: table;
|
|
145
145
|
}
|
|
146
146
|
|
|
147
|
-
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
|
|
148
|
-
text-decoration: inherit;
|
|
149
|
-
}
|
|
150
|
-
|
|
151
147
|
.wp-block-buttons {
|
|
152
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
148
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
153
149
|
}
|
|
154
150
|
.wp-block-buttons > .wp-block {
|
|
155
151
|
margin: 0;
|
|
@@ -171,7 +167,7 @@ div[data-type="core/button"] {
|
|
|
171
167
|
.is-content-justification-right,
|
|
172
168
|
.is-content-justification-left,
|
|
173
169
|
.is-content-justification-center) .wp-block[data-align=center] {
|
|
174
|
-
/* stylelint-enable indentation */
|
|
170
|
+
/* stylelint-enable @stylistic/indentation */
|
|
175
171
|
margin-right: auto;
|
|
176
172
|
margin-left: auto;
|
|
177
173
|
margin-top: 0;
|
|
@@ -183,9 +179,6 @@ div[data-type="core/button"] {
|
|
|
183
179
|
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
|
184
180
|
margin-bottom: 0;
|
|
185
181
|
}
|
|
186
|
-
.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
|
|
187
|
-
font-size: inherit;
|
|
188
|
-
}
|
|
189
182
|
|
|
190
183
|
.wp-block[data-align=center] > .wp-block-buttons {
|
|
191
184
|
align-items: center;
|
|
@@ -366,10 +359,10 @@ html :where(.wp-block-column) {
|
|
|
366
359
|
justify-content: center;
|
|
367
360
|
}
|
|
368
361
|
|
|
369
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
362
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
370
363
|
max-width: 100%;
|
|
371
364
|
}
|
|
372
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
365
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
373
366
|
margin: 0;
|
|
374
367
|
}
|
|
375
368
|
|
|
@@ -401,12 +394,6 @@ html :where(.wp-block-column) {
|
|
|
401
394
|
padding: inherit;
|
|
402
395
|
}
|
|
403
396
|
|
|
404
|
-
.wp-block-cover {
|
|
405
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
406
|
-
}
|
|
407
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
408
|
-
box-sizing: border-box;
|
|
409
|
-
}
|
|
410
397
|
.wp-block-cover.is-placeholder {
|
|
411
398
|
padding: 0 !important;
|
|
412
399
|
display: flex;
|
|
@@ -1181,7 +1168,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1181
1168
|
pointer-events: none;
|
|
1182
1169
|
min-height: 46px;
|
|
1183
1170
|
border: 1px dashed currentColor;
|
|
1184
|
-
border-radius: 2px;
|
|
1185
1171
|
}
|
|
1186
1172
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter,
|
|
1187
1173
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-button-block-appender {
|
|
@@ -1219,33 +1205,8 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1219
1205
|
outline: 2px solid transparent !important;
|
|
1220
1206
|
}
|
|
1221
1207
|
|
|
1222
|
-
.wp-block-image.wp-block-image
|
|
1223
|
-
|
|
1224
|
-
background-color: #fff;
|
|
1225
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
1226
|
-
border: none;
|
|
1227
|
-
filter: none !important;
|
|
1228
|
-
border-radius: 2px;
|
|
1229
|
-
}
|
|
1230
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder > svg {
|
|
1231
|
-
opacity: 0;
|
|
1232
|
-
}
|
|
1233
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder .components-placeholder__illustration {
|
|
1234
|
-
display: none;
|
|
1235
|
-
}
|
|
1236
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder::before {
|
|
1237
|
-
opacity: 0;
|
|
1238
|
-
}
|
|
1239
|
-
.wp-block-image.wp-block-image .block-bindings-media-placeholder-message {
|
|
1240
|
-
opacity: 0;
|
|
1241
|
-
}
|
|
1242
|
-
.wp-block-image.wp-block-image.is-selected .block-bindings-media-placeholder-message {
|
|
1243
|
-
opacity: 1;
|
|
1244
|
-
}
|
|
1245
|
-
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
1246
|
-
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
1247
|
-
.wp-block-image.wp-block-image .components-button {
|
|
1248
|
-
transition: none;
|
|
1208
|
+
.wp-block-image.wp-block-image .block-editor-media-placeholder.is-small {
|
|
1209
|
+
min-height: 60px;
|
|
1249
1210
|
}
|
|
1250
1211
|
|
|
1251
1212
|
figure.wp-block-image:not(.wp-block) {
|
|
@@ -1339,6 +1300,10 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1339
1300
|
text-align: center;
|
|
1340
1301
|
}
|
|
1341
1302
|
|
|
1303
|
+
.wp-block[data-align]:has(> .wp-block-image) {
|
|
1304
|
+
position: relative;
|
|
1305
|
+
}
|
|
1306
|
+
|
|
1342
1307
|
.wp-block-image__crop-area {
|
|
1343
1308
|
position: relative;
|
|
1344
1309
|
max-width: 100%;
|
|
@@ -1421,7 +1386,9 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1421
1386
|
}
|
|
1422
1387
|
|
|
1423
1388
|
.wp-block-media-text.is-image-fill .editor-media-container__resizer,
|
|
1424
|
-
.wp-block-media-text.is-image-fill .components-placeholder.has-illustration
|
|
1389
|
+
.wp-block-media-text.is-image-fill .components-placeholder.has-illustration,
|
|
1390
|
+
.wp-block-media-text.is-image-fill-element .editor-media-container__resizer,
|
|
1391
|
+
.wp-block-media-text.is-image-fill-element .components-placeholder.has-illustration {
|
|
1425
1392
|
height: 100% !important;
|
|
1426
1393
|
}
|
|
1427
1394
|
|
|
@@ -1542,7 +1509,6 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1542
1509
|
background: #1e1e1e;
|
|
1543
1510
|
padding: 0;
|
|
1544
1511
|
width: 24px;
|
|
1545
|
-
border-radius: 2px;
|
|
1546
1512
|
margin-left: 0;
|
|
1547
1513
|
margin-right: auto;
|
|
1548
1514
|
}
|
|
@@ -1881,7 +1847,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1881
1847
|
width: 100%;
|
|
1882
1848
|
background-color: #f0f0f0;
|
|
1883
1849
|
padding: 0 24px;
|
|
1884
|
-
height: 64px;
|
|
1850
|
+
height: 64px !important;
|
|
1885
1851
|
margin-bottom: 12px;
|
|
1886
1852
|
}
|
|
1887
1853
|
.wp-block-navigation__overlay-menu-preview.open {
|
|
@@ -2408,10 +2374,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2408
2374
|
border: 1px dashed;
|
|
2409
2375
|
}
|
|
2410
2376
|
|
|
2411
|
-
.editor-styles-wrapper :where(.wp-block-site-title a) {
|
|
2412
|
-
color: inherit;
|
|
2413
|
-
}
|
|
2414
|
-
|
|
2415
2377
|
.wp-block-social-links .wp-social-link {
|
|
2416
2378
|
line-height: 0;
|
|
2417
2379
|
}
|
|
@@ -2531,6 +2493,23 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2531
2493
|
opacity: 1;
|
|
2532
2494
|
}
|
|
2533
2495
|
|
|
2496
|
+
.wp-block-social-links .block-list-appender {
|
|
2497
|
+
position: static;
|
|
2498
|
+
}
|
|
2499
|
+
.wp-block-social-links .block-list-appender .block-editor-button-block-appender.components-button.components-button {
|
|
2500
|
+
padding: 6px;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
.wp-block-social-links.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2504
|
+
padding: 0;
|
|
2505
|
+
}
|
|
2506
|
+
.wp-block-social-links.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2507
|
+
padding: 14px;
|
|
2508
|
+
}
|
|
2509
|
+
.wp-block-social-links.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2510
|
+
padding: 23px;
|
|
2511
|
+
}
|
|
2512
|
+
|
|
2534
2513
|
.block-editor-block-list__block[data-type="core/spacer"]::before {
|
|
2535
2514
|
content: "";
|
|
2536
2515
|
display: block;
|
|
@@ -2677,28 +2656,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2677
2656
|
outline: 1px solid #ddd;
|
|
2678
2657
|
}
|
|
2679
2658
|
|
|
2680
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder {
|
|
2681
|
-
color: #1e1e1e;
|
|
2682
|
-
background-color: #fff;
|
|
2683
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
2684
|
-
border: none;
|
|
2685
|
-
border-radius: 2px;
|
|
2686
|
-
}
|
|
2687
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
|
|
2688
|
-
opacity: 0;
|
|
2689
|
-
}
|
|
2690
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
|
|
2691
|
-
display: none;
|
|
2692
|
-
}
|
|
2693
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder::before {
|
|
2694
|
-
opacity: 0;
|
|
2695
|
-
}
|
|
2696
|
-
.wp-block-video.wp-block-video .components-placeholder__label,
|
|
2697
|
-
.wp-block-video.wp-block-video .components-placeholder__instructions,
|
|
2698
|
-
.wp-block-video.wp-block-video .components-button {
|
|
2699
|
-
transition: none;
|
|
2700
|
-
}
|
|
2701
|
-
|
|
2702
2659
|
.wp-block[data-align=center] > .wp-block-video {
|
|
2703
2660
|
text-align: center;
|
|
2704
2661
|
}
|
|
@@ -2744,7 +2701,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2744
2701
|
|
|
2745
2702
|
.block-library-video-tracks-editor > .components-popover__content {
|
|
2746
2703
|
width: 360px;
|
|
2747
|
-
padding: 0;
|
|
2748
2704
|
}
|
|
2749
2705
|
|
|
2750
2706
|
.block-library-video-tracks-editor__track-list .components-menu-group__label,
|
|
@@ -2752,12 +2708,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2752
2708
|
padding: 0;
|
|
2753
2709
|
}
|
|
2754
2710
|
|
|
2755
|
-
.block-library-video-tracks-editor__single-track-editor,
|
|
2756
|
-
.block-library-video-tracks-editor__track-list,
|
|
2757
|
-
.block-library-video-tracks-editor__add-tracks-container {
|
|
2758
|
-
padding: 12px;
|
|
2759
|
-
}
|
|
2760
|
-
|
|
2761
2711
|
.editor-styles-wrapper ul.wp-block-post-template {
|
|
2762
2712
|
padding-right: 0;
|
|
2763
2713
|
margin-right: 0;
|
|
@@ -2823,27 +2773,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2823
2773
|
justify-content: center;
|
|
2824
2774
|
}
|
|
2825
2775
|
|
|
2826
|
-
.editor-styles-wrapper .wp-block-query-pagination {
|
|
2776
|
+
:where(.editor-styles-wrapper) .wp-block-query-pagination {
|
|
2827
2777
|
max-width: 100%;
|
|
2828
2778
|
}
|
|
2829
|
-
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
|
|
2779
|
+
:where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout {
|
|
2830
2780
|
margin: 0;
|
|
2831
2781
|
}
|
|
2832
2782
|
|
|
2833
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
|
2834
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
|
2835
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
|
2836
|
-
margin-right: 0;
|
|
2837
|
-
margin-top: 0.5em;
|
|
2838
|
-
margin-right: 0.5em;
|
|
2839
|
-
margin-bottom: 0.5em;
|
|
2840
|
-
}
|
|
2841
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
|
2842
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
|
2843
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
2844
|
-
margin-right: 0;
|
|
2845
|
-
}
|
|
2846
|
-
|
|
2847
2783
|
.wp-block-query-pagination-numbers a {
|
|
2848
2784
|
text-decoration: underline;
|
|
2849
2785
|
}
|
|
@@ -2998,8 +2934,8 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2998
2934
|
}
|
|
2999
2935
|
|
|
3000
2936
|
:root .editor-styles-wrapper {
|
|
3001
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
3002
|
-
/* stylelint-enable function-comma-space-after */
|
|
2937
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
2938
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
3003
2939
|
}
|
|
3004
2940
|
:root .editor-styles-wrapper .has-very-light-gray-background-color {
|
|
3005
2941
|
background-color: #eee;
|
package/build-style/editor.css
CHANGED
|
@@ -145,12 +145,8 @@ div[data-type="core/button"] {
|
|
|
145
145
|
display: table;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
|
-
.editor-styles-wrapper .wp-block-button[style*=text-decoration] .wp-block-button__link {
|
|
149
|
-
text-decoration: inherit;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
148
|
.wp-block-buttons {
|
|
153
|
-
/* stylelint-disable indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
149
|
+
/* stylelint-disable @stylistic/indentation -- Disable the stylelint rule, otherwise this selector is ugly! */
|
|
154
150
|
}
|
|
155
151
|
.wp-block-buttons > .wp-block {
|
|
156
152
|
margin: 0;
|
|
@@ -172,7 +168,7 @@ div[data-type="core/button"] {
|
|
|
172
168
|
.is-content-justification-right,
|
|
173
169
|
.is-content-justification-left,
|
|
174
170
|
.is-content-justification-center) .wp-block[data-align=center] {
|
|
175
|
-
/* stylelint-enable indentation */
|
|
171
|
+
/* stylelint-enable @stylistic/indentation */
|
|
176
172
|
margin-left: auto;
|
|
177
173
|
margin-right: auto;
|
|
178
174
|
margin-top: 0;
|
|
@@ -184,9 +180,6 @@ div[data-type="core/button"] {
|
|
|
184
180
|
.is-content-justification-center) .wp-block[data-align=center] .wp-block-button {
|
|
185
181
|
margin-bottom: 0;
|
|
186
182
|
}
|
|
187
|
-
.editor-styles-wrapper .wp-block-buttons.has-custom-font-size .wp-block-button__link {
|
|
188
|
-
font-size: inherit;
|
|
189
|
-
}
|
|
190
183
|
|
|
191
184
|
.wp-block[data-align=center] > .wp-block-buttons {
|
|
192
185
|
align-items: center;
|
|
@@ -367,10 +360,10 @@ html :where(.wp-block-column) {
|
|
|
367
360
|
justify-content: center;
|
|
368
361
|
}
|
|
369
362
|
|
|
370
|
-
.editor-styles-wrapper .wp-block-comments-pagination {
|
|
363
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination {
|
|
371
364
|
max-width: 100%;
|
|
372
365
|
}
|
|
373
|
-
.editor-styles-wrapper .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
366
|
+
:where(.editor-styles-wrapper) .wp-block-comments-pagination.block-editor-block-list__layout {
|
|
374
367
|
margin: 0;
|
|
375
368
|
}
|
|
376
369
|
|
|
@@ -405,12 +398,6 @@ html :where(.wp-block-column) {
|
|
|
405
398
|
padding: inherit;
|
|
406
399
|
}
|
|
407
400
|
|
|
408
|
-
.wp-block-cover {
|
|
409
|
-
/* Extra specificity needed because the reset.css applied in the editor context is overriding this rule. */
|
|
410
|
-
}
|
|
411
|
-
.editor-styles-wrapper .wp-block-cover {
|
|
412
|
-
box-sizing: border-box;
|
|
413
|
-
}
|
|
414
401
|
.wp-block-cover.is-placeholder {
|
|
415
402
|
padding: 0 !important;
|
|
416
403
|
display: flex;
|
|
@@ -1189,7 +1176,6 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1189
1176
|
pointer-events: none;
|
|
1190
1177
|
min-height: 46px;
|
|
1191
1178
|
border: 1px dashed currentColor;
|
|
1192
|
-
border-radius: 2px;
|
|
1193
1179
|
}
|
|
1194
1180
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter,
|
|
1195
1181
|
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-button-block-appender {
|
|
@@ -1228,33 +1214,8 @@ div[data-type="core/freeform"].is-selected .block-library-classic__toolbar {
|
|
|
1228
1214
|
outline: 2px solid transparent !important;
|
|
1229
1215
|
}
|
|
1230
1216
|
|
|
1231
|
-
.wp-block-image.wp-block-image
|
|
1232
|
-
|
|
1233
|
-
background-color: #fff;
|
|
1234
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
1235
|
-
border: none;
|
|
1236
|
-
filter: none !important;
|
|
1237
|
-
border-radius: 2px;
|
|
1238
|
-
}
|
|
1239
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder > svg {
|
|
1240
|
-
opacity: 0;
|
|
1241
|
-
}
|
|
1242
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder .components-placeholder__illustration {
|
|
1243
|
-
display: none;
|
|
1244
|
-
}
|
|
1245
|
-
.wp-block-image.wp-block-image.is-selected .block-editor-media-placeholder::before {
|
|
1246
|
-
opacity: 0;
|
|
1247
|
-
}
|
|
1248
|
-
.wp-block-image.wp-block-image .block-bindings-media-placeholder-message {
|
|
1249
|
-
opacity: 0;
|
|
1250
|
-
}
|
|
1251
|
-
.wp-block-image.wp-block-image.is-selected .block-bindings-media-placeholder-message {
|
|
1252
|
-
opacity: 1;
|
|
1253
|
-
}
|
|
1254
|
-
.wp-block-image.wp-block-image .components-placeholder__label,
|
|
1255
|
-
.wp-block-image.wp-block-image .components-placeholder__instructions,
|
|
1256
|
-
.wp-block-image.wp-block-image .components-button {
|
|
1257
|
-
transition: none;
|
|
1217
|
+
.wp-block-image.wp-block-image .block-editor-media-placeholder.is-small {
|
|
1218
|
+
min-height: 60px;
|
|
1258
1219
|
}
|
|
1259
1220
|
|
|
1260
1221
|
figure.wp-block-image:not(.wp-block) {
|
|
@@ -1348,6 +1309,10 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1348
1309
|
text-align: center;
|
|
1349
1310
|
}
|
|
1350
1311
|
|
|
1312
|
+
.wp-block[data-align]:has(> .wp-block-image) {
|
|
1313
|
+
position: relative;
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1351
1316
|
.wp-block-image__crop-area {
|
|
1352
1317
|
position: relative;
|
|
1353
1318
|
max-width: 100%;
|
|
@@ -1430,7 +1395,9 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1430
1395
|
}
|
|
1431
1396
|
|
|
1432
1397
|
.wp-block-media-text.is-image-fill .editor-media-container__resizer,
|
|
1433
|
-
.wp-block-media-text.is-image-fill .components-placeholder.has-illustration
|
|
1398
|
+
.wp-block-media-text.is-image-fill .components-placeholder.has-illustration,
|
|
1399
|
+
.wp-block-media-text.is-image-fill-element .editor-media-container__resizer,
|
|
1400
|
+
.wp-block-media-text.is-image-fill-element .components-placeholder.has-illustration {
|
|
1434
1401
|
height: 100% !important;
|
|
1435
1402
|
}
|
|
1436
1403
|
|
|
@@ -1551,7 +1518,6 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1551
1518
|
background: #1e1e1e;
|
|
1552
1519
|
padding: 0;
|
|
1553
1520
|
width: 24px;
|
|
1554
|
-
border-radius: 2px;
|
|
1555
1521
|
margin-right: 0;
|
|
1556
1522
|
margin-left: auto;
|
|
1557
1523
|
}
|
|
@@ -1890,7 +1856,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
1890
1856
|
width: 100%;
|
|
1891
1857
|
background-color: #f0f0f0;
|
|
1892
1858
|
padding: 0 24px;
|
|
1893
|
-
height: 64px;
|
|
1859
|
+
height: 64px !important;
|
|
1894
1860
|
margin-bottom: 12px;
|
|
1895
1861
|
}
|
|
1896
1862
|
.wp-block-navigation__overlay-menu-preview.open {
|
|
@@ -2417,10 +2383,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2417
2383
|
border: 1px dashed;
|
|
2418
2384
|
}
|
|
2419
2385
|
|
|
2420
|
-
.editor-styles-wrapper :where(.wp-block-site-title a) {
|
|
2421
|
-
color: inherit;
|
|
2422
|
-
}
|
|
2423
|
-
|
|
2424
2386
|
.wp-block-social-links .wp-social-link {
|
|
2425
2387
|
line-height: 0;
|
|
2426
2388
|
}
|
|
@@ -2540,6 +2502,23 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2540
2502
|
opacity: 1;
|
|
2541
2503
|
}
|
|
2542
2504
|
|
|
2505
|
+
.wp-block-social-links .block-list-appender {
|
|
2506
|
+
position: static;
|
|
2507
|
+
}
|
|
2508
|
+
.wp-block-social-links .block-list-appender .block-editor-button-block-appender.components-button.components-button {
|
|
2509
|
+
padding: 6px;
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
.wp-block-social-links.has-small-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2513
|
+
padding: 0;
|
|
2514
|
+
}
|
|
2515
|
+
.wp-block-social-links.has-large-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2516
|
+
padding: 14px;
|
|
2517
|
+
}
|
|
2518
|
+
.wp-block-social-links.has-huge-icon-size .block-editor-button-block-appender.components-button.components-button {
|
|
2519
|
+
padding: 23px;
|
|
2520
|
+
}
|
|
2521
|
+
|
|
2543
2522
|
.block-editor-block-list__block[data-type="core/spacer"]::before {
|
|
2544
2523
|
content: "";
|
|
2545
2524
|
display: block;
|
|
@@ -2686,28 +2665,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2686
2665
|
outline: 1px solid #ddd;
|
|
2687
2666
|
}
|
|
2688
2667
|
|
|
2689
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder {
|
|
2690
|
-
color: #1e1e1e;
|
|
2691
|
-
background-color: #fff;
|
|
2692
|
-
box-shadow: inset 0 0 0 1px #1e1e1e;
|
|
2693
|
-
border: none;
|
|
2694
|
-
border-radius: 2px;
|
|
2695
|
-
}
|
|
2696
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder > svg {
|
|
2697
|
-
opacity: 0;
|
|
2698
|
-
}
|
|
2699
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder .components-placeholder__illustration {
|
|
2700
|
-
display: none;
|
|
2701
|
-
}
|
|
2702
|
-
.wp-block-video.wp-block-video.is-selected .components-placeholder::before {
|
|
2703
|
-
opacity: 0;
|
|
2704
|
-
}
|
|
2705
|
-
.wp-block-video.wp-block-video .components-placeholder__label,
|
|
2706
|
-
.wp-block-video.wp-block-video .components-placeholder__instructions,
|
|
2707
|
-
.wp-block-video.wp-block-video .components-button {
|
|
2708
|
-
transition: none;
|
|
2709
|
-
}
|
|
2710
|
-
|
|
2711
2668
|
.wp-block[data-align=center] > .wp-block-video {
|
|
2712
2669
|
text-align: center;
|
|
2713
2670
|
}
|
|
@@ -2753,7 +2710,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2753
2710
|
|
|
2754
2711
|
.block-library-video-tracks-editor > .components-popover__content {
|
|
2755
2712
|
width: 360px;
|
|
2756
|
-
padding: 0;
|
|
2757
2713
|
}
|
|
2758
2714
|
|
|
2759
2715
|
.block-library-video-tracks-editor__track-list .components-menu-group__label,
|
|
@@ -2761,12 +2717,6 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2761
2717
|
padding: 0;
|
|
2762
2718
|
}
|
|
2763
2719
|
|
|
2764
|
-
.block-library-video-tracks-editor__single-track-editor,
|
|
2765
|
-
.block-library-video-tracks-editor__track-list,
|
|
2766
|
-
.block-library-video-tracks-editor__add-tracks-container {
|
|
2767
|
-
padding: 12px;
|
|
2768
|
-
}
|
|
2769
|
-
|
|
2770
2720
|
.editor-styles-wrapper ul.wp-block-post-template {
|
|
2771
2721
|
padding-left: 0;
|
|
2772
2722
|
margin-left: 0;
|
|
@@ -2832,29 +2782,13 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2832
2782
|
justify-content: center;
|
|
2833
2783
|
}
|
|
2834
2784
|
|
|
2835
|
-
.editor-styles-wrapper .wp-block-query-pagination {
|
|
2785
|
+
:where(.editor-styles-wrapper) .wp-block-query-pagination {
|
|
2836
2786
|
max-width: 100%;
|
|
2837
2787
|
}
|
|
2838
|
-
.editor-styles-wrapper .wp-block-query-pagination.block-editor-block-list__layout {
|
|
2788
|
+
:where(.editor-styles-wrapper) .wp-block-query-pagination.block-editor-block-list__layout {
|
|
2839
2789
|
margin: 0;
|
|
2840
2790
|
}
|
|
2841
2791
|
|
|
2842
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next,
|
|
2843
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous,
|
|
2844
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers {
|
|
2845
|
-
margin-left: 0;
|
|
2846
|
-
margin-top: 0.5em;
|
|
2847
|
-
/*rtl:ignore*/
|
|
2848
|
-
margin-right: 0.5em;
|
|
2849
|
-
margin-bottom: 0.5em;
|
|
2850
|
-
}
|
|
2851
|
-
.wp-block-query-pagination > .wp-block-query-pagination-next:last-child,
|
|
2852
|
-
.wp-block-query-pagination > .wp-block-query-pagination-previous:last-child,
|
|
2853
|
-
.wp-block-query-pagination > .wp-block-query-pagination-numbers:last-child {
|
|
2854
|
-
/*rtl:ignore*/
|
|
2855
|
-
margin-right: 0;
|
|
2856
|
-
}
|
|
2857
|
-
|
|
2858
2792
|
.wp-block-query-pagination-numbers a {
|
|
2859
2793
|
text-decoration: underline;
|
|
2860
2794
|
}
|
|
@@ -3010,8 +2944,8 @@ div[data-type="core/post-featured-image"] img {
|
|
|
3010
2944
|
}
|
|
3011
2945
|
|
|
3012
2946
|
:root .editor-styles-wrapper {
|
|
3013
|
-
/* stylelint-disable function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
3014
|
-
/* stylelint-enable function-comma-space-after */
|
|
2947
|
+
/* stylelint-disable @stylistic/function-comma-space-after -- We can not use spacing because of WP multi site kses rule. */
|
|
2948
|
+
/* stylelint-enable @stylistic/function-comma-space-after */
|
|
3015
2949
|
}
|
|
3016
2950
|
:root .editor-styles-wrapper .has-very-light-gray-background-color {
|
|
3017
2951
|
background-color: #eee;
|