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