_editor_after.scss
6 days ago
_editor_after_admin_sidebar.scss
6 months ago
_editor_before.scss
6 days ago
_editor_before_animation.scss
11 months ago
_editor_before_appender.scss
3 years ago
_editor_before_archive-list.scss
3 years ago
_editor_before_balloon.scss
2 years ago
_editor_before_border-box.scss
3 years ago
_editor_before_breadcrumb.scss
3 years ago
_editor_before_button-outer.scss
3 years ago
_editor_before_button.scss
1 year ago
_editor_before_custom-block-variation.scss
2 years ago
_editor_before_custom-css-extension.scss
2 years ago
_editor_before_faq.scss
3 years ago
_editor_before_fixed-display.scss
11 months ago
_editor_before_grid-column.scss
6 days ago
_editor_before_gridcolcard.scss
1 year ago
_editor_before_icon-card.scss
3 years ago
_editor_before_icon.scss
3 years ago
_editor_before_icon_list.scss
6 days ago
_editor_before_icons.scss
3 years ago
_editor_before_navigation.scss
2 months ago
_editor_before_outer.scss
9 months ago
_editor_before_select-post.scss
6 days ago
_editor_before_slider.scss
1 year ago
_editor_before_tab.scss
1 year ago
_editor_before_table.scss
3 years ago
_editor_before_template_inserter.scss
3 years ago
_editor_before_vk-heading.scss
3 years ago
_editor_before_vk-posts.scss
6 days ago
_editor_common_core.scss
6 days ago
_variables.scss
2 years ago
editor-block-build-marge.scss
6 days ago
_editor_before_gridcolcard.scss
88 lines
| 1 | .editor-styles-wrapper { |
| 2 | .vk_gridcolcard_item.wp-block { |
| 3 | --global--spacing-vertical : 0; |
| 4 | // core の classic.css とかいうのが .wp-block に対して追加してくる余白の打ち消し |
| 5 | margin-top:revert; |
| 6 | margin-bottom:revert; |
| 7 | width:100%; |
| 8 | } |
| 9 | .vk_gridcolcard_item:not(.has-child-selected) { |
| 10 | .vk_gridcolcard_item_container > .block-editor-inner-blocks > .block-editor-block-list__layout { |
| 11 | [data-block]] { |
| 12 | --global--spacing-vertical : 5px; |
| 13 | } |
| 14 | } |
| 15 | } |
| 16 | .vk_gridcolcard_item_header, |
| 17 | .vk_gridcolcard_item_body, |
| 18 | .vk_gridcolcard_item_footer{ |
| 19 | &.wp-block { |
| 20 | margin-top:0; |
| 21 | margin-bottom:0; |
| 22 | } |
| 23 | } |
| 24 | .vk_gridcolcard { |
| 25 | & > .block-editor-inner-blocks > .block-editor-block-list__layout { |
| 26 | display: grid; // この指定がないと編集画面でgridにならない |
| 27 | } |
| 28 | &_item > .vk_gridcolcard_item_container{ |
| 29 | border:1px dotted #ccc; |
| 30 | } |
| 31 | } |
| 32 | .vk_gridcolcard_item_container { |
| 33 | grid-template-rows : auto; |
| 34 | & > .block-editor-inner-blocks { |
| 35 | margin:0 !important; /* outerブロックの指定に負ける(VK Blocks側が悪いので要調整) */ |
| 36 | display: grid; |
| 37 | grid-template-rows : auto; |
| 38 | & > .block-editor-block-list__layout { |
| 39 | display: flex; // これがないと高さが伸びないので上下揃えが効かない |
| 40 | flex-direction: column; // flex指定してしまってるので要素が縦積みになるように指定 |
| 41 | margin-top:0; |
| 42 | margin-bottom:0; |
| 43 | grid-template-rows : 1fr; |
| 44 | } |
| 45 | } |
| 46 | } |
| 47 | .vk_gridcolcard_item_header { |
| 48 | min-width:100%; |
| 49 | .block-editor-inner-blocks, |
| 50 | .block-editor-block-list__layout { |
| 51 | min-width:100%; |
| 52 | height:100%; |
| 53 | } |
| 54 | .wp-block-image.wp-block { |
| 55 | margin:0; |
| 56 | } |
| 57 | } |
| 58 | .vk_gridcolcard_item_body, |
| 59 | .vk_gridcolcard_item_footer{ |
| 60 | width:100%; |
| 61 | } |
| 62 | [class*="vk_gridcolcard_item_body-valign"]*="vk_gridcolcard_item_body-valign""] { |
| 63 | display: grid; |
| 64 | height:100%; // これがないと高さが伸びないので上下揃えが効かない |
| 65 | } |
| 66 | .vk_gridcolcard_item_body-valign-bottom { |
| 67 | align-content: center; |
| 68 | } |
| 69 | .vk_gridcolcard_item_body-valign-bottom { |
| 70 | align-content: end; |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | .vk_gridcolcard > .block-editor-inner-blocks, |
| 75 | .vk_gridcolcard_item_footer > .block-editor-inner-blocks { |
| 76 | width:100%; |
| 77 | } |
| 78 | |
| 79 | .vk_gridcolcard, |
| 80 | .vk_gridcolcard_item, |
| 81 | .vk_gridcolcard_item_container{ |
| 82 | & > .block-editor-inner-blocks > .block-editor-block-list__layout { |
| 83 | display: grid; |
| 84 | align-content: stretch; |
| 85 | box-sizing: border-box; |
| 86 | } |
| 87 | } |
| 88 |