@colijnit/configurator 262.1.9 → 262.1.10
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/fesm2022/colijnit-configurator.mjs +2402 -758
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +319 -67
- package/lib/components/answer-info-dialog/style/_theme.scss +3 -3
- package/lib/components/answers-slideout/style/_layout.scss +10 -10
- package/lib/components/configuration-preset/style/_layout.scss +1 -1
- package/lib/components/configuration-preset/style/_theme.scss +2 -2
- package/lib/components/configuration-preset-dialog/style/_theme.scss +7 -7
- package/lib/components/configurator-dialog/style/_theme.scss +5 -5
- package/lib/components/configurator-scene/style/_layout.scss +1 -0
- package/lib/components/element-buttons/style/_layout.scss +13 -12
- package/lib/components/element-buttons/style/_material-definition.scss +9 -0
- package/lib/components/element-buttons/style/_theme.scss +15 -7
- package/lib/components/element-toolbar/style/_layout.scss +30 -4
- package/lib/components/element-toolbar/style/_material-definition.scss +3 -1
- package/lib/components/element-toolbar/style/_theme.scss +13 -12
- package/lib/components/product-configurator/style/_layout.scss +18 -7
- package/lib/components/product-configurator/style/_theme.scss +3 -3
- package/lib/components/product-configurator-grouped-repeatable-options/style/_layout.scss +74 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/_material-definition.scss +12 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/_theme.scss +75 -0
- package/lib/components/product-configurator-grouped-repeatable-options/style/material.scss +3 -0
- package/lib/components/product-configurator-repeat-buttons/style/_layout.scss +24 -0
- package/lib/components/product-configurator-repeat-buttons/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-repeat-buttons/style/_theme.scss +24 -0
- package/lib/components/product-configurator-repeat-buttons/style/material.scss +3 -0
- package/lib/components/product-configurator-selector/style/_layout.scss +36 -3
- package/lib/components/product-configurator-selector/style/_theme.scss +41 -22
- package/lib/components/product-configurator-selector-child-article/style/_layout.scss +40 -0
- package/lib/components/product-configurator-selector-child-article/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-selector-child-article/style/_theme.scss +29 -0
- package/lib/components/product-configurator-selector-child-article/style/material.scss +3 -0
- package/lib/components/product-configurator-selector-option/style/_theme.scss +18 -1
- package/lib/components/product-configurator-selector-option-button/style/_theme.scss +5 -5
- package/lib/components/product-configurator-selector-option-checkbox/style/_theme.scss +9 -9
- package/lib/components/product-configurator-selector-option-dropdown/style/_theme.scss +2 -2
- package/lib/components/product-configurator-selector-option-tile/style/_layout.scss +1 -1
- package/lib/components/product-configurator-selector-option-tile/style/_theme.scss +52 -21
- package/lib/components/product-configurator-slideout/style/_layout.scss +38 -0
- package/lib/components/product-configurator-slideout/style/_material-definition.scss +3 -0
- package/lib/components/product-configurator-slideout/style/_theme.scss +30 -0
- package/lib/components/product-configurator-slideout/style/material.scss +3 -0
- package/lib/components/summary-line/style/_theme.scss +6 -6
- package/lib/style/_variables.scss +50 -40
- package/package.json +4 -4
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
@include cfg.export-module('co-product-configurator-repeat-buttons-theme') {
|
|
3
|
+
.co-product-configurator-repeat-buttons {
|
|
4
|
+
.button-container {
|
|
5
|
+
.repeat-button-container, .delete-button-container {
|
|
6
|
+
.co-button {
|
|
7
|
+
font-size: var(--co-configurator-font-size-small);
|
|
8
|
+
background: none;
|
|
9
|
+
border: 1px solid var(--co-configurator-text-color);
|
|
10
|
+
color: var(--co-configurator-text-color);
|
|
11
|
+
font-weight: var(--co-configurator-font-weight-bold);
|
|
12
|
+
|
|
13
|
+
.co-icon {
|
|
14
|
+
svg {
|
|
15
|
+
path {
|
|
16
|
+
fill: var(--co-configurator-text-color);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-product-configurator-selector-layout') {
|
|
3
4
|
.co-product-configurator-selector {
|
|
4
5
|
.selector-container {
|
|
5
|
-
margin: 0 auto;
|
|
6
|
+
margin: 0 auto 15px;
|
|
6
7
|
box-sizing: border-box;
|
|
7
8
|
padding: 0;
|
|
9
|
+
position: relative;
|
|
8
10
|
|
|
9
11
|
.selector-container-header {
|
|
10
12
|
display: flex;
|
|
@@ -42,6 +44,17 @@
|
|
|
42
44
|
font-weight: lighter;
|
|
43
45
|
}
|
|
44
46
|
}
|
|
47
|
+
|
|
48
|
+
.input-marker {
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 40px;
|
|
51
|
+
z-index: 25;
|
|
52
|
+
left: 0;
|
|
53
|
+
.co-icon {
|
|
54
|
+
transform-origin: top center;
|
|
55
|
+
animation: bell-ring 1.2s ease-in-out infinite;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
45
58
|
}
|
|
46
59
|
|
|
47
60
|
.selector-wrapper {
|
|
@@ -89,9 +102,11 @@
|
|
|
89
102
|
box-sizing: border-box;
|
|
90
103
|
}
|
|
91
104
|
}
|
|
105
|
+
|
|
92
106
|
// container for the displayOption SmallCircle and SmallSquare
|
|
93
107
|
.selection-container-03, .selection-container-04 {
|
|
94
108
|
grid-template-columns: repeat(auto-fill, minmax(50px, .5fr));
|
|
109
|
+
|
|
95
110
|
.selector-option-wrapper {
|
|
96
111
|
padding: 5px;
|
|
97
112
|
align-items: center;
|
|
@@ -99,19 +114,23 @@
|
|
|
99
114
|
background: none;
|
|
100
115
|
border: none;
|
|
101
116
|
box-sizing: border-box;
|
|
117
|
+
|
|
102
118
|
.product-configurator-selector-option-tile-description {
|
|
103
119
|
display: none;
|
|
104
120
|
}
|
|
105
121
|
}
|
|
106
122
|
}
|
|
123
|
+
|
|
107
124
|
.selection-container-03 {
|
|
108
125
|
.selector-option-wrapper {
|
|
109
126
|
border-radius: 100%;
|
|
127
|
+
|
|
110
128
|
&.active {
|
|
111
129
|
box-shadow: none;
|
|
112
130
|
}
|
|
113
131
|
}
|
|
114
132
|
}
|
|
133
|
+
|
|
115
134
|
// container for the displayOption small tile
|
|
116
135
|
.selection-container-06 {
|
|
117
136
|
grid-template-columns: repeat(auto-fill, minmax(70px, .5fr));
|
|
@@ -153,17 +172,31 @@
|
|
|
153
172
|
|
|
154
173
|
.show-more-container {
|
|
155
174
|
text-align: right;
|
|
175
|
+
cursor: pointer;
|
|
156
176
|
|
|
157
177
|
span {
|
|
158
|
-
cursor: pointer;
|
|
159
|
-
|
|
160
178
|
.show-more-text-link {
|
|
161
179
|
margin-right: 5px;
|
|
162
180
|
}
|
|
163
181
|
}
|
|
164
182
|
}
|
|
183
|
+
|
|
165
184
|
&.hidden-frontend {
|
|
166
185
|
display: none;
|
|
167
186
|
}
|
|
168
187
|
}
|
|
169
188
|
}
|
|
189
|
+
|
|
190
|
+
@keyframes bell-ring {
|
|
191
|
+
0%, 50%, 100% {
|
|
192
|
+
transform: rotate(0deg);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
5%, 15%, 25%, 35%, 45% {
|
|
196
|
+
transform: rotate(14deg);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
10%, 20%, 30%, 40% {
|
|
200
|
+
transform: rotate(-14deg);
|
|
201
|
+
}
|
|
202
|
+
}
|
|
@@ -1,53 +1,69 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-product-configurator-selector-theme') {
|
|
3
4
|
.co-product-configurator-selector {
|
|
4
5
|
.selector-container {
|
|
5
6
|
background-color: #fff;
|
|
7
|
+
|
|
6
8
|
.selector-container-header {
|
|
7
9
|
.exception-icon {
|
|
8
10
|
co-icon {
|
|
9
|
-
fill: var(--error-color);
|
|
11
|
+
fill: var(--co-configurator-error-color);
|
|
10
12
|
}
|
|
11
13
|
}
|
|
12
14
|
|
|
13
15
|
.selector-option-header {
|
|
14
|
-
font-size: var(--font-size-normal);
|
|
15
|
-
font-weight: var(--font-weight-bold);
|
|
16
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
17
|
+
font-weight: var(--co-configurator-font-weight-bold);
|
|
16
18
|
}
|
|
17
19
|
|
|
18
20
|
.selector-option-sub-header {
|
|
19
|
-
font-size: var(--font-size-small);
|
|
20
|
-
font-weight: var(--font-weight-normal);
|
|
21
|
+
font-size: var(--co-configurator-font-size-small);
|
|
22
|
+
font-weight: var(--co-configurator-font-weight-normal);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
.selector-option-bold-text-header {
|
|
24
|
-
font-size: var(--font-size-normal);
|
|
26
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
25
27
|
}
|
|
26
28
|
|
|
27
29
|
.selector-option-text-header {
|
|
28
|
-
font-size: var(--font-size-normal);
|
|
30
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
29
31
|
}
|
|
30
32
|
}
|
|
31
33
|
}
|
|
32
34
|
|
|
33
35
|
.selector-wrapper {
|
|
34
36
|
.selector-option-wrapper {
|
|
35
|
-
border: 2px solid var(--border-color);
|
|
36
|
-
border-radius: var(--default-border-radius);
|
|
37
|
-
background-color: var(--tile-background-color);
|
|
38
|
-
font-size: var(--font-size-normal);
|
|
39
|
-
padding: var(--default-padding);
|
|
37
|
+
border: 2px solid var(--co-configurator-border-color);
|
|
38
|
+
border-radius: var(--co-configurator-default-border-radius);
|
|
39
|
+
background-color: var(--co-configurator-tile-background-color);
|
|
40
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
41
|
+
padding: var(--co-configurator-default-padding);
|
|
42
|
+
|
|
40
43
|
&.active {
|
|
41
|
-
border: 2px solid var(--border-color-active);
|
|
44
|
+
border: 2px solid var(--co-configurator-border-color-active);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
&.exception {
|
|
48
|
+
border: 2px solid var(--co-configurator-error-color);
|
|
49
|
+
&:hover {
|
|
50
|
+
border: 2px solid var(--co-configurator-error-color);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
&:hover {
|
|
55
|
+
border: 2px solid var(--co-configurator-border-color-active);
|
|
42
56
|
}
|
|
43
57
|
}
|
|
58
|
+
|
|
44
59
|
&.selection-container-03, &.selection-container-08 {
|
|
45
60
|
.selector-option-wrapper {
|
|
46
61
|
&.active {
|
|
47
|
-
border-radius: var(--circle-border-radius);
|
|
62
|
+
border-radius: var(--co-configurator-circle-border-radius);
|
|
48
63
|
}
|
|
49
64
|
}
|
|
50
65
|
}
|
|
66
|
+
|
|
51
67
|
&.selection-container-08 {
|
|
52
68
|
.selector-option-wrapper {
|
|
53
69
|
border: none;
|
|
@@ -56,18 +72,21 @@
|
|
|
56
72
|
}
|
|
57
73
|
|
|
58
74
|
.selection-exception {
|
|
59
|
-
border: 1px solid var(--error-color);
|
|
60
|
-
border-radius: var(--default-border-radius);
|
|
75
|
+
border: 1px solid var(--co-configurator-error-color);
|
|
76
|
+
border-radius: var(--co-configurator-default-border-radius);
|
|
61
77
|
}
|
|
62
78
|
|
|
63
79
|
.show-more-container {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
}
|
|
80
|
+
color: var(--co-configurator-load-more-link-color);
|
|
81
|
+
font-size: var(--co-configurator-font-size-small);
|
|
82
|
+
|
|
83
|
+
&:hover {
|
|
84
|
+
text-decoration: underline;
|
|
70
85
|
}
|
|
71
86
|
}
|
|
72
87
|
}
|
|
88
|
+
|
|
89
|
+
.hide-from-selector {
|
|
90
|
+
display: none;
|
|
91
|
+
}
|
|
73
92
|
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-selector-child-article-layout') {
|
|
4
|
+
.co-product-configurator-selector-child-article {
|
|
5
|
+
.product-configurator-selector-child-article-container-body {
|
|
6
|
+
position: fixed;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
z-index: 1000;
|
|
9
|
+
|
|
10
|
+
max-height: var(--co-configurator-container-max-height);
|
|
11
|
+
top: var(--co-configurator-container-top);
|
|
12
|
+
padding: var(--co-configurator-container-padding);
|
|
13
|
+
|
|
14
|
+
right: calc(-1 * var(--co-configurator-container-width));; // Go out of view
|
|
15
|
+
width: var(--co-configurator-container-width);
|
|
16
|
+
overflow: hidden;
|
|
17
|
+
transition: right .5s ease;
|
|
18
|
+
|
|
19
|
+
.product-configurator-selector-slideout-header {
|
|
20
|
+
|
|
21
|
+
.product-configurator-selector-slideout-close {
|
|
22
|
+
.co-button {
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
background: none;
|
|
25
|
+
padding: 0;
|
|
26
|
+
|
|
27
|
+
.co-icon {
|
|
28
|
+
height: var(--co-configurator-small-icon-height);
|
|
29
|
+
width: var(--co-configurator-small-icon-width);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.show-slide-out {
|
|
37
|
+
right: var(--co-configurator-container-right);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-selector-child-article-theme') {
|
|
4
|
+
.co-product-configurator-selector-child-article {
|
|
5
|
+
.product-configurator-selector-child-article-container-body {
|
|
6
|
+
background: var(--co-configurator-container-background);
|
|
7
|
+
border-radius: var(--co-configurator-container-border-radius);
|
|
8
|
+
|
|
9
|
+
.product-configurator-selector-slideout-header {
|
|
10
|
+
.slideout-head {
|
|
11
|
+
font-size: var(--co-configurator-font-size-large);
|
|
12
|
+
font-weight: var(--co-configurator-font-weight-bold);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.product-configurator-selector-slideout-close {
|
|
16
|
+
.co-button {
|
|
17
|
+
font-size: var(--co-configurator-font-size-small);
|
|
18
|
+
color: var(--co-configurator-text-color);
|
|
19
|
+
|
|
20
|
+
.co-icon {
|
|
21
|
+
height: var(--co-configurator-small-icon-height);
|
|
22
|
+
width: var(--co-configurator-small-icon-width);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -1,6 +1,23 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-product-configurator-selector-option-theme') {
|
|
3
|
-
.co-product-configurator-selector-option {
|
|
4
|
+
.co-product-configurator-selector-new-option {
|
|
5
|
+
display: block;
|
|
6
|
+
padding: 5px;
|
|
7
|
+
margin: 5px;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border-radius: 4px;
|
|
10
|
+
animation: new-item-pulse 2.5s ease-in-out infinite;
|
|
11
|
+
}
|
|
4
12
|
|
|
13
|
+
@keyframes new-item-pulse {
|
|
14
|
+
0%, 100% {
|
|
15
|
+
box-shadow: 0 0 0 0 rgba(24, 95, 165, 0.0);
|
|
16
|
+
background-color: transparent;
|
|
17
|
+
}
|
|
18
|
+
50% {
|
|
19
|
+
box-shadow: 0 0 0 4px rgba(24, 95, 165, 0.2);
|
|
20
|
+
background-color: rgba(24, 95, 165, 0.08);
|
|
21
|
+
}
|
|
5
22
|
}
|
|
6
23
|
}
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
.co-product-configurator-selector-option-button {
|
|
4
4
|
.configurator-selector-option-button-container {
|
|
5
5
|
.product-configurator-selector-option-button-checkmark {
|
|
6
|
-
fill: var(--checked-icon-color);
|
|
6
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
7
7
|
|
|
8
8
|
co-icon {
|
|
9
|
-
width: var(--xs-icon-width);
|
|
10
|
-
height: var(--xs-icon-height);
|
|
9
|
+
width: var(--co-configurator-xs-icon-width);
|
|
10
|
+
height: var(--co-configurator-xs-icon-height);
|
|
11
11
|
background: rgba(255, 255, 255, 0.5);
|
|
12
12
|
border-radius: 50%;
|
|
13
13
|
}
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
.product-configurator-selector-option-button-image {
|
|
17
17
|
img {
|
|
18
|
-
border-radius: var(--default-border-radius);
|
|
18
|
+
border-radius: var(--co-configurator-default-border-radius);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
text-align: center;
|
|
24
24
|
|
|
25
25
|
p {
|
|
26
|
-
font-size: var(--font-size-small);
|
|
26
|
+
font-size: var(--co-configurator-font-size-small);
|
|
27
27
|
margin: 0;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
@@ -3,25 +3,25 @@
|
|
|
3
3
|
.co-product-configurator-option-checkbox {
|
|
4
4
|
.configurator-option-checkbox-container {
|
|
5
5
|
.product-configurator-checkbox-checkmark {
|
|
6
|
-
height: var(--big-icon-height);
|
|
7
|
-
width: var(--big-icon-width);
|
|
6
|
+
height: var(--co-configurator-big-icon-height);
|
|
7
|
+
width: var(--co-configurator-big-icon-width);
|
|
8
8
|
|
|
9
9
|
.product-configurator-checkbox-select {
|
|
10
|
-
height: var(--big-icon-height);
|
|
11
|
-
width: var(--big-icon-width);
|
|
10
|
+
height: var(--co-configurator-big-icon-height);
|
|
11
|
+
width: var(--co-configurator-big-icon-width);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.product-configurator-checkbox-selected {
|
|
15
|
-
background: var(--checked-icon-background);
|
|
16
|
-
fill: var(--checked-icon-color);
|
|
17
|
-
padding: var(--checked-icon-padding);
|
|
18
|
-
border-radius: var(--checked-selected-icon-radius);
|
|
15
|
+
background: var(--co-configurator-checked-icon-background);
|
|
16
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
17
|
+
padding: var(--co-configurator-checked-icon-padding);
|
|
18
|
+
border-radius: var(--co-configurator-checked-selected-icon-radius);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.product-configurator-checkbox-description {
|
|
23
23
|
p {
|
|
24
|
-
font-size: var(--font-size-small);
|
|
24
|
+
font-size: var(--co-configurator-font-size-small);
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
}
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
}
|
|
16
16
|
.product-configurator-selector-option-dropdown-select {
|
|
17
17
|
transform: translateY(-50%);
|
|
18
|
-
width: var(--xs-icon-width);
|
|
19
|
-
height: var(--xs-icon-height);
|
|
18
|
+
width: var(--co-configurator-xs-icon-width);
|
|
19
|
+
height: var(--co-configurator-xs-icon-height);
|
|
20
20
|
svg {
|
|
21
21
|
fill: #ccc;
|
|
22
22
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
flex-direction: column;
|
|
8
8
|
align-items: center;
|
|
9
9
|
|
|
10
|
-
.product-configurator-selector-option-tile-checkmark {
|
|
10
|
+
.product-configurator-selector-option-tile-checkmark, .product-configurator-selector-option-tile-configurable {
|
|
11
11
|
position: absolute;
|
|
12
12
|
top: -7px;
|
|
13
13
|
right: -7px;
|
|
@@ -1,30 +1,41 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-product-configurator-selector-option-tile-theme') {
|
|
3
4
|
.co-product-configurator-selector-option-tile {
|
|
4
5
|
.configurator-selector-option-tile-container {
|
|
5
|
-
.product-configurator-selector-option-tile-checkmark {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
co-icon {
|
|
14
|
-
width: var(--big-icon-width);
|
|
15
|
-
height: var(--big-icon-height);
|
|
16
|
-
padding: var(--checked-icon-padding);
|
|
6
|
+
.product-configurator-selector-option-tile-checkmark, .product-configurator-selector-option-tile-configurable {
|
|
7
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
8
|
+
height: var(--co-configurator-big-icon-height);
|
|
9
|
+
width: var(--co-configurator-big-icon-width);
|
|
10
|
+
background: var(--co-configurator-checked-icon-background);
|
|
11
|
+
border-radius: var(--co-configurator-checked-icon-radius);
|
|
12
|
+
transition: all 0.3s;
|
|
13
|
+
|
|
14
|
+
.co-icon {
|
|
15
|
+
width: var(--co-configurator-big-icon-width);
|
|
16
|
+
height: var(--co-configurator-big-icon-height);
|
|
17
|
+
padding: var(--co-configurator-checked-icon-padding);
|
|
18
|
+
transition: all 0.5s;
|
|
19
|
+
svg {
|
|
20
|
+
path {
|
|
21
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
22
|
+
}
|
|
23
|
+
}
|
|
17
24
|
}
|
|
18
25
|
}
|
|
19
26
|
|
|
27
|
+
.exception {
|
|
28
|
+
background: var(--co-configurator-error-color);
|
|
29
|
+
}
|
|
30
|
+
|
|
20
31
|
.product-configurator-selector-option-tile-image {
|
|
21
32
|
img {
|
|
22
|
-
border-radius: var(--default-border-radius);
|
|
33
|
+
border-radius: var(--co-configurator-default-border-radius);
|
|
23
34
|
}
|
|
24
35
|
|
|
25
|
-
co-icon {
|
|
26
|
-
width: var(--big-icon-width);
|
|
27
|
-
height: var(--big-icon-height);
|
|
36
|
+
.co-icon {
|
|
37
|
+
width: var(--co-configurator-big-icon-width);
|
|
38
|
+
height: var(--co-configurator-big-icon-height);
|
|
28
39
|
background: rgba(255, 255, 255, 0.5);
|
|
29
40
|
border-radius: 50%;
|
|
30
41
|
}
|
|
@@ -32,8 +43,9 @@
|
|
|
32
43
|
|
|
33
44
|
.product-configurator-selector-option-tile-description {
|
|
34
45
|
text-align: center;
|
|
46
|
+
|
|
35
47
|
p {
|
|
36
|
-
font-size: var(--font-size-small);
|
|
48
|
+
font-size: var(--co-configurator-font-size-small);
|
|
37
49
|
}
|
|
38
50
|
}
|
|
39
51
|
|
|
@@ -48,33 +60,52 @@
|
|
|
48
60
|
|
|
49
61
|
&.configurator-selector-option-tile-container-small-rounded, &.configurator-selector-option-tile-container-rounded {
|
|
50
62
|
.product-configurator-selector-option-tile-checkmark {
|
|
51
|
-
border-radius: var(--circle-border-radius);
|
|
63
|
+
border-radius: var(--co-configurator-circle-border-radius);
|
|
52
64
|
}
|
|
53
65
|
}
|
|
54
66
|
|
|
55
67
|
&.configurator-selector-option-tile-container-small {
|
|
56
68
|
.product-configurator-selector-option-tile-description {
|
|
57
|
-
font-size: var(--font-size-small);
|
|
69
|
+
font-size: var(--co-configurator-font-size-small);
|
|
58
70
|
}
|
|
59
71
|
}
|
|
72
|
+
|
|
60
73
|
&.configurator-selector-option-tile-container-rounded {
|
|
61
74
|
.product-configurator-selector-option-tile-image {
|
|
62
75
|
aspect-ratio: 1/1;
|
|
76
|
+
|
|
63
77
|
img {
|
|
64
78
|
height: 100%;
|
|
65
79
|
max-height: 100%;
|
|
66
80
|
object-fit: contain;
|
|
67
|
-
padding: var(--default-padding);
|
|
81
|
+
padding: var(--co-configurator-default-padding);
|
|
68
82
|
}
|
|
69
83
|
}
|
|
84
|
+
|
|
70
85
|
&.active {
|
|
71
86
|
.product-configurator-selector-option-tile-image {
|
|
72
87
|
img {
|
|
73
|
-
border: 2px solid var(--border-color-active);
|
|
88
|
+
border: 2px solid var(--co-configurator-border-color-active);
|
|
74
89
|
box-shadow: none;
|
|
75
90
|
}
|
|
76
91
|
}
|
|
77
92
|
}
|
|
93
|
+
|
|
94
|
+
&.hidden {
|
|
95
|
+
display: none;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&:hover {
|
|
100
|
+
.product-configurator-selector-option-tile-configurable {
|
|
101
|
+
height: calc(var(--co-configurator-big-icon-height) * 1.2);
|
|
102
|
+
width: calc(var(--co-configurator-big-icon-width) * 1.2);
|
|
103
|
+
|
|
104
|
+
.co-icon {
|
|
105
|
+
width: calc(var(--co-configurator-big-icon-width) * 1.2);
|
|
106
|
+
height: calc(var(--co-configurator-big-icon-height) * 1.2);
|
|
107
|
+
}
|
|
108
|
+
}
|
|
78
109
|
}
|
|
79
110
|
}
|
|
80
111
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-slideout-layout') {
|
|
4
|
+
.co-product-configurator-slideout {
|
|
5
|
+
.product-configurator-slideout-body {
|
|
6
|
+
position: fixed;
|
|
7
|
+
box-sizing: border-box;
|
|
8
|
+
z-index: 1000;
|
|
9
|
+
max-height: var(--co-configurator-container-max-height);
|
|
10
|
+
top: var(--co-configurator-container-top);
|
|
11
|
+
padding: var(--co-configurator-container-padding);
|
|
12
|
+
right: calc(-1 * var(--co-configurator-container-width));; // Go out of view
|
|
13
|
+
width: var(--co-configurator-container-width);
|
|
14
|
+
overflow-y: scroll;
|
|
15
|
+
overflow-x: hidden;
|
|
16
|
+
transition: right .5s ease;
|
|
17
|
+
|
|
18
|
+
.product-configurator-selector-slideout-header {
|
|
19
|
+
|
|
20
|
+
.product-configurator-selector-slideout-close {
|
|
21
|
+
.co-button {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
padding: 0;
|
|
24
|
+
|
|
25
|
+
.co-icon {
|
|
26
|
+
height: var(--co-configurator-small-icon-height);
|
|
27
|
+
width: var(--co-configurator-small-icon-width);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.show-slide-out {
|
|
35
|
+
right: var(--co-configurator-container-right);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-slideout-theme') {
|
|
4
|
+
.co-product-configurator-slideout {
|
|
5
|
+
.product-configurator-slideout-body {
|
|
6
|
+
background: var(--co-configurator-container-background);
|
|
7
|
+
border-radius: var(--co-configurator-container-border-radius);
|
|
8
|
+
|
|
9
|
+
.product-configurator-selector-slideout-header {
|
|
10
|
+
.slideout-head {
|
|
11
|
+
font-size: var(--co-configurator-font-size-large);
|
|
12
|
+
font-weight: var(--co-configurator-font-weight-bold);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.product-configurator-selector-slideout-close {
|
|
16
|
+
.co-button {
|
|
17
|
+
background: none;
|
|
18
|
+
font-size: var(--co-configurator-font-size-small);
|
|
19
|
+
color: var(--co-configurator-text-color);
|
|
20
|
+
|
|
21
|
+
.co-icon {
|
|
22
|
+
height: var(--co-configurator-small-icon-height);
|
|
23
|
+
width: var(--co-configurator-small-icon-width);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
@include cfg.export-module('co-summary-line-theme') {
|
|
3
3
|
.co-summary-line {
|
|
4
4
|
cursor: pointer;
|
|
5
|
-
background-color: var(--white-text-color);
|
|
5
|
+
background-color: var(--co-configurator-white-text-color);
|
|
6
6
|
box-shadow: 0 0 2px 0 rgba(72, 79, 96, .25);
|
|
7
7
|
.titles {
|
|
8
|
-
font-size: var(--font-size-normal);
|
|
8
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
9
9
|
label {
|
|
10
10
|
flex-shrink: 0;
|
|
11
|
-
font-size: var(--font-size-small);
|
|
11
|
+
font-size: var(--co-configurator-font-size-small);
|
|
12
12
|
font-style: italic;
|
|
13
13
|
line-height: 200%;
|
|
14
14
|
color: var(--summary-line-color-color);
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.selection-price {
|
|
19
|
-
font-size:var(--font-size-small);
|
|
19
|
+
font-size:var(--co-configurator-font-size-small);
|
|
20
20
|
font-style: italic;
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
.total-price {
|
|
24
|
-
background: var(--white-text-color);
|
|
25
|
-
font-size: var(--font-size-normal);
|
|
24
|
+
background: var(--co-configurator-white-text-color);
|
|
25
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
26
26
|
font-weight: bold;
|
|
27
27
|
white-space: nowrap;
|
|
28
28
|
}
|