You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
2.7 KiB

1 year ago
  1. .wp-block-group .block-editor-block-list__insertion-point{
  2. left:0;
  3. right:0;
  4. }
  5. [data-type="core/group"].is-selected .block-list-appender{
  6. margin-left:0;
  7. margin-right:0;
  8. }
  9. [data-type="core/group"].is-selected .has-background .block-list-appender{
  10. margin-bottom:18px;
  11. margin-top:18px;
  12. }
  13. .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child{
  14. gap:inherit;
  15. pointer-events:none;
  16. }
  17. .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-default-block-appender__content,.wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
  18. display:inherit;
  19. flex:1;
  20. flex-direction:inherit;
  21. width:100%;
  22. }
  23. .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after{
  24. border:1px dashed;
  25. border-radius:2px;
  26. content:"";
  27. display:flex;
  28. flex:1 0 48px;
  29. min-height:46px;
  30. pointer-events:none;
  31. }
  32. .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child:after:before{
  33. background:currentColor;
  34. bottom:0;
  35. content:"";
  36. left:0;
  37. opacity:.1;
  38. pointer-events:none;
  39. position:absolute;
  40. right:0;
  41. top:0;
  42. }
  43. .wp-block-group.is-layout-flex.block-editor-block-list__block>.block-list-appender:only-child .block-editor-inserter{
  44. pointer-events:all;
  45. }
  46. .wp-block-group__placeholder .wp-block-group-placeholder__variations{
  47. display:flex;
  48. flex-direction:row;
  49. flex-wrap:wrap;
  50. justify-content:center;
  51. list-style:none;
  52. margin:0;
  53. padding:0;
  54. width:100%;
  55. }
  56. .wp-block-group__placeholder .components-placeholder__instructions{
  57. margin-bottom:18px;
  58. text-align:center;
  59. }
  60. .wp-block-group__placeholder .wp-block-group-placeholder__variations svg{
  61. fill:#ccc !important;
  62. }
  63. .wp-block-group__placeholder .wp-block-group-placeholder__variations svg:hover{
  64. fill:var(--wp-admin-theme-color) !important;
  65. }
  66. .wp-block-group__placeholder .wp-block-group-placeholder__variations>li{
  67. align-items:center;
  68. display:flex;
  69. flex-direction:column;
  70. margin:0 12px 12px;
  71. width:auto;
  72. }
  73. .wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button{
  74. height:32px;
  75. padding:0;
  76. width:44px;
  77. }
  78. .wp-block-group__placeholder .wp-block-group-placeholder__variations li>.wp-block-group-placeholder__variation-button:hover{
  79. box-shadow:none;
  80. }
  81. .wp-block-group__placeholder .components-placeholder{
  82. min-height:auto;
  83. padding:24px;
  84. }
  85. .wp-block-group__placeholder .is-medium .wp-block-group-placeholder__variations>li,.wp-block-group__placeholder .is-small .wp-block-group-placeholder__variations>li{
  86. margin:12px;
  87. }