}
columns.push({header: v, key: v, numFmt: fmt[v], style: {numFmt: fmt[v]}, width: widths[v] * 4});
});
- console.log(columns);
sheet.columns = columns;
$.each(this.items, function (i, ref) {
return new FluidbookCartMopec(this);
case 'Puma':
return new FluidbookCartPuma(this);
+ case 'MIF':
+ return new FluidbookCartMIF(this);
default:
return null;
}
if (!action) {
action = 'link';
}
- if (data !== undefined || action === 'addtocart') {
+ if (action !== 'disabled' && (data !== undefined || action === 'addtocart')) {
var label = $this.fluidbook.settings['product_zoom_label_' + j];
var icon = getSpriteIcon($this.fluidbook.settings['product_zoom_icon_' + j]) !== 'none' ? getSpriteIcon($this.fluidbook.settings['product_zoom_icon_' + j]) : '';
var linkClass = "";
-@import "cart/puma";
\ No newline at end of file
+@import "cart/@{import-cart-styles}";
\ No newline at end of file
--- /dev/null
+#mifcart {
+ .caption {
+ margin-top: 10px;
+ text-transform: uppercase;
+ }
+}
+
+[data-type="7"] {
+ svg {
+ pointer-events: none;
+
+
+ }
+
+ .on {
+ visibility: hidden;
+ }
+
+ .off {
+ visibility: visible;
+ }
+
+ &.active {
+ .off {
+ visibility: hidden;
+ }
+
+ .on {
+ visibility: visible;
+ }
+ }
+}
+
+
+#mifcarttable {
+ [data-cart-delete] {
+ color: #fff;
+ background-color: @menu-button-background;
+ padding: 5px 6px 7px 6px;
+ width: 23px;
+ height: 23px;
+ display: block;
+ position: relative;
+ left: 20px;
+ }
+
+
+ padding: 0;
+ border-collapse: collapse;
+ margin: 20px 30px 40px;
+ width: ~"calc(100% - 60px)";
+ max-width: none;
+
+ &.xls {
+ [data-label="Image"] {
+ display: none;
+ }
+ }
+
+ &.print {
+ margin: 0;
+ font-size: 8px;
+ width: 100%;
+
+ td, th {
+ vertical-align: top;
+ padding: 5px;
+
+ &:last-child {
+ display: none;
+ }
+ }
+
+ [data-cart-delete] {
+ display: none;
+ }
+ }
+
+ td, th {
+ padding: 20px 0 20px 30px;
+ font-size: 11px;
+ text-align: center;
+
+ span {
+ display: block;
+ max-width: 120px;
+ white-space: normal;
+ margin: 0 auto;
+ }
+
+ img {
+ max-width: 80px;
+ }
+
+ &:last-child {
+ padding-right: 30px;
+ padding-left: 0px;
+ }
+ }
+
+ thead {
+ th {
+ text-transform: uppercase;
+ color: #fff;
+ background-color: @menu-button-background;
+ font-weight: normal;
+ }
+ }
+
+ tbody {
+ td {
+ border-top: 1px solid #000;
+ }
+
+ tr {
+ background-color: #fff;
+ color: #000
+ }
+
+ }
+}
\ No newline at end of file