first commit
This commit is contained in:
40
wp-includes/blocks/social-link/block.json
Normal file
40
wp-includes/blocks/social-link/block.json
Normal file
@ -0,0 +1,40 @@
|
||||
{
|
||||
"$schema": "https://schemas.wp.org/trunk/block.json",
|
||||
"apiVersion": 3,
|
||||
"name": "core/social-link",
|
||||
"title": "Social Icon",
|
||||
"category": "widgets",
|
||||
"parent": [ "core/social-links" ],
|
||||
"description": "Display an icon linking to a social media profile or site.",
|
||||
"textdomain": "default",
|
||||
"attributes": {
|
||||
"url": {
|
||||
"type": "string"
|
||||
},
|
||||
"service": {
|
||||
"type": "string"
|
||||
},
|
||||
"label": {
|
||||
"type": "string"
|
||||
},
|
||||
"rel": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"usesContext": [
|
||||
"openInNewTab",
|
||||
"showLabels",
|
||||
"iconColor",
|
||||
"iconColorValue",
|
||||
"iconBackgroundColor",
|
||||
"iconBackgroundColorValue"
|
||||
],
|
||||
"supports": {
|
||||
"reusable": false,
|
||||
"html": false,
|
||||
"interactivity": {
|
||||
"clientNavigation": true
|
||||
}
|
||||
},
|
||||
"editorStyle": "wp-block-social-link-editor"
|
||||
}
|
20
wp-includes/blocks/social-link/editor-rtl.css
Normal file
20
wp-includes/blocks/social-link/editor-rtl.css
Normal file
@ -0,0 +1,20 @@
|
||||
.wp-block-social-links .wp-social-link{
|
||||
line-height:0;
|
||||
}
|
||||
.wp-block-social-links .wp-social-link button{
|
||||
color:currentColor;
|
||||
font-size:inherit;
|
||||
height:auto;
|
||||
line-height:0;
|
||||
opacity:1;
|
||||
padding:.25em;
|
||||
}
|
||||
|
||||
.wp-block-social-links.is-style-pill-shape .wp-social-link button{
|
||||
padding-left:.66667em;
|
||||
padding-right:.66667em;
|
||||
}
|
||||
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link button{
|
||||
padding:0;
|
||||
}
|
1
wp-includes/blocks/social-link/editor-rtl.min.css
vendored
Normal file
1
wp-includes/blocks/social-link/editor-rtl.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}
|
20
wp-includes/blocks/social-link/editor.css
Normal file
20
wp-includes/blocks/social-link/editor.css
Normal file
@ -0,0 +1,20 @@
|
||||
.wp-block-social-links .wp-social-link{
|
||||
line-height:0;
|
||||
}
|
||||
.wp-block-social-links .wp-social-link button{
|
||||
color:currentColor;
|
||||
font-size:inherit;
|
||||
height:auto;
|
||||
line-height:0;
|
||||
opacity:1;
|
||||
padding:.25em;
|
||||
}
|
||||
|
||||
.wp-block-social-links.is-style-pill-shape .wp-social-link button{
|
||||
padding-left:.66667em;
|
||||
padding-right:.66667em;
|
||||
}
|
||||
|
||||
.wp-block-social-links.is-style-logos-only .wp-social-link button{
|
||||
padding:0;
|
||||
}
|
1
wp-includes/blocks/social-link/editor.min.css
vendored
Normal file
1
wp-includes/blocks/social-link/editor.min.css
vendored
Normal file
@ -0,0 +1 @@
|
||||
.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-links .wp-social-link button{color:currentColor;font-size:inherit;height:auto;line-height:0;opacity:1;padding:.25em}.wp-block-social-links.is-style-pill-shape .wp-social-link button{padding-left:.66667em;padding-right:.66667em}.wp-block-social-links.is-style-logos-only .wp-social-link button{padding:0}
|
Reference in New Issue
Block a user