summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/spacer/editor.css
blob: 6602e84df95e547034096e00b8b15786868bbd83 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
.block-editor-block-list__block[data-type="core/spacer"]:before{
  content:"";
  display:block;
  height:100%;
  min-height:8px;
  min-width:8px;
  position:absolute;
  width:100%;
  z-index:1;
}

.block-library-spacer__resize-container.has-show-handle,.wp-block-spacer.is-hovered .block-library-spacer__resize-container,.wp-block-spacer.is-selected.custom-sizes-disabled{
  background:rgba(0,0,0,.1);
}
.is-dark-theme .block-library-spacer__resize-container.has-show-handle,.is-dark-theme .wp-block-spacer.is-hovered .block-library-spacer__resize-container,.is-dark-theme .wp-block-spacer.is-selected.custom-sizes-disabled{
  background:hsla(0,0%,100%,.15);
}

.block-library-spacer__resize-container{
  clear:both;
}
.block-library-spacer__resize-container:not(.is-resizing){
  height:100% !important;
  width:100% !important;
}
.block-library-spacer__resize-container .components-resizable-box__handle:before{
  content:none;
}
.block-library-spacer__resize-container.resize-horizontal{
  margin-bottom:0;
}