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