WIP product modals for shopfront

This commit is contained in:
summerscope
2015-03-13 15:34:11 +11:00
parent c8c07ed700
commit bce64a1ead
2 changed files with 30 additions and 5 deletions

View File

@@ -1,9 +1,28 @@
.row
.columns.small-12.large-6.product-header
%h2 {{product.name}}
%span
%em from
%span.avenir {{ enterprise.name }}
.filter-box.taxon-selectors
%div{ objects: "[product] | taxonsOf"}
%hr
.filter-box.property-selectors
%single-line-selectors{ objects: "[product] | propertiesOf"}
/ %render-svg{path: "{{product.primary_taxon.icon}}"}
%div{"ng-if" => "product.description"}
%hr
.text-small {{product.description}}
%hr
.columns.small-12.large-6
%img.product-img{"ng-src" => "{{product.largeImage}}", "ng-if" => "product.largeImage"}
.columns.small-12.large-6.product-header
%h2
/ %render-svg{path: "{{product.primary_taxon.icon}}"}
{{product.name}}
%p {{product.description}}
%ng-include{src: "'partials/close.html'"}

View File

@@ -0,0 +1,6 @@
.product-header
h1, h2, h3, h4, h5, h6
margin: 0
hr
margin: 0.5em 0