summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/social-links/editor.css
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-09-19 04:51:22 +0000
commitfc0a79914946dac00ccd51b1aacffe267de7210e (patch)
tree1403384efbfe8f8776ff60aaa40f7d535c02c822 /wp-includes/blocks/social-links/editor.css
parentReleasing progress-linux version 6.5.5+dfsg1-1~progress7.99u1. (diff)
downloadwordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.tar.xz
wordpress-fc0a79914946dac00ccd51b1aacffe267de7210e.zip
Merging upstream version 6.6.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'wp-includes/blocks/social-links/editor.css')
-rw-r--r--wp-includes/blocks/social-links/editor.css25
1 files changed, 10 insertions, 15 deletions
diff --git a/wp-includes/blocks/social-links/editor.css b/wp-includes/blocks/social-links/editor.css
index c75a75c..bac5c47 100644
--- a/wp-includes/blocks/social-links/editor.css
+++ b/wp-includes/blocks/social-links/editor.css
@@ -2,18 +2,24 @@
display:inline-block;
margin-left:8px;
}
-.wp-block-social-links.wp-block-social-links{
- background:none;
-}
.wp-social-link:hover{
transform:none;
}
-.editor-styles-wrapper .wp-block-social-links{
+:root :where(.wp-block-social-links),:root :where(.wp-block-social-links.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link){
padding:0;
}
+:root :where(.wp-block-social-links__social-placeholder .wp-social-link){
+ padding:.25em;
+}
+
+:root :where(.wp-block-social-links.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link){
+ padding-left:.66667em;
+ padding-right:.66667em;
+}
+
.wp-block-social-links__social-placeholder{
display:flex;
list-style:none;
@@ -30,16 +36,6 @@
.wp-block-social-links__social-placeholder>.wp-block-social-links__social-placeholder-icons{
display:flex;
}
-.wp-block-social-links__social-placeholder .wp-social-link{
- padding:.25em;
-}
-.is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link{
- padding-left:.66667em;
- padding-right:.66667em;
-}
-.is-style-logos-only .wp-block-social-links__social-placeholder .wp-social-link{
- padding:0;
-}
.wp-block-social-links__social-placeholder .wp-social-link:before{
border-radius:50%;
content:"";
@@ -60,7 +56,6 @@
margin-bottom:auto;
margin-top:auto;
min-height:24px;
- order:2;
padding-right:8px;
}