summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/post-comments-form
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/post-comments-form')
-rw-r--r--wp-includes/blocks/post-comments-form/block.json48
-rw-r--r--wp-includes/blocks/post-comments-form/editor-rtl.css6
-rw-r--r--wp-includes/blocks/post-comments-form/editor-rtl.min.css1
-rw-r--r--wp-includes/blocks/post-comments-form/editor.css6
-rw-r--r--wp-includes/blocks/post-comments-form/editor.min.css1
-rw-r--r--wp-includes/blocks/post-comments-form/style-rtl.css59
-rw-r--r--wp-includes/blocks/post-comments-form/style-rtl.min.css1
-rw-r--r--wp-includes/blocks/post-comments-form/style.css59
-rw-r--r--wp-includes/blocks/post-comments-form/style.min.css1
9 files changed, 182 insertions, 0 deletions
diff --git a/wp-includes/blocks/post-comments-form/block.json b/wp-includes/blocks/post-comments-form/block.json
new file mode 100644
index 0000000..ff157be
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/block.json
@@ -0,0 +1,48 @@
+{
+ "$schema": "https://schemas.wp.org/trunk/block.json",
+ "apiVersion": 3,
+ "name": "core/post-comments-form",
+ "title": "Comments Form",
+ "category": "theme",
+ "description": "Display a post's comments form.",
+ "textdomain": "default",
+ "attributes": {
+ "textAlign": {
+ "type": "string"
+ }
+ },
+ "usesContext": [ "postId", "postType" ],
+ "supports": {
+ "html": false,
+ "color": {
+ "gradients": true,
+ "heading": true,
+ "link": true,
+ "__experimentalDefaultControls": {
+ "background": true,
+ "text": true
+ }
+ },
+ "spacing": {
+ "margin": true,
+ "padding": true
+ },
+ "typography": {
+ "fontSize": true,
+ "lineHeight": true,
+ "__experimentalFontStyle": true,
+ "__experimentalFontWeight": true,
+ "__experimentalLetterSpacing": true,
+ "__experimentalTextTransform": true,
+ "__experimentalDefaultControls": {
+ "fontSize": true
+ }
+ }
+ },
+ "editorStyle": "wp-block-post-comments-form-editor",
+ "style": [
+ "wp-block-post-comments-form",
+ "wp-block-buttons",
+ "wp-block-button"
+ ]
+}
diff --git a/wp-includes/blocks/post-comments-form/editor-rtl.css b/wp-includes/blocks/post-comments-form/editor-rtl.css
new file mode 100644
index 0000000..0e92022
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/editor-rtl.css
@@ -0,0 +1,6 @@
+.wp-block-post-comments-form *{
+ pointer-events:none;
+}
+.wp-block-post-comments-form .block-editor-warning *{
+ pointer-events:auto;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/editor-rtl.min.css b/wp-includes/blocks/post-comments-form/editor-rtl.min.css
new file mode 100644
index 0000000..bff24e5
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/editor-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/editor.css b/wp-includes/blocks/post-comments-form/editor.css
new file mode 100644
index 0000000..0e92022
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/editor.css
@@ -0,0 +1,6 @@
+.wp-block-post-comments-form *{
+ pointer-events:none;
+}
+.wp-block-post-comments-form .block-editor-warning *{
+ pointer-events:auto;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/editor.min.css b/wp-includes/blocks/post-comments-form/editor.min.css
new file mode 100644
index 0000000..bff24e5
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/editor.min.css
@@ -0,0 +1 @@
+.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/style-rtl.css b/wp-includes/blocks/post-comments-form/style-rtl.css
new file mode 100644
index 0000000..7e14dd1
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/style-rtl.css
@@ -0,0 +1,59 @@
+.wp-block-post-comments-form{
+ box-sizing:border-box;
+}
+.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){
+ font-weight:inherit;
+}
+.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){
+ font-family:inherit;
+}
+.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){
+ font-size:inherit;
+}
+.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){
+ line-height:inherit;
+}
+.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){
+ font-style:inherit;
+}
+.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){
+ letter-spacing:inherit;
+}
+.wp-block-post-comments-form input[type=submit]{
+ box-shadow:none;
+ cursor:pointer;
+ display:inline-block;
+ overflow-wrap:break-word;
+ text-align:center;
+}
+.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{
+ border:1px solid #949494;
+ font-family:inherit;
+ font-size:1em;
+}
+.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{
+ padding:calc(.667em + 2px);
+}
+.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]),.wp-block-post-comments-form .comment-form textarea{
+ box-sizing:border-box;
+ display:block;
+ width:100%;
+}
+.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{
+ display:block;
+ margin-bottom:.25em;
+}
+.wp-block-post-comments-form .comment-form-cookies-consent{
+ display:flex;
+ gap:.25em;
+}
+.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{
+ margin-top:.35em;
+}
+.wp-block-post-comments-form .comment-reply-title{
+ margin-bottom:0;
+}
+.wp-block-post-comments-form .comment-reply-title :where(small){
+ font-size:var(--wp--preset--font-size--medium, smaller);
+ margin-right:.5em;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/style-rtl.min.css b/wp-includes/blocks/post-comments-form/style-rtl.min.css
new file mode 100644
index 0000000..8195389
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/style-rtl.min.css
@@ -0,0 +1 @@
+.wp-block-post-comments-form{box-sizing:border-box}.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){font-weight:inherit}.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){font-family:inherit}.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){font-size:inherit}.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){line-height:inherit}.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){font-style:inherit}.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){letter-spacing:inherit}.wp-block-post-comments-form input[type=submit]{box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]),.wp-block-post-comments-form .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments-form .comment-reply-title{margin-bottom:0}.wp-block-post-comments-form .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-right:.5em} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/style.css b/wp-includes/blocks/post-comments-form/style.css
new file mode 100644
index 0000000..fac2c07
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/style.css
@@ -0,0 +1,59 @@
+.wp-block-post-comments-form{
+ box-sizing:border-box;
+}
+.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){
+ font-weight:inherit;
+}
+.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){
+ font-family:inherit;
+}
+.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){
+ font-size:inherit;
+}
+.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){
+ line-height:inherit;
+}
+.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){
+ font-style:inherit;
+}
+.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){
+ letter-spacing:inherit;
+}
+.wp-block-post-comments-form input[type=submit]{
+ box-shadow:none;
+ cursor:pointer;
+ display:inline-block;
+ overflow-wrap:break-word;
+ text-align:center;
+}
+.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{
+ border:1px solid #949494;
+ font-family:inherit;
+ font-size:1em;
+}
+.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{
+ padding:calc(.667em + 2px);
+}
+.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]),.wp-block-post-comments-form .comment-form textarea{
+ box-sizing:border-box;
+ display:block;
+ width:100%;
+}
+.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{
+ display:block;
+ margin-bottom:.25em;
+}
+.wp-block-post-comments-form .comment-form-cookies-consent{
+ display:flex;
+ gap:.25em;
+}
+.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{
+ margin-top:.35em;
+}
+.wp-block-post-comments-form .comment-reply-title{
+ margin-bottom:0;
+}
+.wp-block-post-comments-form .comment-reply-title :where(small){
+ font-size:var(--wp--preset--font-size--medium, smaller);
+ margin-left:.5em;
+} \ No newline at end of file
diff --git a/wp-includes/blocks/post-comments-form/style.min.css b/wp-includes/blocks/post-comments-form/style.min.css
new file mode 100644
index 0000000..db9afc1
--- /dev/null
+++ b/wp-includes/blocks/post-comments-form/style.min.css
@@ -0,0 +1 @@
+.wp-block-post-comments-form{box-sizing:border-box}.wp-block-post-comments-form[style*=font-weight] :where(.comment-reply-title){font-weight:inherit}.wp-block-post-comments-form[style*=font-family] :where(.comment-reply-title){font-family:inherit}.wp-block-post-comments-form[class*=-font-size] :where(.comment-reply-title),.wp-block-post-comments-form[style*=font-size] :where(.comment-reply-title){font-size:inherit}.wp-block-post-comments-form[style*=line-height] :where(.comment-reply-title){line-height:inherit}.wp-block-post-comments-form[style*=font-style] :where(.comment-reply-title){font-style:inherit}.wp-block-post-comments-form[style*=letter-spacing] :where(.comment-reply-title){letter-spacing:inherit}.wp-block-post-comments-form input[type=submit]{box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.wp-block-post-comments-form input:not([type=submit]),.wp-block-post-comments-form textarea{border:1px solid #949494;font-family:inherit;font-size:1em}.wp-block-post-comments-form input:not([type=submit]):not([type=checkbox]),.wp-block-post-comments-form textarea{padding:calc(.667em + 2px)}.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]),.wp-block-post-comments-form .comment-form textarea{box-sizing:border-box;display:block;width:100%}.wp-block-post-comments-form .comment-form-author label,.wp-block-post-comments-form .comment-form-email label,.wp-block-post-comments-form .comment-form-url label{display:block;margin-bottom:.25em}.wp-block-post-comments-form .comment-form-cookies-consent{display:flex;gap:.25em}.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent{margin-top:.35em}.wp-block-post-comments-form .comment-reply-title{margin-bottom:0}.wp-block-post-comments-form .comment-reply-title :where(small){font-size:var(--wp--preset--font-size--medium,smaller);margin-left:.5em} \ No newline at end of file