summaryrefslogtreecommitdiffstats
path: root/wp-includes/blocks/spacer/editor-rtl.css
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/blocks/spacer/editor-rtl.css')
-rw-r--r--wp-includes/blocks/spacer/editor-rtl.css31
1 files changed, 31 insertions, 0 deletions
diff --git a/wp-includes/blocks/spacer/editor-rtl.css b/wp-includes/blocks/spacer/editor-rtl.css
new file mode 100644
index 0000000..6602e84
--- /dev/null
+++ b/wp-includes/blocks/spacer/editor-rtl.css
@@ -0,0 +1,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;
+} \ No newline at end of file