@colijnit/configurator 262.1.8 → 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 +2430 -789
- package/fesm2022/colijnit-configurator.mjs.map +1 -1
- package/index.d.ts +321 -81
- 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 +10 -10
- package/colijnit-configurator-262.1.7.tgz +0 -0
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
.info-text {
|
|
8
8
|
color: #FFF;
|
|
9
|
-
font-size: var(--font-size-small);
|
|
9
|
+
font-size: var(--co-configurator-font-size-small);
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
font-weight: bold;
|
|
30
30
|
p {
|
|
31
31
|
font-weight: normal;
|
|
32
|
-
font-size: var(--font-size-normal);
|
|
32
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
33
33
|
|
|
34
34
|
&.info-heading {
|
|
35
35
|
font-weight: 600;
|
|
36
|
-
font-size: var(--font-size-medium);
|
|
36
|
+
font-size: var(--co-configurator-\font-size-medium);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -74,15 +74,6 @@
|
|
|
74
74
|
line-height: 40px;
|
|
75
75
|
}
|
|
76
76
|
|
|
77
|
-
.search-wrapper {
|
|
78
|
-
display: flex;
|
|
79
|
-
z-index: 2;
|
|
80
|
-
position: absolute;
|
|
81
|
-
top: .3em;
|
|
82
|
-
width: 98%;
|
|
83
|
-
padding-left: .3em;
|
|
84
|
-
padding-right: .3em;
|
|
85
|
-
}
|
|
86
77
|
|
|
87
78
|
.text-chips {
|
|
88
79
|
width: 100%;
|
|
@@ -107,7 +98,16 @@
|
|
|
107
98
|
display: flex;
|
|
108
99
|
align-items: center;
|
|
109
100
|
gap: 5px;
|
|
110
|
-
|
|
101
|
+
}
|
|
102
|
+
.search-wrapper {
|
|
103
|
+
margin-bottom: 15px;
|
|
104
|
+
display: flex;
|
|
105
|
+
justify-content: space-between;
|
|
106
|
+
.co-button {
|
|
107
|
+
margin-left: 5px;
|
|
108
|
+
background: none;
|
|
109
|
+
cursor: pointer;
|
|
110
|
+
}
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
113
|
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
box-shadow: 1px 1px 4px 1px rgba(151, 146, 132, 0.3);
|
|
6
6
|
padding: 5px;
|
|
7
7
|
.preset-button {
|
|
8
|
-
color: var(--link-text-color);
|
|
8
|
+
color: var(--co-configurator-link-text-color);
|
|
9
9
|
.co-icon {
|
|
10
10
|
svg {
|
|
11
11
|
path {
|
|
12
|
-
fill: var(--link-text-color);
|
|
12
|
+
fill: var(--co-configurator-link-text-color);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
15
15
|
}
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
.co-configuration-preset-dialog {
|
|
5
5
|
.configuration-preset-dialog {
|
|
6
6
|
.configuration-preset-dialog-backdrop {
|
|
7
|
-
background: var(--configurator-dialog-backdrop);
|
|
7
|
+
background: var(--co-configurator-dialog-backdrop);
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
.configuration-preset-dialog-container {
|
|
11
|
-
background-color: var(--
|
|
11
|
+
background-color: var(--co-configurator-dialog-background);
|
|
12
12
|
|
|
13
13
|
.configuration-preset-dialog-container-header {
|
|
14
14
|
border-bottom: 1px solid var(--configutator-dialog-header-border-color);
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
|
|
17
17
|
.configuration-preset-dialog-container-body {
|
|
18
18
|
.validation-error {
|
|
19
|
-
font-size: var(--font-size-small);
|
|
19
|
+
font-size: var(--co-configurator-font-size-small);
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
.save-success {
|
|
23
|
-
color: var(--success-text-color);
|
|
24
|
-
background-color: var(--success-background-color);
|
|
25
|
-
border: 1px solid var(--success-border-color);
|
|
23
|
+
color: var(--co-configurator-success-text-color);
|
|
24
|
+
background-color: var(--co-configurator-success-background-color);
|
|
25
|
+
border: 1px solid var(--co-configurator-success-border-color);
|
|
26
26
|
|
|
27
27
|
.save-success-text {
|
|
28
28
|
text-align: center;
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
.button-as-link {
|
|
45
45
|
background: none;
|
|
46
|
-
color: var(--text-color);
|
|
46
|
+
color: var(--co-configurator-text-color);
|
|
47
47
|
text-decoration: underline;
|
|
48
48
|
}
|
|
49
49
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
|
|
11
11
|
h2 {
|
|
12
12
|
margin: 0;
|
|
13
|
-
font-size: var(--font-size-medium);
|
|
13
|
+
font-size: var(--co-configurator-\font-size-medium);
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
.close-button {
|
|
@@ -36,10 +36,10 @@
|
|
|
36
36
|
.export-options-list {
|
|
37
37
|
.export-option {
|
|
38
38
|
h4 {
|
|
39
|
-
font-size: var(--font-size-medium);
|
|
39
|
+
font-size: var(--co-configurator-\font-size-medium);
|
|
40
40
|
}
|
|
41
41
|
p {
|
|
42
|
-
font-size: var(--font-size-small);
|
|
42
|
+
font-size: var(--co-configurator-font-size-small);
|
|
43
43
|
}
|
|
44
44
|
&:hover {
|
|
45
45
|
background-color: var(--hover-background-color);
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
&-body {
|
|
52
52
|
.camera-setting-option {
|
|
53
53
|
p {
|
|
54
|
-
font-size: var(--font-size-normal);
|
|
54
|
+
font-size: var(--co-configurator-font-size-normal);
|
|
55
55
|
font-weight: bold;
|
|
56
56
|
}
|
|
57
57
|
input {
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
}
|
|
61
61
|
.save-option-button {
|
|
62
62
|
&:hover {
|
|
63
|
-
color: var(--text-color-hover);
|
|
63
|
+
color: var(--co-configurator-text-color-hover);
|
|
64
64
|
}
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-element-buttons-layout') {
|
|
3
4
|
.co-element-buttons {
|
|
4
5
|
pointer-events: all;
|
|
@@ -23,17 +24,16 @@
|
|
|
23
24
|
cursor: pointer;
|
|
24
25
|
flex-shrink: 0;
|
|
25
26
|
position: absolute;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
height: 35px;
|
|
29
|
-
width: 35px;
|
|
30
|
-
max-height: 30px;
|
|
31
|
-
max-width: 30px;
|
|
27
|
+
height: var(--co-configurator-element-add-button-height);
|
|
28
|
+
width: var(--co-configurator-element-add-button-width);
|
|
32
29
|
transform: translate(-15px, -15px);
|
|
30
|
+
display: flex;
|
|
31
|
+
align-items: center;
|
|
32
|
+
justify-content: center;
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
width:
|
|
36
|
-
height:
|
|
34
|
+
.co-icon {
|
|
35
|
+
width: var(--co-configurator-element-add-button-icon-width);
|
|
36
|
+
height: var(--co-configurator-element-add-button-icon-height);
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -44,11 +44,11 @@
|
|
|
44
44
|
height: 10px;
|
|
45
45
|
width: 10px;
|
|
46
46
|
cursor: default;
|
|
47
|
-
|
|
48
47
|
transform: translate(-5px, -5px);
|
|
49
48
|
}
|
|
49
|
+
|
|
50
50
|
&.animate {
|
|
51
|
-
|
|
51
|
+
.element-add-button {
|
|
52
52
|
animation-name: pulse-add-buttons;
|
|
53
53
|
animation-duration: 400ms;
|
|
54
54
|
animation-iteration-count: 6;
|
|
@@ -57,8 +57,9 @@
|
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
59
|
}
|
|
60
|
+
|
|
60
61
|
@keyframes pulse-add-buttons {
|
|
61
62
|
50% {
|
|
62
|
-
box-shadow: 0 0 20px
|
|
63
|
+
box-shadow: 0 0 20px var(--co-configurator-element-add-button-animation-color);
|
|
63
64
|
}
|
|
64
65
|
}
|
|
@@ -1,3 +1,12 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
--co-configurator-element-add-button-icon-height: 16px;
|
|
3
|
+
--co-configurator-element-add-button-icon-width: 16px;
|
|
4
|
+
--co-configurator-element-add-button-height: 30px;
|
|
5
|
+
--co-configurator-element-add-button-width: 30px;
|
|
6
|
+
--co-configurator-element-add-button-outline: -1px 0 2px black, 0 1px 2px black, 1px 0 2px black, 0 -1px 2px black;
|
|
7
|
+
--co-configurator-element-add-button-background: rgba(0, 0, 0, 0.3);
|
|
8
|
+
--co-configurator-element-add-button-background-hover: rgba(0, 0, 0, 0.5);
|
|
9
|
+
--co-configurator-element-add-button-shadow: 0 0 0 5px rgb(0 0 0 / 7%);
|
|
2
10
|
|
|
11
|
+
--co-configurator-element-add-button-animation-color: hsl(12, 100%, 60%);
|
|
3
12
|
}
|
|
@@ -1,20 +1,28 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-element-buttons-theme') {
|
|
3
4
|
.co-element-buttons {
|
|
4
5
|
|
|
5
6
|
.add-button-label {
|
|
6
|
-
color: white;
|
|
7
|
-
text-shadow: -
|
|
7
|
+
color: var(--co-configurator-white-text-color);
|
|
8
|
+
text-shadow: var(--co-configurator-element-add-button-outline);
|
|
8
9
|
}
|
|
10
|
+
|
|
9
11
|
.element-add-button {
|
|
10
|
-
background:
|
|
11
|
-
box-shadow:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
background: var(--co-configurator-element-add-button-background);
|
|
13
|
+
box-shadow: var(--co-configurator-element-add-button-shadow);
|
|
14
|
+
|
|
15
|
+
.co-icon {
|
|
16
|
+
svg, svg {
|
|
17
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
15
18
|
}
|
|
16
19
|
}
|
|
20
|
+
|
|
21
|
+
&:hover {
|
|
22
|
+
background: var(--co-configurator-element-add-button-background-hover);
|
|
23
|
+
}
|
|
17
24
|
}
|
|
25
|
+
|
|
18
26
|
.element-bullet {
|
|
19
27
|
background: #2c67ff;
|
|
20
28
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-element-toolbar-layout') {
|
|
3
4
|
.co-element-toolbar {
|
|
4
5
|
position: absolute;
|
|
@@ -57,7 +58,7 @@
|
|
|
57
58
|
display: flex;
|
|
58
59
|
align-items: center;
|
|
59
60
|
|
|
60
|
-
|
|
61
|
+
.co-icon {
|
|
61
62
|
margin-right: 7px;
|
|
62
63
|
border: none;
|
|
63
64
|
width: 16px;
|
|
@@ -82,10 +83,35 @@
|
|
|
82
83
|
font-weight: bold;
|
|
83
84
|
margin-right: 22px;
|
|
84
85
|
}
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.edit-menu-wrapper {
|
|
89
|
+
left: 0;
|
|
90
|
+
transform: translateX(0);
|
|
91
|
+
background: #fff;
|
|
92
|
+
border-radius: var(--co-configurator-container-border-radius);
|
|
85
93
|
|
|
86
|
-
.edit-menu
|
|
87
|
-
|
|
88
|
-
|
|
94
|
+
.edit-menu {
|
|
95
|
+
display: flex;
|
|
96
|
+
justify-content: space-between;
|
|
97
|
+
font-size: var(--co-configurator-font-size-small);
|
|
98
|
+
color: var(--co-configurator-text-color);
|
|
99
|
+
padding: 5px;
|
|
100
|
+
box-sizing: border-box;
|
|
101
|
+
margin: 5px 0;
|
|
102
|
+
align-items: center;
|
|
103
|
+
cursor: pointer;
|
|
104
|
+
border-bottom: 1px solid transparent;
|
|
105
|
+
overflow: hidden;
|
|
106
|
+
|
|
107
|
+
.co-icon {
|
|
108
|
+
height: var(--co-configurator-xs-icon-height);
|
|
109
|
+
width: var(--co-configurator-xs-icon-width);
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
&:hover {
|
|
113
|
+
border-bottom: 1px solid var(--co-configurator-text-color);
|
|
114
|
+
}
|
|
89
115
|
}
|
|
90
116
|
}
|
|
91
117
|
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-element-toolbar-theme') {
|
|
3
4
|
.co-element-toolbar {
|
|
4
5
|
.toolbar-wrapper {
|
|
5
6
|
.toolbar-button {
|
|
6
|
-
background-color:
|
|
7
|
-
box-shadow:
|
|
7
|
+
background-color: var(--co-configurator-toolbar-button-background);
|
|
8
|
+
box-shadow: var(--co-configurator-toolbar-button-shadow);
|
|
8
9
|
|
|
9
|
-
.co-icon
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
.co-icon {
|
|
11
|
+
height: var(--co-configurator-xs-icon-height);
|
|
12
|
+
width: var(--co-configurator-xs-icon-width);
|
|
13
|
+
|
|
14
|
+
svg {
|
|
15
|
+
fill: var(--co-configurator-checked-icon-color);
|
|
16
|
+
}
|
|
14
17
|
}
|
|
15
18
|
}
|
|
16
19
|
}
|
|
@@ -21,15 +24,14 @@
|
|
|
21
24
|
display: flex;
|
|
22
25
|
align-items: center;
|
|
23
26
|
|
|
24
|
-
|
|
25
27
|
.instant-edit-button {
|
|
26
28
|
svg g {
|
|
27
29
|
polygon {
|
|
28
|
-
fill:
|
|
30
|
+
fill: var(--co-configurator-instant-edit-button-background);
|
|
29
31
|
}
|
|
30
32
|
|
|
31
33
|
path {
|
|
32
|
-
fill:
|
|
34
|
+
fill: var(--co-configurator-instant-edit-button-background);
|
|
33
35
|
}
|
|
34
36
|
}
|
|
35
37
|
}
|
|
@@ -37,12 +39,11 @@
|
|
|
37
39
|
|
|
38
40
|
button {
|
|
39
41
|
border: 1px solid rgba(0, 0, 0, 0.1);
|
|
40
|
-
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
|
|
44
45
|
.toolbar-label {
|
|
45
|
-
font-size: var(--font-size-small);
|
|
46
|
+
font-size: var(--co-configurator-font-size-small);
|
|
46
47
|
}
|
|
47
48
|
}
|
|
48
49
|
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
@use '../../../style' as cfg;
|
|
2
|
+
|
|
2
3
|
@include cfg.export-module('co-product-configurator-layout') {
|
|
3
4
|
.product-configurator-container {
|
|
4
5
|
box-sizing: border-box;
|
|
5
6
|
position: absolute;
|
|
6
7
|
z-index: 1;
|
|
7
|
-
max-height:
|
|
8
|
-
top:
|
|
9
|
-
padding:
|
|
10
|
-
border-radius:
|
|
11
|
-
right:
|
|
12
|
-
width:
|
|
8
|
+
max-height: var(--co-configurator-container-max-height);
|
|
9
|
+
top: var(--co-configurator-container-top);
|
|
10
|
+
padding: var(--co-configurator-container-padding);
|
|
11
|
+
border-radius: var(--co-configurator-container-border-radius);
|
|
12
|
+
right: var(--co-configurator-container-right);
|
|
13
|
+
width: var(--co-configurator-container-width);
|
|
14
|
+
transition: right .5s ease;
|
|
13
15
|
|
|
14
16
|
.product-configurator-header {
|
|
15
17
|
display: flex;
|
|
@@ -25,11 +27,12 @@
|
|
|
25
27
|
margin: 0;
|
|
26
28
|
}
|
|
27
29
|
}
|
|
30
|
+
|
|
28
31
|
.product-configurator-header-actions {
|
|
29
32
|
display: flex;
|
|
30
33
|
gap: 5px;
|
|
31
|
-
|
|
32
34
|
}
|
|
35
|
+
|
|
33
36
|
.product-configurator-close {
|
|
34
37
|
cursor: pointer;
|
|
35
38
|
}
|
|
@@ -38,6 +41,7 @@
|
|
|
38
41
|
.product-configurator-details {
|
|
39
42
|
max-height: calc(100vh - 320px);
|
|
40
43
|
overflow-y: scroll;
|
|
44
|
+
overflow-x: hidden;
|
|
41
45
|
}
|
|
42
46
|
|
|
43
47
|
.product-configurator-summary-price-container {
|
|
@@ -45,4 +49,11 @@
|
|
|
45
49
|
padding: 10px 0;
|
|
46
50
|
}
|
|
47
51
|
}
|
|
52
|
+
|
|
53
|
+
.hide-main-configuration {
|
|
54
|
+
right: calc(-1 * var(--co-configurator-container-width)); // Go out of view
|
|
55
|
+
padding: 0;
|
|
56
|
+
width: 0;
|
|
57
|
+
overflow: hidden;
|
|
58
|
+
}
|
|
48
59
|
}
|
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
.co-product-configurator {
|
|
4
4
|
.product-configurator-container {
|
|
5
5
|
background: var(--product-configurator-background-color);
|
|
6
|
-
color: var(--text-color);
|
|
6
|
+
color: var(--co-configurator-text-color);
|
|
7
7
|
|
|
8
8
|
.product-configurator-header {
|
|
9
9
|
.product-configurator-head {
|
|
10
10
|
.product-configurator-header-text {
|
|
11
|
-
font-size: var(--font-size-large);
|
|
11
|
+
font-size: var(--co-configurator-font-size-large);
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.product-configurator-text {
|
|
15
|
-
font-size: var(--font-size-small);
|
|
15
|
+
font-size: var(--co-configurator-font-size-small);
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
.product-configurator-header-actions {
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-grouped-repeatable-options-layout') {
|
|
4
|
+
.co-product-configurator-grouped-repeatable-options {
|
|
5
|
+
|
|
6
|
+
// TEMP stylo
|
|
7
|
+
.repeatable-options-hidden {
|
|
8
|
+
display: none !important;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.grouped-repeatable-display-tabs {
|
|
12
|
+
margin-top: 15px;
|
|
13
|
+
display: flex;
|
|
14
|
+
justify-content: inherit;
|
|
15
|
+
|
|
16
|
+
.co-button {
|
|
17
|
+
cursor: pointer;
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.grouped-repeatable-display-body {
|
|
22
|
+
.repeat-explainer {
|
|
23
|
+
width: 90%;
|
|
24
|
+
display: flex;
|
|
25
|
+
margin: 15px auto;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
padding: 12px;
|
|
28
|
+
|
|
29
|
+
.info-icon {
|
|
30
|
+
display: flex;
|
|
31
|
+
justify-items: center;
|
|
32
|
+
align-items: center;
|
|
33
|
+
margin-right: 10px;
|
|
34
|
+
|
|
35
|
+
.co-icon {
|
|
36
|
+
margin: 0 auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.info-text {
|
|
41
|
+
width: calc(100% - 35px);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.grouped-repeatable-items {
|
|
46
|
+
.grouped-items-container {
|
|
47
|
+
display: flex;
|
|
48
|
+
align-items: center;
|
|
49
|
+
|
|
50
|
+
.selector-options {
|
|
51
|
+
margin-left: 5px;
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.show-filtered {
|
|
57
|
+
display: grid;
|
|
58
|
+
grid-template-columns: repeat(auto-fill, minmax(90px, 0.5px));
|
|
59
|
+
grid-auto-rows: 1fr;
|
|
60
|
+
z-index: 1;
|
|
61
|
+
padding: 5px 0;
|
|
62
|
+
position: relative;
|
|
63
|
+
|
|
64
|
+
.co-product-configurator-selector-option {
|
|
65
|
+
width: 100%;
|
|
66
|
+
|
|
67
|
+
.selection-container-06 {
|
|
68
|
+
grid-template-columns: repeat(auto-fill, minmax(80px, 0.5px));
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
--co-configurator-repeated-options-border-radius: 6px;
|
|
3
|
+
--co-configurator-repeated-options-border-color: #eee;
|
|
4
|
+
--co-configurator-repeated-options-default-tab-background: #eee;
|
|
5
|
+
--co-configurator-repeated-options-active-tab-background: #fff;
|
|
6
|
+
--co-configurator-repeated-options-explainer-background: #cce5ff;
|
|
7
|
+
--co-configurator-repeated-options-explainer-border-color: #b8daff;
|
|
8
|
+
--co-configurator-repeated-options-explainer-color: #004085;
|
|
9
|
+
--co-configurator-repeated-options-explainer-icon-height: 12px;
|
|
10
|
+
--co-configurator-repeated-options-explainer-icon-width: 12px;
|
|
11
|
+
--co-configurator-repeated-options-repeat-index-width: 25px;
|
|
12
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-grouped-repeatable-options-theme') {
|
|
4
|
+
.co-product-configurator-grouped-repeatable-options {
|
|
5
|
+
.grouped-repeatable-display-tabs {
|
|
6
|
+
|
|
7
|
+
.co-button {
|
|
8
|
+
color: var(--co-configurator-text-color);
|
|
9
|
+
font-size: var(--co-configurator-font-size-small);
|
|
10
|
+
border: 1px solid var(--co-configurator-repeated-options-border-color);
|
|
11
|
+
background: var(--co-configurator-repeated-options-default-tab-background);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.left-button {
|
|
15
|
+
border-radius: var(--co-configurator-repeated-options-border-radius) 0 0 0;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.right-button {
|
|
19
|
+
border-radius: 0 var(--co-configurator-repeated-options-border-radius) 0 0;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.active-button {
|
|
23
|
+
background: var(--co-configurator-repeated-options-active-tab-background);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.grouped-repeatable-display-body {
|
|
28
|
+
border: 1px solid var(--co-configurator-repeated-options-border-color);
|
|
29
|
+
border-top-right-radius: var(--co-configurator-repeated-options-border-radius);
|
|
30
|
+
border-bottom-left-radius: var(--co-configurator-repeated-options-border-radius);
|
|
31
|
+
border-bottom-right-radius: var(--co-configurator-repeated-options-border-radius);
|
|
32
|
+
|
|
33
|
+
.repeat-explainer {
|
|
34
|
+
border-radius: var(--co-configurator-repeated-options-border-radius);
|
|
35
|
+
border: 1px solid var(--co-configurator-repeated-options-explainer-border-color);
|
|
36
|
+
color: var(--co-configurator-repeated-options-explainer-color);
|
|
37
|
+
background-color: var(--co-configurator-repeated-options-explainer-background);
|
|
38
|
+
|
|
39
|
+
.info-icon {
|
|
40
|
+
border: 2px solid var(--co-configurator-repeated-options-explainer-color);
|
|
41
|
+
border-radius: 50%;
|
|
42
|
+
width: calc(2 * var(--co-configurator-repeated-options-explainer-icon-width));
|
|
43
|
+
height: calc(2 * var(--co-configurator-repeated-options-explainer-icon-height));
|
|
44
|
+
|
|
45
|
+
.co-icon {
|
|
46
|
+
width: var(--co-configurator-repeated-options-explainer-icon-width);
|
|
47
|
+
height: var(--co-configurator-repeated-options-explainer-icon-height);
|
|
48
|
+
color: var(--co-configurator-repeated-options-explainer-color);
|
|
49
|
+
|
|
50
|
+
svg, path {
|
|
51
|
+
fill: var(--co-configurator-repeated-options-explainer-color);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.info-text {
|
|
57
|
+
font-size: var(--co-configurator-font-size-small);
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
.grouped-repeatable-items {
|
|
62
|
+
.grouped-items-container {
|
|
63
|
+
.index-indicator {
|
|
64
|
+
width: var(--co-configurator-repeated-options-repeat-index-width);
|
|
65
|
+
font-size: var(--co-configurator-font-size-small);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
.selector-options {
|
|
69
|
+
width: calc(100% - 35px);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-product-configurator-repeat-buttons-layout') {
|
|
4
|
+
.co-product-configurator-repeat-buttons {
|
|
5
|
+
margin-left: auto;
|
|
6
|
+
|
|
7
|
+
.button-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
justify-content: space-between;
|
|
10
|
+
|
|
11
|
+
.repeat-button-container, .delete-button-container {
|
|
12
|
+
cursor: pointer;
|
|
13
|
+
|
|
14
|
+
.co-button {
|
|
15
|
+
padding: 0 5px;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.delete-button-container {
|
|
20
|
+
margin-left: 5px;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|