| 1 |
/** |
| 2 |
* SCSS Variables. |
| 3 |
* |
| 4 |
* Please use variables from this sheet to ensure consistency across the UI. |
| 5 |
* Don't add to this sheet unless you're pretty sure the value will be reused in many places. |
| 6 |
* For example, don't add rules to this sheet that affect block visuals. It's purely for UI. |
| 7 |
*/ |
| 8 |
/** |
| 9 |
* Colors |
| 10 |
*/ |
| 11 |
/** |
| 12 |
* Fonts & basic variables. |
| 13 |
*/ |
| 14 |
/** |
| 15 |
* Typography |
| 16 |
*/ |
| 17 |
/** |
| 18 |
* Grid System. |
| 19 |
* https://make.wordpress.org/design/2019/10/31/proposal-a-consistent-spacing-system-for-wordpress/ |
| 20 |
*/ |
| 21 |
/** |
| 22 |
* Radius scale. |
| 23 |
*/ |
| 24 |
/** |
| 25 |
* Elevation scale. |
| 26 |
*/ |
| 27 |
/** |
| 28 |
* Dimensions. |
| 29 |
*/ |
| 30 |
/** |
| 31 |
* Mobile specific styles |
| 32 |
*/ |
| 33 |
/** |
| 34 |
* Editor styles. |
| 35 |
*/ |
| 36 |
/** |
| 37 |
* Block & Editor UI. |
| 38 |
*/ |
| 39 |
/** |
| 40 |
* Block paddings. |
| 41 |
*/ |
| 42 |
/** |
| 43 |
* React Native specific. |
| 44 |
* These variables do not appear to be used anywhere else. |
| 45 |
*/ |
| 46 |
/** |
| 47 |
* Group: All Alignment Settings |
| 48 |
*/ |
| 49 |
.wp-block-group .block-editor-block-list__insertion-point { |
| 50 |
left: 0; |
| 51 |
right: 0; |
| 52 |
} |
| 53 |
|
| 54 |
[data-type="core/group"].is-selected .block-list-appender { |
| 55 |
margin-left: 0; |
| 56 |
margin-right: 0; |
| 57 |
} |
| 58 |
[data-type="core/group"].is-selected .has-background .block-list-appender { |
| 59 |
margin-top: 18px; |
| 60 |
margin-bottom: 18px; |
| 61 |
} |
| 62 |
|
| 63 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child { |
| 64 |
gap: inherit; |
| 65 |
} |
| 66 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child, |
| 67 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-default-block-appender__content, |
| 68 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter { |
| 69 |
display: inherit; |
| 70 |
width: 100%; |
| 71 |
flex-direction: inherit; |
| 72 |
flex: 1; |
| 73 |
} |
| 74 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child::after { |
| 75 |
content: ""; |
| 76 |
display: flex; |
| 77 |
flex: 1 0 40px; |
| 78 |
pointer-events: none; |
| 79 |
min-height: 38px; |
| 80 |
border: 1px dashed currentColor; |
| 81 |
} |
| 82 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child { |
| 83 |
pointer-events: none; |
| 84 |
} |
| 85 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-inserter, |
| 86 |
.wp-block-group.is-layout-flex.block-editor-block-list__block > .block-list-appender:only-child .block-editor-button-block-appender { |
| 87 |
pointer-events: all; |
| 88 |
} |