cronus-theme 2.0.88 → 2.0.90
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Gulpfile.js +4 -3
- package/README.md +1 -12
- package/default/b2b/build/doc/doc.css +35 -2
- package/default/b2b/dist/css/account.css +1 -1
- package/default/b2b/dist/css/{account1733309885.css → account1734010254.css} +1 -1
- package/default/b2b/dist/css/addons/errorPages.css +1 -1
- package/default/b2b/dist/css/addons/fck.css +1 -1
- package/default/b2b/dist/css/addons/kss.css +1 -1
- package/default/b2b/dist/css/doc.css +1 -1
- package/default/b2b/dist/css/{doc1733309885.css → doc1734010254.css} +1 -1
- package/default/b2b/dist/css/main.css +1 -1
- package/default/b2b/dist/css/{main1733309885.css → main1734010254.css} +1 -1
- package/default/b2b/dist/css/order.css +1 -1
- package/default/b2b/dist/css/{order1733309885.css → order1734010254.css} +1 -1
- package/default/b2b/dist/css/salesperson.css +1 -1
- package/default/b2b/dist/css/{salesperson1733309885.css → salesperson1734010254.css} +1 -1
- package/default/b2b/dist/fonts/{icons1733309885.woff → icons1734010254.woff} +0 -0
- package/default/b2b/dist/fonts/icons1734010254.woff2 +0 -0
- package/default/b2b/dist/js/main.js +1 -1
- package/default/b2b/dist/js/main.js.map +2 -2
- package/default/b2b/dist/js/{main1733309885.js → main1734010254.js} +1 -1
- package/default/b2b/dist/snippets/css/account.html +1 -1
- package/default/b2b/dist/snippets/css/doc.html +1 -1
- package/default/b2b/dist/snippets/css/main.html +1 -1
- package/default/b2b/dist/snippets/css/order.html +1 -1
- package/default/b2b/dist/snippets/css/salesperson.html +1 -1
- package/default/b2b/dist/snippets/iconfont.html +1 -1
- package/default/b2b/dist/snippets/js/account.html +1 -1
- package/default/b2b/dist/snippets/js/itemcard.html +1 -1
- package/default/b2b/dist/snippets/js/main.html +1 -1
- package/default/b2b/dist/snippets/js/order.html +1 -1
- package/default/b2b/dist/snippets/js/salesperson.html +1 -1
- package/default/b2b/src/icons/{icons1733309885.woff → icons1734010254.woff} +0 -0
- package/default/b2b/src/icons/icons1734010254.woff2 +0 -0
- package/default/b2b/src/scss/base/_icons.scss +2 -2
- package/default/b2b/src/scss/main.scss +1 -0
- package/default/b2b/styleguide/item-components-skeleton.html +1 -1
- package/default/b2b/styleguide/item-shop-account-infobox.html +1 -1
- package/default/b2b/styleguide/item-shop-accountbox.html +1 -1
- package/default/b2b/styleguide/item-shop-amount-lines.html +1 -1
- package/default/b2b/styleguide/item-shop-attributes-icons.html +1 -1
- package/default/b2b/styleguide/item-shop-categorylist-itempreview.html +1 -1
- package/default/b2b/styleguide/item-shop-filter.html +1 -1
- package/default/b2b/styleguide/item-shop-itemlist-sticky-order-bar.html +1 -1
- package/default/b2b/styleguide/item-shop-list-type-switch.html +1 -1
- package/default/b2b/styleguide/item-shop-order-history-list.html +1 -1
- package/default/b2b/styleguide/item-shop-orderboxsummary.html +1 -1
- package/default/b2b/styleguide/item-shop-orderbutton.html +1 -1
- package/default/b2b/styleguide/item-shop-orderitemlist.html +1 -1
- package/default/b2b/styleguide/item-shop-selected-salesperson-box.html +1 -1
- package/default/b2b/styleguide/item-shop-sorting.html +1 -1
- package/default/b2b/styleguide/item-shop-variantselection.html +1 -1
- package/default/b2b/styleguide/section-components.html +1 -1
- package/default/b2b/styleguide/section-shop.html +15 -15
- package/default/b2b.yaml +2 -1
- package/default/b2c/build/doc/doc.css +35 -2
- package/default/b2c/dist/css/account.css +1 -1
- package/default/b2c/dist/css/{account1733309880.css → account1734010249.css} +1 -1
- package/default/b2c/dist/css/addons/errorPages.css +1 -1
- package/default/b2c/dist/css/addons/fck.css +1 -1
- package/default/b2c/dist/css/addons/kss.css +1 -1
- package/default/b2c/dist/css/doc.css +1 -1
- package/default/b2c/dist/css/{doc1733309880.css → doc1734010249.css} +1 -1
- package/default/b2c/dist/css/main.css +1 -1
- package/default/b2c/dist/css/{main1733309880.css → main1734010249.css} +1 -1
- package/default/b2c/dist/css/order.css +1 -1
- package/default/b2c/dist/css/{order1733309880.css → order1734010249.css} +1 -1
- package/{child/dist/fonts/icons1733309902.woff → default/b2c/dist/fonts/icons1734010249.woff} +0 -0
- package/default/b2c/dist/fonts/icons1734010249.woff2 +0 -0
- package/default/b2c/dist/js/main.js +1 -1
- package/default/b2c/dist/js/main.js.map +2 -2
- package/default/b2c/dist/js/{main1733309880.js → main1734010249.js} +1 -1
- package/default/b2c/dist/snippets/css/account.html +1 -1
- package/default/b2c/dist/snippets/css/doc.html +1 -1
- package/default/b2c/dist/snippets/css/main.html +1 -1
- package/default/b2c/dist/snippets/css/order.html +1 -1
- package/default/b2c/dist/snippets/iconfont.html +1 -1
- package/default/b2c/dist/snippets/js/account.html +1 -1
- package/default/b2c/dist/snippets/js/itemcard.html +1 -1
- package/default/b2c/dist/snippets/js/main.html +1 -1
- package/default/b2c/dist/snippets/js/order.html +1 -1
- package/{child/src/icons/icons1733309902.woff → default/b2c/src/icons/icons1734010249.woff} +0 -0
- package/default/b2c/src/icons/icons1734010249.woff2 +0 -0
- package/default/b2c/src/scss/base/_icons.scss +2 -2
- package/default/b2c/src/scss/main.scss +1 -0
- package/default/b2c/styleguide/item-shop-accountbox.html +1 -1
- package/default/b2c/styleguide/item-shop-amount-lines.html +1 -1
- package/default/b2c/styleguide/item-shop-attributes-icons.html +1 -1
- package/default/b2c/styleguide/item-shop-categorylist-itempreview.html +1 -1
- package/default/b2c/styleguide/item-shop-checkout-buttons.html +1 -1
- package/default/b2c/styleguide/item-shop-filter.html +1 -1
- package/default/b2c/styleguide/item-shop-history-list-item.html +1 -1
- package/default/b2c/styleguide/item-shop-orderboxsummary.html +1 -1
- package/default/b2c/styleguide/item-shop-orderbutton.html +1 -1
- package/default/b2c/styleguide/item-shop-sorting.html +1 -1
- package/default/b2c/styleguide/item-shop-variantselection.html +1 -1
- package/default/b2c/styleguide/section-shop.html +11 -11
- package/default/b2c.yaml +2 -1
- package/default/catalog/build/doc/doc.css +35 -2
- package/default/catalog/dist/css/addons/errorPages.css +1 -1
- package/default/catalog/dist/css/addons/fck.css +1 -1
- package/default/catalog/dist/css/doc.css +1 -1
- package/default/catalog/dist/css/{main1733309893.css → doc1734010262.css} +1 -1
- package/default/catalog/dist/css/main.css +1 -1
- package/default/catalog/dist/css/{doc1733309893.css → main1734010262.css} +1 -1
- package/default/catalog/dist/fonts/icons1734010262.woff +0 -0
- package/default/catalog/dist/fonts/icons1734010262.woff2 +0 -0
- package/default/catalog/dist/js/main.js +1 -1
- package/default/catalog/dist/js/main.js.map +2 -2
- package/default/catalog/dist/js/{main1733309893.js → main1734010262.js} +1 -1
- package/default/catalog/dist/snippets/css/doc.html +1 -1
- package/default/catalog/dist/snippets/css/main.html +1 -1
- package/default/catalog/dist/snippets/iconfont.html +1 -1
- package/default/catalog/dist/snippets/js/account.html +1 -1
- package/default/catalog/dist/snippets/js/itemcard.html +1 -1
- package/default/catalog/dist/snippets/js/main.html +1 -1
- package/default/catalog/dist/snippets/js/order.html +1 -1
- package/default/catalog/src/icons/icons1734010262.woff +0 -0
- package/default/catalog/src/icons/icons1734010262.woff2 +0 -0
- package/default/catalog/src/scss/base/_icons.scss +2 -2
- package/default/catalog/src/scss/main.scss +1 -0
- package/default/catalog/styleguide/item-shop-account-infobox.html +1 -1
- package/default/catalog/styleguide/item-shop-accountbox.html +1 -1
- package/default/catalog/styleguide/item-shop-attributes-icons.html +1 -1
- package/default/catalog/styleguide/item-shop-categorybox.html +1 -1
- package/default/catalog/styleguide/item-shop-categorylist-itempreview.html +1 -1
- package/default/catalog/styleguide/item-shop-filter.html +1 -1
- package/default/catalog/styleguide/item-shop-inventory.html +1 -1
- package/default/catalog/styleguide/item-shop-list-type-switch.html +1 -1
- package/default/catalog/styleguide/item-shop-orderboxsummary.html +1 -1
- package/default/catalog/styleguide/item-shop-selected-salesperson-box.html +1 -1
- package/default/catalog/styleguide/item-shop-sorting.html +1 -1
- package/default/catalog/styleguide/item-shop-variantselection.html +1 -1
- package/default/catalog/styleguide/section-shop.html +12 -12
- package/default/catalog.yaml +2 -1
- package/default/global/js/rangeSlider.js +8 -8
- package/default/global/scss/shop/_categoryStructure.scss +27 -0
- package/default/global/scss/shop/_filter.scss +5 -1
- package/default/login/build/doc/doc.css +1 -1
- package/default/login/dist/css/addons/errorPages.css +1 -1
- package/default/login/dist/css/addons/fck.css +1 -1
- package/default/login/dist/css/addons/kss.css +1 -1
- package/default/login/dist/css/doc.css +1 -1
- package/default/login/dist/css/{doc1733309889.css → doc1734010259.css} +1 -1
- package/default/login/dist/css/main.css +1 -1
- package/default/login/dist/css/{main1733309889.css → main1734010259.css} +1 -1
- package/default/login/dist/fonts/icons1734010259.woff +0 -0
- package/default/login/dist/fonts/icons1734010259.woff2 +0 -0
- package/default/login/dist/snippets/css/doc.html +1 -1
- package/default/login/dist/snippets/css/main.html +1 -1
- package/default/login/dist/snippets/iconfont.html +1 -1
- package/default/login/dist/snippets/js/main.html +1 -1
- package/default/login/src/icons/icons1734010259.woff +0 -0
- package/default/login/src/icons/icons1734010259.woff2 +0 -0
- package/default/login/src/scss/base/_icons.scss +2 -2
- package/default/login.yaml +2 -1
- package/default/templates/emails/basicmail/basicmail.mustache +2 -2
- package/default/templates/emails/basicmail/basicmailFooter.mustache +1 -1
- package/default/templates/emails/basicmail/basicmailHeader.mustache +1 -1
- package/default/templates/emails/footerText.mustache +12 -12
- package/default/templates/emails/ordermail/orderLines.mustache +5 -5
- package/default/templates/emails/ordermail/ordermail.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailDcOrder.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailDetails.mustache +17 -17
- package/default/templates/emails/ordermail/ordermailFooter.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailHeader.mustache +5 -5
- package/default/templates/emails/ordermail/ordermailIntro.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailIntroText.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailItem.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailItemHeadline.mustache +1 -1
- package/default/templates/emails/ordermail/ordermailItemList.mustache +1 -1
- package/default/templates/filter/b2b/filter.mustache +1 -1
- package/default/templates/filter/b2c/filter.mustache +1 -1
- package/default/templates/filter/catalog/filter.mustache +1 -1
- package/default/templates/shop/item_statistics_account.mustache +1 -1
- package/default/website/build/doc/doc.css +1 -1
- package/default/website/dist/css/addons/errorPages.css +1 -1
- package/default/website/dist/css/addons/fck.css +1 -1
- package/default/website/dist/css/addons/kss.css +1 -1
- package/default/website/dist/css/doc.css +1 -1
- package/default/website/dist/css/{main1733309898.css → doc1734010266.css} +1 -1
- package/default/website/dist/css/main.css +1 -1
- package/default/website/dist/css/{doc1733309898.css → main1734010266.css} +1 -1
- package/default/website/dist/fonts/icons1734010266.woff +0 -0
- package/default/website/dist/fonts/icons1734010266.woff2 +0 -0
- package/default/website/dist/snippets/css/doc.html +1 -1
- package/default/website/dist/snippets/css/main.html +1 -1
- package/default/website/dist/snippets/iconfont.html +1 -1
- package/default/website/dist/snippets/js/main.html +1 -1
- package/default/website/src/icons/icons1734010266.woff +0 -0
- package/default/website/src/icons/icons1734010266.woff2 +0 -0
- package/default/website/src/scss/base/_icons.scss +2 -2
- package/default/website.yaml +2 -1
- package/package.json +1 -1
- package/child/404_de.html +0 -32
- package/child/404_en.html +0 -32
- package/child/Gulpfile.js +0 -463
- package/child/build/doc/doc.css +0 -21840
- package/child/build/favicons/android-chrome-192x192.png +0 -0
- package/child/build/favicons/android-chrome-512x512.png +0 -0
- package/child/build/favicons/apple-touch-icon.png +0 -0
- package/child/build/favicons/browserconfig.xml +0 -9
- package/child/build/favicons/favicon-16x16.png +0 -0
- package/child/build/favicons/favicon-32x32.png +0 -0
- package/child/build/favicons/favicon.ico +0 -0
- package/child/build/favicons/faviconData.json +0 -1
- package/child/build/favicons/mstile-144x144.png +0 -0
- package/child/build/favicons/mstile-150x150.png +0 -0
- package/child/build/favicons/mstile-310x150.png +0 -0
- package/child/build/favicons/mstile-310x310.png +0 -0
- package/child/build/favicons/mstile-70x70.png +0 -0
- package/child/build/favicons/safari-pinned-tab.svg +0 -36
- package/child/build/favicons/site.webmanifest +0 -19
- package/child/child.yaml +0 -137
- package/child/ck_styles.js +0 -90
- package/child/config.json +0 -37
- package/child/dist/css/addons/errorPages.css +0 -1
- package/child/dist/css/addons/fck.css +0 -1
- package/child/dist/css/addons/kss.css +0 -1
- package/child/dist/css/child.css +0 -1
- package/child/dist/css/child1733309902.css +0 -1
- package/child/dist/css/doc.css +0 -1
- package/child/dist/css/doc1733309902.css +0 -1
- package/child/dist/favicons/android-chrome-192x192.png +0 -0
- package/child/dist/favicons/android-chrome-512x512.png +0 -0
- package/child/dist/favicons/apple-touch-icon.png +0 -0
- package/child/dist/favicons/browserconfig.xml +0 -9
- package/child/dist/favicons/favicon-16x16.png +0 -0
- package/child/dist/favicons/favicon-32x32.png +0 -0
- package/child/dist/favicons/favicon.ico +0 -0
- package/child/dist/favicons/faviconData.json +0 -1
- package/child/dist/favicons/mstile-144x144.png +0 -0
- package/child/dist/favicons/mstile-150x150.png +0 -0
- package/child/dist/favicons/mstile-310x150.png +0 -0
- package/child/dist/favicons/mstile-310x310.png +0 -0
- package/child/dist/favicons/mstile-70x70.png +0 -0
- package/child/dist/favicons/safari-pinned-tab.svg +0 -36
- package/child/dist/favicons/site.webmanifest +0 -19
- package/child/dist/fonts/barlow-600.woff +0 -0
- package/child/dist/fonts/barlow-600.woff2 +0 -0
- package/child/dist/fonts/barlow-700.woff +0 -0
- package/child/dist/fonts/barlow-700.woff2 +0 -0
- package/child/dist/fonts/barlow-regular.woff +0 -0
- package/child/dist/fonts/barlow-regular.woff2 +0 -0
- package/child/dist/fonts/icons1689843011.woff +0 -0
- package/child/dist/fonts/icons1689843011.woff2 +0 -0
- package/child/dist/fonts/icons1689843343.woff +0 -0
- package/child/dist/fonts/icons1689843343.woff2 +0 -0
- package/child/dist/fonts/icons1733309902.woff2 +0 -0
- package/child/dist/js/child.js +0 -2
- package/child/dist/js/child.js.map +0 -7
- package/child/dist/js/child1733309902.js +0 -2
- package/child/dist/snippets/css/child.html +0 -1
- package/child/dist/snippets/css/doc.html +0 -1
- package/child/dist/snippets/faviconmarkup.html +0 -9
- package/child/dist/snippets/iconfont.html +0 -1
- package/child/dist/snippets/js/child.html +0 -1
- package/child/frontend.php +0 -266
- package/child/homepage.md +0 -1
- package/child/kss-config.json +0 -17
- package/child/package.json +0 -65
- package/child/sample.jpg +0 -0
- package/child/src/favicon/favicon.svg +0 -1
- package/child/src/fonts/barlow-600.woff +0 -0
- package/child/src/fonts/barlow-600.woff2 +0 -0
- package/child/src/fonts/barlow-700.woff +0 -0
- package/child/src/fonts/barlow-700.woff2 +0 -0
- package/child/src/fonts/barlow-regular.woff +0 -0
- package/child/src/fonts/barlow-regular.woff2 +0 -0
- package/child/src/fonts/icons1689843011.woff +0 -0
- package/child/src/fonts/icons1689843011.woff2 +0 -0
- package/child/src/fonts/icons1689843343.woff +0 -0
- package/child/src/fonts/icons1689843343.woff2 +0 -0
- package/child/src/icons/icons1733309902.woff2 +0 -0
- package/child/src/js/child.js +0 -0
- package/child/src/scss/_print.scss +0 -5
- package/child/src/scss/addons/errorPages.scss +0 -109
- package/child/src/scss/addons/fck.scss +0 -6
- package/child/src/scss/addons/kss.scss +0 -108
- package/child/src/scss/base/_fonts.scss +0 -27
- package/child/src/scss/base/_icons.scss +0 -968
- package/child/src/scss/base/_variables.scss +0 -0
- package/child/src/scss/child.scss +0 -11
- package/child/src/scss/doc.scss +0 -2
- package/child/src/scss/mixins/_breakpoints.scss +0 -127
- package/child/src/scss/mixins/_functions.scss +0 -273
- package/child/src/scss/mixins/_grid.scss +0 -85
- package/child/src/scss/mixins/_mixins.scss +0 -3
- package/child/src/scss/template/_icons.scss +0 -33
- package/child/src/snippets/faviconmarkup.html +0 -0
- package/child/src/snippets/includeCSS.html +0 -1
- package/child/src/snippets/includeFont.html +0 -1
- package/child/src/snippets/includeJS.html +0 -1
- package/child/styleguide/index.html +0 -119
- package/child/styleguide/item-base-button-link.html +0 -191
- package/child/styleguide/item-base-buttons.html +0 -244
- package/child/styleguide/item-base-fake-tables.html +0 -221
- package/child/styleguide/item-base-icons.html +0 -290
- package/child/styleguide/item-base-lists.html +0 -216
- package/child/styleguide/item-base-tables.html +0 -221
- package/child/styleguide/item-base-tags-group.html +0 -209
- package/child/styleguide/item-base-tags.html +0 -224
- package/child/styleguide/item-base.html +0 -171
- package/child/styleguide/item-colors-background.html +0 -305
- package/child/styleguide/item-colors-border.html +0 -263
- package/child/styleguide/item-colors-font.html +0 -304
- package/child/styleguide/item-colors.html +0 -159
- package/child/styleguide/item-components-action-icon.html +0 -244
- package/child/styleguide/item-components-actionbox.html +0 -195
- package/child/styleguide/item-components-alerts.html +0 -244
- package/child/styleguide/item-components-breadcrumb.html +0 -209
- package/child/styleguide/item-components-custom-select.html +0 -588
- package/child/styleguide/item-components-filegallery.html +0 -223
- package/child/styleguide/item-components-iconbar.html +0 -378
- package/child/styleguide/item-components-iconbox.html +0 -197
- package/child/styleguide/item-components-iconlist.html +0 -205
- package/child/styleguide/item-components-modals.html +0 -319
- package/child/styleguide/item-components-pagination.html +0 -215
- package/child/styleguide/item-components-processbar.html +0 -225
- package/child/styleguide/item-components-radio-list.html +0 -297
- package/child/styleguide/item-components-rating.html +0 -213
- package/child/styleguide/item-components-scrollbar.html +0 -327
- package/child/styleguide/item-components-searchbar.html +0 -204
- package/child/styleguide/item-components-share-links.html +0 -209
- package/child/styleguide/item-components-tags-group.html +0 -209
- package/child/styleguide/item-components-tags.html +0 -254
- package/child/styleguide/item-components-trust-infobar.html +0 -205
- package/child/styleguide/item-components-trustbar.html +0 -213
- package/child/styleguide/item-components-trustlist.html +0 -211
- package/child/styleguide/item-components.html +0 -261
- package/child/styleguide/item-form-checkboxes-switch.html +0 -195
- package/child/styleguide/item-form-checkboxes.html +0 -195
- package/child/styleguide/item-form-file-input.html +0 -252
- package/child/styleguide/item-form-infield-input-groups.html +0 -215
- package/child/styleguide/item-form-input-groups-addons.html +0 -286
- package/child/styleguide/item-form-input-groups.html +0 -210
- package/child/styleguide/item-form-inputs.html +0 -398
- package/child/styleguide/item-form-label-left-input-groups.html +0 -201
- package/child/styleguide/item-form-radioboxes-switch.html +0 -211
- package/child/styleguide/item-form.html +0 -189
- package/child/styleguide/item-navigations-mainnav.html +0 -239
- package/child/styleguide/item-navigations-nav.html +0 -215
- package/child/styleguide/item-navigations-navgroup.html +0 -538
- package/child/styleguide/item-navigations-subnav.html +0 -295
- package/child/styleguide/item-navigations-toggle-navigation.html +0 -216
- package/child/styleguide/item-navigations.html +0 -171
- package/child/styleguide/item-shop-accountbox.html +0 -318
- package/child/styleguide/item-shop-amount-lines.html +0 -243
- package/child/styleguide/item-shop-attributes-icons.html +0 -205
- package/child/styleguide/item-shop-categorybox.html +0 -227
- package/child/styleguide/item-shop-categorylist-itempreview.html +0 -247
- package/child/styleguide/item-shop-categorylist.html +0 -257
- package/child/styleguide/item-shop-checkout-buttons.html +0 -205
- package/child/styleguide/item-shop-filter.html +0 -707
- package/child/styleguide/item-shop-history-list-item.html +0 -213
- package/child/styleguide/item-shop-inventory.html +0 -300
- package/child/styleguide/item-shop-list-type-switch.html +0 -207
- package/child/styleguide/item-shop-order-history-list.html +0 -254
- package/child/styleguide/item-shop-orderboxsummary.html +0 -267
- package/child/styleguide/item-shop-orderbutton.html +0 -297
- package/child/styleguide/item-shop-orderitemlist.html +0 -263
- package/child/styleguide/item-shop-prices-list-graduated.html +0 -247
- package/child/styleguide/item-shop-prices-list.html +0 -217
- package/child/styleguide/item-shop-prices.html +0 -199
- package/child/styleguide/item-shop-promotions.html +0 -201
- package/child/styleguide/item-shop-quantity-spinner.html +0 -366
- package/child/styleguide/item-shop-sorting.html +0 -271
- package/child/styleguide/item-shop-state.html +0 -279
- package/child/styleguide/item-shop-variantselection.html +0 -199
- package/child/styleguide/item-shop.html +0 -243
- package/child/styleguide/item-siteparts-filegallery.html +0 -223
- package/child/styleguide/item-siteparts-scrollbar.html +0 -294
- package/child/styleguide/item-siteparts-slidecontent.html +0 -217
- package/child/styleguide/item-siteparts.html +0 -159
- package/child/styleguide/item-structure-containers.html +0 -234
- package/child/styleguide/item-structure-grid.html +0 -373
- package/child/styleguide/item-structure-margins.html +0 -307
- package/child/styleguide/item-structure-paddings.html +0 -307
- package/child/styleguide/item-structure.html +0 -165
- package/child/styleguide/item-typo-alignment-transform.html +0 -274
- package/child/styleguide/item-typo-headlines.html +0 -225
- package/child/styleguide/item-typo-link-with-icon.html +0 -254
- package/child/styleguide/item-typo-links.html +0 -224
- package/child/styleguide/item-typo-text.html +0 -214
- package/child/styleguide/item-typo.html +0 -165
- package/child/styleguide/kss-assets/WARNING.txt +0 -2
- package/child/styleguide/kss-assets/github-fork--black.png +0 -0
- package/child/styleguide/kss-assets/kss-fullscreen.js +0 -60
- package/child/styleguide/kss-assets/kss-guides.js +0 -27
- package/child/styleguide/kss-assets/kss-markup.js +0 -42
- package/child/styleguide/kss-assets/kss.css +0 -1
- package/child/styleguide/kss-assets/kss.js +0 -53
- package/child/styleguide/kss-assets/kss.scss +0 -746
- package/child/styleguide/kss-assets/noise-low.png +0 -0
- package/child/styleguide/kss-assets/sample-inline.png +0 -0
- package/child/styleguide/kss-assets/sample-inline.svg +0 -3
- package/child/styleguide/kss-assets/sample.png +0 -0
- package/child/styleguide/kss-assets/sample.svg +0 -3
- package/child/styleguide/kss-assets/scrollspy.js +0 -147
- package/child/styleguide/section-base.html +0 -784
- package/child/styleguide/section-colors.html +0 -743
- package/child/styleguide/section-components.html +0 -3375
- package/child/styleguide/section-form.html +0 -1383
- package/child/styleguide/section-navigations.html +0 -1194
- package/child/styleguide/section-shop.html +0 -3333
- package/child/styleguide/section-siteparts.html +0 -605
- package/child/styleguide/section-structure.html +0 -1002
- package/child/styleguide/section-typo.html +0 -698
- package/default/b2b/dist/fonts/icons1733309885.woff2 +0 -0
- package/default/b2b/src/icons/icons1733309885.woff2 +0 -0
- package/default/b2c/dist/fonts/icons1733309880.woff +0 -0
- package/default/b2c/dist/fonts/icons1733309880.woff2 +0 -0
- package/default/b2c/src/icons/icons1733309880.woff +0 -0
- package/default/b2c/src/icons/icons1733309880.woff2 +0 -0
- package/default/catalog/dist/fonts/icons1733309893.woff +0 -0
- package/default/catalog/dist/fonts/icons1733309893.woff2 +0 -0
- package/default/catalog/src/icons/icons1733309893.woff +0 -0
- package/default/catalog/src/icons/icons1733309893.woff2 +0 -0
- package/default/login/dist/fonts/icons1733309889.woff +0 -0
- package/default/login/dist/fonts/icons1733309889.woff2 +0 -0
- package/default/login/src/icons/icons1733309889.woff +0 -0
- package/default/login/src/icons/icons1733309889.woff2 +0 -0
- package/default/website/dist/fonts/icons1733309898.woff +0 -0
- package/default/website/dist/fonts/icons1733309898.woff2 +0 -0
- package/default/website/src/icons/icons1733309898.woff +0 -0
- package/default/website/src/icons/icons1733309898.woff2 +0 -0
- /package/default/b2b/dist/js/{account1733309885.js → account1734010254.js} +0 -0
- /package/default/b2b/dist/js/{itemcard1733309885.js → itemcard1734010254.js} +0 -0
- /package/default/b2b/dist/js/{order1733309885.js → order1734010254.js} +0 -0
- /package/default/b2b/dist/js/{salesperson1733309885.js → salesperson1734010254.js} +0 -0
- /package/default/b2c/dist/js/{account1733309880.js → account1734010249.js} +0 -0
- /package/default/b2c/dist/js/{itemcard1733309880.js → itemcard1734010249.js} +0 -0
- /package/default/b2c/dist/js/{order1733309880.js → order1734010249.js} +0 -0
- /package/default/catalog/dist/js/{account1733309893.js → account1734010262.js} +0 -0
- /package/default/catalog/dist/js/{itemcard1733309893.js → itemcard1734010262.js} +0 -0
- /package/default/catalog/dist/js/{order1733309893.js → order1734010262.js} +0 -0
- /package/default/login/dist/js/{main1733309889.js → main1734010259.js} +0 -0
- /package/default/website/dist/js/{main1733309898.js → main1734010266.js} +0 -0
|
Binary file
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<link rel="stylesheet" href="/layout/frontend/default/website/dist/css/
|
|
1
|
+
<link rel="stylesheet" href="/layout/frontend/default/website/dist/css/doc1734010266.css" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<link rel="stylesheet" href="/layout/frontend/default/website/dist/css/
|
|
1
|
+
<link rel="stylesheet" href="/layout/frontend/default/website/dist/css/main1734010266.css" />
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<link rel="preload" href="/layout/frontend/default/website/dist/fonts/
|
|
1
|
+
<link rel="preload" href="/layout/frontend/default/website/dist/fonts/icons1734010266.woff2" as="font" type="font/woff2" crossorigin>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<script src="/layout/frontend/default/website/dist/js/
|
|
1
|
+
<script src="/layout/frontend/default/website/dist/js/main1734010266.js"></script>
|
|
Binary file
|
|
Binary file
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
@font-face {
|
|
2
2
|
font-family: "icons";
|
|
3
3
|
font-display: swap;
|
|
4
|
-
src: url('../fonts/
|
|
5
|
-
url('../fonts/
|
|
4
|
+
src: url('../fonts/icons1734010266.woff2') format('woff2'),
|
|
5
|
+
url('../fonts/icons1734010266.woff') format('woff');
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
.icon {
|
package/default/website.yaml
CHANGED
|
@@ -35,7 +35,6 @@ shopConfig:
|
|
|
35
35
|
max_no_of_results: 30
|
|
36
36
|
num_orders_per_page: 30
|
|
37
37
|
maximal_filter_show: 3
|
|
38
|
-
mail_color: \#000000
|
|
39
38
|
show_category_icon_in_top_navigation_menu: 0
|
|
40
39
|
show_category_icon_in_side_navigation_menu: 0
|
|
41
40
|
show_category_description_in_category_list: 1
|
|
@@ -44,6 +43,8 @@ shopConfig:
|
|
|
44
43
|
showSorting: 1
|
|
45
44
|
mailConfig:
|
|
46
45
|
logo: /userdata/images/ordermail/logo-cronus-ag.jpg
|
|
46
|
+
color: \#2B2B2C
|
|
47
|
+
showItemListImage: 0
|
|
47
48
|
imageConfig:
|
|
48
49
|
thumbs:
|
|
49
50
|
thumb_1:
|
package/package.json
CHANGED
package/child/404_de.html
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="de">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<title>404</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
<meta name="robots" content="noindex, follow">
|
|
8
|
-
<link rel="apple-touch-icon" sizes="180x180" href="/layout/frontend/child/dist/favicons/apple-touch-icon.png">
|
|
9
|
-
<link rel="icon" type="image/png" sizes="32x32" href="/layout/frontend/child/dist/favicons/favicon-32x32.png">
|
|
10
|
-
<link rel="icon" type="image/png" sizes="16x16" href="/layout/frontend/child/dist/favicons/favicon-16x16.png">
|
|
11
|
-
<link rel="manifest" href="/layout/frontend/child/dist/favicons/site.webmanifest">
|
|
12
|
-
<link rel="mask-icon" href="/layout/frontend/child/dist/favicons/safari-pinned-tab.svg" color="#ffffff">
|
|
13
|
-
<link rel="shortcut icon" href="/layout/frontend/child/dist/favicons/favicon.ico">
|
|
14
|
-
<meta name="msapplication-TileColor" content="#ffffff">
|
|
15
|
-
<meta name="msapplication-config" content="/layout/frontend/child/dist/favicons/browserconfig.xml">
|
|
16
|
-
<meta name="theme-color" content="#ffffff">
|
|
17
|
-
<link rel="stylesheet" href="/layout/frontend/child/dist/css/addons/errorPages.css">
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<img loading="lazy" src="/dc/common/pixel.php?code=404" alt=""/>
|
|
21
|
-
<div class="background" style="background-image: url(/userdata/images/basics/404.jpg)"></div>
|
|
22
|
-
<div class="content">
|
|
23
|
-
<a href="/">
|
|
24
|
-
<img class="logo" src="/userdata/images/logo.svg" alt="Logo" width="180"/>
|
|
25
|
-
</a>
|
|
26
|
-
<h1>404</h1>
|
|
27
|
-
<h2>Sorry - Page Not Found!</h2>
|
|
28
|
-
<strong>Diese Seite ist momentan nicht erreichbar</strong><br/><br/>
|
|
29
|
-
<a href="/" class="button button--primary">Hier geht es zur Startseite</a>
|
|
30
|
-
</div>
|
|
31
|
-
</body>
|
|
32
|
-
</html>
|
package/child/404_en.html
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="de">
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<title>404</title>
|
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
7
|
-
<meta name="robots" content="noindex, follow">
|
|
8
|
-
<link rel="apple-touch-icon" sizes="180x180" href="/layout/frontend/child/dist/favicons/apple-touch-icon.png">
|
|
9
|
-
<link rel="icon" type="image/png" sizes="32x32" href="/layout/frontend/child/dist/favicons/favicon-32x32.png">
|
|
10
|
-
<link rel="icon" type="image/png" sizes="16x16" href="/layout/frontend/child/dist/favicons/favicon-16x16.png">
|
|
11
|
-
<link rel="manifest" href="/layout/frontend/child/dist/favicons/site.webmanifest">
|
|
12
|
-
<link rel="mask-icon" href="/layout/frontend/child/dist/favicons/safari-pinned-tab.svg" color="#ffffff">
|
|
13
|
-
<link rel="shortcut icon" href="/layout/frontend/child/dist/favicons/favicon.ico">
|
|
14
|
-
<meta name="msapplication-TileColor" content="#ffffff">
|
|
15
|
-
<meta name="msapplication-config" content="/layout/frontend/child/dist/favicons/browserconfig.xml">
|
|
16
|
-
<meta name="theme-color" content="#ffffff">
|
|
17
|
-
<link rel="stylesheet" href="/layout/frontend/child/dist/css/addons/errorPages.css">
|
|
18
|
-
</head>
|
|
19
|
-
<body>
|
|
20
|
-
<img loading="lazy" src="/dc/common/pixel.php?code=404" alt=""/>
|
|
21
|
-
<div class="background" style="background-image: url(/userdata/images/basics/404.jpg)"></div>
|
|
22
|
-
<div class="content">
|
|
23
|
-
<a href="/">
|
|
24
|
-
<img class="logo" src="/userdata/images/logo.svg" alt="Logo" width="180"/>
|
|
25
|
-
</a>
|
|
26
|
-
<h1>404</h1>
|
|
27
|
-
<h2>Sorry - Page Not Found!</h2>
|
|
28
|
-
<strong>This page is currently unavailable</strong><br/><br/>
|
|
29
|
-
<a href="/en/" class="button button--primary">Click here to go to the home page</a>
|
|
30
|
-
</div>
|
|
31
|
-
</body>
|
|
32
|
-
</html>
|
package/child/Gulpfile.js
DELETED
|
@@ -1,463 +0,0 @@
|
|
|
1
|
-
const yargs = require('yargs');
|
|
2
|
-
const shopconfig = require('./config.json');
|
|
3
|
-
let type = shopconfig.type;
|
|
4
|
-
|
|
5
|
-
const argv = yargs
|
|
6
|
-
.option('print-config', {
|
|
7
|
-
alias: 'p',
|
|
8
|
-
description: 'print config comment with config keys and exit',
|
|
9
|
-
type: 'boolean',
|
|
10
|
-
default: false
|
|
11
|
-
})
|
|
12
|
-
.option('type', {
|
|
13
|
-
alias: 't',
|
|
14
|
-
description: 'Set type to use',
|
|
15
|
-
type: 'string'
|
|
16
|
-
})
|
|
17
|
-
.option('layoutcode', {
|
|
18
|
-
alias: 'l',
|
|
19
|
-
description: 'Set layoutcode to use',
|
|
20
|
-
type: 'string'
|
|
21
|
-
})
|
|
22
|
-
.argv;
|
|
23
|
-
|
|
24
|
-
if (typeof argv.type !== 'undefined') {
|
|
25
|
-
type = argv.type;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
if (argv['print-config']) {
|
|
29
|
-
console.log(shopconfig.__comment);
|
|
30
|
-
process.exit(0);
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
const config = shopconfig;
|
|
34
|
-
|
|
35
|
-
const layoutcode = config.layout.code;
|
|
36
|
-
const layoutpath = "/layout/frontend/" + layoutcode + "/";
|
|
37
|
-
let srcdir = config.layout.src;
|
|
38
|
-
let builddir = config.layout.build;
|
|
39
|
-
let distdir = config.layout.dist;
|
|
40
|
-
const iconfontName = config.icons.name;
|
|
41
|
-
const favicon = config.favicon;
|
|
42
|
-
const browserSyncOptions = shopconfig.browsersync;
|
|
43
|
-
const faviconColor = favicon.color.toLowerCase();
|
|
44
|
-
const faviconBackground = favicon.background.toLowerCase();
|
|
45
|
-
const timestamp = Math.round(Date.now() / 1000).toString();
|
|
46
|
-
|
|
47
|
-
let nameIconfont = iconfontName;
|
|
48
|
-
let browserSyncProxy = browserSyncOptions.proxy;
|
|
49
|
-
|
|
50
|
-
if(config.browserSyncProxy && config.browserSyncProxy !== ""){
|
|
51
|
-
browserSyncProxy = config.browserSyncProxy;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
console.log("layoutcode: " + config.layout.code);
|
|
55
|
-
console.log("timestamp: " + timestamp);
|
|
56
|
-
console.log("srcdir: " + srcdir);
|
|
57
|
-
console.log("builddir: " + builddir);
|
|
58
|
-
console.log("distdir: " + distdir);
|
|
59
|
-
console.log("proxy: " + browserSyncProxy);
|
|
60
|
-
|
|
61
|
-
const gulp = require('gulp');
|
|
62
|
-
const sass = require('gulp-dart-sass');
|
|
63
|
-
const sourcemaps = require('gulp-sourcemaps');
|
|
64
|
-
const clean = require('gulp-clean');
|
|
65
|
-
const iconfont = require('gulp-iconfont');
|
|
66
|
-
const iconfontCss = require('gulp-iconfont-css');
|
|
67
|
-
const minifyCSS = require('dc-gulp-clean-css');
|
|
68
|
-
const realFavicon = require('gulp-real-favicon');
|
|
69
|
-
const fs = require('fs');
|
|
70
|
-
const autoprefixer = require('gulp-autoprefixer');
|
|
71
|
-
const replace = require('gulp-replace');
|
|
72
|
-
const git = require('gulp-git');
|
|
73
|
-
const gulpEsbuild = require("gulp-esbuild");
|
|
74
|
-
const rename = require("gulp-rename");
|
|
75
|
-
const tap = require("gulp-tap");
|
|
76
|
-
const template = require("gulp-template");
|
|
77
|
-
const run = require('gulp-run');
|
|
78
|
-
const browserSyncServer = require('browser-sync').create();
|
|
79
|
-
|
|
80
|
-
function cleanDist() {
|
|
81
|
-
return gulp.src(
|
|
82
|
-
distdir,
|
|
83
|
-
builddir + "/css",
|
|
84
|
-
builddir + "/snippets"
|
|
85
|
-
)
|
|
86
|
-
.on('error', onErrorHide)
|
|
87
|
-
.pipe(clean());
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
function cleanIcons() {
|
|
91
|
-
return gulp.src(
|
|
92
|
-
srcdir + "/icons"
|
|
93
|
-
)
|
|
94
|
-
.on('error', onErrorHide)
|
|
95
|
-
.pipe(clean());
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
function copy() {
|
|
99
|
-
return gulp.src(srcdir + '/fonts/**/*')
|
|
100
|
-
.pipe(gulp.dest(distdir + '/fonts/')),
|
|
101
|
-
gulp.src(srcdir + '/images/**/*')
|
|
102
|
-
.pipe(gulp.dest(distdir + '/images/')),
|
|
103
|
-
gulp.src(srcdir + '/icons/**/*')
|
|
104
|
-
.pipe(gulp.dest(distdir + '/fonts/')),
|
|
105
|
-
gulp.src(builddir + '/favicons/**/*')
|
|
106
|
-
.pipe(gulp.dest(distdir + '/favicons/'));
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
function sassSourcemaps() {
|
|
110
|
-
if (browserSyncOptions.start) {
|
|
111
|
-
return gulp.src([
|
|
112
|
-
srcdir + "/scss/*.scss"
|
|
113
|
-
])
|
|
114
|
-
.pipe(sourcemaps.init())
|
|
115
|
-
.pipe(sass({
|
|
116
|
-
includePaths: ["node_modules"]
|
|
117
|
-
}).on('error', sass.logError))
|
|
118
|
-
.pipe(sourcemaps.write("."))
|
|
119
|
-
.pipe(gulp.dest(distdir + '/css/'))
|
|
120
|
-
.pipe(browserSyncServer.stream());
|
|
121
|
-
} else {
|
|
122
|
-
return gulp.src([
|
|
123
|
-
srcdir + "/scss/*.scss"
|
|
124
|
-
])
|
|
125
|
-
.pipe(sourcemaps.init())
|
|
126
|
-
.pipe(sass({
|
|
127
|
-
includePaths: ["node_modules"]
|
|
128
|
-
}).on('error', sass.logError))
|
|
129
|
-
.pipe(sourcemaps.write("."))
|
|
130
|
-
.pipe(gulp.dest(distdir + '/css'));
|
|
131
|
-
}
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
function sassStyle() {
|
|
135
|
-
return gulp.src([
|
|
136
|
-
srcdir + "/scss/*.scss"
|
|
137
|
-
])
|
|
138
|
-
.pipe(sass({
|
|
139
|
-
includePaths: ["node_modules"]
|
|
140
|
-
}).on('error', sass.logError))
|
|
141
|
-
.pipe(gulp.dest(distdir + '/css'));
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
function sassAddons() {
|
|
145
|
-
return gulp.src(srcdir + "/scss/addons/*.scss")
|
|
146
|
-
.pipe(sass({
|
|
147
|
-
includePaths: ["node_modules"]
|
|
148
|
-
}).on('error', sass.logError))
|
|
149
|
-
.pipe(replace('../fonts/', '../../fonts/'))
|
|
150
|
-
.pipe(gulp.dest(distdir + "/css/addons"));
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
function autoprefixCSS() {
|
|
154
|
-
return gulp.src(distdir + '/css/*.css')
|
|
155
|
-
.pipe(autoprefixer()).on('error', onError)
|
|
156
|
-
.pipe(gulp.dest(distdir + '/css'));
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
function minifyStyleCSS() {
|
|
160
|
-
return gulp.src(distdir + '/css/**/*.css')
|
|
161
|
-
.pipe(minifyCSS({level: {1: {specialComments: 0}}}))
|
|
162
|
-
.pipe(gulp.dest(distdir + '/css'));
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
function renameCSSFiles() {
|
|
166
|
-
return gulp.src(distdir + '/css/*.css')
|
|
167
|
-
.pipe(rename({
|
|
168
|
-
suffix: timestamp
|
|
169
|
-
}))
|
|
170
|
-
.pipe(gulp.dest(distdir + '/css'));
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
function renameJSFiles() {
|
|
174
|
-
return gulp.src(distdir + '/js/*.js')
|
|
175
|
-
.pipe(rename({
|
|
176
|
-
suffix: timestamp
|
|
177
|
-
}))
|
|
178
|
-
.pipe(gulp.dest(distdir + '/js'));
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
function generateIconfont() {
|
|
182
|
-
return gulp.src(config.icons.src)
|
|
183
|
-
.pipe(iconfontCss({
|
|
184
|
-
fontName: nameIconfont,
|
|
185
|
-
path: config.icons.template,
|
|
186
|
-
targetPath: config.icons.buildScss,
|
|
187
|
-
fontPath: config.icons.fontPath,
|
|
188
|
-
}).on('error', onError))
|
|
189
|
-
.pipe(iconfont({
|
|
190
|
-
fontName: nameIconfont,
|
|
191
|
-
prependUnicode: true,
|
|
192
|
-
formats: ['woff', 'woff2'],
|
|
193
|
-
fontSize: 1000
|
|
194
|
-
}).on('error', onError))
|
|
195
|
-
.pipe(gulp.dest(srcdir + '/icons/'));
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
function generateIconfontTimestamp() {
|
|
199
|
-
nameIconfont = nameIconfont + timestamp;
|
|
200
|
-
return gulp.src(config.icons.src)
|
|
201
|
-
.pipe(iconfontCss({
|
|
202
|
-
fontName: nameIconfont,
|
|
203
|
-
path: config.icons.template,
|
|
204
|
-
targetPath: config.icons.buildScss,
|
|
205
|
-
fontPath: config.icons.fontPath,
|
|
206
|
-
}).on('error', onError))
|
|
207
|
-
.pipe(iconfont({
|
|
208
|
-
fontName: nameIconfont,
|
|
209
|
-
prependUnicode: true,
|
|
210
|
-
formats: ['woff', 'woff2'],
|
|
211
|
-
fontSize: 1000
|
|
212
|
-
}).on('error', onError))
|
|
213
|
-
.pipe(gulp.dest(srcdir + '/icons/'));
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
function generateFontHtml() {
|
|
217
|
-
return gulp.src([
|
|
218
|
-
srcdir + "/snippets/includeFont.html"
|
|
219
|
-
])
|
|
220
|
-
.pipe(replace('%linkIconfontWoff2%', layoutpath + distdir + "/fonts/" + nameIconfont))
|
|
221
|
-
.on('error', onError)
|
|
222
|
-
.pipe(rename("iconfont.html"))
|
|
223
|
-
.pipe(gulp.dest(distdir + "/snippets/"));
|
|
224
|
-
}
|
|
225
|
-
|
|
226
|
-
function generateCSSHtml() {
|
|
227
|
-
return gulp.src([
|
|
228
|
-
distdir + "/css/*.css"
|
|
229
|
-
])
|
|
230
|
-
.pipe(
|
|
231
|
-
tap(function (file) {
|
|
232
|
-
let fileName = file.basename.replace(/\.[^/.]+$/, "");
|
|
233
|
-
let htmlName = fileName.replace(timestamp, "");
|
|
234
|
-
gulp.src(srcdir + '/snippets/includeCSS.html')
|
|
235
|
-
.pipe(template())
|
|
236
|
-
.pipe(replace('%linkCSS%', layoutpath + distdir + "/css/" + fileName))
|
|
237
|
-
.pipe(rename(htmlName + ".html"))
|
|
238
|
-
.pipe(gulp.dest(distdir + "/snippets/css"));
|
|
239
|
-
|
|
240
|
-
})
|
|
241
|
-
);
|
|
242
|
-
}
|
|
243
|
-
|
|
244
|
-
function generateJSHtml() {
|
|
245
|
-
return gulp.src([
|
|
246
|
-
distdir + "/js/*.js"
|
|
247
|
-
])
|
|
248
|
-
.pipe(tap(function (file) {
|
|
249
|
-
let fileName = file.basename.replace(/\.[^/.]+$/, "");
|
|
250
|
-
let htmlName = fileName.replace(timestamp, "");
|
|
251
|
-
gulp.src(srcdir + '/snippets/includeJS.html')
|
|
252
|
-
.pipe(template())
|
|
253
|
-
.pipe(replace('%linkJS%', layoutpath + distdir + "/js/" + fileName))
|
|
254
|
-
.pipe(rename(htmlName + ".html"))
|
|
255
|
-
.pipe(gulp.dest(distdir + "/snippets/js"));
|
|
256
|
-
|
|
257
|
-
}));
|
|
258
|
-
}
|
|
259
|
-
|
|
260
|
-
function generateFaviconHtml() {
|
|
261
|
-
return gulp.src(srcdir + "/snippets/faviconmarkup.html")
|
|
262
|
-
.pipe(realFavicon.injectFaviconMarkups(JSON.parse(fs.readFileSync(builddir + favicon.distdir + "/faviconData.json")).favicon.html_code))
|
|
263
|
-
.pipe(replace('<html><head>', ''))
|
|
264
|
-
.pipe(replace('</head><body></body></html>', ''))
|
|
265
|
-
.pipe(replace('./layout/frontend/', '/layout/frontend/'))
|
|
266
|
-
.pipe(gulp.dest(distdir + "/snippets/"));
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
const esbuild = (options) => {
|
|
270
|
-
let baseOptions = {
|
|
271
|
-
bundle: true,
|
|
272
|
-
target: [
|
|
273
|
-
'firefox100',
|
|
274
|
-
'chrome100',
|
|
275
|
-
'edge100',
|
|
276
|
-
'safari15',
|
|
277
|
-
'ios14'
|
|
278
|
-
]
|
|
279
|
-
}
|
|
280
|
-
return gulp.src(
|
|
281
|
-
srcdir + '/js/*.js',
|
|
282
|
-
srcdir + '/js/*.ts'
|
|
283
|
-
)
|
|
284
|
-
.pipe(gulpEsbuild({...baseOptions, ...options}))
|
|
285
|
-
.on('error', onError)
|
|
286
|
-
.pipe(gulp.dest(distdir + '/js'));
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
function esbuildSourcemaps() {
|
|
290
|
-
return esbuild({
|
|
291
|
-
sourcemap: true,
|
|
292
|
-
});
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
function esbuildPublic() {
|
|
296
|
-
return esbuild({
|
|
297
|
-
sourcemap: true,
|
|
298
|
-
minify: true
|
|
299
|
-
});
|
|
300
|
-
}
|
|
301
|
-
|
|
302
|
-
function watchFiles() {
|
|
303
|
-
gulp.watch([
|
|
304
|
-
srcdir + "/scss/**/*.scss"
|
|
305
|
-
], gulp.series(
|
|
306
|
-
gulp.parallel(sassSourcemaps)
|
|
307
|
-
));
|
|
308
|
-
gulp.watch([
|
|
309
|
-
srcdir + "/js/**/*.js",
|
|
310
|
-
srcdir + "/js/**/*.ts"
|
|
311
|
-
], gulp.series(
|
|
312
|
-
esbuildSourcemaps,
|
|
313
|
-
browsersyncReload
|
|
314
|
-
));
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
function onError(err) {
|
|
318
|
-
console.error(err);
|
|
319
|
-
this.emit('end');
|
|
320
|
-
}
|
|
321
|
-
|
|
322
|
-
function onErrorHide(err) {
|
|
323
|
-
this.emit('end');
|
|
324
|
-
}
|
|
325
|
-
|
|
326
|
-
function browsersyncServe(cb) {
|
|
327
|
-
if (browserSyncOptions.start) {
|
|
328
|
-
browserSyncServer.init({
|
|
329
|
-
port: browserSyncOptions.port,
|
|
330
|
-
open: browserSyncOptions.open,
|
|
331
|
-
proxy: browserSyncProxy
|
|
332
|
-
});
|
|
333
|
-
cb();
|
|
334
|
-
}else{
|
|
335
|
-
cb();
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
function browsersyncReload(cb) {
|
|
340
|
-
if (browserSyncOptions.start) {
|
|
341
|
-
browserSyncServer.reload();
|
|
342
|
-
}
|
|
343
|
-
cb();
|
|
344
|
-
}
|
|
345
|
-
|
|
346
|
-
// TASKS
|
|
347
|
-
|
|
348
|
-
gulp.task('default', gulp.series(
|
|
349
|
-
gulp.parallel(
|
|
350
|
-
cleanIcons,
|
|
351
|
-
cleanDist
|
|
352
|
-
),
|
|
353
|
-
gulp.parallel(
|
|
354
|
-
browsersyncServe,
|
|
355
|
-
generateIconfont
|
|
356
|
-
),
|
|
357
|
-
gulp.parallel(
|
|
358
|
-
copy,
|
|
359
|
-
sassSourcemaps,
|
|
360
|
-
sassAddons,
|
|
361
|
-
esbuildSourcemaps
|
|
362
|
-
),
|
|
363
|
-
gulp.parallel(
|
|
364
|
-
generateCSSHtml,
|
|
365
|
-
generateJSHtml,
|
|
366
|
-
generateFontHtml,
|
|
367
|
-
generateFaviconHtml
|
|
368
|
-
),
|
|
369
|
-
watchFiles
|
|
370
|
-
));
|
|
371
|
-
|
|
372
|
-
gulp.task('public', gulp.series(
|
|
373
|
-
gulp.parallel(
|
|
374
|
-
cleanIcons,
|
|
375
|
-
cleanDist
|
|
376
|
-
),
|
|
377
|
-
generateIconfontTimestamp,
|
|
378
|
-
gulp.parallel(
|
|
379
|
-
copy,
|
|
380
|
-
sassStyle,
|
|
381
|
-
sassAddons,
|
|
382
|
-
esbuildPublic
|
|
383
|
-
),
|
|
384
|
-
autoprefixCSS,
|
|
385
|
-
minifyStyleCSS,
|
|
386
|
-
gulp.parallel(
|
|
387
|
-
renameCSSFiles,
|
|
388
|
-
renameJSFiles
|
|
389
|
-
),
|
|
390
|
-
gulp.parallel(
|
|
391
|
-
generateCSSHtml,
|
|
392
|
-
generateJSHtml,
|
|
393
|
-
generateFontHtml,
|
|
394
|
-
generateFaviconHtml
|
|
395
|
-
)
|
|
396
|
-
));
|
|
397
|
-
|
|
398
|
-
gulp.task('generate-favicon', function (done) {
|
|
399
|
-
realFavicon.generateFavicon({
|
|
400
|
-
masterPicture: srcdir + "/" + favicon.masterpicture_path + "/" + favicon.masterpicture_filename,
|
|
401
|
-
dest: builddir + favicon.distdir + '/',
|
|
402
|
-
iconsPath: layoutpath + distdir + favicon.distdir + '/',
|
|
403
|
-
design: {
|
|
404
|
-
ios: {
|
|
405
|
-
pictureAspect: 'backgroundAndMargin',
|
|
406
|
-
backgroundColor: faviconBackground,
|
|
407
|
-
margin: '18%',
|
|
408
|
-
assets: {
|
|
409
|
-
ios6AndPriorIcons: false,
|
|
410
|
-
ios7AndLaterIcons: false,
|
|
411
|
-
precomposedIcons: false,
|
|
412
|
-
declareOnlyDefaultIcon: true
|
|
413
|
-
}
|
|
414
|
-
},
|
|
415
|
-
desktopBrowser: {
|
|
416
|
-
design: 'raw'
|
|
417
|
-
},
|
|
418
|
-
windows: {
|
|
419
|
-
pictureAspect: 'noChange',
|
|
420
|
-
backgroundColor: faviconBackground,
|
|
421
|
-
onConflict: 'override',
|
|
422
|
-
assets: {
|
|
423
|
-
windows80Ie10Tile: false,
|
|
424
|
-
windows10Ie11EdgeTiles: {
|
|
425
|
-
small: false,
|
|
426
|
-
medium: true,
|
|
427
|
-
big: false,
|
|
428
|
-
rectangle: false
|
|
429
|
-
}
|
|
430
|
-
}
|
|
431
|
-
},
|
|
432
|
-
androidChrome: {
|
|
433
|
-
pictureAspect: 'noChange',
|
|
434
|
-
themeColor: faviconBackground,
|
|
435
|
-
manifest: {
|
|
436
|
-
name: favicon.title,
|
|
437
|
-
display: 'standalone',
|
|
438
|
-
orientation: 'notSet',
|
|
439
|
-
onConflict: 'override',
|
|
440
|
-
declared: true
|
|
441
|
-
},
|
|
442
|
-
assets: {
|
|
443
|
-
legacyIcon: false,
|
|
444
|
-
lowResolutionIcons: false
|
|
445
|
-
}
|
|
446
|
-
},
|
|
447
|
-
safariPinnedTab: {
|
|
448
|
-
pictureAspect: 'silhouette',
|
|
449
|
-
themeColor: faviconColor
|
|
450
|
-
}
|
|
451
|
-
},
|
|
452
|
-
settings: {
|
|
453
|
-
scalingAlgorithm: 'Mitchell',
|
|
454
|
-
errorOnImageTooSmall: false,
|
|
455
|
-
readmeFile: false,
|
|
456
|
-
htmlCodeFile: false,
|
|
457
|
-
usePathAsIs: false
|
|
458
|
-
},
|
|
459
|
-
markupFile: builddir + "/favicons/faviconData.json"
|
|
460
|
-
}, function () {
|
|
461
|
-
done();
|
|
462
|
-
});
|
|
463
|
-
});
|