@configura/web-ui 2.1.0-alpha.1 → 2.1.0-alpha.3
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/.eslintrc.json +5 -5
- package/.postcssrc.json +8 -8
- package/LICENSE +201 -201
- package/README.md +1 -1
- package/dist/components/CanvasWrapper.d.ts +9 -9
- package/dist/components/CanvasWrapper.js +8 -8
- package/dist/components/CfgPriceView.d.ts +6 -6
- package/dist/components/CfgPriceView.js +13 -13
- package/dist/components/ConfigurationActionsButtonRow.d.ts +14 -14
- package/dist/components/ConfigurationActionsButtonRow.js +16 -16
- package/dist/components/Configurator.d.ts +12 -12
- package/dist/components/Configurator.js +15 -15
- package/dist/components/ConfiguratorWrapper.d.ts +8 -8
- package/dist/components/ConfiguratorWrapper.js +5 -5
- package/dist/components/CurrencyPrice.d.ts +9 -9
- package/dist/components/CurrencyPrice.js +7 -7
- package/dist/components/ErrorContext.d.ts +2 -2
- package/dist/components/ErrorContext.js +2 -2
- package/dist/components/ExpandableHeadingRow.d.ts +15 -15
- package/dist/components/ExpandableHeadingRow.js +23 -23
- package/dist/components/Loading.d.ts +13 -13
- package/dist/components/Loading.js +20 -20
- package/dist/components/ProductInformation.d.ts +13 -13
- package/dist/components/ProductInformation.js +14 -14
- package/dist/components/ResetButton.d.ts +8 -8
- package/dist/components/ResetButton.js +7 -7
- package/dist/components/ShareView.d.ts +3 -3
- package/dist/components/ShareView.js +21 -21
- package/dist/components/TaskListView.d.ts +8 -8
- package/dist/components/TaskListView.js +69 -69
- package/dist/components/TaskStartView.d.ts +12 -12
- package/dist/components/TaskStartView.js +29 -29
- package/dist/components/icons/Checkmark.d.ts +6 -6
- package/dist/components/icons/Checkmark.js +12 -12
- package/dist/components/icons/Chevron.d.ts +7 -7
- package/dist/components/icons/Chevron.js +18 -18
- package/dist/components/icons/CircleXmarkIcon.d.ts +3 -3
- package/dist/components/icons/CircleXmarkIcon.js +8 -8
- package/dist/components/icons/DownloadIcon.d.ts +3 -3
- package/dist/components/icons/DownloadIcon.js +8 -8
- package/dist/components/icons/ErrorIcon.d.ts +3 -3
- package/dist/components/icons/ErrorIcon.js +8 -8
- package/dist/components/productConfiguration/CfgAdditionalProductView.d.ts +3 -3
- package/dist/components/productConfiguration/CfgAdditionalProductView.js +46 -46
- package/dist/components/productConfiguration/CfgCheckboxView.d.ts +4 -4
- package/dist/components/productConfiguration/CfgCheckboxView.js +7 -7
- package/dist/components/productConfiguration/CfgCheckboxesView.d.ts +4 -4
- package/dist/components/productConfiguration/CfgCheckboxesView.js +20 -20
- package/dist/components/productConfiguration/CfgConfigurationCommonView.d.ts +7 -7
- package/dist/components/productConfiguration/CfgConfigurationCommonView.js +8 -8
- package/dist/components/productConfiguration/CfgDropdownOptionView.d.ts +4 -4
- package/dist/components/productConfiguration/CfgDropdownOptionView.js +23 -23
- package/dist/components/productConfiguration/CfgDropdownView.d.ts +4 -4
- package/dist/components/productConfiguration/CfgDropdownView.js +23 -23
- package/dist/components/productConfiguration/CfgFeatureView.d.ts +72 -72
- package/dist/components/productConfiguration/CfgFeatureView.js +77 -76
- package/dist/components/productConfiguration/CfgGroupView.d.ts +4 -4
- package/dist/components/productConfiguration/CfgGroupView.js +7 -7
- package/dist/components/productConfiguration/CfgMiscFile.d.ts +4 -4
- package/dist/components/productConfiguration/CfgMiscFile.js +9 -9
- package/dist/components/productConfiguration/CfgMiscFiles.d.ts +4 -4
- package/dist/components/productConfiguration/CfgMiscFiles.js +5 -5
- package/dist/components/productConfiguration/CfgNote.d.ts +4 -4
- package/dist/components/productConfiguration/CfgNote.js +15 -15
- package/dist/components/productConfiguration/CfgNotes.d.ts +4 -4
- package/dist/components/productConfiguration/CfgNotes.js +5 -5
- package/dist/components/productConfiguration/CfgOptionCommonView.d.ts +6 -6
- package/dist/components/productConfiguration/CfgOptionCommonView.js +53 -50
- package/dist/components/productConfiguration/CfgOptionNumericView.d.ts +29 -29
- package/dist/components/productConfiguration/CfgOptionNumericView.js +132 -132
- package/dist/components/productConfiguration/CfgOptionPriceView.d.ts +9 -9
- package/dist/components/productConfiguration/CfgOptionPriceView.js +31 -31
- package/dist/components/productConfiguration/CfgProductConfigurationView.d.ts +24 -22
- package/dist/components/productConfiguration/CfgProductConfigurationView.js +50 -50
- package/dist/css/web-ui.css.map +1 -1
- package/dist/index.d.ts +29 -29
- package/dist/index.js +29 -29
- package/dist/scss/_button.scss +52 -52
- package/dist/scss/_configurator.scss +132 -132
- package/dist/scss/_expandable.scss +38 -38
- package/dist/scss/_feature-item.scss +146 -146
- package/dist/scss/_forms.scss +44 -44
- package/dist/scss/_hr.scss +16 -16
- package/dist/scss/_loading.scss +98 -98
- package/dist/scss/_misc-file-and-note.scss +44 -44
- package/dist/scss/_mixins.scss +56 -56
- package/dist/scss/_option-tree.scss +29 -29
- package/dist/scss/_product-information.scss +53 -53
- package/dist/scss/_range-view.scss +39 -39
- package/dist/scss/_slider.scss +70 -70
- package/dist/scss/_tasks.scss +72 -72
- package/dist/scss/_themed.scss +156 -156
- package/dist/scss/_utilities.scss +21 -21
- package/dist/scss/_variables.scss +6 -6
- package/dist/scss/icons/_checkmark.scss +46 -46
- package/dist/scss/icons/_chevron.scss +62 -62
- package/dist/scss/icons/_circle-xmark-icon.scss +24 -24
- package/dist/scss/icons/_download-icon.scss +24 -24
- package/dist/scss/icons/_error-icon.scss +24 -24
- package/dist/scss/web-ui.scss +11 -11
- package/dist/useCatParams.d.ts +17 -17
- package/dist/useCatParams.js +29 -29
- package/dist/useObservable.d.ts +4 -4
- package/dist/useObservable.js +18 -18
- package/dist/useRerender.d.ts +1 -1
- package/dist/useRerender.js +5 -5
- package/dist/useResize.d.ts +6 -6
- package/dist/useResize.js +47 -47
- package/dist/useSelected.d.ts +2 -2
- package/dist/useSelected.js +13 -13
- package/dist/useUniqueId.d.ts +1 -1
- package/dist/useUniqueId.js +3 -3
- package/dist/utilities.d.ts +5 -5
- package/dist/utilities.js +1 -1
- package/package.json +3 -3
|
@@ -1,132 +1,132 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Web UI Configurator
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@use "mixins";
|
|
6
|
-
|
|
7
|
-
@mixin classes($fontSize, $textColor, $grayTextColor, $headerUnderlineColor) {
|
|
8
|
-
.cfgConfiguratorWrapper {
|
|
9
|
-
@include mixins.cfgRootStyles;
|
|
10
|
-
color: $textColor;
|
|
11
|
-
display: flex;
|
|
12
|
-
height: 85vh;
|
|
13
|
-
flex-direction: column;
|
|
14
|
-
|
|
15
|
-
@media screen and (orientation: landscape) {
|
|
16
|
-
flex-direction: row;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.cfgTaskStart,
|
|
20
|
-
.cfgShare,
|
|
21
|
-
.cfgReset {
|
|
22
|
-
margin-top: 0.5em;
|
|
23
|
-
font-size: 1.2em;
|
|
24
|
-
font-weight: 500;
|
|
25
|
-
|
|
26
|
-
.cfgInput,
|
|
27
|
-
.cfgFormSelect,
|
|
28
|
-
button {
|
|
29
|
-
padding: 0.5em;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
.cfgTaskStart {
|
|
34
|
-
.cfgFormSelect {
|
|
35
|
-
&::after {
|
|
36
|
-
right: 0.5em;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.cfgShare .cfgInput,
|
|
42
|
-
.cfgReset button {
|
|
43
|
-
appearance: none;
|
|
44
|
-
margin: 0;
|
|
45
|
-
|
|
46
|
-
background-color: transparent;
|
|
47
|
-
font-family: inherit;
|
|
48
|
-
font-size: inherit;
|
|
49
|
-
font-weight: inherit;
|
|
50
|
-
cursor: inherit;
|
|
51
|
-
line-height: inherit;
|
|
52
|
-
outline: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.cfgShare {
|
|
56
|
-
&__error {
|
|
57
|
-
display: inline-block;
|
|
58
|
-
.cfgErrorIcon {
|
|
59
|
-
padding-left: 0.25em;
|
|
60
|
-
margin-right: 0.75em;
|
|
61
|
-
width: 1.25em;
|
|
62
|
-
height: 1em;
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
&__grayed {
|
|
66
|
-
color: $grayTextColor;
|
|
67
|
-
}
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
.cfgCanvasWrapper {
|
|
72
|
-
@include mixins.cfgRootStyles;
|
|
73
|
-
position: relative;
|
|
74
|
-
height: 50rem;
|
|
75
|
-
user-select: none;
|
|
76
|
-
|
|
77
|
-
flex: 1 1 auto;
|
|
78
|
-
overflow: hidden;
|
|
79
|
-
|
|
80
|
-
& canvas {
|
|
81
|
-
outline: none;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
@media screen and (orientation: landscape) {
|
|
85
|
-
height: 100%;
|
|
86
|
-
flex: 0 1 60%;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.cfgConfigurator {
|
|
91
|
-
@include mixins.cfgRootStyles;
|
|
92
|
-
@include mixins.cfgDefaultFont;
|
|
93
|
-
font-size: $fontSize;
|
|
94
|
-
color: $textColor;
|
|
95
|
-
min-width: 0;
|
|
96
|
-
|
|
97
|
-
height: 100%;
|
|
98
|
-
display: flex;
|
|
99
|
-
flex-direction: column;
|
|
100
|
-
flex: 0 0 50%;
|
|
101
|
-
overflow: auto;
|
|
102
|
-
|
|
103
|
-
@media screen and (orientation: landscape) {
|
|
104
|
-
height: 100%;
|
|
105
|
-
flex: 0 1 40%;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
& > .cfgConfiguratorTree {
|
|
109
|
-
& > .cfgMiscFiles,
|
|
110
|
-
& > .cfgNotes {
|
|
111
|
-
padding-left: 1.7em;
|
|
112
|
-
}
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
|
-
|
|
116
|
-
.cfgConfiguratorHeader {
|
|
117
|
-
border-bottom: 0.1em solid $headerUnderlineColor;
|
|
118
|
-
padding: 1.7em 1.7em 1.9em;
|
|
119
|
-
position: relative;
|
|
120
|
-
|
|
121
|
-
&__actions {
|
|
122
|
-
margin-top: 1em;
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
.cfgConfiguratorTree {
|
|
127
|
-
padding-top: 1em;
|
|
128
|
-
padding-top: 0.5em;
|
|
129
|
-
overflow-y: auto;
|
|
130
|
-
-webkit-overflow-scrolling: touch;
|
|
131
|
-
}
|
|
132
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Web UI Configurator
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@use "mixins";
|
|
6
|
+
|
|
7
|
+
@mixin classes($fontSize, $textColor, $grayTextColor, $headerUnderlineColor) {
|
|
8
|
+
.cfgConfiguratorWrapper {
|
|
9
|
+
@include mixins.cfgRootStyles;
|
|
10
|
+
color: $textColor;
|
|
11
|
+
display: flex;
|
|
12
|
+
height: 85vh;
|
|
13
|
+
flex-direction: column;
|
|
14
|
+
|
|
15
|
+
@media screen and (orientation: landscape) {
|
|
16
|
+
flex-direction: row;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.cfgTaskStart,
|
|
20
|
+
.cfgShare,
|
|
21
|
+
.cfgReset {
|
|
22
|
+
margin-top: 0.5em;
|
|
23
|
+
font-size: 1.2em;
|
|
24
|
+
font-weight: 500;
|
|
25
|
+
|
|
26
|
+
.cfgInput,
|
|
27
|
+
.cfgFormSelect,
|
|
28
|
+
button {
|
|
29
|
+
padding: 0.5em;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.cfgTaskStart {
|
|
34
|
+
.cfgFormSelect {
|
|
35
|
+
&::after {
|
|
36
|
+
right: 0.5em;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.cfgShare .cfgInput,
|
|
42
|
+
.cfgReset button {
|
|
43
|
+
appearance: none;
|
|
44
|
+
margin: 0;
|
|
45
|
+
|
|
46
|
+
background-color: transparent;
|
|
47
|
+
font-family: inherit;
|
|
48
|
+
font-size: inherit;
|
|
49
|
+
font-weight: inherit;
|
|
50
|
+
cursor: inherit;
|
|
51
|
+
line-height: inherit;
|
|
52
|
+
outline: none;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.cfgShare {
|
|
56
|
+
&__error {
|
|
57
|
+
display: inline-block;
|
|
58
|
+
.cfgErrorIcon {
|
|
59
|
+
padding-left: 0.25em;
|
|
60
|
+
margin-right: 0.75em;
|
|
61
|
+
width: 1.25em;
|
|
62
|
+
height: 1em;
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
&__grayed {
|
|
66
|
+
color: $grayTextColor;
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.cfgCanvasWrapper {
|
|
72
|
+
@include mixins.cfgRootStyles;
|
|
73
|
+
position: relative;
|
|
74
|
+
height: 50rem;
|
|
75
|
+
user-select: none;
|
|
76
|
+
|
|
77
|
+
flex: 1 1 auto;
|
|
78
|
+
overflow: hidden;
|
|
79
|
+
|
|
80
|
+
& canvas {
|
|
81
|
+
outline: none;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@media screen and (orientation: landscape) {
|
|
85
|
+
height: 100%;
|
|
86
|
+
flex: 0 1 60%;
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.cfgConfigurator {
|
|
91
|
+
@include mixins.cfgRootStyles;
|
|
92
|
+
@include mixins.cfgDefaultFont;
|
|
93
|
+
font-size: $fontSize;
|
|
94
|
+
color: $textColor;
|
|
95
|
+
min-width: 0;
|
|
96
|
+
|
|
97
|
+
height: 100%;
|
|
98
|
+
display: flex;
|
|
99
|
+
flex-direction: column;
|
|
100
|
+
flex: 0 0 50%;
|
|
101
|
+
overflow: auto;
|
|
102
|
+
|
|
103
|
+
@media screen and (orientation: landscape) {
|
|
104
|
+
height: 100%;
|
|
105
|
+
flex: 0 1 40%;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
& > .cfgConfiguratorTree {
|
|
109
|
+
& > .cfgMiscFiles,
|
|
110
|
+
& > .cfgNotes {
|
|
111
|
+
padding-left: 1.7em;
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.cfgConfiguratorHeader {
|
|
117
|
+
border-bottom: 0.1em solid $headerUnderlineColor;
|
|
118
|
+
padding: 1.7em 1.7em 1.9em;
|
|
119
|
+
position: relative;
|
|
120
|
+
|
|
121
|
+
&__actions {
|
|
122
|
+
margin-top: 1em;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.cfgConfiguratorTree {
|
|
127
|
+
padding-top: 1em;
|
|
128
|
+
padding-top: 0.5em;
|
|
129
|
+
overflow-y: auto;
|
|
130
|
+
-webkit-overflow-scrolling: touch;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
@use "mixins";
|
|
2
|
-
|
|
3
|
-
@mixin classes {
|
|
4
|
-
.cfgExpandableHeadingRow {
|
|
5
|
-
@include mixins.cfgRootStyles;
|
|
6
|
-
@include mixins.noButtonLook;
|
|
7
|
-
align-items: stretch;
|
|
8
|
-
display: flex;
|
|
9
|
-
height: 3.9em;
|
|
10
|
-
outline: 0;
|
|
11
|
-
position: relative;
|
|
12
|
-
width: 100%;
|
|
13
|
-
|
|
14
|
-
&--expandable {
|
|
15
|
-
cursor: pointer;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
&__title {
|
|
19
|
-
align-items: center;
|
|
20
|
-
display: flex;
|
|
21
|
-
flex: 1 1 auto;
|
|
22
|
-
font-size: 1.5em;
|
|
23
|
-
font-weight: 500;
|
|
24
|
-
justify-content: flex-start;
|
|
25
|
-
overflow: hidden;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
&__icon {
|
|
29
|
-
align-items: center;
|
|
30
|
-
display: flex;
|
|
31
|
-
flex: 0 0 5em;
|
|
32
|
-
justify-content: center;
|
|
33
|
-
padding: 0 1.5em;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
@content;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
@use "mixins";
|
|
2
|
+
|
|
3
|
+
@mixin classes {
|
|
4
|
+
.cfgExpandableHeadingRow {
|
|
5
|
+
@include mixins.cfgRootStyles;
|
|
6
|
+
@include mixins.noButtonLook;
|
|
7
|
+
align-items: stretch;
|
|
8
|
+
display: flex;
|
|
9
|
+
height: 3.9em;
|
|
10
|
+
outline: 0;
|
|
11
|
+
position: relative;
|
|
12
|
+
width: 100%;
|
|
13
|
+
|
|
14
|
+
&--expandable {
|
|
15
|
+
cursor: pointer;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&__title {
|
|
19
|
+
align-items: center;
|
|
20
|
+
display: flex;
|
|
21
|
+
flex: 1 1 auto;
|
|
22
|
+
font-size: 1.5em;
|
|
23
|
+
font-weight: 500;
|
|
24
|
+
justify-content: flex-start;
|
|
25
|
+
overflow: hidden;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__icon {
|
|
29
|
+
align-items: center;
|
|
30
|
+
display: flex;
|
|
31
|
+
flex: 0 0 5em;
|
|
32
|
+
justify-content: center;
|
|
33
|
+
padding: 0 1.5em;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
@content;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,146 +1,146 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Web UI Feature item
|
|
3
|
-
*/
|
|
4
|
-
|
|
5
|
-
@use "mixins";
|
|
6
|
-
|
|
7
|
-
@mixin classes(
|
|
8
|
-
$textColor,
|
|
9
|
-
$grayTextColor,
|
|
10
|
-
$checkButtonUncheckedColor,
|
|
11
|
-
$checkButtonCheckedColor,
|
|
12
|
-
$focusOutlineInnerColor,
|
|
13
|
-
$focusOutlineOuterColor,
|
|
14
|
-
$dividerDark
|
|
15
|
-
) {
|
|
16
|
-
.cfgThumbnailImage {
|
|
17
|
-
border-radius: 0.7em;
|
|
18
|
-
display: inline-block;
|
|
19
|
-
height: 3em;
|
|
20
|
-
width: 3em;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.cfgThumbnailPlaceholder {
|
|
24
|
-
align-items: center;
|
|
25
|
-
display: flex;
|
|
26
|
-
flex: 0 0 4.2em;
|
|
27
|
-
justify-content: flex-start;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.cfgFeatureItem {
|
|
31
|
-
@include mixins.cfgRootStyles;
|
|
32
|
-
|
|
33
|
-
color: $textColor;
|
|
34
|
-
|
|
35
|
-
&__dropdown {
|
|
36
|
-
@include mixins.noButtonLook;
|
|
37
|
-
align-items: stretch;
|
|
38
|
-
display: flex;
|
|
39
|
-
height: 3.9em;
|
|
40
|
-
outline: 0;
|
|
41
|
-
position: relative;
|
|
42
|
-
width: 100%;
|
|
43
|
-
cursor: pointer;
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
&--optional {
|
|
47
|
-
margin-top: 1em;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
&__hiddenInput {
|
|
51
|
-
left: -99999px;
|
|
52
|
-
opacity: 0;
|
|
53
|
-
position: absolute;
|
|
54
|
-
z-index: -1;
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
&__radio {
|
|
58
|
-
@include mixins.cfgRadio($checkButtonUncheckedColor);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
&__checkbox {
|
|
62
|
-
@include mixins.cfgCheckbox($checkButtonUncheckedColor);
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
/* The &-syntax brings in the entire path, so the second part of this rule must be explicit */
|
|
66
|
-
|
|
67
|
-
&__hiddenInput:focus ~ .cfgFeatureItem__radio,
|
|
68
|
-
&__hiddenInput:focus ~ .cfgFeatureItem__checkbox {
|
|
69
|
-
@include mixins.focusOutline($focusOutlineInnerColor, $focusOutlineOuterColor);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
&__hiddenInput:checked ~ .cfgFeatureItem__radio {
|
|
73
|
-
@include mixins.cfgRadio($checkButtonCheckedColor);
|
|
74
|
-
}
|
|
75
|
-
&__hiddenInput:checked ~ .cfgFeatureItem__checkbox {
|
|
76
|
-
@include mixins.cfgCheckbox($checkButtonCheckedColor);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
&.cfgAdditionalProduct {
|
|
80
|
-
> .cfgExpandableHeadingRow {
|
|
81
|
-
> .cfgExpandableHeadingRow__title {
|
|
82
|
-
font-weight: 600;
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
> .cfgFeatureItem__hr {
|
|
87
|
-
border-bottom-color: $dividerDark;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
/* The last themathic break (hr) we move under the next thematic break so it appears as one */
|
|
91
|
-
.cfgFeatureItem:last-child .cfgFeatureItem__hr {
|
|
92
|
-
margin-bottom: -0.1em;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
& > .cfgNotes,
|
|
97
|
-
& > .cfgMiscFiles {
|
|
98
|
-
margin-left: 3.2em;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
&.disabled {
|
|
102
|
-
opacity: 0.2;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.cfgFeatureItemOptional__titleWrapper,
|
|
107
|
-
.cfgFeatureItemOption__titleWrapper {
|
|
108
|
-
flex: 1 1 auto;
|
|
109
|
-
margin-left: 1em;
|
|
110
|
-
}
|
|
111
|
-
|
|
112
|
-
.cfgFeatureItemOptional__title,
|
|
113
|
-
.cfgFeatureItemOption__title {
|
|
114
|
-
font-size: 1.5em;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.cfgFeatureItemOption__price {
|
|
118
|
-
font-weight: 600;
|
|
119
|
-
font-size: 0.75em;
|
|
120
|
-
color: $grayTextColor;
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.cfgOptionTree--subLevel .cfgFeatureItem__hr {
|
|
124
|
-
display: none;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
.cfgFeatureItemOption {
|
|
128
|
-
align-items: center;
|
|
129
|
-
display: flex;
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
.cfgFeatureItemOptional {
|
|
133
|
-
align-items: center;
|
|
134
|
-
display: flex;
|
|
135
|
-
justify-content: center;
|
|
136
|
-
margin-top: 0.5em;
|
|
137
|
-
|
|
138
|
-
&__header {
|
|
139
|
-
font-size: 1.2em;
|
|
140
|
-
font-weight: 600;
|
|
141
|
-
margin: 0 0 0.3em 0;
|
|
142
|
-
padding: 0;
|
|
143
|
-
text-transform: uppercase;
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Web UI Feature item
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
@use "mixins";
|
|
6
|
+
|
|
7
|
+
@mixin classes(
|
|
8
|
+
$textColor,
|
|
9
|
+
$grayTextColor,
|
|
10
|
+
$checkButtonUncheckedColor,
|
|
11
|
+
$checkButtonCheckedColor,
|
|
12
|
+
$focusOutlineInnerColor,
|
|
13
|
+
$focusOutlineOuterColor,
|
|
14
|
+
$dividerDark
|
|
15
|
+
) {
|
|
16
|
+
.cfgThumbnailImage {
|
|
17
|
+
border-radius: 0.7em;
|
|
18
|
+
display: inline-block;
|
|
19
|
+
height: 3em;
|
|
20
|
+
width: 3em;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.cfgThumbnailPlaceholder {
|
|
24
|
+
align-items: center;
|
|
25
|
+
display: flex;
|
|
26
|
+
flex: 0 0 4.2em;
|
|
27
|
+
justify-content: flex-start;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.cfgFeatureItem {
|
|
31
|
+
@include mixins.cfgRootStyles;
|
|
32
|
+
|
|
33
|
+
color: $textColor;
|
|
34
|
+
|
|
35
|
+
&__dropdown {
|
|
36
|
+
@include mixins.noButtonLook;
|
|
37
|
+
align-items: stretch;
|
|
38
|
+
display: flex;
|
|
39
|
+
height: 3.9em;
|
|
40
|
+
outline: 0;
|
|
41
|
+
position: relative;
|
|
42
|
+
width: 100%;
|
|
43
|
+
cursor: pointer;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&--optional {
|
|
47
|
+
margin-top: 1em;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
&__hiddenInput {
|
|
51
|
+
left: -99999px;
|
|
52
|
+
opacity: 0;
|
|
53
|
+
position: absolute;
|
|
54
|
+
z-index: -1;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
&__radio {
|
|
58
|
+
@include mixins.cfgRadio($checkButtonUncheckedColor);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&__checkbox {
|
|
62
|
+
@include mixins.cfgCheckbox($checkButtonUncheckedColor);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
/* The &-syntax brings in the entire path, so the second part of this rule must be explicit */
|
|
66
|
+
|
|
67
|
+
&__hiddenInput:focus ~ .cfgFeatureItem__radio,
|
|
68
|
+
&__hiddenInput:focus ~ .cfgFeatureItem__checkbox {
|
|
69
|
+
@include mixins.focusOutline($focusOutlineInnerColor, $focusOutlineOuterColor);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
&__hiddenInput:checked ~ .cfgFeatureItem__radio {
|
|
73
|
+
@include mixins.cfgRadio($checkButtonCheckedColor);
|
|
74
|
+
}
|
|
75
|
+
&__hiddenInput:checked ~ .cfgFeatureItem__checkbox {
|
|
76
|
+
@include mixins.cfgCheckbox($checkButtonCheckedColor);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
&.cfgAdditionalProduct {
|
|
80
|
+
> .cfgExpandableHeadingRow {
|
|
81
|
+
> .cfgExpandableHeadingRow__title {
|
|
82
|
+
font-weight: 600;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
> .cfgFeatureItem__hr {
|
|
87
|
+
border-bottom-color: $dividerDark;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
/* The last themathic break (hr) we move under the next thematic break so it appears as one */
|
|
91
|
+
.cfgFeatureItem:last-child .cfgFeatureItem__hr {
|
|
92
|
+
margin-bottom: -0.1em;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
& > .cfgNotes,
|
|
97
|
+
& > .cfgMiscFiles {
|
|
98
|
+
margin-left: 3.2em;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
&.disabled {
|
|
102
|
+
opacity: 0.2;
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.cfgFeatureItemOptional__titleWrapper,
|
|
107
|
+
.cfgFeatureItemOption__titleWrapper {
|
|
108
|
+
flex: 1 1 auto;
|
|
109
|
+
margin-left: 1em;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.cfgFeatureItemOptional__title,
|
|
113
|
+
.cfgFeatureItemOption__title {
|
|
114
|
+
font-size: 1.5em;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.cfgFeatureItemOption__price {
|
|
118
|
+
font-weight: 600;
|
|
119
|
+
font-size: 0.75em;
|
|
120
|
+
color: $grayTextColor;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.cfgOptionTree--subLevel .cfgFeatureItem__hr {
|
|
124
|
+
display: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.cfgFeatureItemOption {
|
|
128
|
+
align-items: center;
|
|
129
|
+
display: flex;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.cfgFeatureItemOptional {
|
|
133
|
+
align-items: center;
|
|
134
|
+
display: flex;
|
|
135
|
+
justify-content: center;
|
|
136
|
+
margin-top: 0.5em;
|
|
137
|
+
|
|
138
|
+
&__header {
|
|
139
|
+
font-size: 1.2em;
|
|
140
|
+
font-weight: 600;
|
|
141
|
+
margin: 0 0 0.3em 0;
|
|
142
|
+
padding: 0;
|
|
143
|
+
text-transform: uppercase;
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|