react-ui-basics 0.0.168 → 0.0.171

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/bundle.css CHANGED
@@ -1,115 +1,3 @@
1
- .Checkbox {
2
- position: relative;
3
- white-space: pre;
4
- }
5
-
6
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
7
- box-sizing: border-box;
8
- }
9
-
10
- .Checkbox label {
11
- font-family: Roboto, sans-serif;
12
- font-size: 14px;
13
- color: #1e252d;
14
- cursor: pointer;
15
- }
16
-
17
- .Checkbox label:before, .Checkbox label:after {
18
- content: "";
19
- position: absolute;
20
- left: 0;
21
- top: 0;
22
- }
23
-
24
- .Checkbox label:before {
25
- width: 20px;
26
- height: 20px;
27
- background: #fff;
28
- border: 2px solid #252525;
29
- border-radius: 2px;
30
- cursor: pointer;
31
- transition: background 0.3s;
32
- }
33
-
34
- .Checkbox input[type=checkbox] {
35
- outline: 0;
36
- margin-right: 10px;
37
- visibility: hidden;
38
- }
39
-
40
- .Checkbox input[type=checkbox]:checked + label:before {
41
- background: #4AC263;
42
- border: none;
43
- }
44
-
45
- .Checkbox input[type=checkbox]:checked + label:after {
46
- transform: rotate(-45deg);
47
- top: 6px;
48
- left: 4px;
49
- width: 12px;
50
- height: 6px;
51
- border: 2px solid #fff;
52
- border-top-style: none;
53
- border-right-style: none;
54
- }
55
-
56
- .Checkbox input[type=checkbox]:disabled + label {
57
- color: gray;
58
- }
59
-
60
- .Checkbox input[type=checkbox]:disabled + label:before {
61
- border-color: rgba(0, 0, 0, 0.26);
62
- }
63
-
64
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
65
- background: rgba(0, 0, 0, 0.26);
66
- }
67
-
68
- .CircleProgress {
69
- width: 48px;
70
- height: 48px;
71
- }
72
-
73
- .CircleProgress .line {
74
- stroke-width: 2px;
75
- stroke: black;
76
- stroke-linecap: square;
77
- fill: none;
78
- transition: stroke-dashoffset 0.2s ease;
79
- }
80
-
81
- .DNDContainer {
82
- position: relative;
83
- }
84
-
85
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
86
- cursor: pointer;
87
- }
88
-
89
- .DNDContainer .Draggable.placeholder {
90
- opacity: 0.2;
91
- }
92
-
93
- .DNDContainer .Draggable.copy {
94
- position: absolute;
95
- box-sizing: border-box;
96
- will-change: transform;
97
- opacity: 0;
98
- }
99
-
100
- .DNDContainer .Draggable.dragged {
101
- z-index: 10;
102
- }
103
-
104
- .DNDContainer .overlay {
105
- position: absolute;
106
- top: 0;
107
- left: 0;
108
- right: 0;
109
- bottom: 0;
110
- pointer-events: none;
111
- }
112
-
113
1
  .Button {
114
2
  position: relative;
115
3
  min-width: 64px;
@@ -125,6 +13,7 @@
125
13
  background: #dfdfdf;
126
14
  text-transform: uppercase;
127
15
  font-family: Roboto, sans-serif;
16
+ -webkit-tap-highlight-color: transparent;
128
17
  display: inline-flex;
129
18
  justify-content: center;
130
19
  align-items: center;
@@ -275,217 +164,135 @@
275
164
  border: 0;
276
165
  }
277
166
 
278
- .Switch {
279
- display: inline-flex;
280
- padding-top: 5px;
167
+ .CircleProgress {
168
+ width: 48px;
169
+ height: 48px;
281
170
  }
282
171
 
283
- .Switch .switch-input {
284
- display: none;
172
+ .CircleProgress .line {
173
+ stroke-width: 2px;
174
+ stroke: black;
175
+ stroke-linecap: square;
176
+ fill: none;
177
+ transition: stroke-dashoffset 0.2s ease;
285
178
  }
286
179
 
287
- .Switch .switch-label {
288
- position: relative;
289
- display: inline-flex;
290
- align-items: center;
291
- min-width: 38px;
292
- height: 24px;
293
- cursor: pointer;
294
- font-weight: 500;
295
- text-align: left;
296
- user-select: none;
297
- margin: 0;
298
- padding: 0;
299
- padding-left: 44px;
300
- box-sizing: border-box;
180
+ .animated {
181
+ transition: opacity 250ms ease;
182
+ opacity: 0;
301
183
  }
302
184
 
303
- .Switch .switch-label:before, .Switch .switch-label:after {
304
- content: "";
305
- box-sizing: border-box;
306
- position: absolute;
307
- margin: 0;
308
- outline: 0;
309
- top: 50%;
310
- transform: translate(0, -50%);
311
- transition: all 0.3s ease;
185
+ .animated.mounting, .animated.mounted {
186
+ opacity: 1;
312
187
  }
313
188
 
314
- .Switch .switch-label:before {
315
- left: 1px;
316
- width: 34px;
317
- height: 14px;
318
- background-color: #9E9E9E;
319
- border-radius: 8px;
189
+ .DialogModal {
190
+ overflow: hidden;
320
191
  }
321
192
 
322
- .Switch .switch-label:after {
323
- left: 0;
324
- width: 20px;
325
- height: 20px;
326
- background-color: #FAFAFA;
327
- border-radius: 50%;
328
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
193
+ .DialogModal .content {
194
+ top: 20vh;
329
195
  }
330
196
 
331
- .Switch .switch-label .toggle--on {
332
- display: none;
197
+ .Dialog {
198
+ background-color: white;
199
+ min-width: 460px;
200
+ max-width: 40vw;
201
+ padding: 15px;
333
202
  }
334
203
 
335
- .Switch .switch-label .toggle--off {
336
- display: inline-block;
204
+ .Dialog .title {
205
+ margin-bottom: 15px;
206
+ padding: 20px 50px 0px 30px;
207
+ font-size: 1.25rem;
208
+ line-height: 2rem;
209
+ font-weight: 400;
210
+ letter-spacing: 0.0125em;
337
211
  }
338
212
 
339
- .Switch .switch-label .label {
340
- margin-right: 5px;
213
+ .Dialog .description {
214
+ color: rgba(0, 0, 0, 0.54);
215
+ font-size: 1rem;
216
+ line-height: 1.5rem;
217
+ font-weight: 400;
218
+ letter-spacing: 0.03125em;
219
+ margin-top: 20px;
220
+ padding: 0 24px 24px;
341
221
  }
342
222
 
343
- .Switch .switch-input:checked + .switch-label:before {
344
- background-color: #A5D6A7;
223
+ .Dialog > div.row {
224
+ margin-bottom: 15px;
345
225
  }
346
226
 
347
- .Switch .switch-input:checked + .switch-label:after {
348
- background-color: #4CAF50;
349
- transform: translate(80%, -50%);
227
+ .Dialog > div.row:last-child {
228
+ margin-bottom: 0;
350
229
  }
351
230
 
352
- .Switch .switch-input:checked + .switch-label .toggle--on {
353
- display: inline-block;
231
+ .Checkbox {
232
+ position: relative;
233
+ white-space: pre;
354
234
  }
355
235
 
356
- .Switch .switch-input:checked + .switch-label .toggle--off {
357
- display: none;
236
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
237
+ box-sizing: border-box;
358
238
  }
359
239
 
360
- .Modal {
361
- display: block;
362
- position: fixed;
363
- top: 0;
364
- left: 0;
365
- right: 0;
366
- bottom: 100%;
367
- overflow-y: scroll;
368
- transition: bottom 0ms linear;
369
- transition-delay: 0.2s;
240
+ .Checkbox label {
241
+ font-family: Roboto, sans-serif;
242
+ font-size: 14px;
243
+ color: #1e252d;
244
+ cursor: pointer;
370
245
  }
371
246
 
372
- .Modal.show {
373
- transition-delay: 0s;
374
- bottom: 0;
247
+ .Checkbox label:before, .Checkbox label:after {
248
+ content: "";
249
+ position: absolute;
250
+ left: 0;
251
+ top: 0;
375
252
  }
376
253
 
377
- .Modal > .overlay {
378
- position: fixed;
379
- top: 0;
380
- bottom: 100%;
381
- left: 0;
382
- right: 0;
383
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
384
- opacity: 0;
385
- background-color: black;
386
- pointer-events: none;
254
+ .Checkbox label:before {
255
+ width: 20px;
256
+ height: 20px;
257
+ background: #fff;
258
+ border: 2px solid #252525;
259
+ border-radius: 2px;
260
+ cursor: pointer;
261
+ transition: background 0.3s;
387
262
  }
388
263
 
389
- .Modal > .overlay.show {
390
- opacity: 0.5;
391
- bottom: 0;
392
- }
393
-
394
- .Modal > .content {
395
- left: 50%;
396
- top: 10vh;
397
- margin-bottom: 10vh;
398
- font-size: 16px;
399
- padding: 0;
400
- opacity: 0;
401
- transition: opacity 0.25s ease, transform 0.25s ease;
402
- transform: scaleY(0) translateY(-200px) translateX(-50%);
403
- transform-origin: top;
404
- position: absolute;
405
- border-radius: 2px;
406
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
407
- }
408
-
409
- .Modal > .content.show {
410
- opacity: 1;
411
- transform: scaleY(1) translateY(0px) translateX(-50%);
412
- }
413
-
414
- .Modal > .content > .Scrollable {
415
- overflow: visible;
416
- max-height: 80vh;
417
- }
418
-
419
- .Modal > .content > .Scrollable > .viewport {
420
- min-width: 10px;
421
- min-height: 10px;
422
- }
423
-
424
- .Modal > .content > .Button.close {
425
- top: 10px;
426
- right: 10px;
427
- position: absolute;
428
- }
429
-
430
- .Button.FloatingActionButton {
431
- position: absolute;
432
- right: 16px;
433
- bottom: 16px;
434
- width: 56px;
435
- height: 56px;
436
- padding: 16px;
437
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
438
- }
439
-
440
- .Button.FloatingActionButton.raised {
441
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
442
- }
443
-
444
- .Button.FloatingActionButton.mini {
445
- width: 40px;
446
- height: 40px;
447
- padding: 8px;
448
- }
449
-
450
- .Button.FloatingActionButton.hidden {
451
- bottom: -100px;
452
- }
453
-
454
- .ModalMenu {
455
- position: absolute;
456
- top: 10px;
457
- right: 50px;
458
- }
459
-
460
- .ModalMenu .material-icons {
461
- color: #818181;
264
+ .Checkbox input[type=checkbox] {
265
+ outline: 0;
266
+ margin-right: 10px;
267
+ visibility: hidden;
462
268
  }
463
269
 
464
- .ModalMenu .Button.animated {
465
- position: absolute;
466
- transition: opacity 150ms ease-in, right 200ms ease-in;
467
- opacity: 0;
468
- right: 0;
469
- top: 0;
270
+ .Checkbox input[type=checkbox]:checked + label:before {
271
+ background: #4AC263;
272
+ border: none;
470
273
  }
471
274
 
472
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
473
- opacity: 1;
275
+ .Checkbox input[type=checkbox]:checked + label:after {
276
+ transform: rotate(-45deg);
277
+ top: 6px;
278
+ left: 4px;
279
+ width: 12px;
280
+ height: 6px;
281
+ border: 2px solid #fff;
282
+ border-top-style: none;
283
+ border-right-style: none;
474
284
  }
475
285
 
476
- .ModalMenu .Button.animated.unmounting {
477
- transition: opacity 100ms ease-out, right 200ms ease-out;
286
+ .Checkbox input[type=checkbox]:disabled + label {
287
+ color: gray;
478
288
  }
479
289
 
480
- .ModalMenu .Button.active {
481
- background: #EBEBEB;
290
+ .Checkbox input[type=checkbox]:disabled + label:before {
291
+ border-color: rgba(0, 0, 0, 0.26);
482
292
  }
483
293
 
484
- .ModalMenu .separator {
485
- height: 24px;
486
- width: 1px;
487
- background-color: #D9D9D9;
488
- margin-left: 4px;
294
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
295
+ background: rgba(0, 0, 0, 0.26);
489
296
  }
490
297
 
491
298
  .DropFileInput {
@@ -515,283 +322,544 @@
515
322
  margin-right: 10px;
516
323
  }
517
324
 
518
- .TextField {
325
+ .AutocompleteSelect {
326
+ display: inline-flex;
327
+ flex-flow: column;
328
+ justify-content: center;
519
329
  position: relative;
520
- width: 100%;
521
- }
522
-
523
- .TextField > label {
524
- font-family: Roboto, sans-serif;
525
- color: rgba(0, 0, 0, 0.3);
526
- font-size: 16px;
527
- position: absolute;
528
- left: 0px;
529
- top: 16px;
530
- margin-top: -16px;
531
- transition: all 0.2s ease;
330
+ min-width: 250px;
331
+ min-height: 36px;
532
332
  user-select: none;
533
- cursor: text;
534
333
  }
535
334
 
536
- .TextField > input {
537
- font-family: Roboto, sans-serif;
538
- color: #1e252d;
539
- height: 19px;
540
- font-size: 16px;
541
- width: 100%;
542
- border: 0px;
543
- padding-bottom: 4px;
544
- padding-top: 0;
545
- outline-color: rgba(0, 0, 0, 0);
335
+ @keyframes clockwise {
336
+ 0% {
337
+ -webkit-transform: rotate(-90deg);
338
+ }
339
+ 100% {
340
+ -webkit-transform: translateX(0px);
341
+ }
546
342
  }
547
-
548
- .TextField > input:focus {
549
- outline: none;
343
+ @keyframes anticlockwise {
344
+ 0% {
345
+ -webkit-transform: rotate(90deg);
346
+ }
347
+ 100% {
348
+ -webkit-transform: translateX(0px);
349
+ }
550
350
  }
551
-
552
- .TextField > input:disabled {
553
- color: gray;
554
- background-color: white;
351
+ .AutocompleteSelect > .input {
352
+ width: 100%;
555
353
  }
556
354
 
557
- .TextField > input:disabled + .border {
558
- height: 0px;
559
- border-bottom: 2px dotted #e0e0e0;
355
+ .AutocompleteSelect .Scrollable {
356
+ padding-right: 0;
357
+ min-width: 100%;
560
358
  }
561
359
 
562
- .TextField > input::placeholder {
563
- font-family: Roboto, sans-serif;
564
- color: rgba(0, 0, 0, 0.3);
565
- opacity: 1;
360
+ .AutocompleteSelect.inline-multiple > .label {
361
+ top: -12px;
566
362
  }
567
363
 
568
- .TextField > .border {
569
- border-bottom: 1px solid #e0e0e0;
570
- height: 1px;
571
- position: relative;
364
+ .AutocompleteSelect.inline-multiple > .selected {
365
+ flex-flow: row wrap;
572
366
  }
573
367
 
574
- .TextField > .border .line {
575
- left: 50%;
576
- width: 0;
577
- height: 2px;
578
- min-height: 2px;
579
- background-color: #00bcd4;
580
- transition: all 0.2s ease;
581
- position: absolute;
368
+ .AutocompleteSelect.multiple-mini-inline {
369
+ height: 42px;
582
370
  }
583
371
 
584
- .TextField > .error {
585
- text-align: left;
586
- font-size: 10px;
587
- min-height: 0;
588
- line-height: 14px;
589
- color: #f44336;
590
- visibility: hidden;
591
- opacity: 0;
592
- transition: all 0.2s ease;
372
+ .AutocompleteSelect.multiple-mini-inline > .label {
373
+ cursor: pointer;
374
+ width: 100%;
375
+ margin-left: -10px;
376
+ padding: 10px;
377
+ box-sizing: border-box;
378
+ top: 0;
593
379
  }
594
380
 
595
- .TextField.focused > label, .TextField.withValue > label {
596
- top: 4px;
597
- font-size: 12px;
598
- line-height: 14px;
381
+ .AutocompleteSelect.multiple-mini-inline > .label.active {
382
+ padding: 0 10px;
599
383
  }
600
384
 
601
- .TextField.errored > .error {
602
- visibility: visible;
603
- opacity: 1;
385
+ .AutocompleteSelect.multiple-mini-inline > .selected {
386
+ width: 250px;
604
387
  }
605
388
 
606
- .TextField.errored > .border {
607
- border-bottom-color: #f44336;
389
+ .AutocompleteSelect.multiple-mini-inline > .input {
390
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
391
+ position: absolute;
392
+ top: 38px;
393
+ z-index: 2;
394
+ background-color: white;
395
+ min-width: 130%;
608
396
  }
609
397
 
610
- .TextField.errored > label {
611
- color: #f44336;
398
+ .AutocompleteSelect.multiple-mini-inline > .input .TextField {
399
+ padding-left: 10px;
400
+ padding-right: 10px;
401
+ width: 100%;
402
+ box-sizing: border-box;
612
403
  }
613
404
 
614
- .TextField.focused > label {
615
- color: #00bcd4;
405
+ .AutocompleteSelect.multiple-mini-inline > .input.hidden {
406
+ opacity: 0;
407
+ visibility: hidden;
616
408
  }
617
409
 
618
- .TextField.focused > .border .line {
619
- left: 0;
620
- width: 100%;
410
+ .AutocompleteSelect.multiple-mini-inline .FilteredList .child:first-child {
411
+ margin-top: 0;
621
412
  }
622
413
 
623
- .TextField.disabled label, .TextField.disabled input {
624
- cursor: not-allowed;
414
+ .AutocompleteSelect .TextField {
415
+ margin-top: 8px;
625
416
  }
626
417
 
627
- .TextField.withLabel {
628
- margin-top: 15px;
418
+ .AutocompleteSelect .TextField input {
419
+ font-size: 14px;
629
420
  }
630
421
 
631
- .TextField input::-webkit-contacts-auto-fill-button {
632
- visibility: hidden;
633
- display: none !important;
634
- pointer-events: none;
422
+ .AutocompleteSelect > .label {
635
423
  position: absolute;
636
- right: 0;
424
+ transition: all 0.2s ease;
425
+ font-family: Roboto, sans-serif;
426
+ font-size: 14px;
427
+ color: rgba(0, 0, 0, 0.5);
428
+ z-index: 1;
429
+ cursor: text;
430
+ user-select: none;
431
+ left: 4px;
432
+ top: 12px;
637
433
  }
638
434
 
639
- .TextField input:-webkit-autofill {
640
- -webkit-box-shadow: inset 0 0 0px 9999px white;
435
+ .AutocompleteSelect > .label.active {
436
+ font-size: 10px;
437
+ top: 2px;
641
438
  }
642
439
 
643
- @keyframes shake {
644
- 0%, 100% {
645
- transform: translateX(0);
646
- }
647
- 20%, 60% {
648
- transform: translateX(-5px);
649
- }
650
- 40%, 80% {
651
- transform: translateX(5px);
652
- }
653
- }
654
- .TextField .shake {
655
- animation-duration: 0.5s;
656
- animation-fill-mode: both;
657
- animation-timing-function: ease-in-out;
658
- animation-name: shake;
440
+ .AutocompleteSelect > .label.active .arrow {
441
+ border-width: 4px 4px 0 4px;
442
+ margin-bottom: 1px;
659
443
  }
660
444
 
661
- .DialogModal {
662
- overflow: hidden;
445
+ .AutocompleteSelect > .label .arrow {
446
+ width: 0;
447
+ height: 0;
448
+ border-style: solid;
449
+ border-width: 5px 5px 0 5px;
450
+ border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
451
+ display: inline-block;
452
+ margin-left: 5px;
453
+ margin-bottom: 2px;
454
+ transition: all 0.2s ease;
663
455
  }
664
456
 
665
- .DialogModal .content {
666
- top: 20vh;
457
+ .AutocompleteSelect > .selected {
458
+ margin-top: 8px;
459
+ display: flex;
460
+ cursor: pointer;
667
461
  }
668
462
 
669
- .Dialog {
463
+ .AutocompleteSelect > .selected > .reset {
464
+ min-width: 36px;
465
+ max-width: 36px;
466
+ position: absolute;
467
+ right: 0;
468
+ top: 0;
670
469
  background-color: white;
671
- min-width: 460px;
672
- max-width: 40vw;
673
- padding: 15px;
674
470
  }
675
471
 
676
- .Dialog .title {
677
- margin-bottom: 15px;
678
- padding: 20px 50px 0px 30px;
679
- font-size: 1.25rem;
680
- line-height: 2rem;
681
- font-weight: 400;
682
- letter-spacing: 0.0125em;
472
+ .AutocompleteSelect > .selected > .reset .material-icons {
473
+ margin: 0;
474
+ color: #BFBFBF;
475
+ font-size: 20px;
683
476
  }
684
477
 
685
- .Dialog .description {
686
- color: rgba(0, 0, 0, 0.54);
687
- font-size: 1rem;
688
- line-height: 1.5rem;
689
- font-weight: 400;
690
- letter-spacing: 0.03125em;
691
- margin-top: 20px;
692
- padding: 0 24px 24px;
478
+ .AutocompleteSelect > .selected.nolabel {
479
+ margin-top: 0px;
480
+ border-bottom: 1px solid #e5e3e3;
693
481
  }
694
482
 
695
- .Dialog > div.row {
696
- margin-bottom: 15px;
483
+ .AutocompleteSelect > .selected.nolabel .DummyChild {
484
+ display: inline-flex;
485
+ align-items: center;
486
+ flex-grow: 1;
487
+ font-size: 16px;
488
+ margin: 0px 10px;
489
+ margin-bottom: 5px;
490
+ height: 19px;
697
491
  }
698
492
 
699
- .Dialog > div.row:last-child {
700
- margin-bottom: 0;
493
+ .AutocompleteSelect > .selected.nolabel .arrow {
494
+ width: 0;
495
+ height: 0;
496
+ border-style: solid;
497
+ border-width: 5px 5px 0 5px;
498
+ border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
499
+ display: inline-block;
500
+ transition: all 0.2s ease;
501
+ margin: 0px 17px 3px 5px;
701
502
  }
702
503
 
703
- .ImageGallery {
704
- position: fixed;
705
- top: 0;
706
- left: 0;
707
- bottom: 0;
708
- right: 0;
709
- z-index: 1000;
710
- background-color: rgba(0, 0, 0, 0.01);
711
- user-select: none;
504
+ .AutocompleteSelect > .selected.inline {
505
+ font-size: 14px;
506
+ font-family: Roboto, sans-serif;
507
+ color: #1e252d;
508
+ text-overflow: ellipsis;
509
+ white-space: nowrap;
510
+ overflow: hidden;
511
+ display: flex;
512
+ align-items: center;
712
513
  }
713
514
 
714
- .ImageGallery:focus {
715
- outline-width: 0px;
515
+ .AutocompleteSelect > .selected.clickable {
516
+ overflow: hidden;
517
+ cursor: pointer;
518
+ padding: 10px;
519
+ margin-left: -10px;
520
+ margin-right: -10px;
716
521
  }
717
522
 
718
- .ImageGallery.animated {
719
- transition: background-color 0.25s ease;
720
- opacity: 1;
523
+ .AutocompleteSelect.inlineSelected {
524
+ flex-flow: row wrap;
525
+ justify-content: flex-start;
721
526
  }
722
527
 
723
- .ImageGallery.mounting, .ImageGallery.mounted {
724
- background-color: rgba(0, 0, 0, 0.8);
528
+ .AutocompleteSelect.inlineSelected.hasSelected {
529
+ padding-top: 7px;
725
530
  }
726
531
 
727
- .ImageGallery .image {
728
- position: absolute;
729
- cursor: grab;
532
+ .AutocompleteSelect.inlineSelected > .label {
533
+ width: 100%;
534
+ height: 100%;
730
535
  }
731
536
 
732
- .ImageGallery .image .counter {
733
- display: none;
537
+ .AutocompleteSelect.inlineSelected > .label.active {
538
+ z-index: 0;
734
539
  }
735
540
 
736
- .ImageGallery .image img {
737
- border-radius: 4px;
738
- max-width: 100%;
739
- min-width: 100%;
541
+ .AutocompleteSelect.inlineSelected .input {
542
+ width: unset;
543
+ flex-basis: 50px;
544
+ flex-grow: 1;
740
545
  }
741
546
 
742
- .ImageGallery .image.animated {
743
- transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
744
- will-change: top, left, width, height, opacity;
547
+ .AutocompleteSelect.inlineSelected .input::after {
548
+ content: attr(data-value);
549
+ visibility: hidden;
550
+ white-space: pre;
551
+ font: inherit;
552
+ min-width: 2px;
553
+ border: 0;
554
+ margin: 0;
555
+ outline: 0;
556
+ float: left;
557
+ display: inline-block;
558
+ margin-top: -24px;
559
+ font-size: 14px;
560
+ padding: 2px;
745
561
  }
746
562
 
747
- .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
748
- opacity: 1;
563
+ .AutocompleteSelect.inlineSelected > .value:nth-child(2) {
564
+ margin-top: 7px;
749
565
  }
750
566
 
751
- .ImageGallery .image.zoomed {
752
- text-align: center;
753
- overflow: hidden;
567
+ .AutocompleteSelect.inlineSelected > .value, .AutocompleteSelect > .selected > .value {
568
+ cursor: pointer;
569
+ margin: 5px 10px 5px 0px;
570
+ display: inline-flex;
571
+ flex-flow: row wrap;
572
+ height: 30px;
573
+ align-items: center;
574
+ background-color: #f0f0f0;
575
+ border-radius: 30px;
576
+ position: relative;
577
+ font-family: Roboto, sans-serif;
578
+ font-size: 14px;
579
+ color: #1e252d;
754
580
  }
755
581
 
756
- .ImageGallery .image.dragging {
757
- transition: none;
758
- cursor: move;
582
+ .AutocompleteSelect.inlineSelected > .value .DummyChild, .AutocompleteSelect > .selected > .value .DummyChild {
583
+ padding-left: 35px;
584
+ padding-right: 10px;
759
585
  }
760
586
 
761
- .ImageGallery .image .close {
587
+ .AutocompleteSelect.inlineSelected > .value .button, .AutocompleteSelect > .selected > .value .button {
588
+ cursor: pointer;
589
+ min-width: 30px;
590
+ width: 30px;
591
+ height: 30px;
592
+ opacity: 0;
762
593
  position: absolute;
763
- top: -18px;
764
- right: -18px;
594
+ top: 0px;
595
+ left: 0px;
596
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
597
+ background-color: deepskyblue;
598
+ color: white;
599
+ border-radius: 30px;
600
+ display: flex;
601
+ flex-flow: row;
602
+ justify-content: center;
603
+ align-items: center;
604
+ animation: anticlockwise 0.15s linear;
765
605
  }
766
606
 
767
- .ImageGallery .image .spinner {
768
- position: absolute;
769
- top: 0;
770
- bottom: 0;
771
- left: 0;
772
- right: 0;
773
- background: rgba(0, 0, 0, 0.65);
607
+ .AutocompleteSelect.inlineSelected > .value .button .material-icons, .AutocompleteSelect > .selected > .value .button .material-icons {
608
+ font-size: 22px;
774
609
  }
775
610
 
776
- .ImageGallery .image .spinner .SpinningProgress {
611
+ .AutocompleteSelect.inlineSelected > .value:hover .button, .AutocompleteSelect > .selected > .value:hover .button {
612
+ width: 30px;
613
+ height: 30px;
614
+ opacity: 1;
615
+ animation: clockwise 0.15s linear;
616
+ overflow: hidden;
777
617
  position: absolute;
778
- top: 50%;
779
- left: 50%;
780
- margin-left: -24px;
781
- margin-top: -24px;
782
618
  }
783
619
 
784
- .ImageGallery .image .spinner .SpinningProgress .line {
785
- stroke: #2196F3;
620
+ .DNDContainer {
621
+ position: relative;
786
622
  }
787
623
 
788
- .ImageGallery .Button.animated {
789
- transition: all 0.25s ease;
790
- opacity: 0;
791
- transform: scale(0);
624
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
625
+ cursor: pointer;
792
626
  }
793
627
 
794
- .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
628
+ .DNDContainer .Draggable.placeholder {
629
+ opacity: 0.2;
630
+ }
631
+
632
+ .DNDContainer .Draggable.copy {
633
+ position: absolute;
634
+ box-sizing: border-box;
635
+ will-change: transform;
636
+ opacity: 0;
637
+ }
638
+
639
+ .DNDContainer .Draggable.dragged {
640
+ z-index: 10;
641
+ }
642
+
643
+ .DNDContainer .overlay {
644
+ position: absolute;
645
+ top: 0;
646
+ left: 0;
647
+ right: 0;
648
+ bottom: 0;
649
+ pointer-events: none;
650
+ }
651
+
652
+ .Scrollable {
653
+ max-height: 250px;
654
+ max-width: 250px;
655
+ padding-right: 5px;
656
+ position: relative;
657
+ display: flex;
658
+ flex-flow: column;
659
+ align-items: stretch;
660
+ overflow: hidden;
661
+ }
662
+
663
+ .Scrollable:hover > .scrollbar.auto {
664
+ transition-delay: 0s;
665
+ opacity: 1;
666
+ }
667
+
668
+ .Scrollable .viewport {
669
+ overflow-y: scroll;
670
+ overflow-x: scroll;
671
+ max-height: 100%;
672
+ scroll-behavior: smooth;
673
+ scrollbar-width: none;
674
+ }
675
+
676
+ .Scrollable .viewport::-webkit-scrollbar {
677
+ display: none;
678
+ }
679
+
680
+ .Scrollable.without-scroll-horizontal {
681
+ max-width: unset;
682
+ }
683
+
684
+ .Scrollable.without-scroll {
685
+ padding-right: 0;
686
+ max-height: unset;
687
+ }
688
+
689
+ .Scrollable.without-scroll > .viewport {
690
+ padding-right: 0;
691
+ margin-right: 0;
692
+ }
693
+
694
+ .Scrollable.without-scroll > .scrollbar {
695
+ visibility: hidden;
696
+ }
697
+
698
+ .Scrollable .scrollbar {
699
+ position: absolute;
700
+ right: 0px;
701
+ top: 0px;
702
+ width: 5px;
703
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
704
+ transition-delay: 0.5s;
705
+ z-index: 1;
706
+ }
707
+
708
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
709
+ opacity: 0;
710
+ }
711
+
712
+ .Scrollable .scrollbar .thumb {
713
+ background-color: rgba(0, 0, 0, 0.3);
714
+ width: 5px;
715
+ position: absolute;
716
+ right: 0px;
717
+ top: 0px;
718
+ user-select: none;
719
+ will-change: top;
720
+ border-radius: 2px;
721
+ }
722
+
723
+ .Scrollable .scrollbar .thumb:hover {
724
+ background-color: rgba(0, 0, 0, 0.5);
725
+ }
726
+
727
+ .Scrollable .scrollbar .thumb:active {
728
+ background-color: rgba(0, 0, 0, 0.7);
729
+ }
730
+
731
+ .Scrollable .scrollbar.horizontal {
732
+ left: 0px;
733
+ right: 0px;
734
+ height: 5px;
735
+ bottom: 0;
736
+ width: unset;
737
+ top: unset;
738
+ }
739
+
740
+ .Scrollable .scrollbar.horizontal .thumb {
741
+ height: 5px;
742
+ left: 0px;
743
+ bottom: 0px;
744
+ will-change: left;
745
+ }
746
+
747
+ .Button.FloatingActionButton {
748
+ position: absolute;
749
+ right: 16px;
750
+ bottom: 16px;
751
+ width: 56px;
752
+ height: 56px;
753
+ padding: 16px;
754
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
755
+ }
756
+
757
+ .Button.FloatingActionButton.raised {
758
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1), color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
759
+ }
760
+
761
+ .Button.FloatingActionButton.mini {
762
+ width: 40px;
763
+ height: 40px;
764
+ padding: 8px;
765
+ }
766
+
767
+ .Button.FloatingActionButton.hidden {
768
+ bottom: -100px;
769
+ }
770
+
771
+ .ImageGallery {
772
+ position: fixed;
773
+ top: 0;
774
+ left: 0;
775
+ bottom: 0;
776
+ right: 0;
777
+ z-index: 1000;
778
+ background-color: rgba(0, 0, 0, 0.01);
779
+ user-select: none;
780
+ }
781
+
782
+ .ImageGallery:focus {
783
+ outline-width: 0px;
784
+ }
785
+
786
+ .ImageGallery.animated {
787
+ transition: background-color 0.25s ease;
788
+ opacity: 1;
789
+ }
790
+
791
+ .ImageGallery.mounting, .ImageGallery.mounted {
792
+ background-color: rgba(0, 0, 0, 0.8);
793
+ }
794
+
795
+ .ImageGallery .image {
796
+ position: absolute;
797
+ cursor: grab;
798
+ }
799
+
800
+ .ImageGallery .image .counter {
801
+ display: none;
802
+ }
803
+
804
+ .ImageGallery .image img {
805
+ border-radius: 4px;
806
+ max-width: 100%;
807
+ min-width: 100%;
808
+ }
809
+
810
+ .ImageGallery .image.animated {
811
+ transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
812
+ will-change: top, left, width, height, opacity;
813
+ }
814
+
815
+ .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
816
+ opacity: 1;
817
+ }
818
+
819
+ .ImageGallery .image.zoomed {
820
+ text-align: center;
821
+ overflow: hidden;
822
+ }
823
+
824
+ .ImageGallery .image.dragging {
825
+ transition: none;
826
+ cursor: move;
827
+ }
828
+
829
+ .ImageGallery .image .close {
830
+ position: absolute;
831
+ top: -18px;
832
+ right: -18px;
833
+ }
834
+
835
+ .ImageGallery .image .spinner {
836
+ position: absolute;
837
+ top: 0;
838
+ bottom: 0;
839
+ left: 0;
840
+ right: 0;
841
+ background: rgba(0, 0, 0, 0.65);
842
+ }
843
+
844
+ .ImageGallery .image .spinner .SpinningProgress {
845
+ position: absolute;
846
+ top: 50%;
847
+ left: 50%;
848
+ margin-left: -24px;
849
+ margin-top: -24px;
850
+ }
851
+
852
+ .ImageGallery .image .spinner .SpinningProgress .line {
853
+ stroke: #2196F3;
854
+ }
855
+
856
+ .ImageGallery .Button.animated {
857
+ transition: all 0.25s ease;
858
+ opacity: 0;
859
+ transform: scale(0);
860
+ }
861
+
862
+ .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
795
863
  opacity: 1;
796
864
  transform: scale(1);
797
865
  }
@@ -935,299 +1003,441 @@
935
1003
  font-size: 24px;
936
1004
  }
937
1005
 
938
- .AutocompleteSelect {
939
- display: inline-flex;
940
- flex-flow: column;
941
- justify-content: center;
1006
+ .Dropzone {
942
1007
  position: relative;
943
- min-width: 250px;
944
- min-height: 36px;
945
- user-select: none;
946
1008
  }
947
1009
 
948
- @keyframes clockwise {
949
- 0% {
950
- -webkit-transform: rotate(-90deg);
951
- }
952
- 100% {
953
- -webkit-transform: translateX(0px);
954
- }
955
- }
956
- @keyframes anticlockwise {
957
- 0% {
958
- -webkit-transform: rotate(90deg);
959
- }
960
- 100% {
961
- -webkit-transform: translateX(0px);
962
- }
963
- }
964
- .AutocompleteSelect > .input {
965
- width: 100%;
966
- }
967
-
968
- .AutocompleteSelect .Scrollable {
969
- padding-right: 0;
970
- min-width: 100%;
1010
+ .Dropzone > .overlay {
1011
+ position: absolute;
1012
+ left: 0;
1013
+ right: 0;
1014
+ top: 0;
1015
+ bottom: 0;
1016
+ background-color: #38ADC4;
1017
+ z-index: 1;
1018
+ opacity: 0;
1019
+ transition: all 0.2s ease;
1020
+ transition-delay: 100ms;
1021
+ visibility: hidden;
1022
+ display: flex;
1023
+ justify-content: center;
1024
+ align-items: center;
971
1025
  }
972
1026
 
973
- .AutocompleteSelect.inline-multiple > .label {
974
- top: -12px;
1027
+ .Dropzone > .overlay .drop {
1028
+ border-radius: 4px;
1029
+ border: 1px dashed #FFFFFF;
1030
+ position: absolute;
1031
+ top: 18px;
1032
+ left: 18px;
1033
+ right: 18px;
1034
+ bottom: 18px;
1035
+ display: flex;
1036
+ justify-content: center;
1037
+ align-items: center;
1038
+ font-weight: 500;
1039
+ font-size: 18px;
1040
+ color: #FFFFFF;
975
1041
  }
976
1042
 
977
- .AutocompleteSelect.inline-multiple > .selected {
978
- flex-flow: row wrap;
1043
+ .Dropzone.dragging > .overlay {
1044
+ opacity: 0.7;
1045
+ visibility: visible;
1046
+ transition-delay: 0s;
979
1047
  }
980
1048
 
981
- .AutocompleteSelect.multiple-mini-inline {
982
- height: 42px;
1049
+ .Dropzone.dragging > * {
1050
+ pointer-events: none;
983
1051
  }
984
1052
 
985
- .AutocompleteSelect.multiple-mini-inline > .label {
986
- cursor: pointer;
987
- width: 100%;
988
- margin-left: -10px;
989
- padding: 10px;
990
- box-sizing: border-box;
1053
+ .Dropzone > input.file {
1054
+ position: absolute;
1055
+ left: 0;
1056
+ right: 0;
991
1057
  top: 0;
1058
+ bottom: 0;
1059
+ width: 100%;
1060
+ height: 100%;
1061
+ opacity: 0;
1062
+ cursor: pointer;
1063
+ z-index: 1;
992
1064
  }
993
1065
 
994
- .AutocompleteSelect.multiple-mini-inline > .label.active {
995
- padding: 0 10px;
1066
+ .Modal {
1067
+ display: block;
1068
+ position: fixed;
1069
+ top: 0;
1070
+ left: 0;
1071
+ right: 0;
1072
+ bottom: 100%;
1073
+ overflow-y: scroll;
1074
+ transition: bottom 0ms linear;
1075
+ transition-delay: 0.2s;
996
1076
  }
997
1077
 
998
- .AutocompleteSelect.multiple-mini-inline > .selected {
999
- width: 250px;
1078
+ .Modal.show {
1079
+ transition-delay: 0s;
1080
+ bottom: 0;
1000
1081
  }
1001
1082
 
1002
- .AutocompleteSelect.multiple-mini-inline > .input {
1003
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1004
- position: absolute;
1005
- top: 38px;
1006
- z-index: 2;
1007
- background-color: white;
1008
- min-width: 130%;
1083
+ .Modal > .overlay {
1084
+ position: fixed;
1085
+ top: 0;
1086
+ bottom: 100%;
1087
+ left: 0;
1088
+ right: 0;
1089
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1090
+ opacity: 0;
1091
+ background-color: black;
1092
+ pointer-events: none;
1009
1093
  }
1010
1094
 
1011
- .AutocompleteSelect.multiple-mini-inline > .input .TextField {
1012
- padding-left: 10px;
1013
- padding-right: 10px;
1014
- width: 100%;
1015
- box-sizing: border-box;
1095
+ .Modal > .overlay.show {
1096
+ opacity: 0.5;
1097
+ bottom: 0;
1016
1098
  }
1017
1099
 
1018
- .AutocompleteSelect.multiple-mini-inline > .input.hidden {
1100
+ .Modal > .content {
1101
+ left: 50%;
1102
+ top: 10vh;
1103
+ margin-bottom: 10vh;
1104
+ font-size: 16px;
1105
+ padding: 0;
1019
1106
  opacity: 0;
1020
- visibility: hidden;
1107
+ transition: opacity 0.25s ease, transform 0.25s ease;
1108
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1109
+ transform-origin: top;
1110
+ position: absolute;
1111
+ border-radius: 2px;
1112
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1021
1113
  }
1022
1114
 
1023
- .AutocompleteSelect.multiple-mini-inline .FilteredList .child:first-child {
1024
- margin-top: 0;
1115
+ .Modal > .content.show {
1116
+ opacity: 1;
1117
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1025
1118
  }
1026
1119
 
1027
- .AutocompleteSelect .TextField {
1028
- margin-top: 8px;
1120
+ .Modal > .content > .Scrollable {
1121
+ overflow: visible;
1122
+ max-height: 80vh;
1029
1123
  }
1030
1124
 
1031
- .AutocompleteSelect .TextField input {
1032
- font-size: 14px;
1125
+ .Modal > .content > .Scrollable > .viewport {
1126
+ min-width: 10px;
1127
+ min-height: 10px;
1033
1128
  }
1034
1129
 
1035
- .AutocompleteSelect > .label {
1130
+ .Modal > .content > .Button.close {
1131
+ top: 10px;
1132
+ right: 10px;
1036
1133
  position: absolute;
1037
- transition: all 0.2s ease;
1038
- font-family: Roboto, sans-serif;
1039
- font-size: 14px;
1040
- color: rgba(0, 0, 0, 0.5);
1041
- z-index: 1;
1042
- cursor: text;
1043
- user-select: none;
1044
- left: 4px;
1045
- top: 12px;
1046
1134
  }
1047
1135
 
1048
- .AutocompleteSelect > .label.active {
1049
- font-size: 10px;
1050
- top: 2px;
1051
- }
1052
-
1053
- .AutocompleteSelect > .label.active .arrow {
1054
- border-width: 4px 4px 0 4px;
1055
- margin-bottom: 1px;
1056
- }
1057
-
1058
- .AutocompleteSelect > .label .arrow {
1059
- width: 0;
1060
- height: 0;
1061
- border-style: solid;
1062
- border-width: 5px 5px 0 5px;
1063
- border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
1064
- display: inline-block;
1065
- margin-left: 5px;
1066
- margin-bottom: 2px;
1067
- transition: all 0.2s ease;
1136
+ .ModalMenu {
1137
+ position: absolute;
1138
+ top: 10px;
1139
+ right: 50px;
1068
1140
  }
1069
1141
 
1070
- .AutocompleteSelect > .selected {
1071
- margin-top: 8px;
1072
- display: flex;
1073
- cursor: pointer;
1142
+ .ModalMenu .material-icons {
1143
+ color: #818181;
1074
1144
  }
1075
1145
 
1076
- .AutocompleteSelect > .selected > .reset {
1077
- min-width: 36px;
1078
- max-width: 36px;
1146
+ .ModalMenu .Button.animated {
1079
1147
  position: absolute;
1148
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1149
+ opacity: 0;
1080
1150
  right: 0;
1081
1151
  top: 0;
1082
- background-color: white;
1083
1152
  }
1084
1153
 
1085
- .AutocompleteSelect > .selected > .reset .material-icons {
1086
- margin: 0;
1087
- color: #BFBFBF;
1088
- font-size: 20px;
1154
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1155
+ opacity: 1;
1089
1156
  }
1090
1157
 
1091
- .AutocompleteSelect > .selected.nolabel {
1092
- margin-top: 0px;
1093
- border-bottom: 1px solid #e5e3e3;
1158
+ .ModalMenu .Button.animated.unmounting {
1159
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1094
1160
  }
1095
1161
 
1096
- .AutocompleteSelect > .selected.nolabel .DummyChild {
1097
- display: inline-flex;
1098
- align-items: center;
1099
- flex-grow: 1;
1100
- font-size: 16px;
1101
- margin: 0px 10px;
1102
- margin-bottom: 5px;
1103
- height: 19px;
1162
+ .ModalMenu .Button.active {
1163
+ background: #EBEBEB;
1104
1164
  }
1105
1165
 
1106
- .AutocompleteSelect > .selected.nolabel .arrow {
1107
- width: 0;
1108
- height: 0;
1109
- border-style: solid;
1110
- border-width: 5px 5px 0 5px;
1111
- border-color: rgba(0, 0, 0, 0.5) transparent transparent transparent;
1112
- display: inline-block;
1113
- transition: all 0.2s ease;
1114
- margin: 0px 17px 3px 5px;
1166
+ .ModalMenu .separator {
1167
+ height: 24px;
1168
+ width: 1px;
1169
+ background-color: #D9D9D9;
1170
+ margin-left: 4px;
1115
1171
  }
1116
1172
 
1117
- .AutocompleteSelect > .selected.inline {
1118
- font-size: 14px;
1119
- font-family: Roboto, sans-serif;
1120
- color: #1e252d;
1121
- text-overflow: ellipsis;
1122
- white-space: nowrap;
1173
+ .Snackbar {
1174
+ transform: translateX(-50%);
1123
1175
  overflow: hidden;
1176
+ background-color: #323232;
1177
+ padding: 14px 24px 14px 24px;
1178
+ color: #fff;
1179
+ min-width: 288px;
1180
+ max-width: 568px;
1181
+ position: fixed;
1182
+ bottom: -50px;
1183
+ left: 50%;
1124
1184
  display: flex;
1185
+ flex-wrap: nowrap;
1125
1186
  align-items: center;
1187
+ opacity: 0;
1188
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1189
+ border-radius: 4px;
1190
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1126
1191
  }
1127
1192
 
1128
- .AutocompleteSelect > .selected.clickable {
1193
+ .Snackbar.shown {
1194
+ bottom: 15px;
1195
+ opacity: 1;
1196
+ }
1197
+
1198
+ .Snackbar .message {
1129
1199
  overflow: hidden;
1130
- cursor: pointer;
1131
- padding: 10px;
1132
- margin-left: -10px;
1133
- margin-right: -10px;
1200
+ line-height: 1.2em;
1201
+ min-height: 1.2em;
1202
+ max-height: 2.4em;
1203
+ flex: 1;
1134
1204
  }
1135
1205
 
1136
- .AutocompleteSelect.inlineSelected {
1137
- flex-flow: row wrap;
1138
- justify-content: flex-start;
1206
+ .Snackbar .action {
1207
+ text-transform: uppercase;
1208
+ font-weight: bold;
1209
+ margin-left: 48px;
1210
+ color: #bf3727;
1139
1211
  }
1140
1212
 
1141
- .AutocompleteSelect.inlineSelected.hasSelected {
1142
- padding-top: 7px;
1213
+ .Snackbar .action a {
1214
+ text-decoration: none;
1215
+ color: #bf3727;
1143
1216
  }
1144
1217
 
1145
- .AutocompleteSelect.inlineSelected > .label {
1146
- width: 100%;
1147
- height: 100%;
1218
+ .Switch {
1219
+ display: inline-flex;
1220
+ padding-top: 5px;
1148
1221
  }
1149
1222
 
1150
- .AutocompleteSelect.inlineSelected > .label.active {
1151
- z-index: 0;
1223
+ .Switch .switch-input {
1224
+ display: none;
1152
1225
  }
1153
1226
 
1154
- .AutocompleteSelect.inlineSelected .input {
1155
- width: unset;
1156
- flex-basis: 50px;
1157
- flex-grow: 1;
1227
+ .Switch .switch-label {
1228
+ position: relative;
1229
+ display: inline-flex;
1230
+ align-items: center;
1231
+ min-width: 38px;
1232
+ height: 24px;
1233
+ cursor: pointer;
1234
+ font-weight: 500;
1235
+ text-align: left;
1236
+ user-select: none;
1237
+ margin: 0;
1238
+ padding: 0;
1239
+ padding-left: 44px;
1240
+ box-sizing: border-box;
1158
1241
  }
1159
1242
 
1160
- .AutocompleteSelect.inlineSelected .input::after {
1161
- content: attr(data-value);
1162
- visibility: hidden;
1163
- white-space: pre;
1164
- font: inherit;
1165
- min-width: 2px;
1166
- border: 0;
1243
+ .Switch .switch-label:before, .Switch .switch-label:after {
1244
+ content: "";
1245
+ box-sizing: border-box;
1246
+ position: absolute;
1167
1247
  margin: 0;
1168
1248
  outline: 0;
1169
- float: left;
1249
+ top: 50%;
1250
+ transform: translate(0, -50%);
1251
+ transition: all 0.3s ease;
1252
+ }
1253
+
1254
+ .Switch .switch-label:before {
1255
+ left: 1px;
1256
+ width: 34px;
1257
+ height: 14px;
1258
+ background-color: #9E9E9E;
1259
+ border-radius: 8px;
1260
+ }
1261
+
1262
+ .Switch .switch-label:after {
1263
+ left: 0;
1264
+ width: 20px;
1265
+ height: 20px;
1266
+ background-color: #FAFAFA;
1267
+ border-radius: 50%;
1268
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1269
+ }
1270
+
1271
+ .Switch .switch-label .toggle--on {
1272
+ display: none;
1273
+ }
1274
+
1275
+ .Switch .switch-label .toggle--off {
1170
1276
  display: inline-block;
1171
- margin-top: -24px;
1172
- font-size: 14px;
1173
- padding: 2px;
1174
1277
  }
1175
1278
 
1176
- .AutocompleteSelect.inlineSelected > .value:nth-child(2) {
1177
- margin-top: 7px;
1279
+ .Switch .switch-label .label {
1280
+ margin-right: 5px;
1178
1281
  }
1179
1282
 
1180
- .AutocompleteSelect.inlineSelected > .value, .AutocompleteSelect > .selected > .value {
1181
- cursor: pointer;
1182
- margin: 5px 10px 5px 0px;
1183
- display: inline-flex;
1184
- flex-flow: row wrap;
1185
- height: 30px;
1186
- align-items: center;
1187
- background-color: #f0f0f0;
1188
- border-radius: 30px;
1283
+ .Switch .switch-input:checked + .switch-label:before {
1284
+ background-color: #A5D6A7;
1285
+ }
1286
+
1287
+ .Switch .switch-input:checked + .switch-label:after {
1288
+ background-color: #4CAF50;
1289
+ transform: translate(80%, -50%);
1290
+ }
1291
+
1292
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1293
+ display: inline-block;
1294
+ }
1295
+
1296
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1297
+ display: none;
1298
+ }
1299
+
1300
+ .TextField {
1189
1301
  position: relative;
1302
+ width: 100%;
1303
+ }
1304
+
1305
+ .TextField > label {
1306
+ font-family: Roboto, sans-serif;
1307
+ color: rgba(0, 0, 0, 0.3);
1308
+ font-size: 16px;
1309
+ position: absolute;
1310
+ left: 0px;
1311
+ top: 16px;
1312
+ margin-top: -16px;
1313
+ transition: all 0.2s ease;
1314
+ user-select: none;
1315
+ cursor: text;
1316
+ }
1317
+
1318
+ .TextField > input {
1190
1319
  font-family: Roboto, sans-serif;
1191
- font-size: 14px;
1192
1320
  color: #1e252d;
1321
+ height: 19px;
1322
+ font-size: 16px;
1323
+ width: 100%;
1324
+ border: 0px;
1325
+ padding-bottom: 4px;
1326
+ padding-top: 0;
1327
+ outline-color: rgba(0, 0, 0, 0);
1193
1328
  }
1194
1329
 
1195
- .AutocompleteSelect.inlineSelected > .value .DummyChild, .AutocompleteSelect > .selected > .value .DummyChild {
1196
- padding-left: 35px;
1197
- padding-right: 10px;
1330
+ .TextField > input:focus {
1331
+ outline: none;
1198
1332
  }
1199
1333
 
1200
- .AutocompleteSelect.inlineSelected > .value .button, .AutocompleteSelect > .selected > .value .button {
1201
- cursor: pointer;
1202
- min-width: 30px;
1203
- width: 30px;
1204
- height: 30px;
1205
- opacity: 0;
1334
+ .TextField > input:disabled {
1335
+ color: gray;
1336
+ background-color: white;
1337
+ }
1338
+
1339
+ .TextField > input:disabled + .border {
1340
+ height: 0px;
1341
+ border-bottom: 2px dotted #e0e0e0;
1342
+ }
1343
+
1344
+ .TextField > input::placeholder {
1345
+ font-family: Roboto, sans-serif;
1346
+ color: rgba(0, 0, 0, 0.3);
1347
+ opacity: 1;
1348
+ }
1349
+
1350
+ .TextField > .border {
1351
+ border-bottom: 1px solid #e0e0e0;
1352
+ height: 1px;
1353
+ position: relative;
1354
+ }
1355
+
1356
+ .TextField > .border .line {
1357
+ left: 50%;
1358
+ width: 0;
1359
+ height: 2px;
1360
+ min-height: 2px;
1361
+ background-color: #00bcd4;
1362
+ transition: all 0.2s ease;
1206
1363
  position: absolute;
1207
- top: 0px;
1208
- left: 0px;
1209
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1210
- background-color: deepskyblue;
1211
- color: white;
1212
- border-radius: 30px;
1213
- display: flex;
1214
- flex-flow: row;
1215
- justify-content: center;
1216
- align-items: center;
1217
- animation: anticlockwise 0.15s linear;
1218
1364
  }
1219
1365
 
1220
- .AutocompleteSelect.inlineSelected > .value .button .material-icons, .AutocompleteSelect > .selected > .value .button .material-icons {
1221
- font-size: 22px;
1366
+ .TextField > .error {
1367
+ text-align: left;
1368
+ font-size: 10px;
1369
+ min-height: 0;
1370
+ line-height: 14px;
1371
+ color: #f44336;
1372
+ visibility: hidden;
1373
+ opacity: 0;
1374
+ transition: all 0.2s ease;
1375
+ }
1376
+
1377
+ .TextField.focused > label, .TextField.withValue > label {
1378
+ top: 4px;
1379
+ font-size: 12px;
1380
+ line-height: 14px;
1381
+ }
1382
+
1383
+ .TextField.errored > .error {
1384
+ visibility: visible;
1385
+ opacity: 1;
1386
+ }
1387
+
1388
+ .TextField.errored > .border {
1389
+ border-bottom-color: #f44336;
1390
+ }
1391
+
1392
+ .TextField.errored > label {
1393
+ color: #f44336;
1394
+ }
1395
+
1396
+ .TextField.focused > label {
1397
+ color: #00bcd4;
1398
+ }
1399
+
1400
+ .TextField.focused > .border .line {
1401
+ left: 0;
1402
+ width: 100%;
1222
1403
  }
1223
1404
 
1224
- .AutocompleteSelect.inlineSelected > .value:hover .button, .AutocompleteSelect > .selected > .value:hover .button {
1225
- width: 30px;
1226
- height: 30px;
1227
- opacity: 1;
1228
- animation: clockwise 0.15s linear;
1229
- overflow: hidden;
1405
+ .TextField.disabled label, .TextField.disabled input {
1406
+ cursor: not-allowed;
1407
+ }
1408
+
1409
+ .TextField.withLabel {
1410
+ margin-top: 15px;
1411
+ }
1412
+
1413
+ .TextField input::-webkit-contacts-auto-fill-button {
1414
+ visibility: hidden;
1415
+ display: none !important;
1416
+ pointer-events: none;
1230
1417
  position: absolute;
1418
+ right: 0;
1419
+ }
1420
+
1421
+ .TextField input:-webkit-autofill {
1422
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1423
+ }
1424
+
1425
+ @keyframes shake {
1426
+ 0%, 100% {
1427
+ transform: translateX(0);
1428
+ }
1429
+ 20%, 60% {
1430
+ transform: translateX(-5px);
1431
+ }
1432
+ 40%, 80% {
1433
+ transform: translateX(5px);
1434
+ }
1435
+ }
1436
+ .TextField .shake {
1437
+ animation-duration: 0.5s;
1438
+ animation-fill-mode: both;
1439
+ animation-timing-function: ease-in-out;
1440
+ animation-name: shake;
1231
1441
  }
1232
1442
 
1233
1443
  .FormUploadProgress {
@@ -1352,206 +1562,6 @@
1352
1562
  stroke-dashoffset: -53px;
1353
1563
  }
1354
1564
  }
1355
- .Snackbar {
1356
- transform: translateX(-50%);
1357
- overflow: hidden;
1358
- background-color: #323232;
1359
- padding: 14px 24px 14px 24px;
1360
- color: #fff;
1361
- min-width: 288px;
1362
- max-width: 568px;
1363
- position: fixed;
1364
- bottom: -50px;
1365
- left: 50%;
1366
- display: flex;
1367
- flex-wrap: nowrap;
1368
- align-items: center;
1369
- opacity: 0;
1370
- transition: bottom 0.25s ease, opacity 0.2s ease;
1371
- border-radius: 4px;
1372
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1373
- }
1374
-
1375
- .Snackbar.shown {
1376
- bottom: 15px;
1377
- opacity: 1;
1378
- }
1379
-
1380
- .Snackbar .message {
1381
- overflow: hidden;
1382
- line-height: 1.2em;
1383
- min-height: 1.2em;
1384
- max-height: 2.4em;
1385
- flex: 1;
1386
- }
1387
-
1388
- .Snackbar .action {
1389
- text-transform: uppercase;
1390
- font-weight: bold;
1391
- margin-left: 48px;
1392
- color: #bf3727;
1393
- }
1394
-
1395
- .Snackbar .action a {
1396
- text-decoration: none;
1397
- color: #bf3727;
1398
- }
1399
-
1400
- .Scrollable {
1401
- max-height: 250px;
1402
- max-width: 250px;
1403
- padding-right: 5px;
1404
- position: relative;
1405
- display: flex;
1406
- flex-flow: column;
1407
- align-items: stretch;
1408
- overflow: hidden;
1409
- }
1410
-
1411
- .Scrollable:hover > .scrollbar.auto {
1412
- transition-delay: 0s;
1413
- opacity: 1;
1414
- }
1415
-
1416
- .Scrollable .viewport {
1417
- overflow-y: scroll;
1418
- overflow-x: scroll;
1419
- max-height: 100%;
1420
- scroll-behavior: smooth;
1421
- scrollbar-width: none;
1422
- }
1423
-
1424
- .Scrollable .viewport::-webkit-scrollbar {
1425
- display: none;
1426
- }
1427
-
1428
- .Scrollable.without-scroll-horizontal {
1429
- max-width: unset;
1430
- }
1431
-
1432
- .Scrollable.without-scroll {
1433
- padding-right: 0;
1434
- max-height: unset;
1435
- }
1436
-
1437
- .Scrollable.without-scroll > .viewport {
1438
- padding-right: 0;
1439
- margin-right: 0;
1440
- }
1441
-
1442
- .Scrollable.without-scroll > .scrollbar {
1443
- visibility: hidden;
1444
- }
1445
-
1446
- .Scrollable .scrollbar {
1447
- position: absolute;
1448
- right: 0px;
1449
- top: 0px;
1450
- width: 5px;
1451
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1452
- transition-delay: 0.5s;
1453
- z-index: 1;
1454
- }
1455
-
1456
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1457
- opacity: 0;
1458
- }
1459
-
1460
- .Scrollable .scrollbar .thumb {
1461
- background-color: rgba(0, 0, 0, 0.3);
1462
- width: 5px;
1463
- position: absolute;
1464
- right: 0px;
1465
- top: 0px;
1466
- user-select: none;
1467
- will-change: top;
1468
- border-radius: 2px;
1469
- }
1470
-
1471
- .Scrollable .scrollbar .thumb:hover {
1472
- background-color: rgba(0, 0, 0, 0.5);
1473
- }
1474
-
1475
- .Scrollable .scrollbar .thumb:active {
1476
- background-color: rgba(0, 0, 0, 0.7);
1477
- }
1478
-
1479
- .Scrollable .scrollbar.horizontal {
1480
- left: 0px;
1481
- right: 0px;
1482
- height: 5px;
1483
- bottom: 0;
1484
- width: unset;
1485
- top: unset;
1486
- }
1487
-
1488
- .Scrollable .scrollbar.horizontal .thumb {
1489
- height: 5px;
1490
- left: 0px;
1491
- bottom: 0px;
1492
- will-change: left;
1493
- }
1494
-
1495
- .Dropzone {
1496
- position: relative;
1497
- }
1498
-
1499
- .Dropzone > .overlay {
1500
- position: absolute;
1501
- left: 0;
1502
- right: 0;
1503
- top: 0;
1504
- bottom: 0;
1505
- background-color: #38ADC4;
1506
- z-index: 1;
1507
- opacity: 0;
1508
- transition: all 0.2s ease;
1509
- transition-delay: 100ms;
1510
- visibility: hidden;
1511
- display: flex;
1512
- justify-content: center;
1513
- align-items: center;
1514
- }
1515
-
1516
- .Dropzone > .overlay .drop {
1517
- border-radius: 4px;
1518
- border: 1px dashed #FFFFFF;
1519
- position: absolute;
1520
- top: 18px;
1521
- left: 18px;
1522
- right: 18px;
1523
- bottom: 18px;
1524
- display: flex;
1525
- justify-content: center;
1526
- align-items: center;
1527
- font-weight: 500;
1528
- font-size: 18px;
1529
- color: #FFFFFF;
1530
- }
1531
-
1532
- .Dropzone.dragging > .overlay {
1533
- opacity: 0.7;
1534
- visibility: visible;
1535
- transition-delay: 0s;
1536
- }
1537
-
1538
- .Dropzone.dragging > * {
1539
- pointer-events: none;
1540
- }
1541
-
1542
- .Dropzone > input.file {
1543
- position: absolute;
1544
- left: 0;
1545
- right: 0;
1546
- top: 0;
1547
- bottom: 0;
1548
- width: 100%;
1549
- height: 100%;
1550
- opacity: 0;
1551
- cursor: pointer;
1552
- z-index: 1;
1553
- }
1554
-
1555
1565
  .DNDContainer .DroppableList .Draggable {
1556
1566
  transform: unset;
1557
1567
  transition: unset;
@@ -1570,15 +1580,6 @@
1570
1580
  transition: transform 0.1s ease-in;
1571
1581
  }
1572
1582
 
1573
- .animated {
1574
- transition: opacity 250ms ease;
1575
- opacity: 0;
1576
- }
1577
-
1578
- .animated.mounting, .animated.mounted {
1579
- opacity: 1;
1580
- }
1581
-
1582
1583
  .FilteredList {
1583
1584
  max-height: 250px;
1584
1585
  position: relative;