@colijnit/catalog 259.1.3 → 259.1.4

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.
@@ -2,50 +2,50 @@
2
2
  .co-catalog-categories {
3
3
  font-family: $co-catalog-categories-font-family;
4
4
  font-size: $co-catalog-categories-font-size;
5
+
5
6
  .categories-wrapper {
6
7
  display: grid;
7
- grid-template-columns: repeat(auto-fit, minmax(30px, 1fr));
8
+ grid-template-columns: repeat(auto-fit, minmax(330px, calc(25% - 30px)));
8
9
  overflow: hidden;
9
10
  padding: $co-catalog-categories-padding;
10
11
  grid-column-gap: $co-catalog-categories-column-gap;
12
+ grid-row-gap: $co-catalog-categories-column-gap;
11
13
  }
14
+
12
15
  .category-item {
13
16
  cursor: pointer;
14
17
  position: relative;
15
18
  display: flex;
16
19
  height: 100%;
17
20
  width: 100%;
18
- overflow: hidden;
21
+ overflow: auto;
22
+ max-height: 300px;
23
+ border: 1px solid #ccc;
24
+ border-radius: 3px;
19
25
  .co-image {
20
26
  height: 100%;
21
- width: 100%;
27
+ width: 50%;
28
+ min-width: 50%;
29
+ box-shadow: 1px 0px 5px 0px rgba(0, 0, 0, 0.1);
22
30
  img {
23
31
  height: 100%;
24
32
  width: 100%;
25
33
  filter: $co-catalog-categories-image-filter;
34
+ object-fit: cover;
26
35
  }
27
36
  }
28
37
 
29
38
  .category-description {
30
- display: block;
31
- position: absolute;
32
- //font-size: $co-catalog-external-sources-description-font-size;
33
- width: 100%;
34
- height: 100%;
35
- top: 50%;
36
- left: 50%;
37
- transform: translate(-50%, -50%);
38
- .text {
39
- display: flex;
40
- align-items: center;
41
- justify-content: center;
42
- width: 100%;
43
- height: 100%;
44
- font-weight: $co-catalog-categories-category-description-font-weight;
45
- text-shadow: $co-catalog-categories-category-description-text-shadow;
46
- text-transform: $co-catalog-categories-category-description-text-transform;
39
+ color: #000;
40
+ font-weight: 600;
41
+ font-size: 20px;
42
+ padding-bottom: 10px;
43
+ &:hover {
44
+ color: #1A73E8;
45
+ text-decoration: underline;
47
46
  }
48
47
  }
48
+
49
49
  &:hover {
50
50
  .co-image {
51
51
  img {
@@ -53,60 +53,30 @@
53
53
  }
54
54
  }
55
55
  }
56
- }
57
- .turnovergroup-items-wrapper {
58
- padding: $co-catalog-categories-turnovergroup-padding;
59
- .category-title {
60
- text-transform: $co-catalog-categories-turnovergroup-category-title-text-transform;
61
- font-weight: $co-catalog-categories-turnovergroup-category-title-font-weight;
62
- font-size: $co-catalog-categories-turnovergroup-category-title-font-size;
63
- margin: $co-catalog-categories-turnovergroup-category-title-margin;
64
- }
65
- }
66
- .turnovergroup-item-wrapper {
67
- display: grid;
68
- grid-template-columns: repeat(auto-fit, minmax(auto, $co-catalog-categories-turnovergroup-size));
69
- overflow: hidden;
70
- padding: $co-catalog-categories-padding;
71
- grid-column-gap: $co-catalog-categories-turnovergroup-column-gap;
72
- grid-auto-flow: column;
73
- .turnovergroup-item {
74
- cursor: pointer;
75
- position: relative;
56
+
57
+ .category-box {
76
58
  display: flex;
77
- flex-direction: column;
78
- height: 100%;
59
+ gap: 30px;
79
60
  width: 100%;
80
- overflow: hidden;
81
- .co-image {
82
- height: 100%;
61
+
62
+ .cat-turn-wrapper {
63
+ padding: 15px 10px 15px 0;
83
64
  width: 100%;
84
- border-style: $co-catalog-categories-turnovergroup-border-style;
85
- border-width: $co-catalog-categories-turnovergroup-border-width;
86
- border-radius: $co-catalog-categories-turnovergroup-border-radius;
87
- img {
88
- height: 100%;
89
- width: 100%;
90
- filter: $co-catalog-categories-turnovergroup-image-filter;
91
- }
92
- }
93
- .turnovergroup-description {
94
- text-transform: $co-catalog-categories-turnovergroup-description-text-transform;
95
- font-weight: $co-catalog-categories-turnovergroup-description-font-weight;
96
- font-size: $co-catalog-categories-turnovergroup-description-font-size;
97
- margin: $co-catalog-categories-turnovergroup-description-margin;
98
- text-overflow: $co-catalog-categories-turnovergroup-description-text-overflow;
99
- overflow: $co-catalog-categories-turnovergroup-description-overflow;
100
- white-space: $co-catalog-categories-turnovergroup-description-white-space;
101
- }
102
- &:hover {
103
- .co-image {
104
- img {
105
- filter: $co-catalog-categories-turnovergroup-image-hover-filter;
106
- }
107
- }
65
+ overflow: auto;
108
66
  }
109
67
  }
110
68
  }
111
69
  }
70
+ .turnovergroup-item {
71
+ padding: 3px 0;
72
+ &:hover {
73
+ color: #1A73E8;
74
+ text-decoration: underline;
75
+ }
76
+ }
77
+ .turnovergroup-description {
78
+ font-weight: $co-catalog-categories-turnovergroup-category-title-font-weight;
79
+ font-size: $co-catalog-categories-turnovergroup-category-title-font-size;
80
+ margin: $co-catalog-categories-turnovergroup-category-title-margin;
81
+ }
112
82
  }
@@ -1,11 +1,11 @@
1
1
  $co-catalog-categories-font-family: $ca-font-family !default;
2
2
  $co-catalog-categories-font-size: $ca-font-size !default;
3
3
  $co-catalog-categories-padding: 0 !default;
4
- $co-catalog-categories-column-gap: 10px !default;
4
+ $co-catalog-categories-column-gap: 30px !default;
5
5
  $co-catalog-categories-image-filter: brightness(80%) !default;
6
6
  $co-catalog-categories-image-hover-filter: brightness(100%) !default;
7
7
  $co-catalog-categories-category-description-font-size: 24px !default;
8
- $co-catalog-categories-category-description-font-color: white !default;
8
+ $co-catalog-categories-category-description-font-color: #000 !default;
9
9
  $co-catalog-categories-category-description-font-weight: bold !default;
10
10
  $co-catalog-categories-category-description-text-transform: capitalize !default;
11
11
  $co-catalog-categories-category-description-text-shadow: 0 2px 3px rgba(1, 1, 1, .55) !default;
@@ -14,9 +14,9 @@ $co-catalog-categories-turnovergroup-size: 150px !default;
14
14
  $co-catalog-categories-turnovergroup-column-gap: 10px !default;
15
15
  $co-catalog-categories-turnovergroup-padding: 0 !default;
16
16
  $co-catalog-categories-turnovergroup-category-title-text-transform: capitalize !default;
17
- $co-catalog-categories-turnovergroup-category-title-font-weight: 700 !default;
18
- $co-catalog-categories-turnovergroup-category-title-font-size: 16px !default;
19
- $co-catalog-categories-turnovergroup-category-title-margin: 10px 0 !default;
17
+ $co-catalog-categories-turnovergroup-category-title-font-weight: 300 !default;
18
+ $co-catalog-categories-turnovergroup-category-title-font-size: 12px !default;
19
+ $co-catalog-categories-turnovergroup-category-title-margin: 0 !default;
20
20
  $co-catalog-categories-turnovergroup-border-style: solid !default;
21
21
  $co-catalog-categories-turnovergroup-border-width: 1px !default;
22
22
  $co-catalog-categories-turnovergroup-border-radius: 10px !default;
@@ -1,12 +1,12 @@
1
1
  $co-catalog-categories-font-family: $ca-font-family !default;
2
2
  $co-catalog-categories-font-size: $ca-font-size !default;
3
3
  $co-catalog-categories-padding: 0 !default;
4
- $co-catalog-categories-column-gap: 10px !default;
4
+ $co-catalog-categories-column-gap: 30px !default;
5
5
  $co-catalog-categories-image-filter: brightness(80%) !default;
6
6
  $co-catalog-categories-image-hover-filter: brightness(100%) !default;
7
7
  $co-catalog-categories-category-description-font-size: 24px !default;
8
- $co-catalog-categories-category-description-font-color: white !default;
9
- $co-catalog-categories-category-description-font-weight: bold !default;
8
+ $co-catalog-categories-category-description-font-color: #000 !default;
9
+ $co-catalog-categories-category-description-font-weight: 300 !default;
10
10
  $co-catalog-categories-category-description-text-transform: capitalize !default;
11
11
  $co-catalog-categories-category-description-text-shadow: 0 2px 3px rgba(1, 1, 1, .55) !default;
12
12
 
@@ -16,7 +16,7 @@ $co-catalog-categories-turnovergroup-padding: 0 !default;
16
16
  $co-catalog-categories-turnovergroup-category-title-text-transform: capitalize !default;
17
17
  $co-catalog-categories-turnovergroup-category-title-font-weight: 700 !default;
18
18
  $co-catalog-categories-turnovergroup-category-title-font-size: 16px !default;
19
- $co-catalog-categories-turnovergroup-category-title-margin: 10px 0 !default;
19
+ $co-catalog-categories-turnovergroup-category-title-margin: 0 !default;
20
20
  $co-catalog-categories-turnovergroup-border-style: solid !default;
21
21
  $co-catalog-categories-turnovergroup-border-width: 1px !default;
22
22
  $co-catalog-categories-turnovergroup-border-radius: 10px !default;
@@ -4,6 +4,8 @@
4
4
  font-size: $co-catalog-navigation-font-size;
5
5
  color: $co-catalog-navigation-font-color;
6
6
  margin: $co-catalog-navigation-margin;
7
+ background: #f5f5fce0;
8
+ padding: 10px 15px;
7
9
  .home-link {
8
10
  font-family: $co-catalog-navigation-home-font-family;
9
11
  font-size: $co-catalog-navigation-home-font-size;
@@ -12,12 +14,31 @@
12
14
  .navigation-wrapper {
13
15
  display: flex;
14
16
  align-items: center;
15
- column-gap: 10px;
17
+ column-gap: 15px;
16
18
  }
17
19
  .navigation-item-wrapper {
18
20
  cursor: pointer;
19
21
  display: flex;
20
22
  align-items: center;
23
+ gap: 7px;
24
+ span {
25
+ font-weight: 600;
26
+ font-size: 14px;
27
+ }
28
+ co-icon {
29
+ width: 22px;
30
+ height: 22px;
31
+ &.collection {
32
+ width: 18px;
33
+ height: 18px;
34
+ }
35
+ svg {
36
+ fill: #484f60;
37
+ }
38
+ }
39
+ .home-link {
40
+ margin-right: 15px;
41
+ }
21
42
  }
22
43
  .navigation-overlay-wrapper {
23
44
  position: fixed;
@@ -4,7 +4,7 @@
4
4
  $co-catalog-navigation-font-family: $ca-font-family !default;
5
5
  $co-catalog-navigation-font-size: $ca-font-size !default;
6
6
  $co-catalog-navigation-font-color: var(--co-catalog-navigation-font-color) !default;
7
- $co-catalog-navigation-margin: 10px !default;
7
+ $co-catalog-navigation-margin: 10px 0 30px 0 !default;
8
8
  $co-catalog-navigation-padding: 20px !default;
9
9
  $co-catalog-navigation-column-gap: 10px !default;
10
10
  $co-catalog-navigation-box-shadow: 0 3px 5px $ca-color-border !default;
@@ -5,11 +5,15 @@ export declare enum IconEnum {
5
5
  ArrowScrollDown = "arrow_scroll_down",
6
6
  ArrowScrollLeft = "arrow_scroll_left",
7
7
  BarsFilter = "bars_filter",
8
+ BarsRegularFull = "bars_regular_full",
9
+ BarsSolidFull = "bars_solid_full",
8
10
  Camera = "camera",
9
11
  Cancel = "cancel",
10
12
  Check = "check",
11
13
  ChevronRightRegular = "chevron_right_regular",
12
14
  Close = "close",
15
+ CloudLightFull = "cloud_light_full",
16
+ CloudSolidFull = "cloud_solid_full",
13
17
  Eye = "eye",
14
18
  Filter = "filter",
15
19
  FilterCircleLarge = "filter_circle_large",
@@ -26,5 +30,6 @@ export declare enum IconEnum {
26
30
  TileView = "tile_view",
27
31
  Truck = "truck",
28
32
  WandMagicSparklesLight = "wand_magic_sparkles_light",
29
- WebCatalog = "web_catalog"
33
+ WebCatalog = "web_catalog",
34
+ WirelessSolidFull = "wireless_solid_full"
30
35
  }