@colijnit/homedecorator 262.1.4 → 262.1.6
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/app/plugins/render/render-controls/input-slider/input-slider.component.scss +117 -0
- package/app/plugins/render/render-controls/render-controls.component.scss +4 -40
- package/fesm2022/colijnit-homedecorator.mjs +529 -458
- package/fesm2022/colijnit-homedecorator.mjs.map +1 -1
- package/index.d.ts +58 -38
- package/package.json +2 -2
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
@import '../../../../../style/variables';
|
|
2
|
+
|
|
3
|
+
$co-homedecorator-input-slider-background: rgba(218, 152, 3, 0.3);
|
|
4
|
+
|
|
5
|
+
.setting-part-container {
|
|
6
|
+
display: flex;
|
|
7
|
+
justify-content: space-between;
|
|
8
|
+
align-items: center;
|
|
9
|
+
margin-bottom: 5px;
|
|
10
|
+
|
|
11
|
+
.form-field {
|
|
12
|
+
position: relative;
|
|
13
|
+
display: flex;
|
|
14
|
+
flex-direction: column;
|
|
15
|
+
|
|
16
|
+
&-label {
|
|
17
|
+
font-size: 10px;
|
|
18
|
+
color: $hd-color-primary;
|
|
19
|
+
margin-bottom: 5px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
&-input {
|
|
23
|
+
border: none;
|
|
24
|
+
border-bottom: 1px solid rgba(0, 0, 0, 0.42);
|
|
25
|
+
background: transparent;
|
|
26
|
+
font-size: 16px;
|
|
27
|
+
padding: 4px 0;
|
|
28
|
+
outline: none;
|
|
29
|
+
width: 100%;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
transition: border-color 0.2s ease;
|
|
32
|
+
|
|
33
|
+
&:focus {
|
|
34
|
+
border-bottom: 2px solid $hd-color-main;
|
|
35
|
+
margin-bottom: -1px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
&::-webkit-outer-spin-button,
|
|
39
|
+
&::-webkit-inner-spin-button {
|
|
40
|
+
-webkit-appearance: none;
|
|
41
|
+
margin: 0;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
&[type='number'] {
|
|
45
|
+
-moz-appearance: textfield;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.third-width {
|
|
51
|
+
width: 32%
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.setting-part-buttons {
|
|
55
|
+
.amount-button {
|
|
56
|
+
float: none;
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
padding: 2px;
|
|
59
|
+
background: none;
|
|
60
|
+
cursor: pointer;
|
|
61
|
+
border: none;
|
|
62
|
+
width: 25px;
|
|
63
|
+
height: 25px;
|
|
64
|
+
margin: 0 5px;
|
|
65
|
+
|
|
66
|
+
co-icon {
|
|
67
|
+
display: block;
|
|
68
|
+
width: 25px;
|
|
69
|
+
height: 25px;
|
|
70
|
+
|
|
71
|
+
svg {
|
|
72
|
+
fill: $hd-color-primary;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.setting-part-slider {
|
|
79
|
+
.value-slider {
|
|
80
|
+
width: 100%;
|
|
81
|
+
appearance: none;
|
|
82
|
+
height: 2px;
|
|
83
|
+
background: $co-homedecorator-input-slider-background;
|
|
84
|
+
outline: none;
|
|
85
|
+
cursor: pointer;
|
|
86
|
+
|
|
87
|
+
&::-webkit-slider-thumb {
|
|
88
|
+
appearance: none;
|
|
89
|
+
width: 16px;
|
|
90
|
+
height: 16px;
|
|
91
|
+
border-radius: 50%;
|
|
92
|
+
background: $hd-color-main;
|
|
93
|
+
cursor: pointer;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&::-moz-range-thumb {
|
|
97
|
+
width: 16px;
|
|
98
|
+
height: 16px;
|
|
99
|
+
border-radius: 50%;
|
|
100
|
+
background: $hd-color-main;
|
|
101
|
+
border: none;
|
|
102
|
+
cursor: pointer;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
&::-moz-range-track {
|
|
106
|
+
height: 2px;
|
|
107
|
+
background: $co-homedecorator-input-slider-background;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
|
|
@@ -5,12 +5,14 @@ $border-color: #dda73f;
|
|
|
5
5
|
|
|
6
6
|
.render-container {
|
|
7
7
|
position: relative;
|
|
8
|
+
min-width: 375px;
|
|
8
9
|
//background: #fff;
|
|
9
10
|
//margin: 0 10px 0 0;
|
|
10
11
|
//border-radius: 50px;
|
|
11
12
|
//box-shadow: 0px 1px 5px 0px rgba(0, 0, 0, 0.12);
|
|
12
13
|
|
|
13
14
|
.render-popup-container {
|
|
15
|
+
box-sizing: border-box;
|
|
14
16
|
background: rgba(255, 255, 255, 0.7);
|
|
15
17
|
padding: 10px 25px 25px;
|
|
16
18
|
border-radius: 5px;
|
|
@@ -89,9 +91,9 @@ $border-color: #dda73f;
|
|
|
89
91
|
background-color: #fff;
|
|
90
92
|
min-height: 150px;
|
|
91
93
|
min-width: 275px;
|
|
92
|
-
margin: 5px
|
|
94
|
+
margin: 5px auto;
|
|
93
95
|
position: relative;
|
|
94
|
-
width:
|
|
96
|
+
width: 340px;
|
|
95
97
|
height: 150px;
|
|
96
98
|
|
|
97
99
|
.render-popup-preview-placeholder {
|
|
@@ -169,44 +171,6 @@ $border-color: #dda73f;
|
|
|
169
171
|
}
|
|
170
172
|
}
|
|
171
173
|
|
|
172
|
-
.setting-part-container {
|
|
173
|
-
display: flex;
|
|
174
|
-
justify-content: space-between;
|
|
175
|
-
align-items: center;
|
|
176
|
-
margin-bottom: 5px;
|
|
177
|
-
.third-width {
|
|
178
|
-
width: 32%
|
|
179
|
-
}
|
|
180
|
-
.setting-part-buttons {
|
|
181
|
-
|
|
182
|
-
.amount-button {
|
|
183
|
-
float: none;
|
|
184
|
-
box-sizing: border-box;
|
|
185
|
-
padding: 2px;
|
|
186
|
-
background: none;
|
|
187
|
-
cursor: pointer;
|
|
188
|
-
border: none;
|
|
189
|
-
width: 25px;
|
|
190
|
-
height: 25px;
|
|
191
|
-
margin: 0 5px;
|
|
192
|
-
co-icon {
|
|
193
|
-
display: block;
|
|
194
|
-
width: 25px;
|
|
195
|
-
height: 25px;
|
|
196
|
-
::ng-deep svg {
|
|
197
|
-
fill: #5b6875;
|
|
198
|
-
}
|
|
199
|
-
}
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
.setting-part-slider {
|
|
203
|
-
/*TODO(mdc-migration): The following rule targets internal classes of slider that may no longer apply for the MDC version.*/
|
|
204
|
-
.mat-slider-horizontal {
|
|
205
|
-
min-width: 110px;
|
|
206
|
-
height: 28px;
|
|
207
|
-
}
|
|
208
|
-
}
|
|
209
|
-
}
|
|
210
174
|
}
|
|
211
175
|
}
|
|
212
176
|
|