wp/wp-includes/blocks/group/editor.css
changeset 19 3d72ae0968f4
parent 18 be944660c56a
child 21 48c4eec2b7e6
equal deleted inserted replaced
18:be944660c56a 19:3d72ae0968f4
    38  */
    38  */
    39 /**
    39 /**
    40  * React Native specific.
    40  * React Native specific.
    41  * These variables do not appear to be used anywhere else.
    41  * These variables do not appear to be used anywhere else.
    42  */
    42  */
       
    43 /**
       
    44 *  Converts a hex value into the rgb equivalent.
       
    45 *
       
    46 * @param {string} hex - the hexadecimal value to convert
       
    47 * @return {string} comma separated rgb values
       
    48 */
    43 /**
    49 /**
    44  * Breakpoint mixins
    50  * Breakpoint mixins
    45  */
    51  */
    46 /**
    52 /**
    47  * Long content fade mixin
    53  * Long content fade mixin
    82 }
    88 }
    83 [data-type="core/group"].is-selected .has-background .block-list-appender {
    89 [data-type="core/group"].is-selected .has-background .block-list-appender {
    84   margin-top: 18px;
    90   margin-top: 18px;
    85   margin-bottom: 18px;
    91   margin-bottom: 18px;
    86 }
    92 }
       
    93 
       
    94 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child {
       
    95   gap: inherit;
       
    96   pointer-events: none;
       
    97 }
       
    98 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child,
       
    99 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content,
       
   100 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter {
       
   101   display: inherit;
       
   102   width: 100%;
       
   103   flex-direction: inherit;
       
   104   flex: 1;
       
   105 }
       
   106 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child::after {
       
   107   content: "";
       
   108   display: flex;
       
   109   border: 1px dashed currentColor;
       
   110   opacity: 0.4;
       
   111   border-radius: 2px;
       
   112   flex: 1;
       
   113   pointer-events: none;
       
   114   min-height: 48px;
       
   115 }
       
   116 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter {
       
   117   pointer-events: all;
       
   118 }