@ngx-stoui/core 15.0.1 → 16.0.0
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/README.md +7 -7
- package/{esm2020 → esm2022}/index.mjs +1 -1
- package/{esm2020 → esm2022}/lib/abstract-and-interfaces/keyPress.enum.mjs +1 -1
- package/esm2022/lib/sto-directives/context-menu.directive.mjs +36 -0
- package/esm2022/lib/sto-directives/date-form-field-click.directive.mjs +46 -0
- package/esm2022/lib/sto-directives/directives.module.mjs +64 -0
- package/{esm2020 → esm2022}/lib/sto-directives/index.mjs +1 -1
- package/esm2022/lib/sto-directives/menu-overlay.directive.mjs +48 -0
- package/{esm2020 → esm2022}/lib/sto-directives/quick-keys.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-directives/sto-grid.directive.mjs +10 -10
- package/{esm2020 → esm2022}/lib/sto-directives/sto-select-text-on-focus.directive.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-pipes/currency-format.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-pipes/date-format.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-pipes/keys.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-pipes/number-format.pipe.mjs +4 -4
- package/{esm2020 → esm2022}/lib/sto-pipes/sto-pipes.module.mjs +17 -17
- package/{esm2020 → esm2022}/lib/sto-pipes/with-unit.mjs +7 -7
- package/{esm2020 → esm2022}/lib/sto-pipes/yes-no.mjs +4 -4
- package/{fesm2020 → fesm2022}/ngx-stoui-core.mjs +83 -84
- package/fesm2022/ngx-stoui-core.mjs.map +1 -0
- package/lib/sto-directives/context-menu.directive.d.ts +2 -2
- package/lib/sto-directives/date-form-field-click.directive.d.ts +2 -2
- package/lib/sto-directives/menu-overlay.directive.d.ts +1 -1
- package/lib/sto-directives/quick-keys.directive.d.ts +1 -1
- package/lib/sto-directives/sto-grid.directive.d.ts +2 -2
- package/ngx-datatable.css +26 -9
- package/ngx-stoui.css +3289 -3554
- package/package.json +18 -18
- package/style/_fonts.scss +3 -3
- package/style/datatable/_ngx-datatable-compact.scss +144 -144
- package/style/datatable/_ngx-datatable-form.scss +94 -95
- package/style/datatable/_ngx-datatable-variables.scss +10 -10
- package/style/datatable/ngx-datatable.scss +404 -398
- package/style/form/sto-form.scss +348 -342
- package/style/grid.scss +20 -20
- package/style/sto-dialog.scss +73 -73
- package/style/sto-grid.scss +67 -67
- package/style/theme/_action-footer.scss +20 -20
- package/style/theme/_appheader.scss +121 -122
- package/style/theme/_card.scss +28 -26
- package/style/theme/_colors.scss +170 -170
- package/style/theme/_datatable.scss +231 -224
- package/style/theme/_daterange.scss +47 -51
- package/style/theme/_dialog.scss +25 -25
- package/style/theme/_filterpanel.scss +88 -88
- package/style/theme/_input-overrides.scss +119 -117
- package/style/theme/_message-panel.scss +89 -89
- package/style/theme/_number-input.scss +23 -23
- package/style/theme/_number-unit-input.scss +34 -34
- package/style/theme/_select-filter.scss +16 -16
- package/style/theme/_sto-indicators.scss +89 -89
- package/style/theme/_theme-variables.scss +63 -61
- package/style/theme/_theme.scss +22 -16
- package/style/theme/_typography.scss +44 -41
- package/style/theme/_wysiwyg.scss +38 -38
- package/style/theme/components.scss +16 -16
- package/style/theme/preference-manager.scss +50 -50
- package/style/theme.scss +41 -35
- package/esm2020/lib/sto-directives/context-menu.directive.mjs +0 -36
- package/esm2020/lib/sto-directives/date-form-field-click.directive.mjs +0 -46
- package/esm2020/lib/sto-directives/directives.module.mjs +0 -64
- package/esm2020/lib/sto-directives/menu-overlay.directive.mjs +0 -48
- package/fesm2015/ngx-stoui-core.mjs +0 -829
- package/fesm2015/ngx-stoui-core.mjs.map +0 -1
- package/fesm2020/ngx-stoui-core.mjs.map +0 -1
- /package/{esm2020 → esm2022}/ngx-stoui-core.mjs +0 -0
package/style/form/sto-form.scss
CHANGED
|
@@ -1,342 +1,348 @@
|
|
|
1
|
-
@import
|
|
2
|
-
@import
|
|
3
|
-
|
|
4
|
-
@mixin sto-form-theme($theme, $variables) {
|
|
5
|
-
$color: map_get($variables, color);
|
|
6
|
-
$secondary-color: map_get($variables, secondary);
|
|
7
|
-
$disabled-color: map_get($variables, disabled);
|
|
8
|
-
$border-hover: map_get($variables, hover-bg-color);
|
|
9
|
-
$border: map_get($variables, border-color);
|
|
10
|
-
$selected-color: map_get($variables, selected-color);
|
|
11
|
-
|
|
12
|
-
.sto-form {
|
|
13
|
-
&__field {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
.mat-form-field-
|
|
187
|
-
height:
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
.mat-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
}
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
}
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
}
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
.
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
.mat-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
.
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
1
|
+
@import '../theme/theme';
|
|
2
|
+
@import '../theme/typography';
|
|
3
|
+
|
|
4
|
+
@mixin sto-form-theme($theme, $variables) {
|
|
5
|
+
$color: map_get($variables, color);
|
|
6
|
+
$secondary-color: map_get($variables, secondary);
|
|
7
|
+
$disabled-color: map_get($variables, disabled);
|
|
8
|
+
$border-hover: map_get($variables, hover-bg-color);
|
|
9
|
+
$border: map_get($variables, border-color);
|
|
10
|
+
$selected-color: map_get($variables, selected-color);
|
|
11
|
+
|
|
12
|
+
.sto-form {
|
|
13
|
+
&__field {
|
|
14
|
+
--mdc-filled-text-field-active-indicator-color: var(--divider);
|
|
15
|
+
--mdc-filled-text-field-hover-active-indicator-color: var(
|
|
16
|
+
--primary-resting
|
|
17
|
+
);
|
|
18
|
+
--mdc-filled-text-field-focus-active-indicator-color: var(
|
|
19
|
+
--primary-resting
|
|
20
|
+
);
|
|
21
|
+
--mdc-filled-text-field-label-text-color: #{$color};
|
|
22
|
+
--mdc-filled-text-field-focus-label-text-color: #{$color};
|
|
23
|
+
input {
|
|
24
|
+
color: var(--mdc-filled-text-field-label-text-color);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&__field--disabled {
|
|
29
|
+
color: $disabled-color;
|
|
30
|
+
|
|
31
|
+
.mat-mdc-form-field-flex {
|
|
32
|
+
color: $disabled-color;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.mat-select.mat-select-disabled {
|
|
36
|
+
.mat-select-arrow {
|
|
37
|
+
color: $disabled-color;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
// Include theme styles for your custom components.
|
|
45
|
+
body {
|
|
46
|
+
@include sto-form-theme($sto-theme, $variables);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
$form-field-bg: var(--bg-light);
|
|
50
|
+
$border-radius: 4px;
|
|
51
|
+
$height: 72px;
|
|
52
|
+
|
|
53
|
+
%sto-form__field {
|
|
54
|
+
width: 100%;
|
|
55
|
+
min-height: $height;
|
|
56
|
+
outline: none;
|
|
57
|
+
|
|
58
|
+
.mat-input-element {
|
|
59
|
+
cursor: pointer;
|
|
60
|
+
overflow: hidden;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
%sto-card {
|
|
65
|
+
width: 100%;
|
|
66
|
+
padding: 16px 8px 0 8px;
|
|
67
|
+
margin-bottom: 8px;
|
|
68
|
+
border-radius: $border-radius;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
%sto-form__field--focused {
|
|
72
|
+
.mat-form-field-underline {
|
|
73
|
+
//bottom: 16px;
|
|
74
|
+
height: 2px;
|
|
75
|
+
background-color: transparent;
|
|
76
|
+
-webkit-transition-property: background-color, width, left;
|
|
77
|
+
-webkit-transition-delay: 0.2s;
|
|
78
|
+
width: calc(100% - 2px);
|
|
79
|
+
left: 1px;
|
|
80
|
+
|
|
81
|
+
.mat-form-field-ripple {
|
|
82
|
+
border-bottom-left-radius: $border-radius;
|
|
83
|
+
border-bottom-right-radius: $border-radius;
|
|
84
|
+
top: 0;
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
%sto-form__select {
|
|
90
|
+
.mat-select-arrow {
|
|
91
|
+
margin-top: -10px;
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.mat-card.sto-card {
|
|
96
|
+
@extend %sto-card;
|
|
97
|
+
|
|
98
|
+
.mat-card-title.sto-card__title {
|
|
99
|
+
width: 100%;
|
|
100
|
+
padding-left: 8px;
|
|
101
|
+
display: flex;
|
|
102
|
+
justify-content: space-between;
|
|
103
|
+
h1,
|
|
104
|
+
h2,
|
|
105
|
+
h3 {
|
|
106
|
+
display: inline-block;
|
|
107
|
+
margin-bottom: 0;
|
|
108
|
+
white-space: nowrap;
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
.mat-card-subtitle.sto-card__subtitle {
|
|
113
|
+
padding-left: 8px;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.sto-card__button-row {
|
|
117
|
+
width: 100%;
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: flex-end;
|
|
120
|
+
|
|
121
|
+
.mat-button {
|
|
122
|
+
margin-top: -8px;
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.sto-card__content {
|
|
127
|
+
padding-left: 8px;
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.sto-form {
|
|
132
|
+
&__field {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
@extend %sto-form__field;
|
|
135
|
+
--mdc-filled-text-field-container-color: #{$form-field-bg};
|
|
136
|
+
|
|
137
|
+
&.mat-focused {
|
|
138
|
+
@extend %sto-form__field--focused;
|
|
139
|
+
&.sto-form__field--disabled {
|
|
140
|
+
.mat-form-field-underline {
|
|
141
|
+
.mat-form-field-ripple {
|
|
142
|
+
display: none;
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
&.sto-form__field--readonly {
|
|
149
|
+
cursor: default;
|
|
150
|
+
}
|
|
151
|
+
&.sto-form__field--disabled {
|
|
152
|
+
cursor: default;
|
|
153
|
+
.mat-input-element {
|
|
154
|
+
cursor: default;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.mat-mdc-form-field-flex {
|
|
159
|
+
padding: 6px;
|
|
160
|
+
border-radius: 4px;
|
|
161
|
+
// background-color: $form-field-bg;
|
|
162
|
+
align-items: center;
|
|
163
|
+
.mat-mdc-floating-label {
|
|
164
|
+
top: 5px;
|
|
165
|
+
}
|
|
166
|
+
.mat-icon-button {
|
|
167
|
+
.mat-icon,
|
|
168
|
+
.mat-datepicker-toggle-default-icon {
|
|
169
|
+
}
|
|
170
|
+
.mat-datepicker-toggle-default-icon {
|
|
171
|
+
margin-top: -2px;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
177
|
+
font-size: 11px;
|
|
178
|
+
margin: 6px;
|
|
179
|
+
}
|
|
180
|
+
.mdc-text-field--no-label:not(.mdc-text-field--outlined):not(.mdc-text-field--textarea),
|
|
181
|
+
.mat-mdc-form-field-flex {
|
|
182
|
+
.mat-mdc-form-field-infix {
|
|
183
|
+
padding: 6px 0 0 0;
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
.mat-mdc-form-field-flex .mat-mdc-form-field-infix {
|
|
187
|
+
min-height: auto;
|
|
188
|
+
border-top: 0.99975em solid transparent;
|
|
189
|
+
}
|
|
190
|
+
.mat-mdc-form-field-icon-suffix {
|
|
191
|
+
height: 18px;
|
|
192
|
+
color: var(--text);
|
|
193
|
+
display: flex;
|
|
194
|
+
.mat-mdc-icon-button {
|
|
195
|
+
--mdc-icon-button-state-layer-size: 23px;
|
|
196
|
+
padding: 2px;
|
|
197
|
+
}
|
|
198
|
+
> span {
|
|
199
|
+
display: inline-block;
|
|
200
|
+
margin-top: 0.8em;
|
|
201
|
+
}
|
|
202
|
+
> .mat-icon {
|
|
203
|
+
padding: 2px;
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
&:has(.mdc-floating-label) .mat-mdc-form-field-icon-suffix {
|
|
207
|
+
place-self: center;
|
|
208
|
+
}
|
|
209
|
+
.mat-mdc-select-arrow-wrapper {
|
|
210
|
+
height: 20px;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.mat-form-field-invalid .mat-form-field-ripple {
|
|
214
|
+
height: 2px;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
.mat-mdc-slide-toggle {
|
|
218
|
+
position: absolute;
|
|
219
|
+
top: 0;
|
|
220
|
+
right: 4px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
.mat-radio-button {
|
|
224
|
+
margin-right: 16px;
|
|
225
|
+
&:last-child {
|
|
226
|
+
margin-right: 0;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
.mat-select {
|
|
231
|
+
@extend %sto-form__select;
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
&__color {
|
|
236
|
+
position: absolute;
|
|
237
|
+
top: -8px;
|
|
238
|
+
right: 4px;
|
|
239
|
+
height: 30px;
|
|
240
|
+
width: 30px;
|
|
241
|
+
border: 0;
|
|
242
|
+
padding: 0;
|
|
243
|
+
background-color: transparent;
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
//Readonly
|
|
248
|
+
.sto-form__field--readonly {
|
|
249
|
+
.mat-input-element {
|
|
250
|
+
cursor: default;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
.mat-mdc-form-field-flex {
|
|
254
|
+
background-color: transparent;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
:hover {
|
|
258
|
+
.mat-mdc-form-field-flex {
|
|
259
|
+
background-color: transparent;
|
|
260
|
+
}
|
|
261
|
+
.mat-form-field-underline {
|
|
262
|
+
background-color: transparent;
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.mat-form-field-underline {
|
|
267
|
+
display: none;
|
|
268
|
+
visibility: hidden;
|
|
269
|
+
}
|
|
270
|
+
&.ng-invalid.ng-dirty {
|
|
271
|
+
.mat-mdc-form-field-subscript-wrapper {
|
|
272
|
+
margin-top: -1px;
|
|
273
|
+
}
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.sto-form__field--disabled {
|
|
278
|
+
.mat-select.mat-select-disabled {
|
|
279
|
+
.mat-select-trigger {
|
|
280
|
+
user-select: all;
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.mat-form-field-underline {
|
|
285
|
+
display: block;
|
|
286
|
+
visibility: hidden;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
.mat-mdc-form-field-flex {
|
|
290
|
+
cursor: default;
|
|
291
|
+
border: 1px solid var(--divider);
|
|
292
|
+
background-color: transparent;
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.sto-form__field.sto-form__field--without-placeholder {
|
|
297
|
+
height: 0;
|
|
298
|
+
min-height: 32px;
|
|
299
|
+
.mat-mdc-form-field-flex {
|
|
300
|
+
height: 30px;
|
|
301
|
+
}
|
|
302
|
+
.mat-mdc-form-field-infix {
|
|
303
|
+
border-top-width: 0;
|
|
304
|
+
padding: 0;
|
|
305
|
+
}
|
|
306
|
+
.mat-select {
|
|
307
|
+
.mat-select-arrow {
|
|
308
|
+
margin-top: 0px;
|
|
309
|
+
}
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
.mat-form-field-placeholder,
|
|
313
|
+
.mat-mdc-floating-label {
|
|
314
|
+
top: 0;
|
|
315
|
+
}
|
|
316
|
+
.mat-form-field-placeholder-wrapper,
|
|
317
|
+
.mat-mdc-floating-label-wrapper {
|
|
318
|
+
top: 0;
|
|
319
|
+
padding: 0;
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.sto-form {
|
|
324
|
+
&__input {
|
|
325
|
+
&--color {
|
|
326
|
+
cursor: pointer;
|
|
327
|
+
margin-top: -5px;
|
|
328
|
+
padding: 0;
|
|
329
|
+
background-color: transparent;
|
|
330
|
+
border-color: transparent;
|
|
331
|
+
width: 28px;
|
|
332
|
+
height: 30px;
|
|
333
|
+
|
|
334
|
+
&::-webkit-color-swatch {
|
|
335
|
+
border-radius: 4px;
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.sto-field--display {
|
|
342
|
+
border-width: 0;
|
|
343
|
+
border-style: none;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
.mat-form-field .mat-form-field-underline {
|
|
347
|
+
height: 2px;
|
|
348
|
+
}
|