_editor_after.scss
1 year ago
_editor_after_admin_sidebar.scss
5 months ago
_editor_before.scss
2 weeks ago
_editor_before_animation.scss
9 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
9 months ago
_editor_before_grid-column.scss
1 year 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
2 years ago
_editor_before_icons.scss
3 years ago
_editor_before_navigation.scss
2 weeks ago
_editor_before_outer.scss
7 months ago
_editor_before_select-post.scss
3 years 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
9 months ago
_editor_common_core.scss
3 months ago
_variables.scss
1 year ago
editor-block-build-marge.scss
2 weeks ago
_editor_before_navigation.scss
52 lines
| 1 | /*-------------------------------------------*/ |
| 2 | /* core/navigation : メニュー� |
| 3 | 目の説明を表示 */ |
| 4 | /* Show menu item description option (editor) */ |
| 5 | /*-------------------------------------------*/ |
| 6 | |
| 7 | /* |
| 8 | * エディタープレビュー用。フロント(src/extensions/core/navigation/style.scss)と |
| 9 | * 同じセレクタで、コアの display:none を上書きする。 |
| 10 | * Editor preview. Same selector as the front-end style to override the |
| 11 | * core display:none for the description. |
| 12 | */ |
| 13 | .wp-block-navigation.vk-navigation-show-description { |
| 14 | /* フロントと同じく、� |
| 15 | 目の高さをそろえて矢印(サブメニューインジケーター)の縦位置を安定させる。 */ |
| 16 | /* Same as the front-end: stretch items to equal height so the submenu arrow stays put. */ |
| 17 | .wp-block-navigation__container { |
| 18 | align-items: stretch; |
| 19 | } |
| 20 | /* フロントと同じく、コンテンツ(<a>)を� |
| 21 | 目いっぱいに伸ばす(背景・クリック範囲を高さにそろえる)。ラベルは上端のまま。 */ |
| 22 | /* Same as the front-end: stretch the content (<a>) to fill the item height; the label stays at the top. */ |
| 23 | .wp-block-navigation__container |
| 24 | > .wp-block-navigation-item |
| 25 | > .wp-block-navigation-item__content { |
| 26 | align-self: stretch; |
| 27 | } |
| 28 | /* フロントと同じく、矢印は� |
| 29 | 目の縦中央に固定する。 */ |
| 30 | /* Same as the front-end: keep the submenu arrow centered vertically within the item. */ |
| 31 | .wp-block-navigation__container |
| 32 | > .wp-block-navigation-item |
| 33 | > .wp-block-navigation__submenu-icon { |
| 34 | align-self: center; |
| 35 | } |
| 36 | .wp-block-navigation-item__description { |
| 37 | display: block; |
| 38 | /* フロントと同じ最小スタイル。エディタとフロントの見た目を一致させる。 */ |
| 39 | /* Same minimal style as the front-end to keep editor and front-end consistent. */ |
| 40 | font-size: 0.8em; |
| 41 | margin-top: 0.25em; |
| 42 | opacity: 0.85; |
| 43 | } |
| 44 | /* フロントと同じく、サブメニューはコアの flex(row) を縦積みに戻し、左寄せにする。 */ |
| 45 | /* Same as the front-end: restore vertical stacking and left-align for submenu items. */ |
| 46 | .wp-block-navigation__submenu-container .wp-block-navigation-item__content { |
| 47 | flex-direction: column; |
| 48 | align-items: flex-start; |
| 49 | text-align: left; |
| 50 | } |
| 51 | } |
| 52 |