From 0e41b5d52fdc6af6442816b5f465c9db9f84e126 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 19 Sep 2024 06:51:18 +0200 Subject: Adding upstream version 6.6.1+dfsg1. Signed-off-by: Daniel Baumann --- wp-includes/blocks/social-link/block.json | 2 +- wp-includes/blocks/social-link/editor-rtl.css | 19 +++++++++++++++---- wp-includes/blocks/social-link/editor-rtl.min.css | 2 +- wp-includes/blocks/social-link/editor.css | 19 +++++++++++++++---- wp-includes/blocks/social-link/editor.min.css | 2 +- 5 files changed, 33 insertions(+), 11 deletions(-) (limited to 'wp-includes/blocks/social-link') 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 -- cgit v1.2.3