_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_button.scss
81 lines
| 1 | |
| 2 | // theme.json があるとコアに a:where(:not(.wp-element-button)) { text-decoration: underline; } が� |
| 3 | �るため打ち消し |
| 4 | .editor-styles-wrapper a.vk_button_link { |
| 5 | text-decoration: none; |
| 6 | } |
| 7 | |
| 8 | .wp-block-vk-blocks-button.block-editor-block-list__block.wp-block.vk_button.vk_button-align-wide { |
| 9 | display: block; |
| 10 | margin-left: auto; |
| 11 | margin-right: auto; |
| 12 | max-width: 70%; |
| 13 | } |
| 14 | |
| 15 | $vk-color-secondary: #6c757d; |
| 16 | $vk-color-success: #28a745; |
| 17 | $vk-color-info:#17a2b8; |
| 18 | $vk-color-warning:#ffc107; |
| 19 | $vk-color-danger: #dc3545; |
| 20 | $vk-color-light:#f8f9fa; |
| 21 | $vk-color-dark:#343a40; |
| 22 | |
| 23 | .vk_button{ // ← V2以降に編集画面用CSSファイルに移植すること |
| 24 | .btn.has-vk-color-primary-background-color { |
| 25 | background-color: var(--wp--preset--color--vk-color-primary, #337ab7) |
| 26 | } |
| 27 | .btn.has-vk-color-secondary-background-color { |
| 28 | background-color: $vk-color-secondary; |
| 29 | } |
| 30 | .btn.has-vk-color-success-background-color { |
| 31 | background-color: $vk-color-success; |
| 32 | } |
| 33 | .btn.has-vk-color-info-background-color { |
| 34 | background-color: $vk-color-info; |
| 35 | } |
| 36 | .btn.has-vk-color-warning-background-color { |
| 37 | background-color: $vk-color-warning; |
| 38 | } |
| 39 | .btn.has-vk-color-danger-background-color { |
| 40 | background-color: $vk-color-danger; |
| 41 | } |
| 42 | // https://getbootstrap.jp/docs/5.0/components/buttons/ |
| 43 | .btn.has-vk-color-light-background-color { |
| 44 | background-color: $vk-color-light; |
| 45 | } |
| 46 | .btn.has-vk-color-dark-background-color { |
| 47 | background-color: $vk-color-dark; |
| 48 | } |
| 49 | .btn.has-vk-color-primary-color { |
| 50 | color: var(--wp--preset--color--vk-color-primary, #337ab7); |
| 51 | } |
| 52 | .btn.has-vk-color-secondary-color { |
| 53 | color: $vk-color-secondary; |
| 54 | } |
| 55 | .btn.has-vk-color-success-color { |
| 56 | color: $vk-color-success; |
| 57 | } |
| 58 | .btn.has-vk-color-info-color { |
| 59 | color: $vk-color-info; |
| 60 | } |
| 61 | .btn.has-vk-color-warning-color { |
| 62 | color: $vk-color-warning; |
| 63 | } |
| 64 | .btn.has-vk-color-danger-color { |
| 65 | color: $vk-color-danger; |
| 66 | } |
| 67 | .btn.has-vk-color-light-color { |
| 68 | color: $vk-color-light; |
| 69 | } |
| 70 | .btn.has-vk-color-dark-color { |
| 71 | color: $vk-color-dark; |
| 72 | } |
| 73 | .btn.has-background:not(.has-text-color) { |
| 74 | color: #fff; |
| 75 | /* 白っぽい色に対する対策 */ |
| 76 | &.has-vk-color-light-background-color, |
| 77 | &.has-white-background-color { |
| 78 | color:#212529; |
| 79 | } |
| 80 | } |
| 81 | } |