@colijnit/catalog 12.1.25 → 12.1.27
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/README.md +10 -14
- package/bundles/colijnit-catalog.umd.js +2514 -1817
- package/bundles/colijnit-catalog.umd.js.map +1 -1
- package/colijnit-catalog.d.ts +37 -33
- package/colijnit-catalog.metadata.json +1 -1
- package/esm2015/colijnit-catalog.js +38 -34
- package/esm2015/lib/cache/cache-field.js +75 -0
- package/esm2015/lib/cache/parameter-cache-field.js +54 -0
- package/esm2015/lib/cache/service/business-object-cache-manager.service.js +150 -0
- package/esm2015/lib/cache/service/select-multiple-cache.service.js +38 -0
- package/esm2015/lib/cache/service/select-multiple-parameterized-cache.service.js +47 -0
- package/esm2015/lib/cache/service/select-single-cache.service.js +30 -0
- package/esm2015/lib/cache/service/select-single-parameterized-cache.service.js +47 -0
- package/esm2015/lib/catalog-version.js +10 -0
- package/esm2015/lib/component/base/article-base.component.js +152 -0
- package/esm2015/lib/component/base/catalog-search-base.component.js +23 -0
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.component.js +86 -0
- package/esm2015/lib/component/catalog-article-list/catalog-article-list.module.js +26 -0
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.component.js +75 -0
- package/esm2015/lib/component/catalog-article-tile/catalog-article-tile.module.js +27 -0
- package/esm2015/lib/component/catalog-categories/catalog-categories.component.js +92 -0
- package/esm2015/lib/component/catalog-categories/catalog-categories.module.js +26 -0
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.component.js +57 -0
- package/esm2015/lib/component/catalog-external-source/catalog-external-source.module.js +19 -0
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.component.js +52 -0
- package/esm2015/lib/component/catalog-external-sources/catalog-external-sources.module.js +25 -0
- package/esm2015/lib/component/catalog-filter/catalog-filter.component.js +190 -0
- package/esm2015/lib/component/catalog-filter/catalog-filter.module.js +29 -0
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.component.js +205 -0
- package/esm2015/lib/component/catalog-navigation/catalog-navigation.module.js +27 -0
- package/esm2015/lib/component/catalog-search/catalog-search.component.js +104 -0
- package/esm2015/lib/component/catalog-search/catalog-search.module.js +33 -0
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.component.js +36 -0
- package/esm2015/lib/component/catalog-search-header/catalog-search-header.module.js +21 -0
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.component.js +44 -0
- package/esm2015/lib/component/catalog-search-result-list/catalog-search-result-list.module.js +27 -0
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.js +62 -0
- package/esm2015/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.js +27 -0
- package/esm2015/lib/component/responsive-text/responsive-text.component.js +24 -0
- package/esm2015/lib/component/responsive-text/responsive-text.module.js +19 -0
- package/esm2015/lib/directive/overlay/overlay-parent.directive.js +19 -0
- package/esm2015/lib/directive/overlay/overlay.directive.js +73 -0
- package/esm2015/lib/directive/overlay/overlay.module.js +18 -0
- package/esm2015/lib/directive/visibility-observer-master.directive.js +49 -0
- package/esm2015/lib/directive/visibility-observer.directive.js +55 -0
- package/esm2015/lib/directive/visibility-observer.module.js +18 -0
- package/esm2015/lib/enum/icon.enum.js +25 -0
- package/esm2015/lib/enum/language-code.enum.js +8 -0
- package/esm2015/lib/interface/order-by.interface.js +2 -0
- package/esm2015/lib/model/articles-search-result.js +3 -0
- package/esm2015/lib/model/external-source-viewmodel.js +7 -0
- package/esm2015/lib/model/filter-item.viewmodel.js +10 -0
- package/esm2015/lib/model/filter-viewmodel.js +12 -0
- package/esm2015/lib/model/icon.js +24 -0
- package/esm2015/lib/model/settings-options.js +20 -0
- package/esm2015/lib/model/settings.js +10 -0
- package/esm2015/lib/pipe/localize.pipe.js +27 -0
- package/esm2015/lib/service/catalog-connector-adapter.service.js +332 -0
- package/esm2015/lib/service/catalog-connector.service.js +142 -0
- package/esm2015/lib/service/catalog-event.service.js +19 -0
- package/esm2015/lib/service/catalog-filter.service.js +91 -0
- package/esm2015/lib/service/catalog-image.service.js +124 -0
- package/esm2015/lib/service/catalog-options.service.js +92 -0
- package/esm2015/lib/service/catalog-search.service.js +157 -0
- package/esm2015/lib/service/catalog-settings.service.js +111 -0
- package/esm2015/lib/service/catalog.service.js +305 -0
- package/esm2015/lib/service/dictionary.service.js +90 -0
- package/esm2015/lib/service/icon-cache.service.js +40 -0
- package/esm2015/lib/utils/json.utils.js +22 -0
- package/esm2015/public_api.js +15 -3
- package/fesm2015/colijnit-catalog.js +2508 -1528
- package/fesm2015/colijnit-catalog.js.map +1 -1
- package/lib/cache/cache-field.d.ts +25 -0
- package/lib/cache/parameter-cache-field.d.ts +11 -0
- package/lib/cache/service/business-object-cache-manager.service.d.ts +58 -0
- package/lib/cache/service/select-multiple-cache.service.d.ts +15 -0
- package/lib/cache/service/select-multiple-parameterized-cache.service.d.ts +19 -0
- package/lib/cache/service/select-single-cache.service.d.ts +12 -0
- package/lib/cache/service/select-single-parameterized-cache.service.d.ts +18 -0
- package/{app/components/catalog/article-card/article-card.component.d.ts → lib/component/base/article-base.component.d.ts} +20 -16
- package/lib/component/base/catalog-search-base.component.d.ts +8 -0
- package/lib/component/catalog-article-list/catalog-article-list.component.d.ts +4 -0
- package/lib/component/catalog-article-list/catalog-article-list.module.d.ts +2 -0
- package/lib/component/catalog-article-list/style/_layout.scss +463 -0
- package/lib/component/catalog-article-list/style/_material-definition.scss +9 -0
- package/lib/component/catalog-article-list/style/_theme.scss +4 -0
- package/lib/component/catalog-article-list/style/material.scss +4 -0
- package/lib/component/catalog-article-tile/catalog-article-tile.component.d.ts +4 -0
- package/lib/component/catalog-article-tile/catalog-article-tile.module.d.ts +2 -0
- package/lib/component/catalog-article-tile/style/_layout.scss +693 -0
- package/lib/component/catalog-article-tile/style/_material-definition.scss +11 -0
- package/lib/component/catalog-article-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-article-tile/style/material.scss +4 -0
- package/lib/component/catalog-categories/catalog-categories.component.d.ts +19 -0
- package/lib/component/catalog-categories/catalog-categories.module.d.ts +2 -0
- package/lib/component/catalog-categories/style/_layout.scss +112 -0
- package/lib/component/catalog-categories/style/_material-definition.scss +32 -0
- package/lib/component/catalog-categories/style/_theme.scss +14 -0
- package/lib/component/catalog-categories/style/material.scss +5 -0
- package/lib/component/catalog-external-source/catalog-external-source.component.d.ts +18 -0
- package/lib/component/catalog-external-source/catalog-external-source.module.d.ts +2 -0
- package/lib/component/catalog-external-source/style/_layout.scss +51 -0
- package/lib/component/catalog-external-source/style/_material-definition.scss +0 -0
- package/lib/component/catalog-external-source/style/_theme.scss +4 -0
- package/lib/component/catalog-external-source/style/material.scss +4 -0
- package/lib/component/catalog-external-sources/catalog-external-sources.component.d.ts +13 -0
- package/lib/component/catalog-external-sources/catalog-external-sources.module.d.ts +2 -0
- package/lib/component/catalog-external-sources/style/_layout.scss +55 -0
- package/lib/component/catalog-external-sources/style/_material-definition.scss +19 -0
- package/lib/component/catalog-external-sources/style/_theme.scss +14 -0
- package/lib/component/catalog-external-sources/style/material.scss +5 -0
- package/lib/component/catalog-filter/catalog-filter.component.d.ts +40 -0
- package/lib/component/catalog-filter/catalog-filter.module.d.ts +2 -0
- package/lib/component/catalog-filter/style/_layout.scss +52 -0
- package/lib/component/catalog-filter/style/_material-definition.scss +8 -0
- package/lib/component/catalog-filter/style/_theme.scss +17 -0
- package/lib/component/catalog-filter/style/material.scss +4 -0
- package/lib/component/catalog-navigation/catalog-navigation.component.d.ts +54 -0
- package/lib/component/catalog-navigation/catalog-navigation.module.d.ts +2 -0
- package/lib/component/catalog-navigation/style/_layout.scss +523 -0
- package/lib/component/catalog-navigation/style/_material-definition.scss +26 -0
- package/lib/component/catalog-navigation/style/_theme.scss +7 -0
- package/lib/component/catalog-navigation/style/material.scss +4 -0
- package/lib/component/catalog-search/catalog-search.component.d.ts +25 -0
- package/lib/component/catalog-search/catalog-search.module.d.ts +2 -0
- package/lib/component/catalog-search/style/_layout.scss +30 -0
- package/lib/component/catalog-search/style/_material-definition.scss +2 -0
- package/lib/component/catalog-search/style/_theme.scss +4 -0
- package/lib/component/catalog-search/style/material.scss +4 -0
- package/lib/component/catalog-search-header/catalog-search-header.component.d.ts +7 -0
- package/lib/component/catalog-search-header/catalog-search-header.module.d.ts +2 -0
- package/lib/component/catalog-search-header/style/_layout.scss +12 -0
- package/lib/component/catalog-search-header/style/_material-definition.scss +4 -0
- package/lib/component/catalog-search-header/style/_theme.scss +4 -0
- package/lib/component/catalog-search-header/style/material.scss +4 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.component.d.ts +4 -0
- package/lib/component/catalog-search-result-list/catalog-search-result-list.module.d.ts +2 -0
- package/lib/component/catalog-search-result-list/style/_layout.scss +4 -0
- package/lib/component/catalog-search-result-list/style/_material-definition.scss +0 -0
- package/lib/component/catalog-search-result-list/style/_theme.scss +4 -0
- package/lib/component/catalog-search-result-list/style/material.scss +4 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.component.d.ts +12 -0
- package/lib/component/catalog-search-result-tile/catalog-search-result-tile.module.d.ts +2 -0
- package/lib/component/catalog-search-result-tile/style/_layout.scss +16 -0
- package/lib/component/catalog-search-result-tile/style/_material-definition.scss +0 -0
- package/lib/component/catalog-search-result-tile/style/_theme.scss +4 -0
- package/lib/component/catalog-search-result-tile/style/material.scss +4 -0
- package/lib/component/responsive-text/responsive-text.component.d.ts +4 -0
- package/lib/component/responsive-text/responsive-text.module.d.ts +2 -0
- package/lib/component/responsive-text/style/_layout.scss +9 -0
- package/lib/component/responsive-text/style/_material-definition.scss +0 -0
- package/lib/component/responsive-text/style/_theme.scss +4 -0
- package/lib/component/responsive-text/style/material.scss +4 -0
- package/lib/directive/overlay/overlay-parent.directive.d.ts +6 -0
- package/lib/directive/overlay/overlay.directive.d.ts +15 -0
- package/lib/directive/overlay/overlay.module.d.ts +2 -0
- package/lib/directive/visibility-observer.module.d.ts +2 -0
- package/{app → lib}/model/settings-options.d.ts +2 -0
- package/{app/service/i-one-controller.service.d.ts → lib/service/catalog-connector-adapter.service.d.ts} +4 -5
- package/lib/service/catalog-connector.service.d.ts +42 -0
- package/{app/service/app-event.service.d.ts → lib/service/catalog-event.service.d.ts} +2 -2
- package/{app/service/filter.service.d.ts → lib/service/catalog-filter.service.d.ts} +3 -3
- package/{app/service/image.service.d.ts → lib/service/catalog-image.service.d.ts} +3 -3
- package/{app/service/options.service.d.ts → lib/service/catalog-options.service.d.ts} +3 -3
- package/lib/service/catalog-search.service.d.ts +43 -0
- package/{app/service/settings.service.d.ts → lib/service/catalog-settings.service.d.ts} +3 -5
- package/{app → lib}/service/catalog.service.d.ts +20 -24
- package/{app → lib}/service/dictionary.service.d.ts +0 -3
- package/lib/style/_mixin.scss +15 -0
- package/lib/style/_variables.scss +10 -0
- package/lib/style/catalog-globals.scss +3 -0
- package/lib/utils/json.utils.d.ts +3 -0
- package/package.json +2 -2
- package/public_api.d.ts +14 -2
- package/app/base/base-component.d.ts +0 -2
- package/app/components/catalog/catalog/catalog.component.d.ts +0 -11
- package/app/components/catalog/catalog-external/catalog-external.component.d.ts +0 -19
- package/app/components/catalog/catalog-filter/catalog-filter.component.d.ts +0 -40
- package/app/components/catalog/catalog-home/catalog-home.component.d.ts +0 -15
- package/app/components/catalog/catalog-page/catalog-page.component.d.ts +0 -41
- package/app/components/catalog/filter-items/filter-items.component.d.ts +0 -20
- package/app/components/core/icon-handle/icon-handle.component.d.ts +0 -14
- package/app/components/core/label-field/label-field.component.d.ts +0 -4
- package/app/components/left-content/left-content.component.d.ts +0 -4
- package/app/components/main-content/main-content.component.d.ts +0 -4
- package/app/components/navigation/navigation.component.d.ts +0 -29
- package/app/components/top-content/top-content.component.d.ts +0 -16
- package/app/enum/level-indicator-level.enum.d.ts +0 -5
- package/app/interface/filter-item.d.ts +0 -7
- package/app/ione-catalog.component.d.ts +0 -46
- package/app/ione-catalog.module.d.ts +0 -4
- package/app/layout.directive.d.ts +0 -20
- package/app/pipe/greater-than-zero.pipe.d.ts +0 -4
- package/app/service/app-initializer.service.d.ts +0 -6
- package/app/service/navigation.service.d.ts +0 -27
- package/app/style/_scrollbars.mixins.scss +0 -18
- package/app/style/_variables.scss +0 -17
- package/app/style/catalog-globals.scss +0 -94
- package/app/utils/json-utils.service.d.ts +0 -3
- package/app/utils/string-utils.d.ts +0 -6
- package/app/utils/utils.service.d.ts +0 -21
- package/esm2015/app/base/base-component.js +0 -3
- package/esm2015/app/catalog-version.js +0 -10
- package/esm2015/app/components/catalog/article-card/article-card.component.js +0 -137
- package/esm2015/app/components/catalog/catalog/catalog.component.js +0 -32
- package/esm2015/app/components/catalog/catalog-external/catalog-external.component.js +0 -54
- package/esm2015/app/components/catalog/catalog-filter/catalog-filter.component.js +0 -142
- package/esm2015/app/components/catalog/catalog-home/catalog-home.component.js +0 -39
- package/esm2015/app/components/catalog/catalog-page/catalog-page.component.js +0 -124
- package/esm2015/app/components/catalog/filter-items/filter-items.component.js +0 -48
- package/esm2015/app/components/core/icon-handle/icon-handle.component.js +0 -32
- package/esm2015/app/components/core/label-field/label-field.component.js +0 -18
- package/esm2015/app/components/left-content/left-content.component.js +0 -13
- package/esm2015/app/components/main-content/main-content.component.js +0 -13
- package/esm2015/app/components/navigation/navigation.component.js +0 -94
- package/esm2015/app/components/top-content/top-content.component.js +0 -46
- package/esm2015/app/directive/visibility-observer-master.directive.js +0 -49
- package/esm2015/app/directive/visibility-observer.directive.js +0 -55
- package/esm2015/app/enum/icon.enum.js +0 -25
- package/esm2015/app/enum/language-code.enum.js +0 -8
- package/esm2015/app/enum/level-indicator-level.enum.js +0 -7
- package/esm2015/app/interface/filter-item.js +0 -2
- package/esm2015/app/interface/order-by.interface.js +0 -2
- package/esm2015/app/ione-catalog.component.js +0 -120
- package/esm2015/app/ione-catalog.module.js +0 -119
- package/esm2015/app/layout.directive.js +0 -68
- package/esm2015/app/model/articles-search-result.js +0 -3
- package/esm2015/app/model/external-source-viewmodel.js +0 -7
- package/esm2015/app/model/filter-item.viewmodel.js +0 -10
- package/esm2015/app/model/filter-viewmodel.js +0 -12
- package/esm2015/app/model/icon.js +0 -24
- package/esm2015/app/model/settings-options.js +0 -18
- package/esm2015/app/model/settings.js +0 -10
- package/esm2015/app/pipe/greater-than-zero.pipe.js +0 -16
- package/esm2015/app/pipe/localize.pipe.js +0 -27
- package/esm2015/app/service/app-event.service.js +0 -19
- package/esm2015/app/service/app-initializer.service.js +0 -25
- package/esm2015/app/service/catalog.service.js +0 -273
- package/esm2015/app/service/dictionary.service.js +0 -90
- package/esm2015/app/service/filter.service.js +0 -86
- package/esm2015/app/service/i-one-controller.service.js +0 -329
- package/esm2015/app/service/icon-cache.service.js +0 -35
- package/esm2015/app/service/image.service.js +0 -119
- package/esm2015/app/service/navigation.service.js +0 -80
- package/esm2015/app/service/options.service.js +0 -86
- package/esm2015/app/service/settings.service.js +0 -108
- package/esm2015/app/utils/json-utils.service.js +0 -26
- package/esm2015/app/utils/string-utils.js +0 -37
- package/esm2015/app/utils/utils.service.js +0 -111
- /package/{app → lib}/catalog-version.d.ts +0 -0
- /package/{app → lib}/directive/visibility-observer-master.directive.d.ts +0 -0
- /package/{app → lib}/directive/visibility-observer.directive.d.ts +0 -0
- /package/{app → lib}/enum/icon.enum.d.ts +0 -0
- /package/{app → lib}/enum/language-code.enum.d.ts +0 -0
- /package/{app → lib}/interface/order-by.interface.d.ts +0 -0
- /package/{app → lib}/model/articles-search-result.d.ts +0 -0
- /package/{app → lib}/model/external-source-viewmodel.d.ts +0 -0
- /package/{app → lib}/model/filter-item.viewmodel.d.ts +0 -0
- /package/{app → lib}/model/filter-viewmodel.d.ts +0 -0
- /package/{app → lib}/model/icon.d.ts +0 -0
- /package/{app → lib}/model/settings.d.ts +0 -0
- /package/{app → lib}/pipe/localize.pipe.d.ts +0 -0
- /package/{app → lib}/service/icon-cache.service.d.ts +0 -0
|
@@ -0,0 +1,693 @@
|
|
|
1
|
+
@include export-module('co-catalog-article-tile-layout') {
|
|
2
|
+
.co-catalog-article-tile {
|
|
3
|
+
font-family: $co-catalog-article-tile-font-family;
|
|
4
|
+
font-size: $co-catalog-article-tile-font-size;
|
|
5
|
+
transition: all 0.14s ease-out;
|
|
6
|
+
border-style: $co-catalog-article-tile-border-style;
|
|
7
|
+
border-width: $co-catalog-article-tile-border-width;
|
|
8
|
+
border-color: $co-catalog-article-tile-border-color;
|
|
9
|
+
padding: $co-catalog-article-tile-padding;
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
//justify-content: space-between;
|
|
13
|
+
&:hover {
|
|
14
|
+
cursor: pointer;
|
|
15
|
+
border-style: $co-catalog-article-tile-hover-border-style;
|
|
16
|
+
border-width: $co-catalog-article-tile-hover-border-width;
|
|
17
|
+
border-color: $co-catalog-article-tile-hover-border-color;
|
|
18
|
+
.open-icon {
|
|
19
|
+
opacity: 1;
|
|
20
|
+
transition: all .2s ease;
|
|
21
|
+
}
|
|
22
|
+
.extended-shadow-wrapper {
|
|
23
|
+
/*display: flex;*/
|
|
24
|
+
z-index: 1;
|
|
25
|
+
}
|
|
26
|
+
//.card-wrapper {
|
|
27
|
+
// overflow: hidden;
|
|
28
|
+
// flex-shrink: 0;
|
|
29
|
+
//
|
|
30
|
+
//}
|
|
31
|
+
.description-wrapper {
|
|
32
|
+
.main {
|
|
33
|
+
.main-bottom {
|
|
34
|
+
.main-bottom-left {
|
|
35
|
+
.stock {
|
|
36
|
+
text-decoration: underline;
|
|
37
|
+
color: #3E7EFF;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
.card-wrapper {
|
|
45
|
+
position: relative;
|
|
46
|
+
}
|
|
47
|
+
.article-tile-wrapper {
|
|
48
|
+
display: flex;
|
|
49
|
+
flex-direction: column;
|
|
50
|
+
height: 100%;
|
|
51
|
+
}
|
|
52
|
+
.image {
|
|
53
|
+
display: flex;
|
|
54
|
+
align-items: center;
|
|
55
|
+
justify-content: center;
|
|
56
|
+
overflow: hidden;
|
|
57
|
+
width: 100%;
|
|
58
|
+
height: $co-catalog-article-tile-image-height;
|
|
59
|
+
.co-image {
|
|
60
|
+
height: 100%;
|
|
61
|
+
width: fit-content;
|
|
62
|
+
}
|
|
63
|
+
.no-image-wrapper {
|
|
64
|
+
display: flex;
|
|
65
|
+
flex-direction: column;
|
|
66
|
+
align-items: center;
|
|
67
|
+
justify-content: center;
|
|
68
|
+
opacity: 0.2;
|
|
69
|
+
width: 100%;
|
|
70
|
+
height: 100%;
|
|
71
|
+
.no-image {
|
|
72
|
+
height: 40%;
|
|
73
|
+
width: 40%;
|
|
74
|
+
span {
|
|
75
|
+
font-size: 13px;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
.button-wrapper {
|
|
81
|
+
height: 30px;
|
|
82
|
+
position: absolute;
|
|
83
|
+
left: 0;
|
|
84
|
+
top: 0;
|
|
85
|
+
|
|
86
|
+
::ng-deep co-icon {
|
|
87
|
+
display: inline-block;
|
|
88
|
+
width: 30px;
|
|
89
|
+
height: 30px;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
.description-wrapper {
|
|
93
|
+
display: flex;
|
|
94
|
+
flex-direction: column;
|
|
95
|
+
flex-basis: 100%;
|
|
96
|
+
justify-content: space-between;
|
|
97
|
+
margin: $co-catalog-article-tile-description-margin;
|
|
98
|
+
.main-bottom {
|
|
99
|
+
display: flex;
|
|
100
|
+
justify-content: space-between;
|
|
101
|
+
align-items: flex-end;
|
|
102
|
+
width: 100%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.on-article-buttons {
|
|
106
|
+
pointer-events: none;
|
|
107
|
+
display: flex;
|
|
108
|
+
flex-direction: column;
|
|
109
|
+
justify-content: flex-end;
|
|
110
|
+
margin: 0 5px 0 0;
|
|
111
|
+
transition: all .2s ease-in-out;
|
|
112
|
+
|
|
113
|
+
> co-button {
|
|
114
|
+
pointer-events: all;
|
|
115
|
+
padding: 0 !important;
|
|
116
|
+
font-size: 0;
|
|
117
|
+
width: 42px;
|
|
118
|
+
height: 42px;
|
|
119
|
+
text-align: center;
|
|
120
|
+
margin: 0;
|
|
121
|
+
border-radius: 100%;
|
|
122
|
+
background: #3E7EFF;
|
|
123
|
+
cursor: pointer;
|
|
124
|
+
place-content: center;
|
|
125
|
+
|
|
126
|
+
&:hover {
|
|
127
|
+
opacity: 0.8;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
::ng-deep co-icon {
|
|
131
|
+
width: 34px;
|
|
132
|
+
height: 34px;
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
//.main {
|
|
138
|
+
// padding: 0;
|
|
139
|
+
// width: 100%;
|
|
140
|
+
|
|
141
|
+
.turnover {
|
|
142
|
+
font-size: 12px;
|
|
143
|
+
color: $ca-primary-color-light;
|
|
144
|
+
margin: 0;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.added-description {
|
|
148
|
+
font-size: 11px;
|
|
149
|
+
height: 20px;
|
|
150
|
+
text-overflow: ellipsis;
|
|
151
|
+
white-space: nowrap;
|
|
152
|
+
overflow: hidden;
|
|
153
|
+
-moz-hyphens: auto;
|
|
154
|
+
-ms-hyphens: auto;
|
|
155
|
+
-webkit-hyphens: auto;
|
|
156
|
+
display: block;
|
|
157
|
+
hyphens: auto;
|
|
158
|
+
width: 100%;
|
|
159
|
+
margin: 5px 0;
|
|
160
|
+
word-wrap: break-word;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
.description {
|
|
164
|
+
font-size: 14px;
|
|
165
|
+
font-weight: bold;
|
|
166
|
+
color: #000;
|
|
167
|
+
margin: 10px 0 5px;
|
|
168
|
+
text-overflow: ellipsis;
|
|
169
|
+
white-space: nowrap;
|
|
170
|
+
overflow: hidden;
|
|
171
|
+
-moz-hyphens: auto;
|
|
172
|
+
-ms-hyphens: auto;
|
|
173
|
+
-webkit-hyphens: auto;
|
|
174
|
+
hyphens: auto;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
.delivery {
|
|
178
|
+
font-size: 12px;
|
|
179
|
+
font-weight: bold;
|
|
180
|
+
margin: 20px 0 0;
|
|
181
|
+
display: flex;
|
|
182
|
+
align-items: flex-start;
|
|
183
|
+
justify-content: center;
|
|
184
|
+
flex-direction: column;
|
|
185
|
+
color: $ca-primary-color-light;
|
|
186
|
+
|
|
187
|
+
::ng-deep co-level-indicator {
|
|
188
|
+
height: 30px;
|
|
189
|
+
|
|
190
|
+
> div {
|
|
191
|
+
justify-content: start;
|
|
192
|
+
|
|
193
|
+
div[class*="square-"] {
|
|
194
|
+
background: $co-catalog-article-tile-border-color;
|
|
195
|
+
width: 14px;
|
|
196
|
+
height: 14px;
|
|
197
|
+
margin: 0 3px 0 0;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
.price {
|
|
205
|
+
font-size: 16px;
|
|
206
|
+
margin: 10px 0 10px 0;
|
|
207
|
+
color: #404040;
|
|
208
|
+
font-weight: 500;
|
|
209
|
+
letter-spacing: -0.5px;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.stock {
|
|
213
|
+
color: #32a545;
|
|
214
|
+
font-size: 11px;
|
|
215
|
+
font-weight: 500;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
.stock.not-in-stock {
|
|
219
|
+
color: #5b6875;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.sku {
|
|
223
|
+
font-size: 11px;
|
|
224
|
+
color: #5b6875;
|
|
225
|
+
margin: 5px 0 5px;
|
|
226
|
+
text-transform: lowercase;
|
|
227
|
+
}
|
|
228
|
+
//}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
//div.image {
|
|
232
|
+
// position: relative;
|
|
233
|
+
// padding: 1px;
|
|
234
|
+
// display: flex;
|
|
235
|
+
// align-items: center;
|
|
236
|
+
// justify-content: center;
|
|
237
|
+
// overflow: hidden;
|
|
238
|
+
// max-width: 190px;
|
|
239
|
+
// margin: 0 auto;
|
|
240
|
+
//
|
|
241
|
+
// &:after {
|
|
242
|
+
// content: '';
|
|
243
|
+
// padding: 100% 0 0;
|
|
244
|
+
// float: left;
|
|
245
|
+
// width: 100%;
|
|
246
|
+
// }
|
|
247
|
+
//
|
|
248
|
+
// ::ng-deep co-image {
|
|
249
|
+
// position: absolute;
|
|
250
|
+
// left: 0;
|
|
251
|
+
// top: 0;
|
|
252
|
+
// overflow: hidden;
|
|
253
|
+
// width: 100%;
|
|
254
|
+
// height: 100%;
|
|
255
|
+
// object-fit: contain;
|
|
256
|
+
// z-index: -1;
|
|
257
|
+
// transition: all .2s ease;
|
|
258
|
+
//
|
|
259
|
+
// img {
|
|
260
|
+
// position: absolute;
|
|
261
|
+
// width: auto;
|
|
262
|
+
// height: auto;
|
|
263
|
+
// top: 50%;
|
|
264
|
+
// left: 50%;
|
|
265
|
+
// transform: translate(-50%, -50%);
|
|
266
|
+
// }
|
|
267
|
+
// }
|
|
268
|
+
//}
|
|
269
|
+
|
|
270
|
+
/*
|
|
271
|
+
&.list-card {
|
|
272
|
+
.list-wrapper {
|
|
273
|
+
.card-wrapper {
|
|
274
|
+
display: flex;
|
|
275
|
+
flex-direction: row;
|
|
276
|
+
align-items: center;
|
|
277
|
+
|
|
278
|
+
.left {
|
|
279
|
+
min-width: 200px;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
.right {
|
|
283
|
+
display: flex;
|
|
284
|
+
flex-direction: column;
|
|
285
|
+
justify-content: center;
|
|
286
|
+
|
|
287
|
+
.on-article-buttons {
|
|
288
|
+
pointer-events: none;
|
|
289
|
+
display: flex;
|
|
290
|
+
flex-direction: column;
|
|
291
|
+
justify-content: flex-end;
|
|
292
|
+
margin: 15px 0;
|
|
293
|
+
transition: all .2s ease-in-out;
|
|
294
|
+
|
|
295
|
+
> co-button {
|
|
296
|
+
pointer-events: all;
|
|
297
|
+
padding: 0 15px !important;
|
|
298
|
+
width: 150px;
|
|
299
|
+
height: 42px;
|
|
300
|
+
text-align: center;
|
|
301
|
+
margin: 0;
|
|
302
|
+
gap: 10px;
|
|
303
|
+
border-radius: 5px;
|
|
304
|
+
background: #3E7EFF;
|
|
305
|
+
cursor: pointer;
|
|
306
|
+
justify-content: flex-start;
|
|
307
|
+
|
|
308
|
+
&:hover {
|
|
309
|
+
opacity: 0.8;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
::ng-deep co-icon {
|
|
313
|
+
width: 34px;
|
|
314
|
+
height: 34px;
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
.price {
|
|
320
|
+
font-size: 18px;
|
|
321
|
+
color: #404040;
|
|
322
|
+
font-weight: 500;
|
|
323
|
+
letter-spacing: -0.5px;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.stock {
|
|
327
|
+
color: #32a545;
|
|
328
|
+
font-size: 12px;
|
|
329
|
+
font-weight: 500;
|
|
330
|
+
text-decoration: underline;
|
|
331
|
+
margin-top: 5px;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
.stock.not-in-stock {
|
|
335
|
+
color: #5b6875;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
.description-wrapper {
|
|
340
|
+
.main-bottom {
|
|
341
|
+
.description {
|
|
342
|
+
span {
|
|
343
|
+
display: block;
|
|
344
|
+
|
|
345
|
+
&.label {
|
|
346
|
+
font-size: 11px;
|
|
347
|
+
color: #5b6875;
|
|
348
|
+
margin: 5px 0;
|
|
349
|
+
font-weight: normal;
|
|
350
|
+
}
|
|
351
|
+
|
|
352
|
+
&.text {
|
|
353
|
+
font-weight: normal;
|
|
354
|
+
font-size: 12px;
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.extended-shadow-wrapper {
|
|
366
|
+
display: none;
|
|
367
|
+
position: absolute;
|
|
368
|
+
padding: 20px 20px 40px 20px;
|
|
369
|
+
top: calc(100% - 2px);
|
|
370
|
+
width: calc(100% - 40px);
|
|
371
|
+
background-color: #fafafa;
|
|
372
|
+
box-shadow: 0px 0px 13px -2px rgba(0, 0, 0, 0.2);
|
|
373
|
+
|
|
374
|
+
.extended {
|
|
375
|
+
display: grid;
|
|
376
|
+
grid-template-columns: 50% 50%;
|
|
377
|
+
grid-row-gap: 10px;
|
|
378
|
+
grid-column-gap: 15px;
|
|
379
|
+
|
|
380
|
+
app-label-field:nth-child(odd):not(:last-child) {
|
|
381
|
+
border-right: 1px solid $co-catalog-article-tile-border-color;
|
|
382
|
+
}
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
.no-image-wrapper {
|
|
387
|
+
//position: absolute;
|
|
388
|
+
//display: flex;
|
|
389
|
+
//left: 50%;
|
|
390
|
+
//top: 50%;
|
|
391
|
+
//margin: -48px 0 0 -40px;
|
|
392
|
+
//flex-direction: column;
|
|
393
|
+
//align-items: center;
|
|
394
|
+
//opacity: 0.25;
|
|
395
|
+
//
|
|
396
|
+
//.no-image {
|
|
397
|
+
// height: 80px;
|
|
398
|
+
// width: 80px;
|
|
399
|
+
//}
|
|
400
|
+
//
|
|
401
|
+
//span {
|
|
402
|
+
// font-size: 13px;
|
|
403
|
+
//}
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.right-aligned {
|
|
407
|
+
//margin-left: auto;
|
|
408
|
+
//display: flex;
|
|
409
|
+
//align-items: center;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.card-wrapper {
|
|
413
|
+
//overflow: hidden;
|
|
414
|
+
//flex-shrink: 0;
|
|
415
|
+
//
|
|
416
|
+
//.top {
|
|
417
|
+
// height: 50px;
|
|
418
|
+
// position: absolute;
|
|
419
|
+
// left: 0;
|
|
420
|
+
// top: 0;
|
|
421
|
+
//}
|
|
422
|
+
//
|
|
423
|
+
//.button-wrapper {
|
|
424
|
+
// height: 30px;
|
|
425
|
+
// position: absolute;
|
|
426
|
+
// left: 0;
|
|
427
|
+
// top: 0;
|
|
428
|
+
//
|
|
429
|
+
// ::ng-deep co-icon {
|
|
430
|
+
// display: inline-block;
|
|
431
|
+
// width: 30px;
|
|
432
|
+
// height: 30px;
|
|
433
|
+
// }
|
|
434
|
+
//}
|
|
435
|
+
//
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.description-wrapper {
|
|
439
|
+
display: flex;
|
|
440
|
+
flex-shrink: 1;
|
|
441
|
+
flex-grow: 1;
|
|
442
|
+
justify-content: space-between;
|
|
443
|
+
min-height: 40px;
|
|
444
|
+
padding: 15px 0 15px;
|
|
445
|
+
z-index: 9;
|
|
446
|
+
align-items: flex-start;
|
|
447
|
+
|
|
448
|
+
.main-bottom {
|
|
449
|
+
display: flex;
|
|
450
|
+
justify-content: space-between;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
.on-article-buttons {
|
|
454
|
+
pointer-events: none;
|
|
455
|
+
display: flex;
|
|
456
|
+
flex-direction: column;
|
|
457
|
+
justify-content: flex-end;
|
|
458
|
+
margin: 0 5px 0 0;
|
|
459
|
+
transition: all .2s ease-in-out;
|
|
460
|
+
|
|
461
|
+
> co-button {
|
|
462
|
+
pointer-events: all;
|
|
463
|
+
padding: 0 !important;
|
|
464
|
+
font-size: 0;
|
|
465
|
+
width: 42px;
|
|
466
|
+
height: 42px;
|
|
467
|
+
text-align: center;
|
|
468
|
+
margin: 0;
|
|
469
|
+
border-radius: 100%;
|
|
470
|
+
background: #3E7EFF;
|
|
471
|
+
cursor: pointer;
|
|
472
|
+
place-content: center;
|
|
473
|
+
|
|
474
|
+
&:hover {
|
|
475
|
+
opacity: 0.8;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
::ng-deep co-icon {
|
|
479
|
+
width: 34px;
|
|
480
|
+
height: 34px;
|
|
481
|
+
}
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.main {
|
|
486
|
+
padding: 0;
|
|
487
|
+
width: 100%;
|
|
488
|
+
|
|
489
|
+
.turnover {
|
|
490
|
+
font-size: 12px;
|
|
491
|
+
color: $ca-primary-color-light;
|
|
492
|
+
margin: 0;
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
.added-description {
|
|
496
|
+
font-size: 11px;
|
|
497
|
+
height: 20px;
|
|
498
|
+
text-overflow: ellipsis;
|
|
499
|
+
white-space: nowrap;
|
|
500
|
+
overflow: hidden;
|
|
501
|
+
-moz-hyphens: auto;
|
|
502
|
+
-ms-hyphens: auto;
|
|
503
|
+
-webkit-hyphens: auto;
|
|
504
|
+
display: block;
|
|
505
|
+
hyphens: auto;
|
|
506
|
+
width: 100%;
|
|
507
|
+
margin: 5px 0;
|
|
508
|
+
word-wrap: break-word;
|
|
509
|
+
}
|
|
510
|
+
|
|
511
|
+
.description {
|
|
512
|
+
font-size: 14px;
|
|
513
|
+
font-weight: bold;
|
|
514
|
+
color: #000;
|
|
515
|
+
margin: 10px 0 5px;
|
|
516
|
+
text-overflow: ellipsis;
|
|
517
|
+
white-space: nowrap;
|
|
518
|
+
overflow: hidden;
|
|
519
|
+
-moz-hyphens: auto;
|
|
520
|
+
-ms-hyphens: auto;
|
|
521
|
+
-webkit-hyphens: auto;
|
|
522
|
+
hyphens: auto;
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
.delivery {
|
|
526
|
+
font-size: 12px;
|
|
527
|
+
font-weight: bold;
|
|
528
|
+
margin: 20px 0 0;
|
|
529
|
+
display: flex;
|
|
530
|
+
align-items: flex-start;
|
|
531
|
+
justify-content: center;
|
|
532
|
+
flex-direction: column;
|
|
533
|
+
color: $ca-primary-color-light;
|
|
534
|
+
|
|
535
|
+
::ng-deep co-level-indicator {
|
|
536
|
+
height: 30px;
|
|
537
|
+
|
|
538
|
+
> div {
|
|
539
|
+
justify-content: start;
|
|
540
|
+
|
|
541
|
+
div[class*="square-"] {
|
|
542
|
+
background: $co-catalog-article-tile-border-color;
|
|
543
|
+
width: 14px;
|
|
544
|
+
height: 14px;
|
|
545
|
+
margin: 0 3px 0 0;
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
.price {
|
|
553
|
+
font-size: 16px;
|
|
554
|
+
margin: 10px 0 10px 0;
|
|
555
|
+
color: #404040;
|
|
556
|
+
font-weight: 500;
|
|
557
|
+
letter-spacing: -0.5px;
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
.stock {
|
|
561
|
+
color: #32a545;
|
|
562
|
+
font-size: 11px;
|
|
563
|
+
font-weight: 500;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
.stock.not-in-stock {
|
|
567
|
+
color: #5b6875;
|
|
568
|
+
}
|
|
569
|
+
|
|
570
|
+
.sku {
|
|
571
|
+
font-size: 11px;
|
|
572
|
+
color: #5b6875;
|
|
573
|
+
margin: 5px 0 5px;
|
|
574
|
+
text-transform: lowercase;
|
|
575
|
+
}
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
:host:hover co-button.magnify {
|
|
580
|
+
visibility: visible;
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
div.image {
|
|
584
|
+
position: relative;
|
|
585
|
+
padding: 1px;
|
|
586
|
+
display: flex;
|
|
587
|
+
align-items: center;
|
|
588
|
+
justify-content: center;
|
|
589
|
+
overflow: hidden;
|
|
590
|
+
max-width: 190px;
|
|
591
|
+
margin: 0 auto;
|
|
592
|
+
|
|
593
|
+
&:after {
|
|
594
|
+
content: '';
|
|
595
|
+
padding: 100% 0 0;
|
|
596
|
+
float: left;
|
|
597
|
+
width: 100%;
|
|
598
|
+
}
|
|
599
|
+
|
|
600
|
+
co-image ::ng-deep {
|
|
601
|
+
position: absolute;
|
|
602
|
+
left: 0;
|
|
603
|
+
top: 0;
|
|
604
|
+
overflow: hidden;
|
|
605
|
+
width: 100%;
|
|
606
|
+
height: 100%;
|
|
607
|
+
object-fit: contain;
|
|
608
|
+
z-index: -1;
|
|
609
|
+
transition: all .2s ease;
|
|
610
|
+
|
|
611
|
+
img {
|
|
612
|
+
position: absolute;
|
|
613
|
+
width: auto;
|
|
614
|
+
height: auto;
|
|
615
|
+
top: 50%;
|
|
616
|
+
left: 50%;
|
|
617
|
+
transform: translate(-50%, -50%);
|
|
618
|
+
}
|
|
619
|
+
}
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
co-button.magnify {
|
|
623
|
+
position: absolute;
|
|
624
|
+
visibility: hidden;
|
|
625
|
+
top: 1px;
|
|
626
|
+
left: 1px;
|
|
627
|
+
z-index: 2; !* above co-icon.check *!
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
co-button.magnify ::ng-deep svg {
|
|
631
|
+
transform: scale(1.5);
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
co-button.info {
|
|
635
|
+
position: absolute;
|
|
636
|
+
bottom: 71px;
|
|
637
|
+
right: 1px;
|
|
638
|
+
}
|
|
639
|
+
|
|
640
|
+
co-level-indicator {
|
|
641
|
+
margin-right: 5px;
|
|
642
|
+
}
|
|
643
|
+
|
|
644
|
+
.stock-row {
|
|
645
|
+
display: inline;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
.stock-details {
|
|
649
|
+
margin-left: 30px;
|
|
650
|
+
color: $ca-color-action;
|
|
651
|
+
}
|
|
652
|
+
*/
|
|
653
|
+
|
|
654
|
+
@media screen and (max-width: 860px) {
|
|
655
|
+
//.description-wrapper {
|
|
656
|
+
// display: flex;
|
|
657
|
+
// flex-shrink: 1;
|
|
658
|
+
// flex-grow: 1;
|
|
659
|
+
// flex-direction: column;
|
|
660
|
+
// min-height: 40px;
|
|
661
|
+
// padding: 15px 0 15px;
|
|
662
|
+
// z-index: -1;
|
|
663
|
+
//
|
|
664
|
+
// .main {
|
|
665
|
+
// padding: 0 10px;
|
|
666
|
+
//
|
|
667
|
+
// .brand {
|
|
668
|
+
// font-size: 11px;
|
|
669
|
+
// }
|
|
670
|
+
//
|
|
671
|
+
// .description {
|
|
672
|
+
// font-size: 13px;
|
|
673
|
+
// }
|
|
674
|
+
//
|
|
675
|
+
// .delivery {
|
|
676
|
+
// font-size: 12px;
|
|
677
|
+
//
|
|
678
|
+
// co-icon {
|
|
679
|
+
// width: 24px;
|
|
680
|
+
// height: 24px;
|
|
681
|
+
// margin: 0 10px 0 0;
|
|
682
|
+
// }
|
|
683
|
+
// }
|
|
684
|
+
//
|
|
685
|
+
// .price {
|
|
686
|
+
// font-size: 14px;
|
|
687
|
+
// margin: 10px 0 0;
|
|
688
|
+
// }
|
|
689
|
+
//
|
|
690
|
+
// }
|
|
691
|
+
}
|
|
692
|
+
}
|
|
693
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
$co-catalog-article-tile-font-family: $ca-font-family !default;
|
|
2
|
+
$co-catalog-article-tile-font-size: $ca-font-size !default;
|
|
3
|
+
$co-catalog-article-tile-padding: 10px 20px !default;
|
|
4
|
+
$co-catalog-article-tile-border-style: solid !default;
|
|
5
|
+
$co-catalog-article-tile-border-width: 1px !default;
|
|
6
|
+
$co-catalog-article-tile-border-color: transparent transparent $ca-color-border transparent !default;
|
|
7
|
+
$co-catalog-article-tile-hover-border-style: solid !default;
|
|
8
|
+
$co-catalog-article-tile-hover-border-width: 1px !default;
|
|
9
|
+
$co-catalog-article-tile-hover-border-color: $ca-color-border !default;
|
|
10
|
+
$co-catalog-article-tile-image-height: 150px !default;
|
|
11
|
+
$co-catalog-article-tile-description-margin: 10px 0 0 0 !default;
|