diff -r be944660c56a -r 3d72ae0968f4 wp/wp-includes/blocks/social-links/editor-rtl.css --- a/wp/wp-includes/blocks/social-links/editor-rtl.css Wed Sep 21 18:19:35 2022 +0200 +++ b/wp/wp-includes/blocks/social-links/editor-rtl.css Tue Sep 27 16:37:53 2022 +0200 @@ -41,6 +41,12 @@ * These variables do not appear to be used anywhere else. */ /** +* Converts a hex value into the rgb equivalent. +* +* @param {string} hex - the hexadecimal value to convert +* @return {string} comma separated rgb values +*/ +/** * Breakpoint mixins */ /** @@ -72,6 +78,9 @@ display: inline-block; margin-right: 8px; } +.wp-block-social-links.wp-block-social-links { + background: none; +} .wp-social-link:hover { transform: none; @@ -97,15 +106,16 @@ .wp-block-social-links__social-placeholder > .wp-block-social-links__social-placeholder-icons { display: flex; } -.wp-block-social-links__social-placeholder + .block-list-appender, .wp-block-social-links__social-placeholder .wp-social-link { padding: 0.25em; } -.is-style-pill-shape .wp-block-social-links__social-placeholder + .block-list-appender, .is-style-pill-shape .wp-block-social-links__social-placeholder .wp-social-link { padding-right: calc((2/3) * 1em); padding-left: calc((2/3) * 1em); } +.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 { content: ""; display: block; @@ -118,6 +128,7 @@ } .wp-block-social-links .wp-block-social-links__social-prompt { + min-height: 24px; list-style: none; order: 2; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif; @@ -128,38 +139,6 @@ cursor: default; padding-left: 8px; } -.wp-block-social-links .wp-block-social-links__social-prompt + .block-list-appender { - margin-left: 8px; - padding: 0.25em; -} - -.wp-block-social-links .block-list-appender { - margin: 4px 0 4px auto; - border-radius: 9999px; -} -.wp-block-social-links .block-list-appender .block-editor-inserter { - display: flex; - align-items: center; - justify-content: center; - font-size: inherit; - width: 1em; - height: 1em; -} -.has-small-icon-size .wp-block-social-links .block-list-appender { - font-size: 16px; -} -.has-normal-icon-size .wp-block-social-links .block-list-appender { - font-size: 24px; -} -.has-large-icon-size .wp-block-social-links .block-list-appender { - font-size: 36px; -} -.has-huge-icon-size .wp-block-social-links .block-list-appender { - font-size: 48px; -} -.wp-block-social-links .block-list-appender::before { - content: none; -} .wp-block[data-align=center] > .wp-block-social-links { justify-content: center;