_editor_after.scss
5 days ago
_editor_after_admin_sidebar.scss
6 months ago
_editor_before.scss
5 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
5 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
5 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
5 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
5 days ago
_editor_common_core.scss
5 days ago
_variables.scss
2 years ago
editor-block-build-marge.scss
5 days ago
editor-block-build-marge.scss
700 lines
| 1 | // Load src/utils/_breakpoints.scss, the single source of truth for breakpoint variables (Issue #3091). |
| 2 | // ブレークポイント変数を一� |
| 3 | �管理する src/utils/_breakpoints.scss を読み込む(Issue #3091)。 |
| 4 | // The 'sass_editor' gulp task concatenates _editor_common_core.scss → _editor_before.scss → _editor_after.scss |
| 5 | // into one file before compiling it, so @use must sit at the top of the concatenated result (i.e. this file's top). |
| 6 | // editor-css は gulp task 'sass_editor' で _editor_common_core.scss → _editor_before.scss → _editor_after.scss を |
| 7 | // 連結してから1つのファイルとしてコンパイルするため、@use は連結後の� |
| 8 | �頭(=このファイルの� |
| 9 | �頭)に置く� |
| 10 | 要がある。 |
| 11 | @use 'utils/breakpoints' as *; |
| 12 | |
| 13 | /* |
| 14 | コア側のブロックcssを上書き用のファイルです |
| 15 | --------------------------------------------*/ |
| 16 | .editor-styles-wrapper { //サイトエディター |
| 17 | //ソーシャルアイコン |
| 18 | .vk_card_item .block-editor-inner-blocks .block-editor-block-list__layout,//これがないとカード� |
| 19 | のインナーブロックで効かない |
| 20 | .wp-block-social-links{ |
| 21 | .wp-block.wp-social-link{ |
| 22 | width: auto; |
| 23 | margin: 0 8px .8em 0; |
| 24 | } |
| 25 | } |
| 26 | |
| 27 | //他テーマ(Twenty Twenty)上書き用 |
| 28 | .wp-block-image figcaption{ |
| 29 | display: block; |
| 30 | } |
| 31 | //他テーマ(Twenty Twenty)上書き用 |
| 32 | ul li, |
| 33 | ol li{ |
| 34 | margin:calc( 1rem * 0.8 ) 0; |
| 35 | } |
| 36 | |
| 37 | //グループブロック |
| 38 | .wp-block-group { |
| 39 | &.is-style-vk-group-stitch:before { |
| 40 | width: calc(100% - 1.25em); |
| 41 | height: calc(100% - 1.25em); |
| 42 | } |
| 43 | } |
| 44 | } |
| 45 | |
| 46 | .vk-blocks-format-popover { |
| 47 | // WP5.9でPopoverコンポーネントにpaddingがなくなったため |
| 48 | .components-popover__content > div { |
| 49 | padding: 20px 18px; |
| 50 | } |
| 51 | |
| 52 | // インライン文字サイズを再編集時に選択されたフォントサイズが黒バックの白抜きになるため |
| 53 | .components-toggle-group-control > div[data-active=true]=true] { |
| 54 | background: rgb(30, 30, 30); |
| 55 | border-radius: 2px; |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | .vk-block-editor-url-input-wrapper { |
| 60 | display: flex; |
| 61 | margin-bottom: 8px; |
| 62 | gap: 4px; |
| 63 | // URLInput が flex で� |
| 64 | を正しく計算できるようにする(検索窓の表示崩れ防止) |
| 65 | > *:first-child { |
| 66 | flex: 1; |
| 67 | min-width: 0; |
| 68 | } |
| 69 | } |
| 70 | |
| 71 | /*-------------------------------------------*/ |
| 72 | /* リンクツールバー(投稿へのリンク / URL指定) |
| 73 | /*-------------------------------------------*/ |
| 74 | .vk-block-editor-link-toolbar-popover { |
| 75 | min-width: 280px; |
| 76 | padding: 4px 0; |
| 77 | // URLInput(.block-editor-url-input)が flex � |
| 78 | で� |
| 79 | を正しく取るように |
| 80 | .block-editor-url-input { |
| 81 | min-width: 0; |
| 82 | flex: 1; |
| 83 | } |
| 84 | // リンクプレビュー:コアの __preview 系クラス・構造に合わせているため、コアの block-editor-link-control__preview 用CSSが使われる |
| 85 | // 当コンポーネントは Flex を使わないため、レイアウト用の flex と見た目の微調整をここで指定 |
| 86 | .block-editor-link-control__preview { |
| 87 | display: flex; |
| 88 | align-items: flex-start; |
| 89 | gap: 8px; |
| 90 | margin-bottom: 8px; |
| 91 | .block-editor-link-control__link-information { |
| 92 | display: flex; |
| 93 | justify-content: flex-start; |
| 94 | align-items: flex-start; |
| 95 | gap: 10px; |
| 96 | flex: 1; |
| 97 | min-width: 0; |
| 98 | } |
| 99 | .block-editor-link-control__preview-icon { |
| 100 | display: flex; |
| 101 | align-items: center; |
| 102 | justify-content: center; |
| 103 | flex-shrink: 0; |
| 104 | width: 32px; |
| 105 | height: 32px; |
| 106 | min-width: 32px; |
| 107 | svg { |
| 108 | width: 20px; |
| 109 | height: 20px; |
| 110 | } |
| 111 | } |
| 112 | .block-editor-link-control__preview-details { |
| 113 | display: flex; |
| 114 | flex-direction: column; |
| 115 | gap: 2px; |
| 116 | min-width: 0; |
| 117 | overflow: hidden; |
| 118 | } |
| 119 | .block-editor-link-control__preview-title, |
| 120 | .block-editor-link-control__preview-info { |
| 121 | overflow: hidden; |
| 122 | text-overflow: ellipsis; |
| 123 | white-space: nowrap; |
| 124 | } |
| 125 | } |
| 126 | } |
| 127 | |
| 128 | .vk-block-editor-link-destination-choice { |
| 129 | margin-bottom: 12px; |
| 130 | } |
| 131 | |
| 132 | /* セクション余白 */ |
| 133 | .vk-block-editor-link-toolbar-popover { |
| 134 | .vk-block-editor-link-toolbar-form { |
| 135 | display: flex; |
| 136 | flex-direction: column; |
| 137 | gap: 0; |
| 138 | } |
| 139 | .vk-block-editor-link-toolbar-section { |
| 140 | padding-top: 12px; |
| 141 | &:first-of-type { |
| 142 | padding-top: 0; |
| 143 | } |
| 144 | } |
| 145 | .vk-block-editor-link-toolbar-section-options { |
| 146 | display: flex; |
| 147 | flex-direction: column; |
| 148 | gap: 4px; |
| 149 | } |
| 150 | } |
| 151 | |
| 152 | /* URL指定時もツールバーアイコンを反転 */ |
| 153 | .vk-block-editor-link-toolbar-button.is-pressed { |
| 154 | background: var(--wp-admin-theme-color, #007cba); |
| 155 | color: #fff; |
| 156 | } |
| 157 | |
| 158 | /*-------------------------------------------*/ |
| 159 | /* カラムの方向が逆のラベル |
| 160 | /*-------------------------------------------*/ |
| 161 | .wp-block-columns { |
| 162 | &.is-vk-row-reverse { |
| 163 | border: 1px dashed #ccc !important; |
| 164 | left:0; |
| 165 | &:before { |
| 166 | position:absolute !important; |
| 167 | right:0; |
| 168 | top:0; |
| 169 | font-size:10px; |
| 170 | background: #eeeeee; |
| 171 | padding: .2em .6em; |
| 172 | z-index: 1000; |
| 173 | line-height: 1.2; |
| 174 | letter-spacing: 1px; |
| 175 | content: 'Reverse' !important; |
| 176 | } |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | /*-------------------------------------------*/ |
| 181 | /* サイドバーパネル� |
| 182 | Notice の下余白 |
| 183 | /* Notice コンポーネント自体にデフォルトの余白が無く、 |
| 184 | /* 直下のコントロールと接着してしまうため確保する |
| 185 | /*-------------------------------------------*/ |
| 186 | .editor-sidebar__panel .components-notice { |
| 187 | margin-bottom: 16px; |
| 188 | } |
| 189 | |
| 190 | @import "_variables"; |
| 191 | @import "../lib/bootstrap/scss/bootstrap-sidepanel.scss"; |
| 192 | |
| 193 | /* Pro版ブロック表示 */ |
| 194 | .vk_block_icon_pro { |
| 195 | fill: #c00; |
| 196 | } |
| 197 | |
| 198 | .block-editor-inserter__block-list { |
| 199 | .editor-block-list-item-vk-blocks-taxonomy:after, |
| 200 | .editor-block-list-item-vk-blocks-select-post-list:after, |
| 201 | .editor-block-list-item-vk-blocks-accordion:after, |
| 202 | .editor-block-list-item-vk-blocks-animation:after, |
| 203 | .editor-block-list-item-vk-blocks-archive-list:after, |
| 204 | .editor-block-list-item-vk-blocks-blog-card:after, |
| 205 | .editor-block-list-item-vk-blocks-blog-card-excerpt:after, |
| 206 | .editor-block-list-item-vk-blocks-blog-card-site-logo:after, |
| 207 | .editor-block-list-item-vk-blocks-blog-card-featured-image:after, |
| 208 | .editor-block-list-item-vk-blocks-blog-card-site-title:after, |
| 209 | .editor-block-list-item-vk-blocks-blog-card-title:after, |
| 210 | .editor-block-list-item-vk-blocks-breadcrumb:after, |
| 211 | .editor-block-list-item-vk-blocks-button-outer:after, |
| 212 | .editor-block-list-item-vk-blocks-card:after, |
| 213 | .editor-block-list-item-vk-blocks-child-page:after, |
| 214 | .editor-block-list-item-vk-blocks-post-category-badge\/category-badge:after, |
| 215 | [class*="editor-block-list-item-vk-blocks-post-category-badge"]*="editor-block-list-item-vk-blocks-post-category-badge""]:after, |
| 216 | .editor-block-list-item-vk-blocks-dynamic-text:after, |
| 217 | .editor-block-list-item-vk-blocks-timeline:after, |
| 218 | .editor-block-list-item-vk-blocks-step:after, |
| 219 | .editor-block-list-item-vk-blocks-outer:after, |
| 220 | .editor-block-list-item-vk-blocks-post-list:after, |
| 221 | .editor-block-list-item-vk-blocks-post-list-slider:after, |
| 222 | .editor-block-list-item-vk-blocks-post-new-badge\/new-badge:after, |
| 223 | .editor-block-list-item-vk-blocks-table-of-contents:after, |
| 224 | .editor-block-list-item-vk-blocks-table-of-contents-new:after, |
| 225 | .editor-block-list-item-vk-blocks-simple-table:after, |
| 226 | .editor-block-list-item-vk-blocks-grid-column:after, |
| 227 | .editor-block-list-item-vk-blocks-gridcolcard:after, |
| 228 | .editor-block-list-item-vk-blocks-icon-card:after, |
| 229 | .editor-block-list-item-vk-blocks-fixed-display:after, |
| 230 | .editor-block-list-item-vk-blocks-tab:after { |
| 231 | position: absolute; |
| 232 | top: 0; |
| 233 | right: 0; |
| 234 | content: "Pro"; |
| 235 | display: inline-block; |
| 236 | font-size: 10px; |
| 237 | line-height: 1; |
| 238 | color: #fff; |
| 239 | background-color: #cd3034; |
| 240 | border-radius: 2px; |
| 241 | padding: 3px 4px; |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | // ラベル名と説明の文字の太さも大きさも同じでわからないので太字に |
| 246 | .block-prop-title { |
| 247 | font-weight: bold; |
| 248 | } |
| 249 | |
| 250 | // パネルの文字サイズがテーマなどの影響を受けるので上書き |
| 251 | .components-panel { |
| 252 | h4 { |
| 253 | font-size:14px; |
| 254 | } |
| 255 | } |
| 256 | |
| 257 | // カードなどで文字位置のalignのツールバーが文字の右に回り込んでしまうため指定 |
| 258 | .components-panel__body .components-base-control__label { |
| 259 | display:block; |
| 260 | } |
| 261 | |
| 262 | /* ブロックの種類� |
| 263 | �れ替えトグルについて、この指定がないと見えてしまう */ |
| 264 | .components-button.block-editor-block-switcher__toggle { |
| 265 | overflow: hidden; |
| 266 | } |
| 267 | |
| 268 | /* スライダーを表示 : デフォルトだとbootstrapに非表示にされてしまう */ |
| 269 | input[type="range"]="range""] { |
| 270 | margin: 1px; |
| 271 | } |
| 272 | |
| 273 | // これがないとスタッフブロックや各種画像の外側のbuttonが高さを検出できない |
| 274 | button.image-button:not(.button-delete) { |
| 275 | height: 100%; |
| 276 | } |
| 277 | |
| 278 | .components-base-control { |
| 279 | // サイトエディタ で スライドアイテム などの設定パネルで画像がはみ出る不� |
| 280 | �合を修正 |
| 281 | img { |
| 282 | max-width: 100%; |
| 283 | } |
| 284 | // 独自に追加 |
| 285 | &__title { |
| 286 | padding-bottom: 3px; |
| 287 | border-bottom: 1px solid #ccc; |
| 288 | margin-bottom: 1em; |
| 289 | display: block; |
| 290 | } |
| 291 | &__label { |
| 292 | } |
| 293 | &__help { |
| 294 | margin-top: 0; |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | .components-radio-control__option label { |
| 299 | margin-bottom: 0; |
| 300 | } |
| 301 | .components-checkbox-control__label { |
| 302 | margin-bottom: 0; |
| 303 | } |
| 304 | .components-color-palette { |
| 305 | display: block; |
| 306 | overflow: hidden; |
| 307 | } |
| 308 | |
| 309 | .editor-url-input input[type="text"]="text""] { |
| 310 | width: 100%; |
| 311 | } |
| 312 | |
| 313 | // カラムなどのインサーター |
| 314 | @import "./editor_before_appender"; |
| 315 | |
| 316 | // ブロックテンプレートのサイドバー調整 |
| 317 | @import "./editor_before_template_inserter"; |
| 318 | // アイコンリスト |
| 319 | @import "./editor_before_icon_list"; |
| 320 | // 吹き出し画像読み込み |
| 321 | @import "./editor_before_balloon"; |
| 322 | // VKボタン |
| 323 | @import "./editor_before_button"; |
| 324 | // テーブル |
| 325 | @import "./editor_before_table"; |
| 326 | // 枠線ボックス |
| 327 | @import "./editor_before_border-box"; |
| 328 | // アイコン |
| 329 | @import "./editor_before_icon"; |
| 330 | // アイコン横並び |
| 331 | @import "./editor_before_icons"; |
| 332 | // ボタン横並び |
| 333 | @import "./editor_before_button-outer"; |
| 334 | // VK見出し |
| 335 | @import "./editor_before_vk-heading"; |
| 336 | // faq |
| 337 | @import "./editor_before_faq"; |
| 338 | // breadcrumb |
| 339 | @import "./editor_before_breadcrumb"; |
| 340 | // slider |
| 341 | @import "./editor_before_slider"; |
| 342 | // グリッドカラムカード |
| 343 | @import "./editor_before_gridcolcard"; |
| 344 | // edit custom css extension |
| 345 | @import "./editor_before_custom-css-extension"; |
| 346 | // edit custom block variation |
| 347 | @import "./editor_before_custom-block-variation"; |
| 348 | // archive-list |
| 349 | @import "./editor_before_archive-list"; |
| 350 | |
| 351 | // VK Outer & スライダーアイテム 編集パネル |
| 352 | $color-danger: #dd3333; |
| 353 | .vk_outer_sidebar_bgImage, |
| 354 | .vk_slider_item_sidebar_bgImage, |
| 355 | .vk_slider_item_sidebar_bgImage_button_container { |
| 356 | position: relative; |
| 357 | .components-button:not(.image-button), |
| 358 | .components-button-group { |
| 359 | position: absolute; |
| 360 | top: 50%; |
| 361 | left: 50%; |
| 362 | transform: translateY(-50%) translateX(-50%); |
| 363 | transition: all 1s; |
| 364 | } |
| 365 | .components-button-group { |
| 366 | display: grid; |
| 367 | place-items: center; |
| 368 | gap: .375rem; |
| 369 | opacity: 0; |
| 370 | transition: all 1s; |
| 371 | } |
| 372 | .button-delete { |
| 373 | border: 1px solid $color-danger; |
| 374 | color: $color-danger; |
| 375 | &:hover { |
| 376 | background-color: $color-danger; |
| 377 | border: 1px solid #b72a2a; |
| 378 | color: #fff; |
| 379 | } |
| 380 | } |
| 381 | &:hover .components-button-group { |
| 382 | transition: all 1s; |
| 383 | opacity: 1; |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | .vk_slider_item_sidebar_bgImage_button_container img { |
| 388 | min-width: 248px; |
| 389 | } |
| 390 | |
| 391 | // 背景画像をブロックツールバーから変更するためのポップオーバー |
| 392 | .vk-block-editor-bg-image-toolbar__popover { |
| 393 | // メディアライブラリ(.media-modal-backdrop: z-index 159900)より背面に� |
| 394 | �置し、 |
| 395 | // 「Select image / Replace Image」でモーダルを開いたときにポップオーバーが |
| 396 | // モーダルより手前に残らないようにする。core/cover の MediaReplaceFlow が |
| 397 | // 採用しているポップオーバーの z-index(99999)と同じ値。 |
| 398 | // .components-popover のデフォルト z-index(1000000)を上書きするため2クラスで指定。 |
| 399 | &.components-popover { |
| 400 | z-index: 99999; |
| 401 | } |
| 402 | .vk-block-editor-bg-image-toolbar__content { |
| 403 | width: 280px; |
| 404 | padding: 16px; |
| 405 | } |
| 406 | // 各デバイス(PC / タブレット / モバイル)の設定ブロックの間隔 |
| 407 | .vk-block-editor-bg-image-toolbar__field + .vk-block-editor-bg-image-toolbar__field { |
| 408 | margin-top: 16px; |
| 409 | } |
| 410 | .vk-block-editor-bg-image-toolbar__label { |
| 411 | margin: 0 0 6px; |
| 412 | font-weight: bold; |
| 413 | } |
| 414 | // プレビュー画像がポップオーバー� |
| 415 | を� |
| 416 | えないようにする |
| 417 | .icon-image { |
| 418 | max-width: 100%; |
| 419 | min-width: 0; |
| 420 | } |
| 421 | } |
| 422 | |
| 423 | .mb-2+div.components-toolbar{ |
| 424 | margin-top: 0!important; |
| 425 | } |
| 426 | |
| 427 | |
| 428 | /* editor area *********************************************/ |
| 429 | .editor-styles-wrapper, //サイトエディター用に追加 |
| 430 | // .edit-post-visual-editor, |
| 431 | .components-tab-panel__tab-content{ |
| 432 | |
| 433 | .vk_width-full div[data-type="vk-blocks/slider-item"]="vk-blocks/slider-item""]{ |
| 434 | max-width:100%; |
| 435 | .vk_slider_item-paddingLR-use, |
| 436 | .vk_slider_item-paddingLR-zero{ |
| 437 | // コンテンツエリアをはみ出させる |
| 438 | .wp-block { max-width:100%; } |
| 439 | } |
| 440 | } |
| 441 | |
| 442 | .is-sidebar-opened & .swiper-container.vk_slider.vk_width-full{ |
| 443 | // サイドバー表示時に� |
| 444 | �� |
| 445 | 要素がはみ出してサイドバーの下などに� |
| 446 | �り込むのを防止 |
| 447 | margin-left: calc( 50% - 50vw + 140px ); |
| 448 | margin-right: calc( 50% - 50vw + 140px ); |
| 449 | padding-right:0; |
| 450 | padding-left:0; |
| 451 | width: calc( 100vw - 280px ); |
| 452 | } |
| 453 | |
| 454 | |
| 455 | // 編集画面での識別用枠 |
| 456 | .vk_spacer, |
| 457 | .vk_slider, |
| 458 | .vk_slider_item, |
| 459 | .vk_animation, |
| 460 | .vk_fixed-display { |
| 461 | border:1px dotted #ccc; |
| 462 | } |
| 463 | |
| 464 | .vk_slider_item{ |
| 465 | min-height:3em; |
| 466 | .block-editor-inner-blocks{ |
| 467 | width: 100%; |
| 468 | } |
| 469 | } |
| 470 | |
| 471 | // 固定ページ本文ブロック |
| 472 | div[data-type="vk-blocks/page-content"]="vk-blocks/page-content""].is-selected{ |
| 473 | .vk_pageContent { |
| 474 | border:1px dotted #ccc; |
| 475 | opacity: 0.5; |
| 476 | } |
| 477 | .vk_pageContent_editBtn { |
| 478 | position: absolute; |
| 479 | z-index: 9999; |
| 480 | top:-3em; |
| 481 | right:0; |
| 482 | } |
| 483 | } |
| 484 | |
| 485 | // Outer編集用CSS |
| 486 | @import "./_editor_before_outer"; |
| 487 | |
| 488 | // 選択投稿リスト編集用CSS |
| 489 | @import "./_editor_before_select-post"; |
| 490 | |
| 491 | // アニメーションブロックの識別用枠線 |
| 492 | @import "./editor_before_animation"; |
| 493 | |
| 494 | // 固定表示ブロックの識別用枠線 |
| 495 | @import "./editor_before_fixed-display"; |
| 496 | |
| 497 | @import "./editor_before_tab"; |
| 498 | |
| 499 | // アイコンカードの見出しがテーマの見出し指定機能に負けるので上書き |
| 500 | @import "./editor_before_icon-card"; |
| 501 | |
| 502 | /* これがないとGutenberg標準のエディタCSSに負ける */ |
| 503 | h1:first-child.vk_prBlocks_item_title { |
| 504 | margin-top: 0.9em; |
| 505 | } |
| 506 | .vk_prContent_colTxt_title { |
| 507 | border: none; |
| 508 | &::after { |
| 509 | display: none; |
| 510 | } |
| 511 | } |
| 512 | |
| 513 | /* Bootstrap Adjuster */ |
| 514 | $border_primary: 1px solid #e5e5e5; |
| 515 | $color_font_default: #464646; |
| 516 | |
| 517 | // $xs etc. (including $xl) now come from src/utils/_breakpoints.scss (already loaded via @use in _editor_common_core.scss). |
| 518 | // $xs 等($xl を含む)は src/utils/_breakpoints.scss(_editor_common_core.scss で @use 済み)を利用する。 |
| 519 | |
| 520 | $color-danger: #b52727; |
| 521 | |
| 522 | /*-------------------------------------------*/ |
| 523 | /* card |
| 524 | /*-------------------------------------------*/ |
| 525 | |
| 526 | // Card ボタンリンクの説明 |
| 527 | .postList_itemCard_button-option { |
| 528 | margin-bottom: 5px; |
| 529 | } |
| 530 | |
| 531 | .vk_post_imgOuter { |
| 532 | position: relative; |
| 533 | .components-button { |
| 534 | position: absolute; |
| 535 | top: 50%; |
| 536 | left: 50%; |
| 537 | transform: translateY(-50%) translateX(-50%); |
| 538 | transition: all 1s; |
| 539 | } |
| 540 | .button-delete { |
| 541 | opacity: 0; |
| 542 | border: 1px solid $color-danger; |
| 543 | color: $color-danger; |
| 544 | transition: all 1s; |
| 545 | &:hover { |
| 546 | background-color: $color-danger; |
| 547 | color: #fff; |
| 548 | } |
| 549 | } |
| 550 | } |
| 551 | .vk_post_imgOuter:hover .button-delete { |
| 552 | transition: all 1s; |
| 553 | opacity: 1; |
| 554 | } |
| 555 | |
| 556 | /*-------------------------------------------*/ |
| 557 | /* .vk_posts |
| 558 | /*-------------------------------------------*/ |
| 559 | @import "./editor_before_vk-posts"; |
| 560 | |
| 561 | /*-------------------------------------------*/ |
| 562 | /* .vk_grid-column Layout |
| 563 | /*-------------------------------------------*/ |
| 564 | @import "./editor_before_grid-column"; |
| 565 | |
| 566 | /*-------------------------------------------*/ |
| 567 | /* core/navigation Show menu item description |
| 568 | /*-------------------------------------------*/ |
| 569 | @import "./editor_before_navigation"; |
| 570 | |
| 571 | /*-------------------------------------------*/ |
| 572 | /* edit hidden block class |
| 573 | /*-------------------------------------------*/ |
| 574 | .vk_edit_hidden_warning { |
| 575 | // border:1px dotted #666; |
| 576 | opacity: 0.4 !important; |
| 577 | } |
| 578 | .vk_edit_hidden_all { |
| 579 | opacity: 0.2 !important; |
| 580 | } |
| 581 | |
| 582 | .vk_icon-card_item_title {//Added not to decorate |
| 583 | background-color: transparent; |
| 584 | margin-top: 0.9em; |
| 585 | margin-bottom: 0.6em; |
| 586 | font-size: 21px; |
| 587 | line-height: 1.4em; |
| 588 | border: none; |
| 589 | border-radius:unset; |
| 590 | padding: 0; |
| 591 | outline: unset; |
| 592 | outline-offset: unset; |
| 593 | box-shadow: unset; |
| 594 | color: inherit; |
| 595 | display: block; |
| 596 | &::before { |
| 597 | content: none; |
| 598 | } |
| 599 | &::after { |
| 600 | border: none; |
| 601 | } |
| 602 | } |
| 603 | |
| 604 | .wp-block.vk_prBlocks, |
| 605 | .wp-block.vk_posts { |
| 606 | margin-left: auto; |
| 607 | margin-right: auto; |
| 608 | } |
| 609 | |
| 610 | .vk_tableOfContents_openCloseBtn { |
| 611 | display: block; |
| 612 | } |
| 613 | |
| 614 | /* 固定ページブロック調整用 */ |
| 615 | .vk_pageContent { |
| 616 | .vk_buttons > .vk_buttons_col, |
| 617 | .vk_icons > .vk_icons_col { |
| 618 | display: flex; |
| 619 | margin-left: -8px; |
| 620 | } |
| 621 | } |
| 622 | |
| 623 | /* .vk_hidden.vk_hidden は2つじゃないと上書きできない */ |
| 624 | .vk_hidden { |
| 625 | display: block !important; |
| 626 | color: var(--blue); |
| 627 | |
| 628 | &.vk_balloon, |
| 629 | &.vk_posts{ |
| 630 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 631 | display: flex !important; |
| 632 | } |
| 633 | @media (width < $xs) { |
| 634 | &-xs { |
| 635 | display: block !important; |
| 636 | |
| 637 | &.vk_balloon, |
| 638 | &.vk_posts{ |
| 639 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 640 | display: flex !important; |
| 641 | } |
| 642 | } |
| 643 | } |
| 644 | @media ($xs <= width < $sm) { |
| 645 | &-sm { |
| 646 | display: block !important; |
| 647 | |
| 648 | &.vk_balloon, |
| 649 | &.vk_posts{ |
| 650 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 651 | display: flex !important; |
| 652 | } |
| 653 | } |
| 654 | } |
| 655 | @media ($sm <= width < $md) { |
| 656 | &-md { |
| 657 | display: block !important; |
| 658 | |
| 659 | &.vk_balloon, |
| 660 | &.vk_posts{ |
| 661 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 662 | display: flex !important; |
| 663 | } |
| 664 | } |
| 665 | } |
| 666 | @media ($md <= width < $lg) { |
| 667 | &-lg { |
| 668 | display: block !important; |
| 669 | |
| 670 | &.vk_balloon, |
| 671 | &.vk_posts{ |
| 672 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 673 | display: flex !important; |
| 674 | } |
| 675 | } |
| 676 | } |
| 677 | @media (width >= $lg) { |
| 678 | &-xl { |
| 679 | display: block !important; |
| 680 | &.vk_posts{ |
| 681 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 682 | display: flex !important; |
| 683 | } |
| 684 | } |
| 685 | } |
| 686 | @media (width >= $xl) { |
| 687 | &-xxl { |
| 688 | display: block !important; |
| 689 | |
| 690 | &.vk_balloon, |
| 691 | &.vk_posts{ |
| 692 | // display block だとカラムがすべて落ちるため posts と balloon は flexで上書き |
| 693 | display: flex !important; |
| 694 | } |
| 695 | } |
| 696 | } |
| 697 | } |
| 698 | } |
| 699 | |
| 700 | @import "./editor_after_admin_sidebar.scss"; |