1 line
15 KiB
CSS
1 line
15 KiB
CSS
.wc-products-block-preview.grid{overflow:hidden}.wc-products-block-preview.grid .product-preview{float:left;text-align:center;margin-right:3.8%}.wc-products-block-preview.grid.cols-1 .product-preview{float:none;margin-right:0}.wc-products-block-preview.grid.cols-2 .product-preview{width:48%}.wc-products-block-preview.grid.cols-2 .product-preview:nth-of-type(2n){margin-right:0}.wc-products-block-preview.grid.cols-3 .product-preview{width:30.75%}.wc-products-block-preview.grid.cols-3 .product-preview:nth-of-type(3n){margin-right:0}.wc-products-block-preview.grid.cols-4 .product-preview{width:22.05%}.wc-products-block-preview.grid.cols-4 .product-preview:nth-of-type(4n){margin-right:0}.wc-products-block-preview.grid.cols-5 .product-preview{width:16.9%}.wc-products-block-preview.grid.cols-5 .product-preview:nth-of-type(5n){margin-right:0}.wc-products-block-preview.list .product-preview{overflow:hidden}.wc-products-block-preview.list img{float:left;width:50%;margin-right:2em;margin-bottom:2em}.wc-products-block-preview .product-add-to-cart{background:gray;border-radius:10px;color:#fff;cursor:pointer;padding:.5em 1em;line-height:3em}.wc-product-display-settings{background-color:#f8f9f9;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:13px;padding:1em;min-height:200px;position:relative}.wc-product-display-settings>h4{text-align:center}.wc-product-display-settings .wc-products-display-option{background-color:#fff;padding:1.5em;box-sizing:border-box;border:1px solid gray;width:80%;margin-left:auto;margin-right:auto}.wc-product-display-settings .wc-products-display-option h4{margin:0;font-size:1.25em}.wc-product-display-settings .wc-products-display-option p{margin:0}.wc-product-display-settings .wc-products-display-option.value-attribute,.wc-product-display-settings .wc-products-display-option.value-best_rated,.wc-product-display-settings .wc-products-display-option.value-best_sellers,.wc-product-display-settings .wc-products-display-option.value-featured,.wc-product-display-settings .wc-products-display-option.value-on_sale{display:none}.wc-product-display-settings.expanded-group-filter .wc-products-display-option.value-attribute,.wc-product-display-settings.expanded-group-filter .wc-products-display-option.value-best_rated,.wc-product-display-settings.expanded-group-filter .wc-products-display-option.value-best_sellers,.wc-product-display-settings.expanded-group-filter .wc-products-display-option.value-featured,.wc-product-display-settings.expanded-group-filter .wc-products-display-option.value-on_sale{display:block}.wc-product-display-settings .display-settings-container.existing{right:0;position:absolute;width:80%;z-index:999}.wc-product-display-settings .display-settings-container.existing .wc-products-display-option{margin-right:0}.wc-product-display-settings .settings-heading{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.wc-product-display-settings .display-select{margin:0 -1em 20px;padding-bottom:20px;border-bottom:1px solid #e6eaee;text-align:center}.wc-product-display-settings .display-select select{margin-left:1em}.wc-product-display-settings .product-attribute-select,.wc-product-display-settings .product-category-select{margin:0 auto;position:relative;overflow:hidden}.wc-product-display-settings .product-attribute-select #product-attribute-search,.wc-product-display-settings .product-attribute-select #product-category-search,.wc-product-display-settings .product-category-select #product-attribute-search,.wc-product-display-settings .product-category-select #product-category-search{width:100%;margin:0 0 10px;padding:10px 15px;border-radius:0;border-color:#e6eaee}.wc-product-display-settings .product-attribute-select .product-attributes-list,.wc-product-display-settings .product-attribute-select .product-categories-list,.wc-product-display-settings .product-category-select .product-attributes-list,.wc-product-display-settings .product-category-select .product-categories-list{height:200px;overflow-y:scroll}.wc-product-display-settings .product-attribute-select .product-attributes-list ul,.wc-product-display-settings .product-attribute-select .product-categories-list ul,.wc-product-display-settings .product-category-select .product-attributes-list ul,.wc-product-display-settings .product-category-select .product-categories-list ul{list-style-type:none}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li,.wc-product-display-settings .product-attribute-select .product-categories-list ul li,.wc-product-display-settings .product-category-select .product-attributes-list ul li,.wc-product-display-settings .product-category-select .product-categories-list ul li{margin:0}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li label,.wc-product-display-settings .product-attribute-select .product-categories-list ul li label,.wc-product-display-settings .product-category-select .product-attributes-list ul li label,.wc-product-display-settings .product-category-select .product-categories-list ul li label{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li input[type=checkbox],.wc-product-display-settings .product-attribute-select .product-categories-list ul li input[type=checkbox],.wc-product-display-settings .product-category-select .product-attributes-list ul li input[type=checkbox],.wc-product-display-settings .product-category-select .product-categories-list ul li input[type=checkbox]{margin-top:0;margin-right:8px;border-radius:0}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li ul,.wc-product-display-settings .product-attribute-select .product-categories-list ul li ul,.wc-product-display-settings .product-category-select .product-attributes-list ul li ul,.wc-product-display-settings .product-category-select .product-categories-list ul li ul{display:none;padding:8px 45px 8px 40px;border-top:1px solid #e6eaee}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li ul li,.wc-product-display-settings .product-attribute-select .product-categories-list ul li ul li,.wc-product-display-settings .product-category-select .product-attributes-list ul li ul li,.wc-product-display-settings .product-category-select .product-categories-list ul li ul li{margin:5px 0}.wc-product-display-settings .product-attribute-select .product-attributes-list ul li ul li ul,.wc-product-display-settings .product-attribute-select .product-categories-list ul li ul li ul,.wc-product-display-settings .product-category-select .product-attributes-list ul li ul li ul,.wc-product-display-settings .product-category-select .product-categories-list ul li ul li ul{padding:0 0 0 25px}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul,.wc-product-display-settings .product-attribute-select .product-categories-list>ul,.wc-product-display-settings .product-category-select .product-attributes-list>ul,.wc-product-display-settings .product-category-select .product-categories-list>ul{margin-top:1px;padding:0 0 15px}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul>li,.wc-product-display-settings .product-attribute-select .product-categories-list>ul>li,.wc-product-display-settings .product-category-select .product-attributes-list>ul>li,.wc-product-display-settings .product-category-select .product-categories-list>ul>li{background:#fdfdfd;border:1px solid #e6eaee;margin-top:-1px}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul>li>label,.wc-product-display-settings .product-attribute-select .product-categories-list>ul>li>label,.wc-product-display-settings .product-category-select .product-attributes-list>ul>li>label,.wc-product-display-settings .product-category-select .product-categories-list>ul>li>label{padding:10px 0 10px 15px;background:#fff}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul>li.product-category-accordion-open,.wc-product-display-settings .product-attribute-select .product-categories-list>ul>li.product-category-accordion-open,.wc-product-display-settings .product-category-select .product-attributes-list>ul>li.product-category-accordion-open,.wc-product-display-settings .product-category-select .product-categories-list>ul>li.product-category-accordion-open{margin:-1px 0 5px;border-bottom-width:1px}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul>li.product-category-accordion-open:not(:first-child),.wc-product-display-settings .product-attribute-select .product-categories-list>ul>li.product-category-accordion-open:not(:first-child),.wc-product-display-settings .product-category-select .product-attributes-list>ul>li.product-category-accordion-open:not(:first-child),.wc-product-display-settings .product-category-select .product-categories-list>ul>li.product-category-accordion-open:not(:first-child){margin-top:5px}.wc-product-display-settings .product-attribute-select .product-attributes-list>ul>li.product-category-accordion-open ul,.wc-product-display-settings .product-attribute-select .product-categories-list>ul>li.product-category-accordion-open ul,.wc-product-display-settings .product-category-select .product-attributes-list>ul>li.product-category-accordion-open ul,.wc-product-display-settings .product-category-select .product-categories-list>ul>li.product-category-accordion-open ul{display:block}.wc-product-display-settings .product-attribute-select .product-attributes-list .product-category-accordion-toggle,.wc-product-display-settings .product-attribute-select .product-categories-list .product-category-accordion-toggle,.wc-product-display-settings .product-category-select .product-attributes-list .product-category-accordion-toggle,.wc-product-display-settings .product-category-select .product-categories-list .product-category-accordion-toggle{cursor:pointer;color:#666;margin:0;padding:0 15px 0 10px;border:none;border-radius:0;background:0 0;outline:0;text-decoration:none}.wc-product-display-settings .product-attribute-select .product-attributes-list .product-attribute-count,.wc-product-display-settings .product-attribute-select .product-attributes-list .product-category-count,.wc-product-display-settings .product-attribute-select .product-categories-list .product-attribute-count,.wc-product-display-settings .product-attribute-select .product-categories-list .product-category-count,.wc-product-display-settings .product-category-select .product-attributes-list .product-attribute-count,.wc-product-display-settings .product-category-select .product-attributes-list .product-category-count,.wc-product-display-settings .product-category-select .product-categories-list .product-attribute-count,.wc-product-display-settings .product-category-select .product-categories-list .product-category-count{padding:0 10px;border:1px solid #e9e9e9;border-radius:15px;color:#aaa;font-size:.8em;margin-left:auto}.wc-product-display-settings .product-attribute-select .product-attributes-list .product-attribute,.wc-product-display-settings .product-attribute-select .product-categories-list .product-attribute,.wc-product-display-settings .product-category-select .product-attributes-list .product-attribute,.wc-product-display-settings .product-category-select .product-categories-list .product-attribute{border:1px solid #e9e9e9}.wc-product-display-settings .product-attribute-select .product-attributes-list .product-attribute .product-attribute-name,.wc-product-display-settings .product-attribute-select .product-categories-list .product-attribute .product-attribute-name,.wc-product-display-settings .product-category-select .product-attributes-list .product-attribute .product-attribute-name,.wc-product-display-settings .product-category-select .product-categories-list .product-attribute .product-attribute-name{padding:.5em;background:#fff;border-bottom:1px solid #e9e9e9}.wc-product-display-settings .product-attribute-select .product-attributes-list .product-attribute .product-attribute-name .product-attribute-count,.wc-product-display-settings .product-attribute-select .product-categories-list .product-attribute .product-attribute-name .product-attribute-count,.wc-product-display-settings .product-category-select .product-attributes-list .product-attribute .product-attribute-name .product-attribute-count,.wc-product-display-settings .product-category-select .product-categories-list .product-attribute .product-attribute-name .product-attribute-count{float:right}.wc-product-display-settings .product-attribute-select input[type=radio],.wc-product-display-settings .product-category-select input[type=radio]{border-radius:10px}.wc-product-display-settings .product-attribute-select:after,.wc-product-display-settings .product-category-select:after{content:'';position:absolute;bottom:0;width:100%;height:1.5em;background:-webkit-linear-gradient(rgba(255,255,255,.1) 0,#f8f9f9 100%);background:linear-gradient(rgba(255,255,255,.1) 0,#f8f9f9 100%)}.wc-product-display-settings .product-specific-select{margin:0 auto;position:relative}.wc-product-display-settings .product-specific-select input[type=text]{width:100%;padding-right:3em}.wc-product-display-settings .product-specific-select .cancel{position:absolute;top:.5em;right:1em;cursor:pointer}.wc-product-display-settings .product-specific-select button{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;width:100%;background-color:#fff;border:1px solid #e6eaee;text-align:left;padding:.5em}.wc-product-display-settings .product-specific-select button img{padding-top:.5em}.wc-product-display-settings .product-specific-select button a{line-height:3em;margin-right:.5em}.wc-product-display-settings .product-specific-select button .product-name{line-height:3em;width:300px;white-space:nowrap;overflow:hidden}.wc-product-display-settings .product-specific-select ul{list-style-type:none}.wc-product-display-settings .product-specific-select li{margin:0}.wc-product-display-settings .product-specific-select .product-search-results{position:absolute;width:100%;z-index:999}.wc-product-display-settings .product-specific-select .selected-products{margin-top:1em;margin-bottom:1em}.wc-product-display-settings .block-footer{margin:0 -1em;padding-top:1em;border-top:1px solid #e6eaee;text-align:center}.wc-product-display-settings .block-footer .button{padding-left:25px;padding-right:25px}.wc-product-display-settings .display-select+.block-footer{padding-top:0;border:0}.wc-product-display-settings input[type=checkbox]:indeterminate:before{content:'';display:inline-block;margin:6px 0 0 0;width:8px;height:2px;background:#1e8cbe}@media only screen and (min-width:700px){.wc-product-display-settings .product-specific-select{width:400px}.wc-product-display-settings .product-category-select{width:400px}.wc-product-display-settings .product-category-select .product-categories-list{width:440px}.wc-product-display-settings .product-category-select .product-categories-list>ul{width:400px}} |