components
2 years ago
hoc
4 years ago
hooks
4 years ago
attributes.js
2 years ago
block.js
1 year ago
edit.js
2 years ago
editor.scss
2 years ago
query-parameters.js
3 years ago
templates.js
3 years ago
editor.scss
102 lines
| 1 | .wp-block-generateblocks-query-loop { |
| 2 | margin-top: 0; |
| 3 | margin-bottom: 0; |
| 4 | } |
| 5 | |
| 6 | .gb-post-template { |
| 7 | .gb-post-template-wrapper { |
| 8 | position: relative; |
| 9 | display: flex; |
| 10 | flex-wrap: wrap; |
| 11 | justify-content: flex-start; |
| 12 | |
| 13 | & > .block-editor-inner-blocks { |
| 14 | width: 100%; |
| 15 | box-sizing: border-box; |
| 16 | |
| 17 | & > .block-editor-block-list__layout { |
| 18 | height: 100%; |
| 19 | |
| 20 | & > .gb-grid-column { |
| 21 | height: 100%; |
| 22 | margin-left: 0; |
| 23 | margin-right: 0; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | /* Fix for Container not knowing it's a grid item */ |
| 28 | & > .gb-is-root-block { |
| 29 | height: 100%; |
| 30 | |
| 31 | & > .gb-grid-column { |
| 32 | height: 100%; |
| 33 | } |
| 34 | } |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | .block-editor-default-block-appender, |
| 39 | .gb-container + .block-list-appender { |
| 40 | display: none; |
| 41 | } |
| 42 | |
| 43 | & + .block-list-appender { |
| 44 | position: relative; |
| 45 | |
| 46 | .gblocks-query-block-appender { |
| 47 | width: auto; |
| 48 | } |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | .gblocks-parameter-component { |
| 53 | position: relative; |
| 54 | margin-bottom: 24px; |
| 55 | |
| 56 | .gblocks-remove-parameter { |
| 57 | position: absolute; |
| 58 | top: 0; |
| 59 | right: 0; |
| 60 | justify-content: flex-end !important; |
| 61 | height: auto; |
| 62 | min-width: auto; |
| 63 | |
| 64 | &.components-button.has-icon svg { |
| 65 | margin-right: 0; |
| 66 | height: 15px; |
| 67 | width: 15px; |
| 68 | } |
| 69 | } |
| 70 | } |
| 71 | |
| 72 | .gblocks-query-loop-layout-selector { |
| 73 | &__content { |
| 74 | display: flex; |
| 75 | margin-top: 20px; |
| 76 | align-items: flex-start; |
| 77 | |
| 78 | .components-button { |
| 79 | display: block; |
| 80 | height: auto; |
| 81 | padding: 0; |
| 82 | flex-basis: 80px; |
| 83 | margin-right: 30px; |
| 84 | |
| 85 | svg { |
| 86 | fill: var(--wp-admin-theme-color); |
| 87 | border: 1px solid var(--wp-admin-theme-color); |
| 88 | } |
| 89 | |
| 90 | p { |
| 91 | margin-top: 5px; |
| 92 | margin-bottom: 0; |
| 93 | font-size: 11px; |
| 94 | } |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | .gb-query-loop-block-preview a { |
| 100 | pointer-events: none; |
| 101 | } |
| 102 |