wp/wp-includes/blocks/group/editor-rtl.css
changeset 21 48c4eec2b7e6
parent 19 3d72ae0968f4
child 22 8c2e4d02f4ef
equal deleted inserted replaced
20:7b1b88e27a20 21:48c4eec2b7e6
     1 /**
     1 .wp-block-group .block-editor-block-list__insertion-point{
     2  * Colors
     2   left:0;
     3  */
     3   right:0;
     4 /**
       
     5  * Breakpoints & Media Queries
       
     6  */
       
     7 /**
       
     8  * SCSS Variables.
       
     9  *
       
    10  * Please use variables from this sheet to ensure consistency across the UI.
       
    11  * Don't add to this sheet unless you're pretty sure the value will be reused in many places.
       
    12  * For example, don't add rules to this sheet that affect block visuals. It's purely for UI.
       
    13  */
       
    14 /**
       
    15  * Colors
       
    16  */
       
    17 /**
       
    18  * Fonts & basic variables.
       
    19  */
       
    20 /**
       
    21  * Grid System.
       
    22  * https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/
       
    23  */
       
    24 /**
       
    25  * Dimensions.
       
    26  */
       
    27 /**
       
    28  * Shadows.
       
    29  */
       
    30 /**
       
    31  * Editor widths.
       
    32  */
       
    33 /**
       
    34  * Block & Editor UI.
       
    35  */
       
    36 /**
       
    37  * Block paddings.
       
    38  */
       
    39 /**
       
    40  * React Native specific.
       
    41  * These variables do not appear to be used anywhere else.
       
    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 */
       
    49 /**
       
    50  * Breakpoint mixins
       
    51  */
       
    52 /**
       
    53  * Long content fade mixin
       
    54  *
       
    55  * Creates a fading overlay to signify that the content is longer
       
    56  * than the space allows.
       
    57  */
       
    58 /**
       
    59  * Focus styles.
       
    60  */
       
    61 /**
       
    62  * Applies editor left position to the selector passed as argument
       
    63  */
       
    64 /**
       
    65  * Styles that are reused verbatim in a few places
       
    66  */
       
    67 /**
       
    68  * Allows users to opt-out of animations via OS-level preferences.
       
    69  */
       
    70 /**
       
    71  * Reset default styles for JavaScript UI based pages.
       
    72  * This is a WP-admin agnostic reset
       
    73  */
       
    74 /**
       
    75  * Reset the WP Admin page styles for Gutenberg-like pages.
       
    76  */
       
    77 /**
       
    78 * Group: All Alignment Settings
       
    79 */
       
    80 .wp-block-group .block-editor-block-list__insertion-point {
       
    81   right: 0;
       
    82   left: 0;
       
    83 }
     4 }
    84 
     5 
    85 [data-type="core/group"].is-selected .block-list-appender {
     6 [data-type="core/group"].is-selected .block-list-appender{
    86   margin-right: 0;
     7   margin-left:0;
    87   margin-left: 0;
     8   margin-right:0;
    88 }
     9 }
    89 [data-type="core/group"].is-selected .has-background .block-list-appender {
    10 [data-type="core/group"].is-selected .has-background .block-list-appender{
    90   margin-top: 18px;
    11   margin-bottom:18px;
    91   margin-bottom: 18px;
    12   margin-top:18px;
    92 }
    13 }
    93 
    14 
    94 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child {
    15 .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{
    95   gap: inherit;
    16   gap:inherit;
    96   pointer-events: none;
    17   pointer-events:none;
    97 }
    18 }
    98 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child,
    19 .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
    99 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-default-block-appender__content,
    20   display:inherit;
   100 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter {
    21   flex:1;
   101   display: inherit;
    22   flex-direction:inherit;
   102   width: 100%;
    23   width:100%;
   103   flex-direction: inherit;
       
   104   flex: 1;
       
   105 }
    24 }
   106 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child::after {
    25 .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{
   107   content: "";
    26   border:1px dashed;
   108   display: flex;
    27   border-radius:2px;
   109   border: 1px dashed currentColor;
    28   content:"";
   110   opacity: 0.4;
    29   display:flex;
   111   border-radius: 2px;
    30   flex:1 0 48px;
   112   flex: 1;
    31   min-height:46px;
   113   pointer-events: none;
    32   pointer-events:none;
   114   min-height: 48px;
       
   115 }
    33 }
   116 .is-layout-flex.block-editor-block-list__block .block-list-appender:only-child .block-editor-inserter {
    34 .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{
   117   pointer-events: all;
    35   background:currentColor;
       
    36   bottom:0;
       
    37   content:"";
       
    38   left:0;
       
    39   opacity:.1;
       
    40   pointer-events:none;
       
    41   position:absolute;
       
    42   right:0;
       
    43   top:0;
   118 }
    44 }
       
    45 .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-button-block-appender,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
       
    46   pointer-events:all;
       
    47 }