Commit d350b5e9 authored by sabwqphz's avatar sabwqphz

4 товара в ряд

parent ecbfc48f
{"version":3,"sources":["styles/_layout.scss","styles/_main.scss"],"names":[],"mappings":"AAAA;EACE;IAEI,qBAAa;IAAb,qBAAa;IAAb,cAAa;IACb,oBAAe;IAAf,gBAAe;IACf,2BAAoB;IAApB,wBAAoB;IAApB,qBAAoB,EAcrB;IAlBH;MAOM,qBAAa;MAAb,qBAAa;MAAb,cAAa;MACb,6BAAsB;MAAtB,8BAAsB;MAAtB,2BAAsB;MAAtB,uBAAsB;MACtB,0BAA8B;MAA9B,uBAA8B;MAA9B,+BAA8B;MAC9B,mBAAkB;MAClB,mBAAkB;MAClB,WAAU,EAKX;MAjBL;QAeQ,YAAW,EACZ,EAAA;;ACjBT;;EAIM,mBAAkB;EAClB,mBAAkB,EACnB;;AAIL;EAEI,0BAAyB;EACzB,wCAA+B;EAA/B,gCAA+B,EAChC;;AAJH;EAQI,YAAW;EACX,sBAAqB,EAWtB;EApBH;IAcM,sBAAqB,EAKtB;IAnBL;MAYQ,eAAc,EACf;IAbP;MAgBQ,0BAAyB;MACzB,wCAA+B;MAA/B,gCAA+B,EAChC;;AAlBP;EAsBI,eAAc;EACd,iBAAgB,EACjB;;AAxBH;EA0BI,iBAAgB;EAChB,YAAW;EACX,iBAAgB,EACjB;;AA7BH;EA+BI,aAAY,EAKb;EApCH;IAiCM,UAAS;IACT,iBAAgB,EACjB;;AAnCL;EAsCI,aAAY;EACZ,kBAAiB,EAClB","file":"../product_commerce_styles.css","sourcesContent":["@media screen and (min-width: 674px) {\n .view-products-commerce {\n > .view-content {\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n > div {\n //float: left;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 2em;\n text-align: center;\n width: 20%;\n\n &:nth-child(5n+1) {\n clear: left;\n }\n }\n }\n }\n}\n",".products--grid,\n.view-categories {\n > .view-content {\n .views-row {\n margin-bottom: 2em;\n text-align: center;\n }\n }\n}\n\n.commerce-product {\n .image-style-product-in-card {\n border: 1px solid #e1e1e1;\n box-shadow: 1px 1px 3px #000000;\n }\n .field--name-body {\n }\n .field--name-field-product-images {\n float: left;\n margin: 0 20px 20px 0;\n .field__item {\n &:first-child {\n display: block;\n }\n display: inline-block;\n img {\n border: 1px solid #e1e1e1;\n box-shadow: 1px 1px 3px #000000;\n }\n }\n }\n .field--name-field-product-price {\n margin: 40px 0;\n font-size: 1.8em;\n }\n .field--name-price {\n font-size: 1.4em;\n float: left;\n padding-top: 5px;\n }\n .field--name-variations {\n float: right;\n .form-actions {\n margin: 0;\n font-size: 1.3em;\n }\n }\n .field--name-body {\n clear: right;\n padding-top: 20px;\n }\n}\n"]}
\ No newline at end of file
{"version":3,"sources":["styles/_layout.scss","styles/_main.scss"],"names":[],"mappings":"AAAA;EACE;IAEI,qBAAa;IAAb,qBAAa;IAAb,cAAa;IACb,oBAAe;IAAf,gBAAe;IACf,2BAAoB;IAApB,wBAAoB;IAApB,qBAAoB,EAcrB;IAlBH;MAOM,qBAAa;MAAb,qBAAa;MAAb,cAAa;MACb,6BAAsB;MAAtB,8BAAsB;MAAtB,2BAAsB;MAAtB,uBAAsB;MACtB,0BAA8B;MAA9B,uBAA8B;MAA9B,+BAA8B;MAC9B,mBAAkB;MAClB,mBAAkB;MAClB,WAAU,EAKX;MAjBL;QAeQ,YAAW,EACZ,EAAA;;ACjBT;;EAIM,mBAAkB;EAClB,mBAAkB,EACnB;;AAIL;EAEI,0BAAyB;EACzB,wCAA+B;EAA/B,gCAA+B,EAChC;;AAJH;EAQI,YAAW;EACX,sBAAqB,EAWtB;EApBH;IAcM,sBAAqB,EAKtB;IAnBL;MAYQ,eAAc,EACf;IAbP;MAgBQ,0BAAyB;MACzB,wCAA+B;MAA/B,gCAA+B,EAChC;;AAlBP;EAsBI,eAAc;EACd,iBAAgB,EACjB;;AAxBH;EA0BI,iBAAgB;EAChB,YAAW;EACX,iBAAgB,EACjB;;AA7BH;EA+BI,aAAY,EAKb;EApCH;IAiCM,UAAS;IACT,iBAAgB,EACjB;;AAnCL;EAsCI,aAAY;EACZ,kBAAiB,EAClB","file":"../product_commerce_styles.css","sourcesContent":["@media screen and (min-width: 674px) {\n .view-products-commerce {\n > .view-content {\n display: flex;\n flex-wrap: wrap;\n align-items: stretch;\n > div {\n //float: left;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n margin-bottom: 2em;\n text-align: center;\n width: 25%;\n\n &:nth-child(4n+1) {\n clear: left;\n }\n }\n }\n }\n}\n",".products--grid,\n.view-categories {\n > .view-content {\n .views-row {\n margin-bottom: 2em;\n text-align: center;\n }\n }\n}\n\n.commerce-product {\n .image-style-product-in-card {\n border: 1px solid #e1e1e1;\n box-shadow: 1px 1px 3px #000000;\n }\n .field--name-body {\n }\n .field--name-field-product-images {\n float: left;\n margin: 0 20px 20px 0;\n .field__item {\n &:first-child {\n display: block;\n }\n display: inline-block;\n img {\n border: 1px solid #e1e1e1;\n box-shadow: 1px 1px 3px #000000;\n }\n }\n }\n .field--name-field-product-price {\n margin: 40px 0;\n font-size: 1.8em;\n }\n .field--name-price {\n font-size: 1.4em;\n float: left;\n padding-top: 5px;\n }\n .field--name-variations {\n float: right;\n .form-actions {\n margin: 0;\n font-size: 1.3em;\n }\n }\n .field--name-body {\n clear: right;\n padding-top: 20px;\n }\n}\n"]}
\ No newline at end of file
......@@ -21,8 +21,8 @@
justify-content: space-between;
margin-bottom: 2em;
text-align: center;
width: 20%; }
.view-products-commerce > .view-content > div:nth-child(5n+1) {
width: 25%; }
.view-products-commerce > .view-content > div:nth-child(4n+1) {
clear: left; } }
.products--grid > .view-content .views-row,
......
@import "susy";
@import "styles/variables";
@import "styles/layout";
@import "styles/main";
......@@ -11,9 +11,9 @@
justify-content: space-between;
margin-bottom: 2em;
text-align: center;
width: 20%;
width: 25%;
&:nth-child(5n+1) {
&:nth-child(4n+1) {
clear: left;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment