react-ui-basics 0.0.172 → 0.0.173

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,3 +1,169 @@
1
+ .Button {
2
+ position: relative;
3
+ min-width: 64px;
4
+ min-height: 36px;
5
+ height: 24px;
6
+ margin: 0px;
7
+ padding: 0px 16px;
8
+ border: none;
9
+ outline: none;
10
+ font-size: 14px;
11
+ font-weight: 500;
12
+ letter-spacing: 1.25px;
13
+ background: #dfdfdf;
14
+ text-transform: uppercase;
15
+ font-family: Roboto, sans-serif;
16
+ -webkit-tap-highlight-color: transparent;
17
+ display: inline-flex;
18
+ justify-content: center;
19
+ align-items: center;
20
+ cursor: pointer;
21
+ overflow: hidden;
22
+ user-select: none;
23
+ border-radius: 3px;
24
+ transition: all 0.2s ease;
25
+ }
26
+
27
+ .Button.flat {
28
+ background-color: transparent;
29
+ }
30
+
31
+ .Button.flat:hover {
32
+ background-color: rgba(0, 0, 0, 0.05);
33
+ }
34
+
35
+ .Button.green {
36
+ background-color: #43a047;
37
+ color: white;
38
+ }
39
+
40
+ .Button.green:hover {
41
+ background-color: #3b8e3f;
42
+ }
43
+
44
+ .Button.blue {
45
+ background-color: #039be5;
46
+ color: white;
47
+ }
48
+
49
+ .Button.blue:hover {
50
+ background-color: #038acc;
51
+ }
52
+
53
+ .Button.red {
54
+ background-color: #e53935;
55
+ color: white;
56
+ }
57
+
58
+ .Button.red:hover {
59
+ background-color: #e2231e;
60
+ }
61
+
62
+ .Button.black {
63
+ background-color: #1e252d;
64
+ color: white;
65
+ }
66
+
67
+ .Button.black:hover {
68
+ background-color: #14181e;
69
+ }
70
+
71
+ .Button.gray {
72
+ background: #D9D9D9;
73
+ color: #999999;
74
+ }
75
+
76
+ .Button.gray:hover {
77
+ background-color: #cccccc;
78
+ }
79
+
80
+ .Button.small {
81
+ padding: 0px 8px;
82
+ min-height: 16px;
83
+ min-width: 16px;
84
+ }
85
+
86
+ .Button > .material-icons {
87
+ margin-right: 10px;
88
+ }
89
+
90
+ .Button.round {
91
+ padding: 0px;
92
+ min-width: 36px;
93
+ border-radius: 50%;
94
+ }
95
+
96
+ .Button.round > .material-icons {
97
+ margin: 0px;
98
+ }
99
+
100
+ .Button .ripple {
101
+ position: absolute;
102
+ background: rgba(0, 0, 0, 0.1);
103
+ border-radius: 100%;
104
+ transform: scale(0);
105
+ pointer-events: none;
106
+ transition: opacity 0.2s ease-out;
107
+ }
108
+
109
+ .Button .ripple.show {
110
+ animation: ripple 0.35s ease-out;
111
+ }
112
+
113
+ .Button:active .ripple.showed {
114
+ opacity: 1;
115
+ }
116
+
117
+ .Button:focus .ripple.focused {
118
+ opacity: 1;
119
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
120
+ transform: scale(1);
121
+ animation: resize 1.25s ease-out infinite;
122
+ animation-delay: 0.2s;
123
+ animation-direction: alternate;
124
+ }
125
+
126
+ .Button .ripple.showed {
127
+ transform: scale(2);
128
+ opacity: 0;
129
+ }
130
+
131
+ @keyframes ripple {
132
+ to {
133
+ transform: scale(2);
134
+ }
135
+ }
136
+ @keyframes resize {
137
+ to {
138
+ transform: scale(0.9);
139
+ }
140
+ }
141
+ .Button.raised {
142
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
143
+ }
144
+
145
+ .Button.raised:hover {
146
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
147
+ }
148
+
149
+ .Button.raised:active {
150
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
151
+ }
152
+
153
+ .Button.disabled {
154
+ box-shadow: none;
155
+ background: #D9D9D9;
156
+ color: #999999;
157
+ }
158
+
159
+ .Button.disabled:hover {
160
+ background-color: #cccccc;
161
+ }
162
+
163
+ .Button::-moz-focus-inner {
164
+ border: 0;
165
+ }
166
+
1
167
  .AutocompleteSelect {
2
168
  display: inline-flex;
3
169
  flex-flow: column;
@@ -293,192 +459,257 @@
293
459
  position: absolute;
294
460
  }
295
461
 
296
- .Button {
297
- position: relative;
298
- min-width: 64px;
299
- min-height: 36px;
300
- height: 24px;
301
- margin: 0px;
302
- padding: 0px 16px;
303
- border: none;
304
- outline: none;
305
- font-size: 14px;
306
- font-weight: 500;
307
- letter-spacing: 1.25px;
308
- background: #dfdfdf;
309
- text-transform: uppercase;
310
- font-family: Roboto, sans-serif;
311
- -webkit-tap-highlight-color: transparent;
312
- display: inline-flex;
313
- justify-content: center;
314
- align-items: center;
315
- cursor: pointer;
316
- overflow: hidden;
317
- user-select: none;
318
- border-radius: 3px;
319
- transition: all 0.2s ease;
462
+ .animated {
463
+ transition: opacity 250ms ease;
464
+ opacity: 0;
320
465
  }
321
466
 
322
- .Button.flat {
323
- background-color: transparent;
467
+ .animated.mounting, .animated.mounted {
468
+ opacity: 1;
324
469
  }
325
470
 
326
- .Button.flat:hover {
327
- background-color: rgba(0, 0, 0, 0.05);
471
+ .CircleProgress {
472
+ width: 48px;
473
+ height: 48px;
328
474
  }
329
475
 
330
- .Button.green {
331
- background-color: #43a047;
332
- color: white;
476
+ .CircleProgress .line {
477
+ stroke-width: 2px;
478
+ stroke: black;
479
+ stroke-linecap: square;
480
+ fill: none;
481
+ transition: stroke-dashoffset 0.2s ease;
333
482
  }
334
483
 
335
- .Button.green:hover {
336
- background-color: #3b8e3f;
484
+ .Checkbox {
485
+ position: relative;
486
+ white-space: pre;
337
487
  }
338
488
 
339
- .Button.blue {
340
- background-color: #039be5;
341
- color: white;
489
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
490
+ box-sizing: border-box;
342
491
  }
343
492
 
344
- .Button.blue:hover {
345
- background-color: #038acc;
493
+ .Checkbox label {
494
+ font-family: Roboto, sans-serif;
495
+ font-size: 14px;
496
+ color: #1e252d;
497
+ cursor: pointer;
346
498
  }
347
499
 
348
- .Button.red {
349
- background-color: #e53935;
350
- color: white;
500
+ .Checkbox label:before, .Checkbox label:after {
501
+ content: "";
502
+ position: absolute;
503
+ left: 0;
504
+ top: 0;
351
505
  }
352
506
 
353
- .Button.red:hover {
354
- background-color: #e2231e;
507
+ .Checkbox label:before {
508
+ width: 20px;
509
+ height: 20px;
510
+ background: #fff;
511
+ border: 2px solid #252525;
512
+ border-radius: 2px;
513
+ cursor: pointer;
514
+ transition: background 0.3s;
355
515
  }
356
516
 
357
- .Button.black {
358
- background-color: #1e252d;
359
- color: white;
517
+ .Checkbox input[type=checkbox] {
518
+ outline: 0;
519
+ margin-right: 10px;
520
+ visibility: hidden;
360
521
  }
361
522
 
362
- .Button.black:hover {
363
- background-color: #14181e;
364
- }
365
-
366
- .Button.gray {
367
- background: #D9D9D9;
368
- color: #999999;
523
+ .Checkbox input[type=checkbox]:checked + label:before {
524
+ background: #4AC263;
525
+ border: none;
369
526
  }
370
527
 
371
- .Button.gray:hover {
372
- background-color: #cccccc;
528
+ .Checkbox input[type=checkbox]:checked + label:after {
529
+ transform: rotate(-45deg);
530
+ top: 6px;
531
+ left: 4px;
532
+ width: 12px;
533
+ height: 6px;
534
+ border: 2px solid #fff;
535
+ border-top-style: none;
536
+ border-right-style: none;
373
537
  }
374
538
 
375
- .Button.small {
376
- padding: 0px 8px;
377
- min-height: 16px;
378
- min-width: 16px;
539
+ .Checkbox input[type=checkbox]:disabled + label {
540
+ color: gray;
379
541
  }
380
542
 
381
- .Button > .material-icons {
382
- margin-right: 10px;
543
+ .Checkbox input[type=checkbox]:disabled + label:before {
544
+ border-color: rgba(0, 0, 0, 0.26);
383
545
  }
384
546
 
385
- .Button.round {
386
- padding: 0px;
387
- min-width: 36px;
388
- border-radius: 50%;
547
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
548
+ background: rgba(0, 0, 0, 0.26);
389
549
  }
390
550
 
391
- .Button.round > .material-icons {
392
- margin: 0px;
551
+ .FilteredList {
552
+ max-height: 250px;
553
+ position: relative;
393
554
  }
394
555
 
395
- .Button .ripple {
556
+ .FilteredList.popup {
557
+ padding: 0;
558
+ visibility: hidden;
396
559
  position: absolute;
397
- background: rgba(0, 0, 0, 0.1);
398
- border-radius: 100%;
399
- transform: scale(0);
400
- pointer-events: none;
401
- transition: opacity 0.2s ease-out;
560
+ background: white;
561
+ z-index: 4;
562
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
563
+ transition: all 0.2s ease-out;
564
+ top: calc(100% + 4px);
565
+ opacity: 0;
566
+ border-radius: 2px;
402
567
  }
403
568
 
404
- .Button .ripple.show {
405
- animation: ripple 0.35s ease-out;
569
+ .FilteredList.popup.visible {
570
+ opacity: 1;
571
+ visibility: visible;
406
572
  }
407
573
 
408
- .Button:active .ripple.showed {
409
- opacity: 1;
574
+ .FilteredList.inline {
575
+ max-height: 225px;
576
+ margin-top: 5px;
410
577
  }
411
578
 
412
- .Button:focus .ripple.focused {
413
- opacity: 1;
414
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
415
- transform: scale(1);
416
- animation: resize 1.25s ease-out infinite;
417
- animation-delay: 0.2s;
418
- animation-direction: alternate;
579
+ .FilteredList .child {
580
+ display: flex;
581
+ flex-flow: row nowrap;
582
+ align-items: center;
583
+ white-space: nowrap;
584
+ font-size: 14px;
585
+ color: #222222;
586
+ height: 30px;
587
+ padding: 5px 10px;
588
+ padding-right: 15px;
589
+ cursor: pointer;
590
+ overflow: hidden;
591
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
592
+ border-left: 5px solid #4AC263;
593
+ padding-left: 15px;
594
+ margin-left: -5px;
419
595
  }
420
596
 
421
- .Button .ripple.showed {
422
- transform: scale(2);
423
- opacity: 0;
597
+ .FilteredList .child.hidden {
598
+ height: 0 !important;
599
+ padding: 0 !important;
424
600
  }
425
601
 
426
- @keyframes ripple {
427
- to {
428
- transform: scale(2);
429
- }
602
+ .FilteredList .child.selected {
603
+ background-color: #F0F0F0;
604
+ padding-left: 10px;
605
+ margin-left: 0px;
430
606
  }
431
- @keyframes resize {
432
- to {
433
- transform: scale(0.9);
434
- }
607
+
608
+ .FilteredList .child.active {
609
+ background-color: #eeeeee;
435
610
  }
436
- .Button.raised {
437
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
611
+
612
+ .FilteredList .child {
613
+ margin-top: 8px;
438
614
  }
439
615
 
440
- .Button.raised:hover {
441
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
616
+ .FilteredList .child.hidden {
617
+ margin-top: 0;
442
618
  }
443
619
 
444
- .Button.raised:active {
445
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
620
+ .FilteredList .child:not(.hidden) ~ .child {
621
+ margin-top: 0;
446
622
  }
447
623
 
448
- .Button.disabled {
449
- box-shadow: none;
450
- background: #D9D9D9;
451
- color: #999999;
624
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
625
+ margin-bottom: 8px;
452
626
  }
453
627
 
454
- .Button.disabled:hover {
455
- background-color: #cccccc;
628
+ .FilteredList .child:not(.hidden):last-child {
629
+ margin-bottom: 8px;
456
630
  }
457
631
 
458
- .Button::-moz-focus-inner {
459
- border: 0;
632
+ .DNDContainer {
633
+ position: relative;
460
634
  }
461
635
 
462
- .animated {
463
- transition: opacity 250ms ease;
636
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
637
+ cursor: pointer;
638
+ }
639
+
640
+ .DNDContainer .Draggable.placeholder {
641
+ opacity: 0.2;
642
+ }
643
+
644
+ .DNDContainer .Draggable.copy {
645
+ position: absolute;
646
+ box-sizing: border-box;
647
+ will-change: transform;
464
648
  opacity: 0;
465
649
  }
466
650
 
467
- .animated.mounting, .animated.mounted {
468
- opacity: 1;
651
+ .DNDContainer .Draggable.dragged {
652
+ z-index: 10;
469
653
  }
470
654
 
471
- .CircleProgress {
472
- width: 48px;
473
- height: 48px;
655
+ .DNDContainer .overlay {
656
+ position: absolute;
657
+ top: 0;
658
+ left: 0;
659
+ right: 0;
660
+ bottom: 0;
661
+ pointer-events: none;
474
662
  }
475
663
 
476
- .CircleProgress .line {
477
- stroke-width: 2px;
478
- stroke: black;
479
- stroke-linecap: square;
480
- fill: none;
481
- transition: stroke-dashoffset 0.2s ease;
664
+ .DropFileInput {
665
+ flex-grow: 1;
666
+ }
667
+
668
+ .DropFileInput .Dropzone {
669
+ border: 1px dashed #808080;
670
+ padding: 12px;
671
+ display: flex;
672
+ flex-flow: row nowrap;
673
+ justify-content: center;
674
+ align-items: center;
675
+ color: gray;
676
+ cursor: pointer;
677
+ border-radius: 3px;
678
+ font-weight: normal;
679
+ line-height: 22px;
680
+ font-size: 14px;
681
+ color: #7E7E7E;
682
+ max-width: 100%;
683
+ word-break: break-all;
684
+ word-break: break-word;
685
+ }
686
+
687
+ .DropFileInput .Dropzone .icon.withText {
688
+ margin-right: 10px;
689
+ }
690
+
691
+ .Button.FloatingActionButton {
692
+ position: absolute;
693
+ right: 16px;
694
+ bottom: 16px;
695
+ width: 56px;
696
+ height: 56px;
697
+ padding: 16px;
698
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
699
+ }
700
+
701
+ .Button.FloatingActionButton.raised {
702
+ 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);
703
+ }
704
+
705
+ .Button.FloatingActionButton.mini {
706
+ width: 40px;
707
+ height: 40px;
708
+ padding: 8px;
709
+ }
710
+
711
+ .Button.FloatingActionButton.hidden {
712
+ bottom: -100px;
482
713
  }
483
714
 
484
715
  .DialogModal {
@@ -523,98 +754,6 @@
523
754
  margin-bottom: 0;
524
755
  }
525
756
 
526
- .DNDContainer {
527
- position: relative;
528
- }
529
-
530
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
531
- cursor: pointer;
532
- }
533
-
534
- .DNDContainer .Draggable.placeholder {
535
- opacity: 0.2;
536
- }
537
-
538
- .DNDContainer .Draggable.copy {
539
- position: absolute;
540
- box-sizing: border-box;
541
- will-change: transform;
542
- opacity: 0;
543
- }
544
-
545
- .DNDContainer .Draggable.dragged {
546
- z-index: 10;
547
- }
548
-
549
- .DNDContainer .overlay {
550
- position: absolute;
551
- top: 0;
552
- left: 0;
553
- right: 0;
554
- bottom: 0;
555
- pointer-events: none;
556
- }
557
-
558
- .Dropzone {
559
- position: relative;
560
- }
561
-
562
- .Dropzone > .overlay {
563
- position: absolute;
564
- left: 0;
565
- right: 0;
566
- top: 0;
567
- bottom: 0;
568
- background-color: #38ADC4;
569
- z-index: 1;
570
- opacity: 0;
571
- transition: all 0.2s ease;
572
- transition-delay: 100ms;
573
- visibility: hidden;
574
- display: flex;
575
- justify-content: center;
576
- align-items: center;
577
- }
578
-
579
- .Dropzone > .overlay .drop {
580
- border-radius: 4px;
581
- border: 1px dashed #FFFFFF;
582
- position: absolute;
583
- top: 18px;
584
- left: 18px;
585
- right: 18px;
586
- bottom: 18px;
587
- display: flex;
588
- justify-content: center;
589
- align-items: center;
590
- font-weight: 500;
591
- font-size: 18px;
592
- color: #FFFFFF;
593
- }
594
-
595
- .Dropzone.dragging > .overlay {
596
- opacity: 0.7;
597
- visibility: visible;
598
- transition-delay: 0s;
599
- }
600
-
601
- .Dropzone.dragging > * {
602
- pointer-events: none;
603
- }
604
-
605
- .Dropzone > input.file {
606
- position: absolute;
607
- left: 0;
608
- right: 0;
609
- top: 0;
610
- bottom: 0;
611
- width: 100%;
612
- height: 100%;
613
- opacity: 0;
614
- cursor: pointer;
615
- z-index: 1;
616
- }
617
-
618
757
  .FormUploadProgress {
619
758
  position: absolute;
620
759
  left: 0;
@@ -684,100 +823,6 @@
684
823
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
685
824
  }
686
825
 
687
- .Checkbox {
688
- position: relative;
689
- white-space: pre;
690
- }
691
-
692
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
693
- box-sizing: border-box;
694
- }
695
-
696
- .Checkbox label {
697
- font-family: Roboto, sans-serif;
698
- font-size: 14px;
699
- color: #1e252d;
700
- cursor: pointer;
701
- }
702
-
703
- .Checkbox label:before, .Checkbox label:after {
704
- content: "";
705
- position: absolute;
706
- left: 0;
707
- top: 0;
708
- }
709
-
710
- .Checkbox label:before {
711
- width: 20px;
712
- height: 20px;
713
- background: #fff;
714
- border: 2px solid #252525;
715
- border-radius: 2px;
716
- cursor: pointer;
717
- transition: background 0.3s;
718
- }
719
-
720
- .Checkbox input[type=checkbox] {
721
- outline: 0;
722
- margin-right: 10px;
723
- visibility: hidden;
724
- }
725
-
726
- .Checkbox input[type=checkbox]:checked + label:before {
727
- background: #4AC263;
728
- border: none;
729
- }
730
-
731
- .Checkbox input[type=checkbox]:checked + label:after {
732
- transform: rotate(-45deg);
733
- top: 6px;
734
- left: 4px;
735
- width: 12px;
736
- height: 6px;
737
- border: 2px solid #fff;
738
- border-top-style: none;
739
- border-right-style: none;
740
- }
741
-
742
- .Checkbox input[type=checkbox]:disabled + label {
743
- color: gray;
744
- }
745
-
746
- .Checkbox input[type=checkbox]:disabled + label:before {
747
- border-color: rgba(0, 0, 0, 0.26);
748
- }
749
-
750
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
751
- background: rgba(0, 0, 0, 0.26);
752
- }
753
-
754
- .DropFileInput {
755
- flex-grow: 1;
756
- }
757
-
758
- .DropFileInput .Dropzone {
759
- border: 1px dashed #808080;
760
- padding: 12px;
761
- display: flex;
762
- flex-flow: row nowrap;
763
- justify-content: center;
764
- align-items: center;
765
- color: gray;
766
- cursor: pointer;
767
- border-radius: 3px;
768
- font-weight: normal;
769
- line-height: 22px;
770
- font-size: 14px;
771
- color: #7E7E7E;
772
- max-width: 100%;
773
- word-break: break-all;
774
- word-break: break-word;
775
- }
776
-
777
- .DropFileInput .Dropzone .icon.withText {
778
- margin-right: 10px;
779
- }
780
-
781
826
  .ImageGallery {
782
827
  position: fixed;
783
828
  top: 0;
@@ -1013,110 +1058,64 @@
1013
1058
  font-size: 24px;
1014
1059
  }
1015
1060
 
1016
- .Button.FloatingActionButton {
1017
- position: absolute;
1018
- right: 16px;
1019
- bottom: 16px;
1020
- width: 56px;
1021
- height: 56px;
1022
- padding: 16px;
1023
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1024
- }
1025
-
1026
- .Button.FloatingActionButton.raised {
1027
- 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);
1028
- }
1029
-
1030
- .Button.FloatingActionButton.mini {
1031
- width: 40px;
1032
- height: 40px;
1033
- padding: 8px;
1034
- }
1035
-
1036
- .Button.FloatingActionButton.hidden {
1037
- bottom: -100px;
1038
- }
1039
-
1040
- .Switch {
1041
- display: inline-flex;
1042
- padding-top: 5px;
1043
- }
1044
-
1045
- .Switch .switch-input {
1046
- display: none;
1047
- }
1048
-
1049
- .Switch .switch-label {
1061
+ .Dropzone {
1050
1062
  position: relative;
1051
- display: inline-flex;
1052
- align-items: center;
1053
- min-width: 38px;
1054
- height: 24px;
1055
- cursor: pointer;
1056
- font-weight: 500;
1057
- text-align: left;
1058
- user-select: none;
1059
- margin: 0;
1060
- padding: 0;
1061
- padding-left: 44px;
1062
- box-sizing: border-box;
1063
1063
  }
1064
1064
 
1065
- .Switch .switch-label:before, .Switch .switch-label:after {
1066
- content: "";
1067
- box-sizing: border-box;
1065
+ .Dropzone > .overlay {
1068
1066
  position: absolute;
1069
- margin: 0;
1070
- outline: 0;
1071
- top: 50%;
1072
- transform: translate(0, -50%);
1073
- transition: all 0.3s ease;
1074
- }
1075
-
1076
- .Switch .switch-label:before {
1077
- left: 1px;
1078
- width: 34px;
1079
- height: 14px;
1080
- background-color: #9E9E9E;
1081
- border-radius: 8px;
1082
- }
1083
-
1084
- .Switch .switch-label:after {
1085
1067
  left: 0;
1086
- width: 20px;
1087
- height: 20px;
1088
- background-color: #FAFAFA;
1089
- border-radius: 50%;
1090
- 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);
1091
- }
1092
-
1093
- .Switch .switch-label .toggle--on {
1094
- display: none;
1095
- }
1096
-
1097
- .Switch .switch-label .toggle--off {
1098
- display: inline-block;
1099
- }
1100
-
1101
- .Switch .switch-label .label {
1102
- margin-right: 5px;
1068
+ right: 0;
1069
+ top: 0;
1070
+ bottom: 0;
1071
+ background-color: #38ADC4;
1072
+ z-index: 1;
1073
+ opacity: 0;
1074
+ transition: all 0.2s ease;
1075
+ transition-delay: 100ms;
1076
+ visibility: hidden;
1077
+ display: flex;
1078
+ justify-content: center;
1079
+ align-items: center;
1103
1080
  }
1104
1081
 
1105
- .Switch .switch-input:checked + .switch-label:before {
1106
- background-color: #A5D6A7;
1082
+ .Dropzone > .overlay .drop {
1083
+ border-radius: 4px;
1084
+ border: 1px dashed #FFFFFF;
1085
+ position: absolute;
1086
+ top: 18px;
1087
+ left: 18px;
1088
+ right: 18px;
1089
+ bottom: 18px;
1090
+ display: flex;
1091
+ justify-content: center;
1092
+ align-items: center;
1093
+ font-weight: 500;
1094
+ font-size: 18px;
1095
+ color: #FFFFFF;
1107
1096
  }
1108
1097
 
1109
- .Switch .switch-input:checked + .switch-label:after {
1110
- background-color: #4CAF50;
1111
- transform: translate(80%, -50%);
1098
+ .Dropzone.dragging > .overlay {
1099
+ opacity: 0.7;
1100
+ visibility: visible;
1101
+ transition-delay: 0s;
1112
1102
  }
1113
1103
 
1114
- .Switch .switch-input:checked + .switch-label .toggle--on {
1115
- display: inline-block;
1104
+ .Dropzone.dragging > * {
1105
+ pointer-events: none;
1116
1106
  }
1117
1107
 
1118
- .Switch .switch-input:checked + .switch-label .toggle--off {
1119
- display: none;
1108
+ .Dropzone > input.file {
1109
+ position: absolute;
1110
+ left: 0;
1111
+ right: 0;
1112
+ top: 0;
1113
+ bottom: 0;
1114
+ width: 100%;
1115
+ height: 100%;
1116
+ opacity: 0;
1117
+ cursor: pointer;
1118
+ z-index: 1;
1120
1119
  }
1121
1120
 
1122
1121
  .ModalMenu {
@@ -1156,6 +1155,76 @@
1156
1155
  margin-left: 4px;
1157
1156
  }
1158
1157
 
1158
+ .Modal {
1159
+ display: block;
1160
+ position: fixed;
1161
+ top: 0;
1162
+ left: 0;
1163
+ right: 0;
1164
+ bottom: 100%;
1165
+ overflow-y: scroll;
1166
+ transition: bottom 0ms linear;
1167
+ transition-delay: 0.2s;
1168
+ }
1169
+
1170
+ .Modal.show {
1171
+ transition-delay: 0s;
1172
+ bottom: 0;
1173
+ }
1174
+
1175
+ .Modal > .overlay {
1176
+ position: fixed;
1177
+ top: 0;
1178
+ bottom: 100%;
1179
+ left: 0;
1180
+ right: 0;
1181
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1182
+ opacity: 0;
1183
+ background-color: black;
1184
+ pointer-events: none;
1185
+ }
1186
+
1187
+ .Modal > .overlay.show {
1188
+ opacity: 0.5;
1189
+ bottom: 0;
1190
+ }
1191
+
1192
+ .Modal > .content {
1193
+ left: 50%;
1194
+ top: 10vh;
1195
+ margin-bottom: 10vh;
1196
+ font-size: 16px;
1197
+ padding: 0;
1198
+ opacity: 0;
1199
+ transition: opacity 0.25s ease, transform 0.25s ease;
1200
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1201
+ transform-origin: top;
1202
+ position: absolute;
1203
+ border-radius: 2px;
1204
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1205
+ }
1206
+
1207
+ .Modal > .content.show {
1208
+ opacity: 1;
1209
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1210
+ }
1211
+
1212
+ .Modal > .content > .Scrollable {
1213
+ overflow: visible;
1214
+ max-height: 80vh;
1215
+ }
1216
+
1217
+ .Modal > .content > .Scrollable > .viewport {
1218
+ min-width: 10px;
1219
+ min-height: 10px;
1220
+ }
1221
+
1222
+ .Modal > .content > .Button.close {
1223
+ top: 10px;
1224
+ right: 10px;
1225
+ position: absolute;
1226
+ }
1227
+
1159
1228
  .SpinningProgress {
1160
1229
  width: 48px;
1161
1230
  height: 48px;
@@ -1209,144 +1278,86 @@
1209
1278
  stroke-dashoffset: -53px;
1210
1279
  }
1211
1280
  }
1212
- .Scrollable {
1213
- max-height: 250px;
1214
- max-width: 250px;
1215
- padding-right: 5px;
1216
- position: relative;
1217
- display: flex;
1218
- flex-flow: column;
1219
- align-items: stretch;
1220
- overflow: hidden;
1221
- }
1222
-
1223
- .Scrollable:hover > .scrollbar.auto {
1224
- transition-delay: 0s;
1225
- opacity: 1;
1226
- }
1227
-
1228
- .Scrollable .viewport {
1229
- overflow-y: scroll;
1230
- overflow-x: scroll;
1231
- max-height: 100%;
1232
- scroll-behavior: smooth;
1233
- scrollbar-width: none;
1281
+ .Switch {
1282
+ display: inline-flex;
1283
+ padding-top: 5px;
1234
1284
  }
1235
1285
 
1236
- .Scrollable .viewport::-webkit-scrollbar {
1286
+ .Switch .switch-input {
1237
1287
  display: none;
1238
1288
  }
1239
1289
 
1240
- .Scrollable.without-scroll-horizontal {
1241
- max-width: unset;
1242
- }
1243
-
1244
- .Scrollable.without-scroll {
1245
- padding-right: 0;
1246
- max-height: unset;
1247
- }
1248
-
1249
- .Scrollable.without-scroll > .viewport {
1250
- padding-right: 0;
1251
- margin-right: 0;
1252
- }
1253
-
1254
- .Scrollable.without-scroll > .scrollbar {
1255
- visibility: hidden;
1256
- }
1257
-
1258
- .Scrollable .scrollbar {
1259
- position: absolute;
1260
- right: 0px;
1261
- top: 0px;
1262
- width: 5px;
1263
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1264
- transition-delay: 0.5s;
1265
- z-index: 1;
1266
- }
1267
-
1268
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1269
- opacity: 0;
1270
- }
1271
-
1272
- .Scrollable .scrollbar .thumb {
1273
- background-color: rgba(0, 0, 0, 0.3);
1274
- width: 5px;
1275
- position: absolute;
1276
- right: 0px;
1277
- top: 0px;
1290
+ .Switch .switch-label {
1291
+ position: relative;
1292
+ display: inline-flex;
1293
+ align-items: center;
1294
+ min-width: 38px;
1295
+ height: 24px;
1296
+ cursor: pointer;
1297
+ font-weight: 500;
1298
+ text-align: left;
1278
1299
  user-select: none;
1279
- will-change: top;
1280
- border-radius: 2px;
1300
+ margin: 0;
1301
+ padding: 0;
1302
+ padding-left: 44px;
1303
+ box-sizing: border-box;
1281
1304
  }
1282
1305
 
1283
- .Scrollable .scrollbar .thumb:hover {
1284
- background-color: rgba(0, 0, 0, 0.5);
1306
+ .Switch .switch-label:before, .Switch .switch-label:after {
1307
+ content: "";
1308
+ box-sizing: border-box;
1309
+ position: absolute;
1310
+ margin: 0;
1311
+ outline: 0;
1312
+ top: 50%;
1313
+ transform: translate(0, -50%);
1314
+ transition: all 0.3s ease;
1285
1315
  }
1286
1316
 
1287
- .Scrollable .scrollbar .thumb:active {
1288
- background-color: rgba(0, 0, 0, 0.7);
1317
+ .Switch .switch-label:before {
1318
+ left: 1px;
1319
+ width: 34px;
1320
+ height: 14px;
1321
+ background-color: #9E9E9E;
1322
+ border-radius: 8px;
1289
1323
  }
1290
1324
 
1291
- .Scrollable .scrollbar.horizontal {
1292
- left: 0px;
1293
- right: 0px;
1294
- height: 5px;
1295
- bottom: 0;
1296
- width: unset;
1297
- top: unset;
1325
+ .Switch .switch-label:after {
1326
+ left: 0;
1327
+ width: 20px;
1328
+ height: 20px;
1329
+ background-color: #FAFAFA;
1330
+ border-radius: 50%;
1331
+ 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);
1298
1332
  }
1299
1333
 
1300
- .Scrollable .scrollbar.horizontal .thumb {
1301
- height: 5px;
1302
- left: 0px;
1303
- bottom: 0px;
1304
- will-change: left;
1334
+ .Switch .switch-label .toggle--on {
1335
+ display: none;
1305
1336
  }
1306
-
1307
- .Snackbar {
1308
- transform: translateX(-50%);
1309
- overflow: hidden;
1310
- background-color: #323232;
1311
- padding: 14px 24px 14px 24px;
1312
- color: #fff;
1313
- min-width: 288px;
1314
- max-width: 568px;
1315
- position: fixed;
1316
- bottom: -50px;
1317
- left: 50%;
1318
- display: flex;
1319
- flex-wrap: nowrap;
1320
- align-items: center;
1321
- opacity: 0;
1322
- transition: bottom 0.25s ease, opacity 0.2s ease;
1323
- border-radius: 4px;
1324
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1337
+
1338
+ .Switch .switch-label .toggle--off {
1339
+ display: inline-block;
1325
1340
  }
1326
1341
 
1327
- .Snackbar.shown {
1328
- bottom: 15px;
1329
- opacity: 1;
1342
+ .Switch .switch-label .label {
1343
+ margin-right: 5px;
1330
1344
  }
1331
1345
 
1332
- .Snackbar .message {
1333
- overflow: hidden;
1334
- line-height: 1.2em;
1335
- min-height: 1.2em;
1336
- max-height: 2.4em;
1337
- flex: 1;
1346
+ .Switch .switch-input:checked + .switch-label:before {
1347
+ background-color: #A5D6A7;
1338
1348
  }
1339
1349
 
1340
- .Snackbar .action {
1341
- text-transform: uppercase;
1342
- font-weight: bold;
1343
- margin-left: 48px;
1344
- color: #bf3727;
1350
+ .Switch .switch-input:checked + .switch-label:after {
1351
+ background-color: #4CAF50;
1352
+ transform: translate(80%, -50%);
1345
1353
  }
1346
1354
 
1347
- .Snackbar .action a {
1348
- text-decoration: none;
1349
- color: #bf3727;
1355
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1356
+ display: inline-block;
1357
+ }
1358
+
1359
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1360
+ display: none;
1350
1361
  }
1351
1362
 
1352
1363
  .TextField {
@@ -1492,173 +1503,162 @@
1492
1503
  animation-name: shake;
1493
1504
  }
1494
1505
 
1495
- .DNDContainer .DroppableList .Draggable {
1496
- transform: unset;
1497
- transition: unset;
1498
- opacity: 1;
1499
- }
1500
-
1501
- .DNDContainer .DroppableList .Draggable.dragged {
1502
- transition: unset !important;
1503
- }
1504
-
1505
- .DNDContainer .DroppableList.hover .Draggable {
1506
- transition: transform 0.2s ease-in;
1506
+ .Scrollable {
1507
+ max-height: 250px;
1508
+ max-width: 250px;
1509
+ padding-right: 5px;
1510
+ position: relative;
1511
+ display: flex;
1512
+ flex-flow: column;
1513
+ align-items: stretch;
1514
+ overflow: hidden;
1507
1515
  }
1508
1516
 
1509
- .DNDContainer .DroppableList.resetting .Draggable {
1510
- transition: transform 0.1s ease-in;
1517
+ .Scrollable:hover > .scrollbar.auto {
1518
+ transition-delay: 0s;
1519
+ opacity: 1;
1511
1520
  }
1512
1521
 
1513
- .Modal {
1514
- display: block;
1515
- position: fixed;
1516
- top: 0;
1517
- left: 0;
1518
- right: 0;
1519
- bottom: 100%;
1522
+ .Scrollable .viewport {
1520
1523
  overflow-y: scroll;
1521
- transition: bottom 0ms linear;
1522
- transition-delay: 0.2s;
1524
+ overflow-x: scroll;
1525
+ max-height: 100%;
1526
+ scroll-behavior: smooth;
1527
+ scrollbar-width: none;
1523
1528
  }
1524
1529
 
1525
- .Modal.show {
1526
- transition-delay: 0s;
1527
- bottom: 0;
1530
+ .Scrollable .viewport::-webkit-scrollbar {
1531
+ display: none;
1528
1532
  }
1529
1533
 
1530
- .Modal > .overlay {
1531
- position: fixed;
1532
- top: 0;
1533
- bottom: 100%;
1534
- left: 0;
1535
- right: 0;
1536
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1537
- opacity: 0;
1538
- background-color: black;
1539
- pointer-events: none;
1534
+ .Scrollable.without-scroll-horizontal {
1535
+ max-width: unset;
1540
1536
  }
1541
1537
 
1542
- .Modal > .overlay.show {
1543
- opacity: 0.5;
1544
- bottom: 0;
1538
+ .Scrollable.without-scroll {
1539
+ padding-right: 0;
1540
+ max-height: unset;
1545
1541
  }
1546
1542
 
1547
- .Modal > .content {
1548
- left: 50%;
1549
- top: 10vh;
1550
- margin-bottom: 10vh;
1551
- font-size: 16px;
1552
- padding: 0;
1553
- opacity: 0;
1554
- transition: opacity 0.25s ease, transform 0.25s ease;
1555
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1556
- transform-origin: top;
1557
- position: absolute;
1558
- border-radius: 2px;
1559
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1543
+ .Scrollable.without-scroll > .viewport {
1544
+ padding-right: 0;
1545
+ margin-right: 0;
1560
1546
  }
1561
1547
 
1562
- .Modal > .content.show {
1563
- opacity: 1;
1564
- transform: scaleY(1) translateY(0px) translateX(-50%);
1548
+ .Scrollable.without-scroll > .scrollbar {
1549
+ visibility: hidden;
1565
1550
  }
1566
1551
 
1567
- .Modal > .content > .Scrollable {
1568
- overflow: visible;
1569
- max-height: 80vh;
1552
+ .Scrollable .scrollbar {
1553
+ position: absolute;
1554
+ right: 0px;
1555
+ top: 0px;
1556
+ width: 5px;
1557
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1558
+ transition-delay: 0.5s;
1559
+ z-index: 1;
1570
1560
  }
1571
1561
 
1572
- .Modal > .content > .Scrollable > .viewport {
1573
- min-width: 10px;
1574
- min-height: 10px;
1562
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1563
+ opacity: 0;
1575
1564
  }
1576
1565
 
1577
- .Modal > .content > .Button.close {
1578
- top: 10px;
1579
- right: 10px;
1566
+ .Scrollable .scrollbar .thumb {
1567
+ background-color: rgba(0, 0, 0, 0.3);
1568
+ width: 5px;
1580
1569
  position: absolute;
1570
+ right: 0px;
1571
+ top: 0px;
1572
+ user-select: none;
1573
+ will-change: top;
1574
+ border-radius: 2px;
1581
1575
  }
1582
1576
 
1583
- .FilteredList {
1584
- max-height: 250px;
1585
- position: relative;
1577
+ .Scrollable .scrollbar .thumb:hover {
1578
+ background-color: rgba(0, 0, 0, 0.5);
1586
1579
  }
1587
1580
 
1588
- .FilteredList.popup {
1589
- padding: 0;
1590
- visibility: hidden;
1591
- position: absolute;
1592
- background: white;
1593
- z-index: 4;
1594
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
1595
- transition: all 0.2s ease-out;
1596
- top: calc(100% + 4px);
1597
- opacity: 0;
1598
- border-radius: 2px;
1581
+ .Scrollable .scrollbar .thumb:active {
1582
+ background-color: rgba(0, 0, 0, 0.7);
1599
1583
  }
1600
1584
 
1601
- .FilteredList.popup.visible {
1602
- opacity: 1;
1603
- visibility: visible;
1585
+ .Scrollable .scrollbar.horizontal {
1586
+ left: 0px;
1587
+ right: 0px;
1588
+ height: 5px;
1589
+ bottom: 0;
1590
+ width: unset;
1591
+ top: unset;
1604
1592
  }
1605
1593
 
1606
- .FilteredList.inline {
1607
- max-height: 225px;
1608
- margin-top: 5px;
1594
+ .Scrollable .scrollbar.horizontal .thumb {
1595
+ height: 5px;
1596
+ left: 0px;
1597
+ bottom: 0px;
1598
+ will-change: left;
1609
1599
  }
1610
1600
 
1611
- .FilteredList .child {
1601
+ .Snackbar {
1602
+ transform: translateX(-50%);
1603
+ overflow: hidden;
1604
+ background-color: #323232;
1605
+ padding: 14px 24px 14px 24px;
1606
+ color: #fff;
1607
+ min-width: 288px;
1608
+ max-width: 568px;
1609
+ position: fixed;
1610
+ bottom: -50px;
1611
+ left: 50%;
1612
1612
  display: flex;
1613
- flex-flow: row nowrap;
1613
+ flex-wrap: nowrap;
1614
1614
  align-items: center;
1615
- white-space: nowrap;
1616
- font-size: 14px;
1617
- color: #222222;
1618
- height: 30px;
1619
- padding: 5px 10px;
1620
- padding-right: 15px;
1621
- cursor: pointer;
1622
- overflow: hidden;
1623
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1624
- border-left: 5px solid #4AC263;
1625
- padding-left: 15px;
1626
- margin-left: -5px;
1615
+ opacity: 0;
1616
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1617
+ border-radius: 4px;
1618
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1627
1619
  }
1628
1620
 
1629
- .FilteredList .child.hidden {
1630
- height: 0 !important;
1631
- padding: 0 !important;
1621
+ .Snackbar.shown {
1622
+ bottom: 15px;
1623
+ opacity: 1;
1632
1624
  }
1633
1625
 
1634
- .FilteredList .child.selected {
1635
- background-color: #F0F0F0;
1636
- padding-left: 10px;
1637
- margin-left: 0px;
1626
+ .Snackbar .message {
1627
+ overflow: hidden;
1628
+ line-height: 1.2em;
1629
+ min-height: 1.2em;
1630
+ max-height: 2.4em;
1631
+ flex: 1;
1638
1632
  }
1639
1633
 
1640
- .FilteredList .child.active {
1641
- background-color: #eeeeee;
1634
+ .Snackbar .action {
1635
+ text-transform: uppercase;
1636
+ font-weight: bold;
1637
+ margin-left: 48px;
1638
+ color: #bf3727;
1642
1639
  }
1643
1640
 
1644
- .FilteredList .child {
1645
- margin-top: 8px;
1641
+ .Snackbar .action a {
1642
+ text-decoration: none;
1643
+ color: #bf3727;
1646
1644
  }
1647
1645
 
1648
- .FilteredList .child.hidden {
1649
- margin-top: 0;
1646
+ .DNDContainer .DroppableList .Draggable {
1647
+ transform: unset;
1648
+ transition: unset;
1649
+ opacity: 1;
1650
1650
  }
1651
1651
 
1652
- .FilteredList .child:not(.hidden) ~ .child {
1653
- margin-top: 0;
1652
+ .DNDContainer .DroppableList .Draggable.dragged {
1653
+ transition: unset !important;
1654
1654
  }
1655
1655
 
1656
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1657
- margin-bottom: 8px;
1656
+ .DNDContainer .DroppableList.hover .Draggable {
1657
+ transition: transform 0.2s ease-in;
1658
1658
  }
1659
1659
 
1660
- .FilteredList .child:not(.hidden):last-child {
1661
- margin-bottom: 8px;
1660
+ .DNDContainer .DroppableList.resetting .Draggable {
1661
+ transition: transform 0.1s ease-in;
1662
1662
  }
1663
1663
 
1664
1664
  .ScrollableTable .Scrollable .scrollbar {