wp/wp-includes/blocks/media-text/editor.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
--- a/wp/wp-includes/blocks/media-text/editor.css	Wed Sep 21 18:19:35 2022 +0200
+++ b/wp/wp-includes/blocks/media-text/editor.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
  */
 /**
@@ -68,6 +74,20 @@
 /**
  * Reset the WP Admin page styles for Gutenberg-like pages.
  */
+.wp-block-media-text__media {
+  position: relative;
+}
+.wp-block-media-text__media.is-transient img {
+  opacity: 0.3;
+}
+.wp-block-media-text__media .components-spinner {
+  position: absolute;
+  top: 50%;
+  left: 50%;
+  margin-top: -9px;
+  margin-left: -9px;
+}
+
 .wp-block-media-text .__resizable_base__ {
   grid-column: 1/span 2;
   grid-row: 2;