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.

84 lines
1.9 KiB

1 year ago
  1. .editor-styles-wrapper .wp-block-cover{
  2. box-sizing:border-box;
  3. }
  4. .wp-block-cover.is-placeholder{
  5. align-items:stretch;
  6. display:flex;
  7. min-height:240px;
  8. padding:0 !important;
  9. }
  10. .wp-block-cover.is-placeholder .components-placeholder.is-large{
  11. justify-content:flex-start;
  12. z-index:1;
  13. }
  14. .wp-block-cover.is-placeholder:focus:after{
  15. min-height:auto;
  16. }
  17. .wp-block-cover.components-placeholder h2{
  18. color:inherit;
  19. }
  20. .wp-block-cover.is-transient:before{
  21. background-color:#fff;
  22. opacity:.3;
  23. }
  24. .wp-block-cover .components-spinner{
  25. margin:0;
  26. position:absolute;
  27. right:50%;
  28. top:50%;
  29. transform:translate(50%, -50%);
  30. z-index:1;
  31. }
  32. .wp-block-cover .wp-block-cover__inner-container{
  33. margin-left:0;
  34. margin-right:0;
  35. text-align:right;
  36. }
  37. .wp-block-cover .wp-block-cover__placeholder-background-options{
  38. width:100%;
  39. }
  40. .wp-block-cover .wp-block-cover__image--placeholder-image{
  41. bottom:0;
  42. left:0;
  43. position:absolute;
  44. right:0;
  45. top:0;
  46. }
  47. [data-align=left]>.wp-block-cover,[data-align=right]>.wp-block-cover{
  48. max-width:420px;
  49. width:100%;
  50. }
  51. .block-library-cover__reset-button{
  52. margin-right:auto;
  53. }
  54. .block-library-cover__resize-container{
  55. bottom:0;
  56. left:0;
  57. min-height:50px;
  58. position:absolute !important;
  59. right:0;
  60. top:0;
  61. }
  62. .components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .block-library-cover__resize-container,.components-popover.block-editor-block-popover.block-library-cover__resizable-box-popover .components-popover__content>div{
  63. overflow:visible;
  64. pointer-events:none;
  65. }
  66. .wp-block-cover>.components-drop-zone .components-drop-zone__content{
  67. opacity:.8 !important;
  68. }
  69. .block-editor-block-patterns-list__list-item .has-parallax.wp-block-cover{
  70. background-attachment:scroll;
  71. }
  72. .color-block-support-panel__inner-wrapper>:not(.block-editor-tools-panel-color-gradient-settings__item){
  73. margin-top:24px;
  74. }
  75. .wp-block-cover:after{
  76. min-height:auto;
  77. }