summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/social-link
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/social-link')
-rw-r--r--wp-includes/blocks/social-link/block.json2
-rw-r--r--wp-includes/blocks/social-link/editor-rtl.css19
-rw-r--r--wp-includes/blocks/social-link/editor-rtl.min.css2
-rw-r--r--wp-includes/blocks/social-link/editor.css19
-rw-r--r--wp-includes/blocks/social-link/editor.min.css2
5 files changed, 33 insertions, 11 deletions
diff --git a/wp-includes/blocks/social-link/block.json b/wp-includes/blocks/social-link/block.json
index d487465..37e8376 100644
--- a/wp-includes/blocks/social-link/block.json
+++ b/wp-includes/blocks/social-link/block.json
@@ -5,7 +5,7 @@
"title": "Social Icon",
"category": "widgets",
"parent": [ "core/social-links" ],
- "description": "Display an icon linking to a social media profile or site.",
+ "description": "Display an icon linking to a social profile or site.",
"textdomain": "default",
"attributes": {
"url": {
diff --git a/wp-includes/blocks/social-link/editor-rtl.css b/wp-includes/blocks/social-link/editor-rtl.css
index 8c16bcf..eb34ba8 100644
--- a/wp-includes/blocks/social-link/editor-rtl.css
+++ b/wp-includes/blocks/social-link/editor-rtl.css
@@ -1,20 +1,31 @@
.wp-block-social-links .wp-social-link{
line-height:0;
}
-.wp-block-social-links .wp-social-link button{
+
+.wp-block-social-link-anchor{
+ align-items:center;
+ background:none;
+ border:0;
+ box-sizing:border-box;
color:currentColor;
+ cursor:pointer;
+ display:inline-flex;
font-size:inherit;
height:auto;
- line-height:0;
opacity:1;
padding:.25em;
}
+.wp-block-social-link-anchor:focus:not(:disabled){
+ border-radius:2px;
+ box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
+ outline:3px solid #0000;
+}
-.wp-block-social-links.is-style-pill-shape .wp-social-link button{
+:root :where(.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{
+:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button){
padding:0;
} \ No newline at end of file
diff --git a/wp-includes/blocks/social-link/editor-rtl.min.css b/wp-includes/blocks/social-link/editor-rtl.min.css
index ff5a4b8..f8fa440 100644
--- a/wp-includes/blocks/social-link/editor-rtl.min.css
+++ b/wp-includes/blocks/social-link/editor-rtl.min.css
@@ -1 +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} \ No newline at end of file
+.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-link-anchor{align-items:center;background:none;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-flex;font-size:inherit;height:auto;opacity:1;padding:.25em}.wp-block-social-link-anchor:focus:not(:disabled){border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid #0000}:root :where(.wp-block-social-links.is-style-pill-shape .wp-social-link button){padding-left:.66667em;padding-right:.66667em}:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button){padding:0} \ No newline at end of file
diff --git a/wp-includes/blocks/social-link/editor.css b/wp-includes/blocks/social-link/editor.css
index 8c16bcf..eb34ba8 100644
--- a/wp-includes/blocks/social-link/editor.css
+++ b/wp-includes/blocks/social-link/editor.css
@@ -1,20 +1,31 @@
.wp-block-social-links .wp-social-link{
line-height:0;
}
-.wp-block-social-links .wp-social-link button{
+
+.wp-block-social-link-anchor{
+ align-items:center;
+ background:none;
+ border:0;
+ box-sizing:border-box;
color:currentColor;
+ cursor:pointer;
+ display:inline-flex;
font-size:inherit;
height:auto;
- line-height:0;
opacity:1;
padding:.25em;
}
+.wp-block-social-link-anchor:focus:not(:disabled){
+ border-radius:2px;
+ box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);
+ outline:3px solid #0000;
+}
-.wp-block-social-links.is-style-pill-shape .wp-social-link button{
+:root :where(.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{
+:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button){
padding:0;
} \ No newline at end of file
diff --git a/wp-includes/blocks/social-link/editor.min.css b/wp-includes/blocks/social-link/editor.min.css
index ff5a4b8..f8fa440 100644
--- a/wp-includes/blocks/social-link/editor.min.css
+++ b/wp-includes/blocks/social-link/editor.min.css
@@ -1 +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} \ No newline at end of file
+.wp-block-social-links .wp-social-link{line-height:0}.wp-block-social-link-anchor{align-items:center;background:none;border:0;box-sizing:border-box;color:currentColor;cursor:pointer;display:inline-flex;font-size:inherit;height:auto;opacity:1;padding:.25em}.wp-block-social-link-anchor:focus:not(:disabled){border-radius:2px;box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid #0000}:root :where(.wp-block-social-links.is-style-pill-shape .wp-social-link button){padding-left:.66667em;padding-right:.66667em}:root :where(.wp-block-social-links.is-style-logos-only .wp-social-link button){padding:0} \ No newline at end of file