Server IP : 104.21.14.103 / Your IP : 3.15.4.251 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /proc/self/root/proc/self/cwd/wp-content/plugins/woocommerce/packages/woocommerce-blocks/assets/css/ |
Upload File : |
// Import the woocommerce components stylesheet @import "~@woocommerce/components/build-style/style.css"; // Hack to hide preview overflow. .editor-block-preview__content { overflow: hidden; } // Align the block icons in edit mode .components-placeholder__label .gridicon, .components-placeholder__label .material-icon { margin-right: 1ch; fill: currentColor; } // Remove the list styling, which is added back by core GB styles. .editor-styles-wrapper { .wc-block-grid { .wc-block-grid__products { list-style: none; margin: 0 (-$gap/2) $gap; .wc-block-grid__product { margin: 0 0 $gap-large 0; } } &.components-placeholder { padding: 2em 1em; } &.is-loading, &.is-not-found { display: block; } } } // Style inline notices in the inspector. .components-base-control { + .wc-block-base-control-notice { margin: -$gap 0 $gap; } & + .wc-block-base-control-notice:last-child { margin: -$gap 0 $gap-small; } } // Adds border to placeholder lists, so they can be distinguished from the white background. .components-placeholder .woocommerce-search-list__list { border: 1px solid $core-grey-light-500; } // Work-around to make the SearchList component work fine with the last versions of @wordpress/components. // Ideally it should be possible to remove this once this issue is fixed in WC Admin: // https://github.com/woocommerce/woocommerce-admin/issues/4349 .components-placeholder .woocommerce-search-list__list .woocommerce-search-list__item { border-radius: 0; height: auto; text-align: left; }