@visns-studio/visns-components 4.4.0 → 4.4.1
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/components/crm/AsyncSelect.jsx +2 -1
- package/components/crm/Autocomplete.jsx +6 -5
- package/components/crm/DataGrid.jsx +30 -21
- package/components/crm/Form.jsx +49 -61
- package/components/crm/Loader.jsx +1 -0
- package/components/crm/MultiSelect.jsx +2 -1
- package/components/crm/QrCode.jsx +9 -8
- package/components/crm/auth/Profile.jsx +5 -6
- package/components/crm/auth/styles/Profile.module.css +20 -17
- package/components/crm/styles/AsyncSelect.module.css +12 -0
- package/components/crm/styles/Autocomplete.module.css +44 -0
- package/components/crm/styles/DataGrid.module.css +215 -0
- package/components/crm/styles/Form.module.css +476 -0
- package/components/crm/styles/Loader.module.css +94 -0
- package/components/crm/styles/MultiSelect.module.css +12 -0
- package/components/crm/styles/QrCode.module.css +87 -0
- package/components/styles/global.css +31 -0
- package/package.json +1 -1
|
@@ -0,0 +1,476 @@
|
|
|
1
|
+
/* General styles */
|
|
2
|
+
.label {
|
|
3
|
+
display: block;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
input[type='file'] {
|
|
7
|
+
background: var(--item-color);
|
|
8
|
+
border-radius: var(--br);
|
|
9
|
+
border: 1px solid transparent;
|
|
10
|
+
box-shadow: var(--box-shadow-small);
|
|
11
|
+
padding: 1rem;
|
|
12
|
+
outline: none;
|
|
13
|
+
width: 100%;
|
|
14
|
+
box-sizing: border-box;
|
|
15
|
+
background: rgba(white, 0.5);
|
|
16
|
+
color: var(--paragraph-color);
|
|
17
|
+
transition: box-shadow 0.15s linear;
|
|
18
|
+
font-size: 1.25em;
|
|
19
|
+
|
|
20
|
+
&:focus {
|
|
21
|
+
border: 1px solid var(--primary-color);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&:hover {
|
|
25
|
+
border: 1px solid var(--primary-color);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Form styles */
|
|
30
|
+
.formcontainer {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.modalForm {
|
|
35
|
+
width: 100%;
|
|
36
|
+
display: flex;
|
|
37
|
+
align-items: flex-start;
|
|
38
|
+
flex-wrap: wrap;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.formItem {
|
|
42
|
+
width: 50%;
|
|
43
|
+
padding: 0.5em;
|
|
44
|
+
position: relative;
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.fi__label {
|
|
49
|
+
position: relative;
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.fi__span {
|
|
53
|
+
position: absolute;
|
|
54
|
+
transition: all 200ms;
|
|
55
|
+
opacity: 0.8;
|
|
56
|
+
left: 0;
|
|
57
|
+
padding: 19px 20px;
|
|
58
|
+
transform-origin: top left;
|
|
59
|
+
cursor: text;
|
|
60
|
+
font-size: 1.25em;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.fi__div {
|
|
64
|
+
transition: all 200ms;
|
|
65
|
+
opacity: 0.8;
|
|
66
|
+
left: 0;
|
|
67
|
+
padding: 19px 13px;
|
|
68
|
+
border-radius: var(--br);
|
|
69
|
+
border: 1px solid rgba(var(--paragraph-color-rgb), 0.15);
|
|
70
|
+
box-shadow: none;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.fi__toggle {
|
|
74
|
+
width: max-content;
|
|
75
|
+
padding: 0px 10px 0px 0;
|
|
76
|
+
box-sizing: border-box;
|
|
77
|
+
display: inline;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.fi__toggletxt {
|
|
81
|
+
position: relative;
|
|
82
|
+
left: 5px;
|
|
83
|
+
font-size: 0.95em;
|
|
84
|
+
top: -5px;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.formBuilderItem {
|
|
88
|
+
width: 25%;
|
|
89
|
+
padding: 0.35em;
|
|
90
|
+
position: relative;
|
|
91
|
+
box-sizing: border-box;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.fi__spancheckbox {
|
|
95
|
+
display: inline-block;
|
|
96
|
+
margin-bottom: 8px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
.fi__optionscontainer {
|
|
100
|
+
display: flex;
|
|
101
|
+
flex-wrap: wrap;
|
|
102
|
+
gap: 10px;
|
|
103
|
+
margin-top: 8px;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.fi__checkboxcontainer {
|
|
107
|
+
display: flex;
|
|
108
|
+
align-items: center;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.fi__customcheckbox {
|
|
112
|
+
margin-right: 5px;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.fi__checkboxlabel {
|
|
116
|
+
user-select: none;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.qtrBuilderItem {
|
|
120
|
+
flex-basis: 25%;
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
.halfBuilderItem {
|
|
124
|
+
flex-basis: 50%;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
.fwBuilderItem {
|
|
128
|
+
flex-basis: 100%;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
input:not(:placeholder-shown) + .fi__span,
|
|
132
|
+
textarea:not(:placeholder-shown) + .fi__span,
|
|
133
|
+
select:not(:placeholder-shown) + .fi__span {
|
|
134
|
+
transform: translateY(-40%) translateX(10px) scale(0.75);
|
|
135
|
+
opacity: 1;
|
|
136
|
+
padding: 0 4px;
|
|
137
|
+
background: var(--tertiary-color);
|
|
138
|
+
font-weight: 300;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.prefocus {
|
|
142
|
+
transform: translateY(-40%) translateX(10px) scale(0.75) !important;
|
|
143
|
+
opacity: 1 !important;
|
|
144
|
+
padding: 0 4px !important;
|
|
145
|
+
background: var(--tertiary-color) !important;
|
|
146
|
+
z-index: 500;
|
|
147
|
+
font-weight: 300;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.fwItem {
|
|
151
|
+
flex-basis: 100%;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.lastItem .btn {
|
|
155
|
+
width: 100%;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.inputError {
|
|
159
|
+
border-color: red !important;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
select::-ms-expand {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
@media screen and (min-width: 0\0) {
|
|
167
|
+
select {
|
|
168
|
+
background: none\9;
|
|
169
|
+
padding: 5px\9;
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
/* Login Form */
|
|
174
|
+
.lcontainer {
|
|
175
|
+
--sidebar-width: 35%;
|
|
176
|
+
min-height: 100vh;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.lwrap {
|
|
180
|
+
display: flex;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
.aside {
|
|
184
|
+
background: url(../images/loginbg.jpg) no-repeat var(--background-color);
|
|
185
|
+
background-size: cover;
|
|
186
|
+
opacity: 1;
|
|
187
|
+
position: fixed;
|
|
188
|
+
overflow: hidden;
|
|
189
|
+
height: 100%;
|
|
190
|
+
width: var(--sidebar-width);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.loginlogo {
|
|
194
|
+
display: block;
|
|
195
|
+
width: 100%;
|
|
196
|
+
max-width: 240px;
|
|
197
|
+
height: auto;
|
|
198
|
+
margin: 0 auto;
|
|
199
|
+
padding-bottom: 1rem;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.logincontainer {
|
|
203
|
+
margin-left: var(--sidebar-width);
|
|
204
|
+
min-height: 100vh;
|
|
205
|
+
flex-grow: 1;
|
|
206
|
+
display: flex;
|
|
207
|
+
align-items: center;
|
|
208
|
+
justify-content: center;
|
|
209
|
+
align-content: center;
|
|
210
|
+
flex-wrap: wrap;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.login {
|
|
214
|
+
width: 35rem;
|
|
215
|
+
height: auto;
|
|
216
|
+
padding: 1rem;
|
|
217
|
+
margin: 0;
|
|
218
|
+
display: flex;
|
|
219
|
+
flex-wrap: wrap;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
.login .formItem {
|
|
223
|
+
padding: 0.25em 0;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.login .formItem small {
|
|
227
|
+
position: absolute;
|
|
228
|
+
width: 18px;
|
|
229
|
+
height: 18px;
|
|
230
|
+
right: 18px;
|
|
231
|
+
top: 18px;
|
|
232
|
+
opacity: 0.15;
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
.login .loginitem {
|
|
236
|
+
width: 100%;
|
|
237
|
+
padding: 0.25em 0;
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.login .loginitem label {
|
|
241
|
+
width: 100%;
|
|
242
|
+
padding-bottom: 0.25rem;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
.login .loginitem button {
|
|
246
|
+
width: 100%;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.forgotten span {
|
|
250
|
+
display: block;
|
|
251
|
+
text-align: center;
|
|
252
|
+
color: var(--paragraph-color);
|
|
253
|
+
padding: 1rem 0;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
.forgotten span a {
|
|
257
|
+
color: var(--highlight-color);
|
|
258
|
+
text-decoration: none;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
.alert-danger {
|
|
262
|
+
width: 100%;
|
|
263
|
+
display: flex;
|
|
264
|
+
padding: 20px;
|
|
265
|
+
border-radius: 3px;
|
|
266
|
+
background: #ff4d4d;
|
|
267
|
+
margin-bottom: 0.5rem;
|
|
268
|
+
box-sizing: border-box;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
.alert-danger > span {
|
|
272
|
+
color: darken(#ff4d4d, 40%);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
/* Autocomplete */
|
|
276
|
+
.AutocompletePlace-results {
|
|
277
|
+
z-index: 999;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
.AutocompletePlace {
|
|
281
|
+
position: relative;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.AutocompletePlace > svg {
|
|
285
|
+
position: absolute;
|
|
286
|
+
right: 0.5em;
|
|
287
|
+
top: 0.5em;
|
|
288
|
+
color: var(--paragraph-color);
|
|
289
|
+
cursor: pointer;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.AutocompletePlace .toggleActive {
|
|
293
|
+
color: var(--highlight-color);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
.AutocompletePlace-input {
|
|
297
|
+
padding: 0.65rem 3rem 0.65rem 0.95rem !important;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.AutocompletePlace-results {
|
|
301
|
+
position: absolute;
|
|
302
|
+
background-color: white;
|
|
303
|
+
padding: 0;
|
|
304
|
+
margin: 0;
|
|
305
|
+
border: 1px solid rgba(var(--primary-color-rgb), 0.25);
|
|
306
|
+
border-radius: var(--br);
|
|
307
|
+
overflow: hidden;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.AutocompletePlace-items {
|
|
311
|
+
list-style: none;
|
|
312
|
+
border-bottom: 1px solid rgba(var(--primary-color-rgb), 0.1);
|
|
313
|
+
cursor: pointer;
|
|
314
|
+
padding: 10px 10px;
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
.AutocompletePlace-items:hover {
|
|
318
|
+
background-color: rgba(var(--paragraph-color-rgb), 0.065);
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
/* Date picker */
|
|
322
|
+
.react-datepicker-wrapper {
|
|
323
|
+
width: 100% !important;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
.react-datepicker-popper {
|
|
327
|
+
z-index: 999 !important;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
.react-datepicker__close-icon:after {
|
|
331
|
+
background-color: rgba(var(--primary-color-rgb), 0.45) !important;
|
|
332
|
+
font-size: 13px !important;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.react-datepicker__close-icon:hover:after {
|
|
336
|
+
background-color: rgba(var(--primary-color-rgb), 1) !important;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
/* Custom Select */
|
|
340
|
+
select {
|
|
341
|
+
background: url(data:image/svg+xml;base64,PHN2ZyBpZD0iTGF5ZXJfMSIgZGF0YS1uYW1lPSJMYXllciAxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0Ljk1IDEwIj48ZGVmcz48c3R5bGU+LmNscy0xe2ZpbGw6I2ZmZjt9LmNscy0ye2ZpbGw6IzQ0NDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPmFycm93czwvdGl0bGU+PHJlY3QgY2xhc3M9ImNscy0xIiB3aWR0aD0iNC45NSIgaGVpZ2h0PSIxMCIvPjxwb2x5Z29uIGNsYXNzPSJjbHMtMiIgcG9pbnRzPSIxLjQxIDQuNjcgMi40OCAzLjE4IDMuNTQgNC42NyAxLjQxIDQuNjciLz48cG9seWdvbiBjbGFzcz0iY2xzLTIiIHBvaW50cz0iMy41NCA1LjMzIDIuNDggNi44MiAxLjQxIDUuMzMgMy41NCA1LjMzIi8+PC9zdmc+)
|
|
342
|
+
no-repeat 100% 50% #fff;
|
|
343
|
+
-moz-appearance: none;
|
|
344
|
+
-webkit-appearance: none;
|
|
345
|
+
appearance: none;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
/* Breaker */
|
|
349
|
+
.formbreak {
|
|
350
|
+
display: block;
|
|
351
|
+
width: 100%;
|
|
352
|
+
padding: 0.5em 1em;
|
|
353
|
+
background: rgba(var(--primary-color-rgb), 0.95);
|
|
354
|
+
border-radius: 3px;
|
|
355
|
+
box-sizing: border-box;
|
|
356
|
+
border: 1px solid darken(var(--primary-color), 10%);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.formbreak span {
|
|
360
|
+
font-size: 0.95em;
|
|
361
|
+
color: var(--highlight-color);
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
/* File Drag/Drop Upload */
|
|
365
|
+
.dropzone__container > div {
|
|
366
|
+
flex: 1 1 0%;
|
|
367
|
+
display: flex;
|
|
368
|
+
flex-direction: column;
|
|
369
|
+
align-items: center;
|
|
370
|
+
padding: 30px;
|
|
371
|
+
border-width: 2px;
|
|
372
|
+
border-radius: 2px;
|
|
373
|
+
border-color: rgb(238, 238, 238);
|
|
374
|
+
border-style: dashed;
|
|
375
|
+
background-color: rgb(250, 250, 250);
|
|
376
|
+
color: rgb(189, 189, 189);
|
|
377
|
+
outline: currentcolor none medium;
|
|
378
|
+
transition: border 0.24s ease-in-out 0s;
|
|
379
|
+
margin: 1em;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
.dropzone__container p {
|
|
383
|
+
padding: 0;
|
|
384
|
+
margin: 0;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
.dropzone__files {
|
|
388
|
+
list-style: none;
|
|
389
|
+
padding: 0;
|
|
390
|
+
margin: 1em;
|
|
391
|
+
box-sizing: border-box;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.dropzone__files li {
|
|
395
|
+
width: 100%;
|
|
396
|
+
display: block;
|
|
397
|
+
background: darken(var(--tertiary-color), 5%);
|
|
398
|
+
color: var(--primary-color);
|
|
399
|
+
border-radius: 3px;
|
|
400
|
+
transition: background 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
|
|
401
|
+
outline: none;
|
|
402
|
+
cursor: pointer;
|
|
403
|
+
border-radius: 3px;
|
|
404
|
+
padding: 1em 2em;
|
|
405
|
+
box-sizing: border-box;
|
|
406
|
+
position: relative;
|
|
407
|
+
margin-bottom: 5px;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
.dropzone__files li:hover {
|
|
411
|
+
background: lighten(var(--secondary-color), 35%);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.dropzone__files li i {
|
|
415
|
+
position: relative;
|
|
416
|
+
top: 0;
|
|
417
|
+
right: 5px;
|
|
418
|
+
color: darken(var(--secondary-color), 15%);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
.dropzone__files li button {
|
|
422
|
+
position: relative;
|
|
423
|
+
float: right;
|
|
424
|
+
background: none;
|
|
425
|
+
outline: none;
|
|
426
|
+
border: none;
|
|
427
|
+
z-index: 200;
|
|
428
|
+
cursor: pointer;
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
.dropzone__files li button i {
|
|
432
|
+
font-size: 1.15em;
|
|
433
|
+
color: var(--primary-color);
|
|
434
|
+
line-height: 1;
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
/* Rich Text Editor */
|
|
438
|
+
.ql-container {
|
|
439
|
+
height: 300px !important;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
/* Multiselect */
|
|
443
|
+
.visns__ms input {
|
|
444
|
+
&:hover {
|
|
445
|
+
box-shadow: none !important;
|
|
446
|
+
transition: box-shadow 0.15s linear !important;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
&:focus {
|
|
450
|
+
box-shadow: none !important;
|
|
451
|
+
}
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
.btn {
|
|
455
|
+
width: max-content;
|
|
456
|
+
display: inline-block;
|
|
457
|
+
position: relative;
|
|
458
|
+
padding: 0.65rem 1rem;
|
|
459
|
+
cursor: pointer;
|
|
460
|
+
font-size: 1rem;
|
|
461
|
+
color: var(--tertiary-color);
|
|
462
|
+
text-decoration: none;
|
|
463
|
+
overflow: hidden;
|
|
464
|
+
background: var(--primary-color);
|
|
465
|
+
border: 1px solid rgba(var(--primary-color--rgb), 1.1);
|
|
466
|
+
border-radius: var(--br);
|
|
467
|
+
outline: none;
|
|
468
|
+
transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
|
|
469
|
+
font-size: 1.25em;
|
|
470
|
+
|
|
471
|
+
&:hover {
|
|
472
|
+
color: var(--primary-color);
|
|
473
|
+
background: var(--highlight-color);
|
|
474
|
+
border: 1px solid rgba(var(--highlight-color-rgb), 1.05);
|
|
475
|
+
}
|
|
476
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
.preloader {
|
|
2
|
+
width: max-content;
|
|
3
|
+
display: flex;
|
|
4
|
+
flex-wrap: nowrap;
|
|
5
|
+
align-items: center;
|
|
6
|
+
position: fixed;
|
|
7
|
+
bottom: 20px;
|
|
8
|
+
left: 20px;
|
|
9
|
+
background: var(--paragraph-color);
|
|
10
|
+
border-radius: 30px;
|
|
11
|
+
padding: 0.35em;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
z-index: 999;
|
|
14
|
+
transition: opacity 0.45s cubic-bezier(0.33, 1, 0.68, 1);
|
|
15
|
+
|
|
16
|
+
span {
|
|
17
|
+
font-size: 0.675em;
|
|
18
|
+
display: block;
|
|
19
|
+
width: max-content;
|
|
20
|
+
color: var(--tertiary-color);
|
|
21
|
+
padding: 0 0.35em 0 0.85em;
|
|
22
|
+
letter-spacing: 0.035em;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.preloader__icn {
|
|
27
|
+
opacity: 1;
|
|
28
|
+
width: 14px;
|
|
29
|
+
height: 14px;
|
|
30
|
+
animation: clockwise 500ms linear infinite;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.preloader__cut {
|
|
34
|
+
position: relative;
|
|
35
|
+
width: 7px;
|
|
36
|
+
height: 14px;
|
|
37
|
+
overflow: hidden;
|
|
38
|
+
position: absolute;
|
|
39
|
+
top: 0;
|
|
40
|
+
left: 0;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.preloader__donut--fake {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
width: 14px;
|
|
46
|
+
height: 14px;
|
|
47
|
+
border: 2px solid red;
|
|
48
|
+
border-radius: 50%;
|
|
49
|
+
position: absolute;
|
|
50
|
+
top: 0;
|
|
51
|
+
left: 0;
|
|
52
|
+
background: none;
|
|
53
|
+
margin: 0;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.preloader__donut {
|
|
57
|
+
box-sizing: border-box;
|
|
58
|
+
width: 14px;
|
|
59
|
+
height: 14px;
|
|
60
|
+
border: 2px solid var(--tertiary-color);
|
|
61
|
+
border-radius: 50%;
|
|
62
|
+
border-left-color: transparent;
|
|
63
|
+
border-bottom-color: transparent;
|
|
64
|
+
position: absolute;
|
|
65
|
+
top: 0;
|
|
66
|
+
left: 0;
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: 0;
|
|
69
|
+
left: 0;
|
|
70
|
+
background: none;
|
|
71
|
+
margin: 0;
|
|
72
|
+
animation: donut-rotate 1000ms cubic-bezier(0.4, 0, 0.22, 1) infinite;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
@keyframes clockwise {
|
|
76
|
+
0% {
|
|
77
|
+
transform: rotate(0deg);
|
|
78
|
+
}
|
|
79
|
+
100% {
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
@keyframes donut-rotate {
|
|
85
|
+
0% {
|
|
86
|
+
transform: rotate(0);
|
|
87
|
+
}
|
|
88
|
+
50% {
|
|
89
|
+
transform: rotate(-140deg);
|
|
90
|
+
}
|
|
91
|
+
100% {
|
|
92
|
+
transform: rotate(0);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
.gridtxt {
|
|
2
|
+
&__header {
|
|
3
|
+
width: 100%;
|
|
4
|
+
display: block;
|
|
5
|
+
background: rgba(var(--item-color-rgb), 1.05);
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
padding: 10px 20px;
|
|
8
|
+
border-radius: 0;
|
|
9
|
+
margin-bottom: 0;
|
|
10
|
+
font-weight: 700;
|
|
11
|
+
text-align: center;
|
|
12
|
+
color: var(--paragraph-color);
|
|
13
|
+
|
|
14
|
+
span {
|
|
15
|
+
font-weight: 700;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
> ul {
|
|
20
|
+
width: 100%;
|
|
21
|
+
display: flex;
|
|
22
|
+
justify-content: flex-start;
|
|
23
|
+
flex-direction: row;
|
|
24
|
+
flex-wrap: wrap;
|
|
25
|
+
list-style: none;
|
|
26
|
+
box-sizing: border-box;
|
|
27
|
+
padding: 0.85rem;
|
|
28
|
+
margin: 0;
|
|
29
|
+
|
|
30
|
+
li {
|
|
31
|
+
flex: 0 0 calc(50% - 10px);
|
|
32
|
+
padding: 0.85rem;
|
|
33
|
+
box-sizing: border-box;
|
|
34
|
+
border: 1px solid rgba(var(--primary-color-rgb), 0.15);
|
|
35
|
+
color: var(--paragraph-color);
|
|
36
|
+
background: rgba(var(--tertiary-color-rgb), 0.95);
|
|
37
|
+
margin: 5px;
|
|
38
|
+
border-radius: var(--br);
|
|
39
|
+
line-height: 1.45;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.fw-grid-item {
|
|
43
|
+
flex: 0 0 calc(100% - 10px);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.notecolor {
|
|
47
|
+
border: 1px solid var(--secondary-color);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.customer__overview {
|
|
53
|
+
width: 100%;
|
|
54
|
+
display: flex;
|
|
55
|
+
justify-content: flex-start;
|
|
56
|
+
flex-direction: row;
|
|
57
|
+
flex-wrap: wrap;
|
|
58
|
+
list-style: none;
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
padding: 1em;
|
|
61
|
+
margin: 0;
|
|
62
|
+
|
|
63
|
+
li {
|
|
64
|
+
width: 49%;
|
|
65
|
+
padding: 1em;
|
|
66
|
+
box-sizing: border-box;
|
|
67
|
+
border: 1px solid rgba(var(--primary-color-rgb), 0.15);
|
|
68
|
+
color: var(--paragraph-color);
|
|
69
|
+
background: rgba(#f4f4f4, 0.65);
|
|
70
|
+
margin: 5px;
|
|
71
|
+
border-radius: 5px;
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.polActions {
|
|
76
|
+
position: fixed;
|
|
77
|
+
bottom: 15px;
|
|
78
|
+
right: 20px;
|
|
79
|
+
width: auto;
|
|
80
|
+
|
|
81
|
+
button {
|
|
82
|
+
display: block;
|
|
83
|
+
float: left;
|
|
84
|
+
padding: 0.35em 1em;
|
|
85
|
+
margin: 0 0.15em;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
textarea,
|
|
2
|
+
select,
|
|
3
|
+
input[type]:not([type='search']):not([type='url']):not([type='hidden']):not(
|
|
4
|
+
.inovua-react-toolkit-numeric-input__input
|
|
5
|
+
):not(.inovua-react-toolkit-combo-box__input):not(
|
|
6
|
+
.inovua-react-toolkit-date-input__input
|
|
7
|
+
):not(.inovua-react-toolkit-text-input__input):not(
|
|
8
|
+
.inovua-react-toolkit-numeric-input__input
|
|
9
|
+
) {
|
|
10
|
+
background: var(--item-color);
|
|
11
|
+
border-radius: var(--br);
|
|
12
|
+
border: 1px solid rgba(var(--paragraph-color-rgb), 0.15);
|
|
13
|
+
box-shadow: none;
|
|
14
|
+
padding: 1rem;
|
|
15
|
+
outline: none;
|
|
16
|
+
width: 100%;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
background: rgba(white, 0.5);
|
|
19
|
+
color: var(--paragraph-color);
|
|
20
|
+
transition: border 0.15s linear;
|
|
21
|
+
font-size: 1.25em;
|
|
22
|
+
|
|
23
|
+
&:hover {
|
|
24
|
+
border: 1px solid var(--primary-color);
|
|
25
|
+
transition: border 0.15s linear;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&:focus {
|
|
29
|
+
border: 1px solid var(--primary-color);
|
|
30
|
+
}
|
|
31
|
+
}
|
package/package.json
CHANGED