diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-09-19 04:51:18 +0000 |
commit | 0e41b5d52fdc6af6442816b5f465c9db9f84e126 (patch) | |
tree | e139a90049b158d4eed892d1662ee7f5c358fa31 /wp-includes/blocks/social-link | |
parent | Adding upstream version 6.5.5+dfsg1. (diff) | |
download | wordpress-upstream/6.6.1+dfsg1.tar.xz wordpress-upstream/6.6.1+dfsg1.zip |
Adding upstream version 6.6.1+dfsg1.upstream/6.6.1+dfsg1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/social-link')
-rw-r--r-- | wp-includes/blocks/social-link/block.json | 2 | ||||
-rw-r--r-- | wp-includes/blocks/social-link/editor-rtl.css | 19 | ||||
-rw-r--r-- | wp-includes/blocks/social-link/editor-rtl.min.css | 2 | ||||
-rw-r--r-- | wp-includes/blocks/social-link/editor.css | 19 | ||||
-rw-r--r-- | wp-includes/blocks/social-link/editor.min.css | 2 |
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 |