@wordpress/block-library 7.10.0 → 7.11.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/button/edit.js +2 -1
- package/build/button/edit.js.map +1 -1
- package/build/buttons/edit.js +1 -1
- package/build/buttons/edit.js.map +1 -1
- package/build/columns/edit.native.js +1 -1
- package/build/columns/edit.native.js.map +1 -1
- package/build/comments/edit/comments-legacy.js +73 -0
- package/build/comments/edit/comments-legacy.js.map +1 -0
- package/build/comments/{edit.js → edit/index.js} +17 -38
- package/build/comments/edit/index.js.map +1 -0
- package/build/comments/edit/placeholder.js +117 -0
- package/build/comments/edit/placeholder.js.map +1 -0
- package/build/comments/edit/template.js +39 -0
- package/build/comments/edit/template.js.map +1 -0
- package/build/comments/index.js +6 -1
- package/build/comments/index.js.map +1 -1
- package/build/comments/save.js +12 -4
- package/build/comments/save.js.map +1 -1
- package/build/cover/transforms.js +3 -2
- package/build/cover/transforms.js.map +1 -1
- package/build/embed/embed-placeholder.native.js +1 -3
- package/build/embed/embed-placeholder.native.js.map +1 -1
- package/build/gallery/edit.js +2 -2
- package/build/gallery/edit.js.map +1 -1
- package/build/gallery/use-get-media.native.js +59 -0
- package/build/gallery/use-get-media.native.js.map +1 -0
- package/build/group/index.js +1 -0
- package/build/group/index.js.map +1 -1
- package/build/group/variations.js +1 -1
- package/build/group/variations.js.map +1 -1
- package/build/image/deprecated.js +77 -9
- package/build/image/deprecated.js.map +1 -1
- package/build/image/edit.js +3 -1
- package/build/image/edit.js.map +1 -1
- package/build/image/edit.native.js +18 -8
- package/build/image/edit.native.js.map +1 -1
- package/build/image/image.js +27 -20
- package/build/image/image.js.map +1 -1
- package/build/image/index.js +7 -1
- package/build/image/index.js.map +1 -1
- package/build/image/save.js +8 -2
- package/build/image/save.js.map +1 -1
- package/build/index.js +1 -3
- package/build/index.js.map +1 -1
- package/build/index.native.js +3 -13
- package/build/index.native.js.map +1 -1
- package/build/list/transforms.js +4 -63
- package/build/list/transforms.js.map +1 -1
- package/build/list/v2/transforms.js +0 -27
- package/build/list/v2/transforms.js.map +1 -1
- package/build/list-item/edit.js +14 -9
- package/build/list-item/edit.js.map +1 -1
- package/build/list-item/hooks/index.js +8 -8
- package/build/list-item/hooks/index.js.map +1 -1
- package/build/list-item/hooks/use-merge.js +174 -0
- package/build/list-item/hooks/use-merge.js.map +1 -0
- package/build/list-item/hooks/use-outdent-list-item.js +86 -50
- package/build/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build/list-item/utils.js +125 -1
- package/build/list-item/utils.js.map +1 -1
- package/build/media-text/deprecated.js +134 -7
- package/build/media-text/deprecated.js.map +1 -1
- package/build/media-text/edit.js +2 -2
- package/build/media-text/edit.js.map +1 -1
- package/build/media-text/save.js +13 -0
- package/build/media-text/save.js.map +1 -1
- package/build/more/save.js +1 -7
- package/build/more/save.js.map +1 -1
- package/build/navigation-link/edit.js +5 -4
- package/build/navigation-link/edit.js.map +1 -1
- package/build/navigation-submenu/edit.js +2 -1
- package/build/navigation-submenu/edit.js.map +1 -1
- package/build/page-list/edit.js +8 -1
- package/build/page-list/edit.js.map +1 -1
- package/build/paragraph/edit.js +7 -11
- package/build/paragraph/edit.js.map +1 -1
- package/build/post-comments-form/edit.js +4 -45
- package/build/post-comments-form/edit.js.map +1 -1
- package/build/post-comments-form/form.js +47 -3
- package/build/post-comments-form/form.js.map +1 -1
- package/build/post-terms/edit.js +3 -2
- package/build/post-terms/edit.js.map +1 -1
- package/build/query-no-results/edit.js +1 -1
- package/build/query-no-results/edit.js.map +1 -1
- package/build/query-pagination-next/edit.js +2 -1
- package/build/query-pagination-next/edit.js.map +1 -1
- package/build/query-pagination-previous/edit.js +2 -1
- package/build/query-pagination-previous/edit.js.map +1 -1
- package/build/quote/deprecated.js +168 -36
- package/build/quote/deprecated.js.map +1 -1
- package/build/quote/edit.js +76 -39
- package/build/quote/edit.js.map +1 -1
- package/build/quote/index.js +9 -45
- package/build/quote/index.js.map +1 -1
- package/build/quote/save.js +1 -5
- package/build/quote/save.js.map +1 -1
- package/build/quote/transforms.js +110 -158
- package/build/quote/transforms.js.map +1 -1
- package/build/social-link/icons/index.js +13 -0
- package/build/social-link/icons/index.js.map +1 -1
- package/build/social-link/icons/whatsapp.js +25 -0
- package/build/social-link/icons/whatsapp.js.map +1 -0
- package/build/social-link/variations.js +7 -0
- package/build/social-link/variations.js.map +1 -1
- package/build/template-part/edit/index.js +17 -8
- package/build/template-part/edit/index.js.map +1 -1
- package/build/template-part/edit/selection-modal.js +33 -13
- package/build/template-part/edit/selection-modal.js.map +1 -1
- package/build/template-part/edit/utils/search.js +94 -0
- package/build/template-part/edit/utils/search.js.map +1 -0
- package/build-module/button/edit.js +2 -1
- package/build-module/button/edit.js.map +1 -1
- package/build-module/buttons/edit.js +2 -2
- package/build-module/buttons/edit.js.map +1 -1
- package/build-module/columns/edit.native.js +2 -2
- package/build-module/columns/edit.native.js.map +1 -1
- package/build-module/comments/edit/comments-legacy.js +59 -0
- package/build-module/comments/edit/comments-legacy.js.map +1 -0
- package/build-module/comments/edit/index.js +37 -0
- package/build-module/comments/edit/index.js.map +1 -0
- package/build-module/comments/edit/placeholder.js +102 -0
- package/build-module/comments/edit/placeholder.js.map +1 -0
- package/build-module/comments/edit/template.js +32 -0
- package/build-module/comments/edit/template.js.map +1 -0
- package/build-module/comments/index.js +6 -1
- package/build-module/comments/index.js.map +1 -1
- package/build-module/comments/save.js +9 -4
- package/build-module/comments/save.js.map +1 -1
- package/build-module/cover/transforms.js +3 -2
- package/build-module/cover/transforms.js.map +1 -1
- package/build-module/embed/embed-placeholder.native.js +1 -2
- package/build-module/embed/embed-placeholder.native.js.map +1 -1
- package/build-module/gallery/edit.js +2 -2
- package/build-module/gallery/edit.js.map +1 -1
- package/build-module/gallery/use-get-media.native.js +50 -0
- package/build-module/gallery/use-get-media.native.js.map +1 -0
- package/build-module/group/index.js +1 -0
- package/build-module/group/index.js.map +1 -1
- package/build-module/group/variations.js +2 -2
- package/build-module/group/variations.js.map +1 -1
- package/build-module/image/deprecated.js +77 -9
- package/build-module/image/deprecated.js.map +1 -1
- package/build-module/image/edit.js +5 -3
- package/build-module/image/edit.js.map +1 -1
- package/build-module/image/edit.native.js +18 -8
- package/build-module/image/edit.native.js.map +1 -1
- package/build-module/image/image.js +29 -22
- package/build-module/image/image.js.map +1 -1
- package/build-module/image/index.js +7 -1
- package/build-module/image/index.js.map +1 -1
- package/build-module/image/save.js +9 -3
- package/build-module/image/save.js.map +1 -1
- package/build-module/index.js +1 -2
- package/build-module/index.js.map +1 -1
- package/build-module/index.native.js +3 -13
- package/build-module/index.native.js.map +1 -1
- package/build-module/list/transforms.js +4 -63
- package/build-module/list/transforms.js.map +1 -1
- package/build-module/list/v2/transforms.js +2 -29
- package/build-module/list/v2/transforms.js.map +1 -1
- package/build-module/list-item/edit.js +14 -10
- package/build-module/list-item/edit.js.map +1 -1
- package/build-module/list-item/hooks/index.js +1 -1
- package/build-module/list-item/hooks/index.js.map +1 -1
- package/build-module/list-item/hooks/use-merge.js +160 -0
- package/build-module/list-item/hooks/use-merge.js.map +1 -0
- package/build-module/list-item/hooks/use-outdent-list-item.js +82 -46
- package/build-module/list-item/hooks/use-outdent-list-item.js.map +1 -1
- package/build-module/list-item/utils.js +123 -2
- package/build-module/list-item/utils.js.map +1 -1
- package/build-module/media-text/deprecated.js +134 -8
- package/build-module/media-text/deprecated.js.map +1 -1
- package/build-module/media-text/edit.js +2 -2
- package/build-module/media-text/edit.js.map +1 -1
- package/build-module/media-text/save.js +13 -0
- package/build-module/media-text/save.js.map +1 -1
- package/build-module/more/save.js +1 -6
- package/build-module/more/save.js.map +1 -1
- package/build-module/navigation-link/edit.js +5 -4
- package/build-module/navigation-link/edit.js.map +1 -1
- package/build-module/navigation-submenu/edit.js +2 -1
- package/build-module/navigation-submenu/edit.js.map +1 -1
- package/build-module/page-list/edit.js +8 -1
- package/build-module/page-list/edit.js.map +1 -1
- package/build-module/paragraph/edit.js +8 -12
- package/build-module/paragraph/edit.js.map +1 -1
- package/build-module/post-comments-form/edit.js +5 -42
- package/build-module/post-comments-form/edit.js.map +1 -1
- package/build-module/post-comments-form/form.js +46 -5
- package/build-module/post-comments-form/form.js.map +1 -1
- package/build-module/post-terms/edit.js +3 -2
- package/build-module/post-terms/edit.js.map +1 -1
- package/build-module/query-no-results/edit.js +2 -2
- package/build-module/query-no-results/edit.js.map +1 -1
- package/build-module/query-pagination-next/edit.js +2 -1
- package/build-module/query-pagination-next/edit.js.map +1 -1
- package/build-module/query-pagination-previous/edit.js +2 -1
- package/build-module/query-pagination-previous/edit.js.map +1 -1
- package/build-module/quote/deprecated.js +162 -36
- package/build-module/quote/deprecated.js.map +1 -1
- package/build-module/quote/edit.js +77 -43
- package/build-module/quote/edit.js.map +1 -1
- package/build-module/quote/index.js +9 -39
- package/build-module/quote/index.js.map +1 -1
- package/build-module/quote/save.js +4 -8
- package/build-module/quote/save.js.map +1 -1
- package/build-module/quote/transforms.js +111 -158
- package/build-module/quote/transforms.js.map +1 -1
- package/build-module/social-link/icons/index.js +1 -0
- package/build-module/social-link/icons/index.js.map +1 -1
- package/build-module/social-link/icons/whatsapp.js +15 -0
- package/build-module/social-link/icons/whatsapp.js.map +1 -0
- package/build-module/social-link/variations.js +8 -1
- package/build-module/social-link/variations.js.map +1 -1
- package/build-module/template-part/edit/index.js +20 -11
- package/build-module/template-part/edit/index.js.map +1 -1
- package/build-module/template-part/edit/selection-modal.js +33 -15
- package/build-module/template-part/edit/selection-modal.js.map +1 -1
- package/build-module/template-part/edit/utils/search.js +84 -0
- package/build-module/template-part/edit/utils/search.js.map +1 -0
- package/build-style/button/style-rtl.css +1 -1
- package/build-style/button/style.css +1 -1
- package/build-style/comments/editor-rtl.css +122 -0
- package/build-style/comments/editor.css +122 -0
- package/build-style/{post-comments → comments}/style-rtl.css +1 -0
- package/build-style/{post-comments → comments}/style.css +1 -0
- package/build-style/common-rtl.css +7 -0
- package/build-style/common.css +7 -0
- package/build-style/cover/style-rtl.css +2 -2
- package/build-style/cover/style.css +2 -2
- package/build-style/{post-comments/editor.css → editor-elements-rtl.css} +8 -2
- package/build-style/{post-comments/editor-rtl.css → editor-elements.css} +8 -2
- package/build-style/editor-rtl.css +151 -10
- package/build-style/editor.css +151 -10
- package/build-style/gallery/style-rtl.css +7 -2
- package/build-style/gallery/style.css +7 -2
- package/build-style/image/editor-rtl.css +4 -3
- package/build-style/image/editor.css +4 -3
- package/build-style/image/style-rtl.css +33 -3
- package/build-style/image/style.css +33 -3
- package/build-style/post-comments-form/style-rtl.css +0 -1
- package/build-style/post-comments-form/style.css +0 -1
- package/build-style/social-link/editor-rtl.css +1 -0
- package/build-style/social-link/editor.css +1 -0
- package/build-style/social-links/style-rtl.css +8 -0
- package/build-style/social-links/style.css +8 -0
- package/build-style/style-rtl.css +170 -127
- package/build-style/style.css +170 -127
- package/build-style/template-part/editor-rtl.css +14 -3
- package/build-style/template-part/editor.css +14 -3
- package/package.json +28 -28
- package/src/button/edit.js +1 -0
- package/src/button/style.scss +3 -1
- package/src/buttons/edit.js +1 -5
- package/src/columns/edit.native.js +2 -2
- package/src/comments/block.json +6 -1
- package/src/comments/edit/comments-legacy.js +71 -0
- package/src/comments/edit/index.js +35 -0
- package/src/comments/edit/placeholder.js +124 -0
- package/src/comments/{edit.js → edit/template.js} +1 -28
- package/src/comments/editor.scss +9 -0
- package/src/comments/index.php +219 -0
- package/src/comments/save.js +8 -7
- package/src/{post-comments → comments}/style.scss +7 -0
- package/src/common.scss +2 -0
- package/src/cover/style.scss +2 -2
- package/src/cover/transforms.js +2 -2
- package/src/editor-elements.scss +10 -0
- package/src/editor.scss +2 -1
- package/src/embed/embed-placeholder.native.js +2 -3
- package/src/gallery/edit.js +4 -2
- package/src/gallery/style.scss +10 -1
- package/src/gallery/use-get-media.native.js +44 -0
- package/src/group/block.json +1 -0
- package/src/group/variations.js +2 -2
- package/src/image/block.json +7 -1
- package/src/image/deprecated.js +86 -0
- package/src/image/edit.js +6 -1
- package/src/image/edit.native.js +18 -7
- package/src/image/editor.scss +9 -4
- package/src/image/image.js +26 -16
- package/src/image/save.js +10 -1
- package/src/image/style.scss +39 -3
- package/src/index.js +0 -2
- package/src/index.native.js +2 -11
- package/src/list/transforms.js +0 -47
- package/src/list/v2/transforms.js +2 -40
- package/src/list-item/edit.js +10 -12
- package/src/list-item/hooks/index.js +1 -1
- package/src/list-item/hooks/use-merge.js +141 -0
- package/src/list-item/hooks/use-outdent-list-item.js +72 -74
- package/src/list-item/utils.js +27 -3
- package/src/media-text/deprecated.js +148 -1
- package/src/media-text/edit.js +2 -1
- package/src/media-text/save.js +18 -0
- package/src/more/save.js +3 -6
- package/src/navigation-link/edit.js +4 -3
- package/src/navigation-submenu/edit.js +1 -0
- package/src/page-list/edit.js +9 -0
- package/src/paragraph/edit.js +8 -14
- package/src/post-comments-form/edit.js +2 -71
- package/src/post-comments-form/form.js +80 -5
- package/src/post-comments-form/index.php +1 -1
- package/src/post-comments-form/style.scss +0 -1
- package/src/post-terms/edit.js +3 -2
- package/src/query-no-results/edit.js +2 -5
- package/src/query-pagination-next/edit.js +1 -0
- package/src/query-pagination-previous/edit.js +1 -0
- package/src/quote/deprecated.js +213 -99
- package/src/quote/edit.js +77 -52
- package/src/quote/index.js +10 -33
- package/src/quote/save.js +5 -5
- package/src/quote/{v2/test → test}/migrate.js +2 -7
- package/src/quote/transforms.js +117 -147
- package/src/social-link/editor.scss +3 -0
- package/src/social-link/icons/index.js +1 -0
- package/src/social-link/icons/whatsapp.js +10 -0
- package/src/social-link/index.php +4 -0
- package/src/social-link/socials-with-bg.scss +5 -0
- package/src/social-link/socials-without-bg.scss +5 -0
- package/src/social-link/variations.js +7 -0
- package/src/style.scss +1 -2
- package/src/template-part/edit/index.js +37 -24
- package/src/template-part/edit/selection-modal.js +68 -40
- package/src/template-part/edit/utils/search.js +76 -0
- package/src/template-part/editor.scss +21 -9
- package/src/template-part/index.php +56 -2
- package/build/comments/edit.js.map +0 -1
- package/build/list-item/hooks/use-backspace.js +0 -59
- package/build/list-item/hooks/use-backspace.js.map +0 -1
- package/build/post-comments/edit.js +0 -184
- package/build/post-comments/edit.js.map +0 -1
- package/build/post-comments/index.js +0 -72
- package/build/post-comments/index.js.map +0 -1
- package/build/quote/v2/deprecated.js +0 -133
- package/build/quote/v2/deprecated.js.map +0 -1
- package/build/quote/v2/edit.js +0 -139
- package/build/quote/v2/edit.js.map +0 -1
- package/build/quote/v2/index.js +0 -49
- package/build/quote/v2/index.js.map +0 -1
- package/build/quote/v2/save.js +0 -43
- package/build/quote/v2/save.js.map +0 -1
- package/build/quote/v2/transforms.js +0 -156
- package/build/quote/v2/transforms.js.map +0 -1
- package/build-module/comments/edit.js +0 -59
- package/build-module/comments/edit.js.map +0 -1
- package/build-module/list-item/hooks/use-backspace.js +0 -44
- package/build-module/list-item/hooks/use-backspace.js.map +0 -1
- package/build-module/post-comments/edit.js +0 -171
- package/build-module/post-comments/edit.js.map +0 -1
- package/build-module/post-comments/index.js +0 -59
- package/build-module/post-comments/index.js.map +0 -1
- package/build-module/quote/v2/deprecated.js +0 -116
- package/build-module/quote/v2/deprecated.js.map +0 -1
- package/build-module/quote/v2/edit.js +0 -122
- package/build-module/quote/v2/edit.js.map +0 -1
- package/build-module/quote/v2/index.js +0 -33
- package/build-module/quote/v2/index.js.map +0 -1
- package/build-module/quote/v2/save.js +0 -30
- package/build-module/quote/v2/save.js.map +0 -1
- package/build-module/quote/v2/transforms.js +0 -147
- package/build-module/quote/v2/transforms.js.map +0 -1
- package/src/list-item/hooks/use-backspace.js +0 -51
- package/src/post-comments/block.json +0 -45
- package/src/post-comments/edit.js +0 -247
- package/src/post-comments/editor.scss +0 -3
- package/src/post-comments/index.js +0 -18
- package/src/post-comments/index.php +0 -87
- package/src/quote/v2/deprecated.js +0 -107
- package/src/quote/v2/edit.js +0 -139
- package/src/quote/v2/index.js +0 -36
- package/src/quote/v2/save.js +0 -26
- package/src/quote/v2/transforms.js +0 -155
|
@@ -74,6 +74,128 @@
|
|
|
74
74
|
/**
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
|
+
/* Styles for backwards compatibility with the legacy `post-comments` block */
|
|
78
|
+
.wp-block-post-comments, .wp-block-comments__legacy-placeholder {
|
|
79
|
+
/* utility classes */
|
|
80
|
+
/* end utility classes */
|
|
81
|
+
}
|
|
82
|
+
.wp-block-post-comments .alignleft, .wp-block-comments__legacy-placeholder .alignleft {
|
|
83
|
+
float: left;
|
|
84
|
+
}
|
|
85
|
+
.wp-block-post-comments .alignright, .wp-block-comments__legacy-placeholder .alignright {
|
|
86
|
+
float: right;
|
|
87
|
+
}
|
|
88
|
+
.wp-block-post-comments .navigation::after, .wp-block-comments__legacy-placeholder .navigation::after {
|
|
89
|
+
content: "";
|
|
90
|
+
display: table;
|
|
91
|
+
clear: both;
|
|
92
|
+
}
|
|
93
|
+
.wp-block-post-comments .commentlist, .wp-block-comments__legacy-placeholder .commentlist {
|
|
94
|
+
clear: both;
|
|
95
|
+
list-style: none;
|
|
96
|
+
margin: 0;
|
|
97
|
+
padding: 0;
|
|
98
|
+
}
|
|
99
|
+
.wp-block-post-comments .commentlist .comment, .wp-block-comments__legacy-placeholder .commentlist .comment {
|
|
100
|
+
min-height: 2.25em;
|
|
101
|
+
padding-left: 3.25em;
|
|
102
|
+
}
|
|
103
|
+
.wp-block-post-comments .commentlist .comment p, .wp-block-comments__legacy-placeholder .commentlist .comment p {
|
|
104
|
+
font-size: 1em;
|
|
105
|
+
line-height: 1.8;
|
|
106
|
+
margin: 1em 0;
|
|
107
|
+
}
|
|
108
|
+
.wp-block-post-comments .commentlist .children, .wp-block-comments__legacy-placeholder .commentlist .children {
|
|
109
|
+
list-style: none;
|
|
110
|
+
margin: 0;
|
|
111
|
+
padding: 0;
|
|
112
|
+
}
|
|
113
|
+
.wp-block-post-comments .comment-author, .wp-block-comments__legacy-placeholder .comment-author {
|
|
114
|
+
line-height: 1.5;
|
|
115
|
+
}
|
|
116
|
+
.wp-block-post-comments .comment-author .avatar, .wp-block-comments__legacy-placeholder .comment-author .avatar {
|
|
117
|
+
border-radius: 1.5em;
|
|
118
|
+
display: block;
|
|
119
|
+
float: left;
|
|
120
|
+
height: 2.5em;
|
|
121
|
+
margin-top: 0.5em;
|
|
122
|
+
margin-right: 0.75em;
|
|
123
|
+
width: 2.5em;
|
|
124
|
+
}
|
|
125
|
+
.wp-block-post-comments .comment-author cite, .wp-block-comments__legacy-placeholder .comment-author cite {
|
|
126
|
+
font-style: normal;
|
|
127
|
+
}
|
|
128
|
+
.wp-block-post-comments .comment-meta, .wp-block-comments__legacy-placeholder .comment-meta {
|
|
129
|
+
font-size: 0.875em;
|
|
130
|
+
line-height: 1.5;
|
|
131
|
+
}
|
|
132
|
+
.wp-block-post-comments .comment-meta b, .wp-block-comments__legacy-placeholder .comment-meta b {
|
|
133
|
+
font-weight: normal;
|
|
134
|
+
}
|
|
135
|
+
.wp-block-post-comments .comment-meta .comment-awaiting-moderation, .wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation {
|
|
136
|
+
margin-top: 1em;
|
|
137
|
+
margin-bottom: 1em;
|
|
138
|
+
display: block;
|
|
139
|
+
}
|
|
140
|
+
.wp-block-post-comments .comment-body .commentmetadata, .wp-block-comments__legacy-placeholder .comment-body .commentmetadata {
|
|
141
|
+
font-size: 0.875em;
|
|
142
|
+
}
|
|
143
|
+
.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label,
|
|
144
|
+
.wp-block-post-comments .comment-form-author label,
|
|
145
|
+
.wp-block-comments__legacy-placeholder .comment-form-author label,
|
|
146
|
+
.wp-block-post-comments .comment-form-email label,
|
|
147
|
+
.wp-block-comments__legacy-placeholder .comment-form-email label,
|
|
148
|
+
.wp-block-post-comments .comment-form-url label,
|
|
149
|
+
.wp-block-comments__legacy-placeholder .comment-form-url label {
|
|
150
|
+
display: block;
|
|
151
|
+
margin-bottom: 0.25em;
|
|
152
|
+
}
|
|
153
|
+
.wp-block-post-comments .comment-form textarea, .wp-block-comments__legacy-placeholder .comment-form textarea,
|
|
154
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
|
|
155
|
+
.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
156
|
+
display: block;
|
|
157
|
+
box-sizing: border-box;
|
|
158
|
+
width: 100%;
|
|
159
|
+
}
|
|
160
|
+
.wp-block-post-comments .comment-form-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent {
|
|
161
|
+
display: flex;
|
|
162
|
+
gap: 0.25em;
|
|
163
|
+
}
|
|
164
|
+
.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent {
|
|
165
|
+
margin-top: 0.35em;
|
|
166
|
+
}
|
|
167
|
+
.wp-block-post-comments .comment-reply-title, .wp-block-comments__legacy-placeholder .comment-reply-title {
|
|
168
|
+
margin-bottom: 0;
|
|
169
|
+
}
|
|
170
|
+
.wp-block-post-comments .comment-reply-title :where(small), .wp-block-comments__legacy-placeholder .comment-reply-title :where(small) {
|
|
171
|
+
font-size: var(--wp--preset--font-size--medium, smaller);
|
|
172
|
+
margin-left: 0.5em;
|
|
173
|
+
}
|
|
174
|
+
.wp-block-post-comments .reply, .wp-block-comments__legacy-placeholder .reply {
|
|
175
|
+
font-size: 0.875em;
|
|
176
|
+
margin-bottom: 1.4em;
|
|
177
|
+
}
|
|
178
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
179
|
+
.wp-block-post-comments input:not([type=submit]),
|
|
180
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]) {
|
|
181
|
+
border: 1px solid #949494;
|
|
182
|
+
font-size: 1em;
|
|
183
|
+
font-family: inherit;
|
|
184
|
+
}
|
|
185
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
186
|
+
.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),
|
|
187
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]) {
|
|
188
|
+
padding: calc(0.667em + 2px);
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
:where(.wp-block-post-comments input[type="submit"]) {
|
|
192
|
+
border: none;
|
|
193
|
+
}
|
|
194
|
+
|
|
77
195
|
.block-library-comments-toolbar__popover .components-popover__content {
|
|
78
196
|
min-width: 230px;
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.wp-block-comments__legacy-placeholder * {
|
|
200
|
+
pointer-events: none;
|
|
79
201
|
}
|
package/build-style/common.css
CHANGED
|
@@ -77,10 +77,8 @@
|
|
|
77
77
|
.wp-block-cover-image,
|
|
78
78
|
.wp-block-cover {
|
|
79
79
|
position: relative;
|
|
80
|
-
background-size: cover;
|
|
81
80
|
background-position: center center;
|
|
82
81
|
min-height: 430px;
|
|
83
|
-
width: 100%;
|
|
84
82
|
display: flex;
|
|
85
83
|
justify-content: center;
|
|
86
84
|
align-items: center;
|
|
@@ -399,6 +397,8 @@
|
|
|
399
397
|
.wp-block-cover__image-background.has-parallax,
|
|
400
398
|
video.wp-block-cover__video-background.has-parallax {
|
|
401
399
|
background-attachment: fixed;
|
|
400
|
+
background-size: cover;
|
|
401
|
+
background-repeat: no-repeat;
|
|
402
402
|
}
|
|
403
403
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
404
404
|
.wp-block-cover-image.has-parallax,
|
|
@@ -77,10 +77,8 @@
|
|
|
77
77
|
.wp-block-cover-image,
|
|
78
78
|
.wp-block-cover {
|
|
79
79
|
position: relative;
|
|
80
|
-
background-size: cover;
|
|
81
80
|
background-position: center center;
|
|
82
81
|
min-height: 430px;
|
|
83
|
-
width: 100%;
|
|
84
82
|
display: flex;
|
|
85
83
|
justify-content: center;
|
|
86
84
|
align-items: center;
|
|
@@ -399,6 +397,8 @@
|
|
|
399
397
|
.wp-block-cover__image-background.has-parallax,
|
|
400
398
|
video.wp-block-cover__video-background.has-parallax {
|
|
401
399
|
background-attachment: fixed;
|
|
400
|
+
background-size: cover;
|
|
401
|
+
background-repeat: no-repeat;
|
|
402
402
|
}
|
|
403
403
|
@supports (-webkit-overflow-scrolling: touch) {
|
|
404
404
|
.wp-block-cover-image.has-parallax,
|
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
/**
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Element styles for the editor
|
|
79
|
+
*/
|
|
80
|
+
.wp-element-button {
|
|
81
|
+
cursor: revert;
|
|
82
|
+
}
|
|
83
|
+
.wp-element-button[role=textbox] {
|
|
84
|
+
cursor: text;
|
|
79
85
|
}
|
|
@@ -74,6 +74,12 @@
|
|
|
74
74
|
/**
|
|
75
75
|
* Reset the WP Admin page styles for Gutenberg-like pages.
|
|
76
76
|
*/
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
/**
|
|
78
|
+
* Element styles for the editor
|
|
79
|
+
*/
|
|
80
|
+
.wp-element-button {
|
|
81
|
+
cursor: revert;
|
|
82
|
+
}
|
|
83
|
+
.wp-element-button[role=textbox] {
|
|
84
|
+
cursor: text;
|
|
79
85
|
}
|
|
@@ -240,10 +240,132 @@ html :where(.wp-block-column) {
|
|
|
240
240
|
margin-bottom: 0;
|
|
241
241
|
}
|
|
242
242
|
|
|
243
|
+
/* Styles for backwards compatibility with the legacy `post-comments` block */
|
|
244
|
+
.wp-block-post-comments, .wp-block-comments__legacy-placeholder {
|
|
245
|
+
/* utility classes */
|
|
246
|
+
/* end utility classes */
|
|
247
|
+
}
|
|
248
|
+
.wp-block-post-comments .alignleft, .wp-block-comments__legacy-placeholder .alignleft {
|
|
249
|
+
float: right;
|
|
250
|
+
}
|
|
251
|
+
.wp-block-post-comments .alignright, .wp-block-comments__legacy-placeholder .alignright {
|
|
252
|
+
float: left;
|
|
253
|
+
}
|
|
254
|
+
.wp-block-post-comments .navigation::after, .wp-block-comments__legacy-placeholder .navigation::after {
|
|
255
|
+
content: "";
|
|
256
|
+
display: table;
|
|
257
|
+
clear: both;
|
|
258
|
+
}
|
|
259
|
+
.wp-block-post-comments .commentlist, .wp-block-comments__legacy-placeholder .commentlist {
|
|
260
|
+
clear: both;
|
|
261
|
+
list-style: none;
|
|
262
|
+
margin: 0;
|
|
263
|
+
padding: 0;
|
|
264
|
+
}
|
|
265
|
+
.wp-block-post-comments .commentlist .comment, .wp-block-comments__legacy-placeholder .commentlist .comment {
|
|
266
|
+
min-height: 2.25em;
|
|
267
|
+
padding-right: 3.25em;
|
|
268
|
+
}
|
|
269
|
+
.wp-block-post-comments .commentlist .comment p, .wp-block-comments__legacy-placeholder .commentlist .comment p {
|
|
270
|
+
font-size: 1em;
|
|
271
|
+
line-height: 1.8;
|
|
272
|
+
margin: 1em 0;
|
|
273
|
+
}
|
|
274
|
+
.wp-block-post-comments .commentlist .children, .wp-block-comments__legacy-placeholder .commentlist .children {
|
|
275
|
+
list-style: none;
|
|
276
|
+
margin: 0;
|
|
277
|
+
padding: 0;
|
|
278
|
+
}
|
|
279
|
+
.wp-block-post-comments .comment-author, .wp-block-comments__legacy-placeholder .comment-author {
|
|
280
|
+
line-height: 1.5;
|
|
281
|
+
}
|
|
282
|
+
.wp-block-post-comments .comment-author .avatar, .wp-block-comments__legacy-placeholder .comment-author .avatar {
|
|
283
|
+
border-radius: 1.5em;
|
|
284
|
+
display: block;
|
|
285
|
+
float: right;
|
|
286
|
+
height: 2.5em;
|
|
287
|
+
margin-top: 0.5em;
|
|
288
|
+
margin-left: 0.75em;
|
|
289
|
+
width: 2.5em;
|
|
290
|
+
}
|
|
291
|
+
.wp-block-post-comments .comment-author cite, .wp-block-comments__legacy-placeholder .comment-author cite {
|
|
292
|
+
font-style: normal;
|
|
293
|
+
}
|
|
294
|
+
.wp-block-post-comments .comment-meta, .wp-block-comments__legacy-placeholder .comment-meta {
|
|
295
|
+
font-size: 0.875em;
|
|
296
|
+
line-height: 1.5;
|
|
297
|
+
}
|
|
298
|
+
.wp-block-post-comments .comment-meta b, .wp-block-comments__legacy-placeholder .comment-meta b {
|
|
299
|
+
font-weight: normal;
|
|
300
|
+
}
|
|
301
|
+
.wp-block-post-comments .comment-meta .comment-awaiting-moderation, .wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation {
|
|
302
|
+
margin-top: 1em;
|
|
303
|
+
margin-bottom: 1em;
|
|
304
|
+
display: block;
|
|
305
|
+
}
|
|
306
|
+
.wp-block-post-comments .comment-body .commentmetadata, .wp-block-comments__legacy-placeholder .comment-body .commentmetadata {
|
|
307
|
+
font-size: 0.875em;
|
|
308
|
+
}
|
|
309
|
+
.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label,
|
|
310
|
+
.wp-block-post-comments .comment-form-author label,
|
|
311
|
+
.wp-block-comments__legacy-placeholder .comment-form-author label,
|
|
312
|
+
.wp-block-post-comments .comment-form-email label,
|
|
313
|
+
.wp-block-comments__legacy-placeholder .comment-form-email label,
|
|
314
|
+
.wp-block-post-comments .comment-form-url label,
|
|
315
|
+
.wp-block-comments__legacy-placeholder .comment-form-url label {
|
|
316
|
+
display: block;
|
|
317
|
+
margin-bottom: 0.25em;
|
|
318
|
+
}
|
|
319
|
+
.wp-block-post-comments .comment-form textarea, .wp-block-comments__legacy-placeholder .comment-form textarea,
|
|
320
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
|
|
321
|
+
.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
322
|
+
display: block;
|
|
323
|
+
box-sizing: border-box;
|
|
324
|
+
width: 100%;
|
|
325
|
+
}
|
|
326
|
+
.wp-block-post-comments .comment-form-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent {
|
|
327
|
+
display: flex;
|
|
328
|
+
gap: 0.25em;
|
|
329
|
+
}
|
|
330
|
+
.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent {
|
|
331
|
+
margin-top: 0.35em;
|
|
332
|
+
}
|
|
333
|
+
.wp-block-post-comments .comment-reply-title, .wp-block-comments__legacy-placeholder .comment-reply-title {
|
|
334
|
+
margin-bottom: 0;
|
|
335
|
+
}
|
|
336
|
+
.wp-block-post-comments .comment-reply-title :where(small), .wp-block-comments__legacy-placeholder .comment-reply-title :where(small) {
|
|
337
|
+
font-size: var(--wp--preset--font-size--medium, smaller);
|
|
338
|
+
margin-right: 0.5em;
|
|
339
|
+
}
|
|
340
|
+
.wp-block-post-comments .reply, .wp-block-comments__legacy-placeholder .reply {
|
|
341
|
+
font-size: 0.875em;
|
|
342
|
+
margin-bottom: 1.4em;
|
|
343
|
+
}
|
|
344
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
345
|
+
.wp-block-post-comments input:not([type=submit]),
|
|
346
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]) {
|
|
347
|
+
border: 1px solid #949494;
|
|
348
|
+
font-size: 1em;
|
|
349
|
+
font-family: inherit;
|
|
350
|
+
}
|
|
351
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
352
|
+
.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),
|
|
353
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]) {
|
|
354
|
+
padding: calc(0.667em + 2px);
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
:where(.wp-block-post-comments input[type="submit"]) {
|
|
358
|
+
border: none;
|
|
359
|
+
}
|
|
360
|
+
|
|
243
361
|
.block-library-comments-toolbar__popover .components-popover__content {
|
|
244
362
|
min-width: 230px;
|
|
245
363
|
}
|
|
246
364
|
|
|
365
|
+
.wp-block-comments__legacy-placeholder * {
|
|
366
|
+
pointer-events: none;
|
|
367
|
+
}
|
|
368
|
+
|
|
247
369
|
.wp-block-comment-author-avatar__placeholder {
|
|
248
370
|
border: currentColor 1px dashed;
|
|
249
371
|
width: 100%;
|
|
@@ -1032,9 +1154,6 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1032
1154
|
margin-top: -9px;
|
|
1033
1155
|
margin-right: -9px;
|
|
1034
1156
|
}
|
|
1035
|
-
.wp-block-image:not(.is-style-rounded) > div:not(.components-placeholder) {
|
|
1036
|
-
border-radius: inherit;
|
|
1037
|
-
}
|
|
1038
1157
|
|
|
1039
1158
|
.wp-block-image .components-resizable-box__container {
|
|
1040
1159
|
display: inline-block;
|
|
@@ -1099,6 +1218,10 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1099
1218
|
position: relative;
|
|
1100
1219
|
max-width: 100%;
|
|
1101
1220
|
width: 100%;
|
|
1221
|
+
overflow: hidden;
|
|
1222
|
+
}
|
|
1223
|
+
.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
|
|
1224
|
+
border: none;
|
|
1102
1225
|
}
|
|
1103
1226
|
|
|
1104
1227
|
.wp-block-image__crop-icon {
|
|
@@ -2172,6 +2295,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2172
2295
|
color: currentColor;
|
|
2173
2296
|
height: auto;
|
|
2174
2297
|
line-height: 0;
|
|
2298
|
+
opacity: 1;
|
|
2175
2299
|
padding: 0.25em;
|
|
2176
2300
|
}
|
|
2177
2301
|
|
|
@@ -2386,23 +2510,34 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2386
2510
|
margin-bottom: 0;
|
|
2387
2511
|
}
|
|
2388
2512
|
|
|
2513
|
+
.block-editor-template-part__selection-modal {
|
|
2514
|
+
z-index: 1000001;
|
|
2515
|
+
}
|
|
2389
2516
|
@media (min-width: 600px) {
|
|
2390
|
-
.block-editor-template-part__selection-modal {
|
|
2517
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2391
2518
|
width: calc(100% - 32px);
|
|
2392
2519
|
height: calc(100% - 120px);
|
|
2393
2520
|
}
|
|
2394
2521
|
}
|
|
2395
2522
|
@media (min-width: 782px) {
|
|
2396
|
-
.block-editor-template-part__selection-modal {
|
|
2523
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2397
2524
|
width: 750px;
|
|
2398
2525
|
}
|
|
2399
2526
|
}
|
|
2400
2527
|
@media (min-width: 960px) {
|
|
2401
|
-
.block-editor-template-part__selection-modal {
|
|
2528
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2402
2529
|
height: 70%;
|
|
2403
2530
|
}
|
|
2404
2531
|
}
|
|
2405
2532
|
|
|
2533
|
+
.block-library-template-part__selection-search {
|
|
2534
|
+
background: #fff;
|
|
2535
|
+
position: sticky;
|
|
2536
|
+
top: 0;
|
|
2537
|
+
padding: 16px 0;
|
|
2538
|
+
z-index: 1;
|
|
2539
|
+
}
|
|
2540
|
+
|
|
2406
2541
|
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
|
2407
2542
|
outline: 1px solid #ddd;
|
|
2408
2543
|
}
|
|
@@ -2672,10 +2807,6 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2672
2807
|
display: block;
|
|
2673
2808
|
}
|
|
2674
2809
|
|
|
2675
|
-
.wp-block-post-comments__placeholder * {
|
|
2676
|
-
pointer-events: none;
|
|
2677
|
-
}
|
|
2678
|
-
|
|
2679
2810
|
.wp-block-post-comments-form * {
|
|
2680
2811
|
pointer-events: none;
|
|
2681
2812
|
}
|
|
@@ -2683,6 +2814,16 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2683
2814
|
pointer-events: auto;
|
|
2684
2815
|
}
|
|
2685
2816
|
|
|
2817
|
+
/**
|
|
2818
|
+
* Element styles for the editor
|
|
2819
|
+
*/
|
|
2820
|
+
.wp-element-button {
|
|
2821
|
+
cursor: revert;
|
|
2822
|
+
}
|
|
2823
|
+
.wp-element-button[role=textbox] {
|
|
2824
|
+
cursor: text;
|
|
2825
|
+
}
|
|
2826
|
+
|
|
2686
2827
|
:root .editor-styles-wrapper {
|
|
2687
2828
|
/*
|
|
2688
2829
|
* Our classes uses the same values we set for gradient value attributes,
|
package/build-style/editor.css
CHANGED
|
@@ -241,10 +241,132 @@ html :where(.wp-block-column) {
|
|
|
241
241
|
margin-bottom: 0;
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
+
/* Styles for backwards compatibility with the legacy `post-comments` block */
|
|
245
|
+
.wp-block-post-comments, .wp-block-comments__legacy-placeholder {
|
|
246
|
+
/* utility classes */
|
|
247
|
+
/* end utility classes */
|
|
248
|
+
}
|
|
249
|
+
.wp-block-post-comments .alignleft, .wp-block-comments__legacy-placeholder .alignleft {
|
|
250
|
+
float: left;
|
|
251
|
+
}
|
|
252
|
+
.wp-block-post-comments .alignright, .wp-block-comments__legacy-placeholder .alignright {
|
|
253
|
+
float: right;
|
|
254
|
+
}
|
|
255
|
+
.wp-block-post-comments .navigation::after, .wp-block-comments__legacy-placeholder .navigation::after {
|
|
256
|
+
content: "";
|
|
257
|
+
display: table;
|
|
258
|
+
clear: both;
|
|
259
|
+
}
|
|
260
|
+
.wp-block-post-comments .commentlist, .wp-block-comments__legacy-placeholder .commentlist {
|
|
261
|
+
clear: both;
|
|
262
|
+
list-style: none;
|
|
263
|
+
margin: 0;
|
|
264
|
+
padding: 0;
|
|
265
|
+
}
|
|
266
|
+
.wp-block-post-comments .commentlist .comment, .wp-block-comments__legacy-placeholder .commentlist .comment {
|
|
267
|
+
min-height: 2.25em;
|
|
268
|
+
padding-left: 3.25em;
|
|
269
|
+
}
|
|
270
|
+
.wp-block-post-comments .commentlist .comment p, .wp-block-comments__legacy-placeholder .commentlist .comment p {
|
|
271
|
+
font-size: 1em;
|
|
272
|
+
line-height: 1.8;
|
|
273
|
+
margin: 1em 0;
|
|
274
|
+
}
|
|
275
|
+
.wp-block-post-comments .commentlist .children, .wp-block-comments__legacy-placeholder .commentlist .children {
|
|
276
|
+
list-style: none;
|
|
277
|
+
margin: 0;
|
|
278
|
+
padding: 0;
|
|
279
|
+
}
|
|
280
|
+
.wp-block-post-comments .comment-author, .wp-block-comments__legacy-placeholder .comment-author {
|
|
281
|
+
line-height: 1.5;
|
|
282
|
+
}
|
|
283
|
+
.wp-block-post-comments .comment-author .avatar, .wp-block-comments__legacy-placeholder .comment-author .avatar {
|
|
284
|
+
border-radius: 1.5em;
|
|
285
|
+
display: block;
|
|
286
|
+
float: left;
|
|
287
|
+
height: 2.5em;
|
|
288
|
+
margin-top: 0.5em;
|
|
289
|
+
margin-right: 0.75em;
|
|
290
|
+
width: 2.5em;
|
|
291
|
+
}
|
|
292
|
+
.wp-block-post-comments .comment-author cite, .wp-block-comments__legacy-placeholder .comment-author cite {
|
|
293
|
+
font-style: normal;
|
|
294
|
+
}
|
|
295
|
+
.wp-block-post-comments .comment-meta, .wp-block-comments__legacy-placeholder .comment-meta {
|
|
296
|
+
font-size: 0.875em;
|
|
297
|
+
line-height: 1.5;
|
|
298
|
+
}
|
|
299
|
+
.wp-block-post-comments .comment-meta b, .wp-block-comments__legacy-placeholder .comment-meta b {
|
|
300
|
+
font-weight: normal;
|
|
301
|
+
}
|
|
302
|
+
.wp-block-post-comments .comment-meta .comment-awaiting-moderation, .wp-block-comments__legacy-placeholder .comment-meta .comment-awaiting-moderation {
|
|
303
|
+
margin-top: 1em;
|
|
304
|
+
margin-bottom: 1em;
|
|
305
|
+
display: block;
|
|
306
|
+
}
|
|
307
|
+
.wp-block-post-comments .comment-body .commentmetadata, .wp-block-comments__legacy-placeholder .comment-body .commentmetadata {
|
|
308
|
+
font-size: 0.875em;
|
|
309
|
+
}
|
|
310
|
+
.wp-block-post-comments .comment-form-comment label, .wp-block-comments__legacy-placeholder .comment-form-comment label,
|
|
311
|
+
.wp-block-post-comments .comment-form-author label,
|
|
312
|
+
.wp-block-comments__legacy-placeholder .comment-form-author label,
|
|
313
|
+
.wp-block-post-comments .comment-form-email label,
|
|
314
|
+
.wp-block-comments__legacy-placeholder .comment-form-email label,
|
|
315
|
+
.wp-block-post-comments .comment-form-url label,
|
|
316
|
+
.wp-block-comments__legacy-placeholder .comment-form-url label {
|
|
317
|
+
display: block;
|
|
318
|
+
margin-bottom: 0.25em;
|
|
319
|
+
}
|
|
320
|
+
.wp-block-post-comments .comment-form textarea, .wp-block-comments__legacy-placeholder .comment-form textarea,
|
|
321
|
+
.wp-block-post-comments .comment-form input:not([type=submit]):not([type=checkbox]),
|
|
322
|
+
.wp-block-comments__legacy-placeholder .comment-form input:not([type=submit]):not([type=checkbox]) {
|
|
323
|
+
display: block;
|
|
324
|
+
box-sizing: border-box;
|
|
325
|
+
width: 100%;
|
|
326
|
+
}
|
|
327
|
+
.wp-block-post-comments .comment-form-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent {
|
|
328
|
+
display: flex;
|
|
329
|
+
gap: 0.25em;
|
|
330
|
+
}
|
|
331
|
+
.wp-block-post-comments .comment-form-cookies-consent #wp-comment-cookies-consent, .wp-block-comments__legacy-placeholder .comment-form-cookies-consent #wp-comment-cookies-consent {
|
|
332
|
+
margin-top: 0.35em;
|
|
333
|
+
}
|
|
334
|
+
.wp-block-post-comments .comment-reply-title, .wp-block-comments__legacy-placeholder .comment-reply-title {
|
|
335
|
+
margin-bottom: 0;
|
|
336
|
+
}
|
|
337
|
+
.wp-block-post-comments .comment-reply-title :where(small), .wp-block-comments__legacy-placeholder .comment-reply-title :where(small) {
|
|
338
|
+
font-size: var(--wp--preset--font-size--medium, smaller);
|
|
339
|
+
margin-left: 0.5em;
|
|
340
|
+
}
|
|
341
|
+
.wp-block-post-comments .reply, .wp-block-comments__legacy-placeholder .reply {
|
|
342
|
+
font-size: 0.875em;
|
|
343
|
+
margin-bottom: 1.4em;
|
|
344
|
+
}
|
|
345
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
346
|
+
.wp-block-post-comments input:not([type=submit]),
|
|
347
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]) {
|
|
348
|
+
border: 1px solid #949494;
|
|
349
|
+
font-size: 1em;
|
|
350
|
+
font-family: inherit;
|
|
351
|
+
}
|
|
352
|
+
.wp-block-post-comments textarea, .wp-block-comments__legacy-placeholder textarea,
|
|
353
|
+
.wp-block-post-comments input:not([type=submit]):not([type=checkbox]),
|
|
354
|
+
.wp-block-comments__legacy-placeholder input:not([type=submit]):not([type=checkbox]) {
|
|
355
|
+
padding: calc(0.667em + 2px);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
:where(.wp-block-post-comments input[type="submit"]) {
|
|
359
|
+
border: none;
|
|
360
|
+
}
|
|
361
|
+
|
|
244
362
|
.block-library-comments-toolbar__popover .components-popover__content {
|
|
245
363
|
min-width: 230px;
|
|
246
364
|
}
|
|
247
365
|
|
|
366
|
+
.wp-block-comments__legacy-placeholder * {
|
|
367
|
+
pointer-events: none;
|
|
368
|
+
}
|
|
369
|
+
|
|
248
370
|
.wp-block-comment-author-avatar__placeholder {
|
|
249
371
|
border: currentColor 1px dashed;
|
|
250
372
|
width: 100%;
|
|
@@ -1040,9 +1162,6 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1040
1162
|
margin-top: -9px;
|
|
1041
1163
|
margin-left: -9px;
|
|
1042
1164
|
}
|
|
1043
|
-
.wp-block-image:not(.is-style-rounded) > div:not(.components-placeholder) {
|
|
1044
|
-
border-radius: inherit;
|
|
1045
|
-
}
|
|
1046
1165
|
|
|
1047
1166
|
.wp-block-image .components-resizable-box__container {
|
|
1048
1167
|
display: inline-block;
|
|
@@ -1107,6 +1226,10 @@ figure.wp-block-image:not(.wp-block) {
|
|
|
1107
1226
|
position: relative;
|
|
1108
1227
|
max-width: 100%;
|
|
1109
1228
|
width: 100%;
|
|
1229
|
+
overflow: hidden;
|
|
1230
|
+
}
|
|
1231
|
+
.wp-block-image__crop-area .reactEasyCrop_Container .reactEasyCrop_Image {
|
|
1232
|
+
border: none;
|
|
1110
1233
|
}
|
|
1111
1234
|
|
|
1112
1235
|
.wp-block-image__crop-icon {
|
|
@@ -2180,6 +2303,7 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2180
2303
|
color: currentColor;
|
|
2181
2304
|
height: auto;
|
|
2182
2305
|
line-height: 0;
|
|
2306
|
+
opacity: 1;
|
|
2183
2307
|
padding: 0.25em;
|
|
2184
2308
|
}
|
|
2185
2309
|
|
|
@@ -2394,23 +2518,34 @@ body.editor-styles-wrapper .wp-block-navigation__responsive-container.is-menu-op
|
|
|
2394
2518
|
margin-bottom: 0;
|
|
2395
2519
|
}
|
|
2396
2520
|
|
|
2521
|
+
.block-editor-template-part__selection-modal {
|
|
2522
|
+
z-index: 1000001;
|
|
2523
|
+
}
|
|
2397
2524
|
@media (min-width: 600px) {
|
|
2398
|
-
.block-editor-template-part__selection-modal {
|
|
2525
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2399
2526
|
width: calc(100% - 32px);
|
|
2400
2527
|
height: calc(100% - 120px);
|
|
2401
2528
|
}
|
|
2402
2529
|
}
|
|
2403
2530
|
@media (min-width: 782px) {
|
|
2404
|
-
.block-editor-template-part__selection-modal {
|
|
2531
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2405
2532
|
width: 750px;
|
|
2406
2533
|
}
|
|
2407
2534
|
}
|
|
2408
2535
|
@media (min-width: 960px) {
|
|
2409
|
-
.block-editor-template-part__selection-modal {
|
|
2536
|
+
.block-editor-template-part__selection-modal .components-modal__frame {
|
|
2410
2537
|
height: 70%;
|
|
2411
2538
|
}
|
|
2412
2539
|
}
|
|
2413
2540
|
|
|
2541
|
+
.block-library-template-part__selection-search {
|
|
2542
|
+
background: #fff;
|
|
2543
|
+
position: sticky;
|
|
2544
|
+
top: 0;
|
|
2545
|
+
padding: 16px 0;
|
|
2546
|
+
z-index: 1;
|
|
2547
|
+
}
|
|
2548
|
+
|
|
2414
2549
|
.wp-block-text-columns .block-editor-rich-text__editable:focus {
|
|
2415
2550
|
outline: 1px solid #ddd;
|
|
2416
2551
|
}
|
|
@@ -2683,10 +2818,6 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2683
2818
|
display: block;
|
|
2684
2819
|
}
|
|
2685
2820
|
|
|
2686
|
-
.wp-block-post-comments__placeholder * {
|
|
2687
|
-
pointer-events: none;
|
|
2688
|
-
}
|
|
2689
|
-
|
|
2690
2821
|
.wp-block-post-comments-form * {
|
|
2691
2822
|
pointer-events: none;
|
|
2692
2823
|
}
|
|
@@ -2694,6 +2825,16 @@ div[data-type="core/post-featured-image"] img {
|
|
|
2694
2825
|
pointer-events: auto;
|
|
2695
2826
|
}
|
|
2696
2827
|
|
|
2828
|
+
/**
|
|
2829
|
+
* Element styles for the editor
|
|
2830
|
+
*/
|
|
2831
|
+
.wp-element-button {
|
|
2832
|
+
cursor: revert;
|
|
2833
|
+
}
|
|
2834
|
+
.wp-element-button[role=textbox] {
|
|
2835
|
+
cursor: text;
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2697
2838
|
:root .editor-styles-wrapper {
|
|
2698
2839
|
/*
|
|
2699
2840
|
* Our classes uses the same values we set for gradient value attributes,
|