first commit
This commit is contained in:
66
wp-includes/blocks/post-comments-form/block.json
Normal file
66
wp-includes/blocks/post-comments-form/block.json
Normal file
@@ -0,0 +1,66 @@
|
||||
{
|
||||
"$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",
|
||||
"usesContext": [ "postId", "postType" ],
|
||||
"supports": {
|
||||
"anchor": true,
|
||||
"html": false,
|
||||
"color": {
|
||||
"gradients": true,
|
||||
"heading": true,
|
||||
"link": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"background": true,
|
||||
"text": true
|
||||
}
|
||||
},
|
||||
"spacing": {
|
||||
"margin": true,
|
||||
"padding": true
|
||||
},
|
||||
"typography": {
|
||||
"fontSize": true,
|
||||
"lineHeight": true,
|
||||
"textAlign": true,
|
||||
"__experimentalFontStyle": true,
|
||||
"__experimentalFontWeight": true,
|
||||
"__experimentalLetterSpacing": true,
|
||||
"__experimentalTextTransform": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"fontSize": true
|
||||
}
|
||||
},
|
||||
"__experimentalBorder": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true,
|
||||
"__experimentalDefaultControls": {
|
||||
"radius": true,
|
||||
"color": true,
|
||||
"width": true,
|
||||
"style": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-post-comments-form-editor",
|
||||
"style": [
|
||||
"wp-block-post-comments-form",
|
||||
"wp-block-buttons",
|
||||
"wp-block-button"
|
||||
],
|
||||
"example": {
|
||||
"attributes": {
|
||||
"style": {
|
||||
"typography": {
|
||||
"textAlign": "center"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
6
wp-includes/blocks/post-comments-form/editor-rtl.css
Normal file
6
wp-includes/blocks/post-comments-form/editor-rtl.css
Normal file
@@ -0,0 +1,6 @@
|
||||
.wp-block-post-comments-form * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.wp-block-post-comments-form *.block-editor-warning * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
1
wp-includes/blocks/post-comments-form/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/post-comments-form/editor-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto}
|
||||
6
wp-includes/blocks/post-comments-form/editor.css
Normal file
6
wp-includes/blocks/post-comments-form/editor.css
Normal file
@@ -0,0 +1,6 @@
|
||||
.wp-block-post-comments-form * {
|
||||
pointer-events: none;
|
||||
}
|
||||
.wp-block-post-comments-form *.block-editor-warning * {
|
||||
pointer-events: auto;
|
||||
}
|
||||
1
wp-includes/blocks/post-comments-form/editor.min.css
vendored
Normal file
1
wp-includes/blocks/post-comments-form/editor.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.wp-block-post-comments-form *{pointer-events:none}.wp-block-post-comments-form .block-editor-warning *{pointer-events:auto}
|
||||
71
wp-includes/blocks/post-comments-form/style-rtl.css
Normal file
71
wp-includes/blocks/post-comments-form/style-rtl.css
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
:where(.wp-block-post-comments-form textarea),
|
||||
:where(.wp-block-post-comments-form input:not([type=submit])) {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #949494;
|
||||
font-size: 1em;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
:where(.wp-block-post-comments-form textarea),
|
||||
:where(.wp-block-post-comments-form input:where(:not([type=submit]):not([type=checkbox]))) {
|
||||
padding: calc(0.667em + 2px);
|
||||
}
|
||||
|
||||
.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 :where(input[type=submit]) {
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form textarea,
|
||||
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]) {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
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: 0.25em;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form-cookies-consent {
|
||||
display: flex;
|
||||
gap: 0.25em;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent {
|
||||
margin-top: 0.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: 0.5em;
|
||||
}
|
||||
1
wp-includes/blocks/post-comments-form/style-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/post-comments-form/style-rtl.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
:where(.wp-block-post-comments-form input:not([type=submit])),:where(.wp-block-post-comments-form textarea){border:1px solid #949494;font-family:inherit;font-size:1em}:where(.wp-block-post-comments-form input:where(:not([type=submit]):not([type=checkbox]))),:where(.wp-block-post-comments-form textarea){padding:calc(.667em + 2px)}.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 :where(input[type=submit]){box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.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}
|
||||
71
wp-includes/blocks/post-comments-form/style.css
Normal file
71
wp-includes/blocks/post-comments-form/style.css
Normal file
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
* Colors
|
||||
*/
|
||||
:where(.wp-block-post-comments-form textarea),
|
||||
:where(.wp-block-post-comments-form input:not([type=submit])) {
|
||||
border-width: 1px;
|
||||
border-style: solid;
|
||||
border-color: #949494;
|
||||
font-size: 1em;
|
||||
font-family: inherit;
|
||||
}
|
||||
|
||||
:where(.wp-block-post-comments-form textarea),
|
||||
:where(.wp-block-post-comments-form input:where(:not([type=submit]):not([type=checkbox]))) {
|
||||
padding: calc(0.667em + 2px);
|
||||
}
|
||||
|
||||
.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 :where(input[type=submit]) {
|
||||
box-shadow: none;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form textarea,
|
||||
.wp-block-post-comments-form .comment-form input:not([type=submit]):not([type=checkbox]):not([type=hidden]) {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
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: 0.25em;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form-cookies-consent {
|
||||
display: flex;
|
||||
gap: 0.25em;
|
||||
}
|
||||
.wp-block-post-comments-form .comment-form-cookies-consent #wp-comment-cookies-consent {
|
||||
margin-top: 0.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: 0.5em;
|
||||
}
|
||||
1
wp-includes/blocks/post-comments-form/style.min.css
vendored
Normal file
1
wp-includes/blocks/post-comments-form/style.min.css
vendored
Normal file
@@ -0,0 +1 @@
|
||||
:where(.wp-block-post-comments-form input:not([type=submit])),:where(.wp-block-post-comments-form textarea){border:1px solid #949494;font-family:inherit;font-size:1em}:where(.wp-block-post-comments-form input:where(:not([type=submit]):not([type=checkbox]))),:where(.wp-block-post-comments-form textarea){padding:calc(.667em + 2px)}.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 :where(input[type=submit]){box-shadow:none;cursor:pointer;display:inline-block;overflow-wrap:break-word;text-align:center}.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}
|
||||
Reference in New Issue
Block a user