react-ui-basics 0.0.157 → 0.0.158

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,168 @@
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
+ display: inline-flex;
17
+ justify-content: center;
18
+ align-items: center;
19
+ cursor: pointer;
20
+ overflow: hidden;
21
+ user-select: none;
22
+ border-radius: 3px;
23
+ transition: all 0.2s ease;
24
+ }
25
+
26
+ .Button.flat {
27
+ background-color: transparent;
28
+ }
29
+
30
+ .Button.flat:hover {
31
+ background-color: rgba(0, 0, 0, 0.05);
32
+ }
33
+
34
+ .Button.green {
35
+ background-color: #43a047;
36
+ color: white;
37
+ }
38
+
39
+ .Button.green:hover {
40
+ background-color: #3b8e3f;
41
+ }
42
+
43
+ .Button.blue {
44
+ background-color: #039be5;
45
+ color: white;
46
+ }
47
+
48
+ .Button.blue:hover {
49
+ background-color: #038acc;
50
+ }
51
+
52
+ .Button.red {
53
+ background-color: #e53935;
54
+ color: white;
55
+ }
56
+
57
+ .Button.red:hover {
58
+ background-color: #e2231e;
59
+ }
60
+
61
+ .Button.black {
62
+ background-color: #1e252d;
63
+ color: white;
64
+ }
65
+
66
+ .Button.black:hover {
67
+ background-color: #14181e;
68
+ }
69
+
70
+ .Button.gray {
71
+ background: #D9D9D9;
72
+ color: #999999;
73
+ }
74
+
75
+ .Button.gray:hover {
76
+ background-color: #cccccc;
77
+ }
78
+
79
+ .Button.small {
80
+ padding: 0px 8px;
81
+ min-height: 16px;
82
+ min-width: 16px;
83
+ }
84
+
85
+ .Button > .material-icons {
86
+ margin-right: 10px;
87
+ }
88
+
89
+ .Button.round {
90
+ padding: 0px;
91
+ min-width: 36px;
92
+ border-radius: 50%;
93
+ }
94
+
95
+ .Button.round > .material-icons {
96
+ margin: 0px;
97
+ }
98
+
99
+ .Button .ripple {
100
+ position: absolute;
101
+ background: rgba(0, 0, 0, 0.1);
102
+ border-radius: 100%;
103
+ transform: scale(0);
104
+ pointer-events: none;
105
+ transition: opacity 0.2s ease-out;
106
+ }
107
+
108
+ .Button .ripple.show {
109
+ animation: ripple 0.35s ease-out;
110
+ }
111
+
112
+ .Button:active .ripple.showed {
113
+ opacity: 1;
114
+ }
115
+
116
+ .Button:focus .ripple.focused {
117
+ opacity: 1;
118
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
119
+ transform: scale(1);
120
+ animation: resize 1.25s ease-out infinite;
121
+ animation-delay: 0.2s;
122
+ animation-direction: alternate;
123
+ }
124
+
125
+ .Button .ripple.showed {
126
+ transform: scale(2);
127
+ opacity: 0;
128
+ }
129
+
130
+ @keyframes ripple {
131
+ to {
132
+ transform: scale(2);
133
+ }
134
+ }
135
+ @keyframes resize {
136
+ to {
137
+ transform: scale(0.9);
138
+ }
139
+ }
140
+ .Button.raised {
141
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
142
+ }
143
+
144
+ .Button.raised:hover {
145
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
146
+ }
147
+
148
+ .Button.raised:active {
149
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
150
+ }
151
+
152
+ .Button.disabled {
153
+ box-shadow: none;
154
+ background: #D9D9D9;
155
+ color: #999999;
156
+ }
157
+
158
+ .Button.disabled:hover {
159
+ background-color: #cccccc;
160
+ }
161
+
162
+ .Button::-moz-focus-inner {
163
+ border: 0;
164
+ }
165
+
1
166
  .AutocompleteSelect {
2
167
  display: inline-flex;
3
168
  flex-flow: column;
@@ -302,6 +467,19 @@
302
467
  opacity: 1;
303
468
  }
304
469
 
470
+ .CircleProgress {
471
+ width: 48px;
472
+ height: 48px;
473
+ }
474
+
475
+ .CircleProgress .line {
476
+ stroke-width: 2px;
477
+ stroke: black;
478
+ stroke-linecap: square;
479
+ fill: none;
480
+ transition: stroke-dashoffset 0.2s ease;
481
+ }
482
+
305
483
  .Checkbox {
306
484
  position: relative;
307
485
  white-space: pre;
@@ -369,6 +547,38 @@
369
547
  background: rgba(0, 0, 0, 0.26);
370
548
  }
371
549
 
550
+ .DNDContainer {
551
+ position: relative;
552
+ }
553
+
554
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
555
+ cursor: pointer;
556
+ }
557
+
558
+ .DNDContainer .Draggable.placeholder {
559
+ opacity: 0.2;
560
+ }
561
+
562
+ .DNDContainer .Draggable.copy {
563
+ position: absolute;
564
+ box-sizing: border-box;
565
+ will-change: transform;
566
+ opacity: 0;
567
+ }
568
+
569
+ .DNDContainer .Draggable.dragged {
570
+ z-index: 10;
571
+ }
572
+
573
+ .DNDContainer .overlay {
574
+ position: absolute;
575
+ top: 0;
576
+ left: 0;
577
+ right: 0;
578
+ bottom: 0;
579
+ pointer-events: none;
580
+ }
581
+
372
582
  .DialogModal {
373
583
  overflow: hidden;
374
584
  }
@@ -411,201 +621,183 @@
411
621
  margin-bottom: 0;
412
622
  }
413
623
 
414
- .Button {
415
- position: relative;
416
- min-width: 64px;
417
- min-height: 36px;
418
- height: 24px;
419
- margin: 0px;
420
- padding: 0px 16px;
421
- border: none;
422
- outline: none;
423
- font-size: 14px;
424
- font-weight: 500;
425
- letter-spacing: 1.25px;
426
- background: #dfdfdf;
427
- text-transform: uppercase;
428
- font-family: Roboto, sans-serif;
624
+ .Switch {
429
625
  display: inline-flex;
430
- justify-content: center;
431
- align-items: center;
432
- cursor: pointer;
433
- overflow: hidden;
434
- user-select: none;
435
- border-radius: 3px;
436
- transition: all 0.2s ease;
626
+ padding-top: 5px;
437
627
  }
438
628
 
439
- .Button.flat {
440
- background-color: transparent;
629
+ .Switch .switch-input {
630
+ display: none;
441
631
  }
442
632
 
443
- .Button.flat:hover {
444
- background-color: rgba(0, 0, 0, 0.05);
633
+ .Switch .switch-label {
634
+ position: relative;
635
+ display: inline-flex;
636
+ align-items: center;
637
+ min-width: 38px;
638
+ height: 24px;
639
+ cursor: pointer;
640
+ font-weight: 500;
641
+ text-align: left;
642
+ user-select: none;
643
+ margin: 0;
644
+ padding: 0;
645
+ padding-left: 44px;
646
+ box-sizing: border-box;
445
647
  }
446
648
 
447
- .Button.green {
448
- background-color: #43a047;
449
- color: white;
450
- }
451
-
452
- .Button.green:hover {
453
- background-color: #3b8e3f;
454
- }
455
-
456
- .Button.blue {
457
- background-color: #039be5;
458
- color: white;
459
- }
460
-
461
- .Button.blue:hover {
462
- background-color: #038acc;
649
+ .Switch .switch-label:before, .Switch .switch-label:after {
650
+ content: "";
651
+ box-sizing: border-box;
652
+ position: absolute;
653
+ margin: 0;
654
+ outline: 0;
655
+ top: 50%;
656
+ transform: translate(0, -50%);
657
+ transition: all 0.3s ease;
463
658
  }
464
659
 
465
- .Button.red {
466
- background-color: #e53935;
467
- color: white;
660
+ .Switch .switch-label:before {
661
+ left: 1px;
662
+ width: 34px;
663
+ height: 14px;
664
+ background-color: #9E9E9E;
665
+ border-radius: 8px;
468
666
  }
469
667
 
470
- .Button.red:hover {
471
- background-color: #e2231e;
668
+ .Switch .switch-label:after {
669
+ left: 0;
670
+ width: 20px;
671
+ height: 20px;
672
+ background-color: #FAFAFA;
673
+ border-radius: 50%;
674
+ 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);
472
675
  }
473
676
 
474
- .Button.black {
475
- background-color: #1e252d;
476
- color: white;
677
+ .Switch .switch-label .toggle--on {
678
+ display: none;
477
679
  }
478
680
 
479
- .Button.black:hover {
480
- background-color: #14181e;
681
+ .Switch .switch-label .toggle--off {
682
+ display: inline-block;
481
683
  }
482
684
 
483
- .Button.gray {
484
- background: #D9D9D9;
485
- color: #999999;
685
+ .Switch .switch-label .label {
686
+ margin-right: 5px;
486
687
  }
487
688
 
488
- .Button.gray:hover {
489
- background-color: #cccccc;
689
+ .Switch .switch-input:checked + .switch-label:before {
690
+ background-color: #A5D6A7;
490
691
  }
491
692
 
492
- .Button.small {
493
- padding: 0px 8px;
494
- min-height: 16px;
495
- min-width: 16px;
693
+ .Switch .switch-input:checked + .switch-label:after {
694
+ background-color: #4CAF50;
695
+ transform: translate(80%, -50%);
496
696
  }
497
697
 
498
- .Button > .material-icons {
499
- margin-right: 10px;
698
+ .Switch .switch-input:checked + .switch-label .toggle--on {
699
+ display: inline-block;
500
700
  }
501
701
 
502
- .Button.round {
503
- padding: 0px;
504
- min-width: 36px;
505
- border-radius: 50%;
702
+ .Switch .switch-input:checked + .switch-label .toggle--off {
703
+ display: none;
506
704
  }
507
705
 
508
- .Button.round > .material-icons {
509
- margin: 0px;
706
+ .Dropzone {
707
+ position: relative;
510
708
  }
511
709
 
512
- .Button .ripple {
710
+ .Dropzone > .overlay {
513
711
  position: absolute;
514
- background: rgba(0, 0, 0, 0.1);
515
- border-radius: 100%;
516
- transform: scale(0);
517
- pointer-events: none;
518
- transition: opacity 0.2s ease-out;
519
- }
520
-
521
- .Button .ripple.show {
522
- animation: ripple 0.35s ease-out;
523
- }
524
-
525
- .Button:active .ripple.showed {
526
- opacity: 1;
527
- }
528
-
529
- .Button:focus .ripple.focused {
530
- opacity: 1;
531
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
532
- transform: scale(1);
533
- animation: resize 1.25s ease-out infinite;
534
- animation-delay: 0.2s;
535
- animation-direction: alternate;
536
- }
537
-
538
- .Button .ripple.showed {
539
- transform: scale(2);
712
+ left: 0;
713
+ right: 0;
714
+ top: 0;
715
+ bottom: 0;
716
+ background-color: #38ADC4;
717
+ z-index: 1;
540
718
  opacity: 0;
719
+ transition: all 0.2s ease;
720
+ transition-delay: 100ms;
721
+ visibility: hidden;
722
+ display: flex;
723
+ justify-content: center;
724
+ align-items: center;
541
725
  }
542
726
 
543
- @keyframes ripple {
544
- to {
545
- transform: scale(2);
546
- }
547
- }
548
- @keyframes resize {
549
- to {
550
- transform: scale(0.9);
551
- }
552
- }
553
- .Button.raised {
554
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
555
- }
556
-
557
- .Button.raised:hover {
558
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
727
+ .Dropzone > .overlay .drop {
728
+ border-radius: 4px;
729
+ border: 1px dashed #FFFFFF;
730
+ position: absolute;
731
+ top: 18px;
732
+ left: 18px;
733
+ right: 18px;
734
+ bottom: 18px;
735
+ display: flex;
736
+ justify-content: center;
737
+ align-items: center;
738
+ font-weight: 500;
739
+ font-size: 18px;
740
+ color: #FFFFFF;
559
741
  }
560
742
 
561
- .Button.raised:active {
562
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
743
+ .Dropzone.dragging > .overlay {
744
+ opacity: 0.7;
745
+ visibility: visible;
746
+ transition-delay: 0s;
563
747
  }
564
748
 
565
- .Button.disabled {
566
- box-shadow: none;
567
- background: #D9D9D9;
568
- color: #999999;
749
+ .Dropzone.dragging > * {
750
+ pointer-events: none;
569
751
  }
570
752
 
571
- .Button.disabled:hover {
572
- background-color: #cccccc;
753
+ .Dropzone > input.file {
754
+ position: absolute;
755
+ left: 0;
756
+ right: 0;
757
+ top: 0;
758
+ bottom: 0;
759
+ width: 100%;
760
+ height: 100%;
761
+ opacity: 0;
762
+ cursor: pointer;
763
+ z-index: 1;
573
764
  }
574
765
 
575
- .Button::-moz-focus-inner {
576
- border: 0;
766
+ .ModalMenu {
767
+ position: absolute;
768
+ top: 10px;
769
+ right: 50px;
577
770
  }
578
771
 
579
- .DNDContainer {
580
- position: relative;
772
+ .ModalMenu .material-icons {
773
+ color: #818181;
581
774
  }
582
775
 
583
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
584
- cursor: pointer;
776
+ .ModalMenu .Button.animated {
777
+ position: absolute;
778
+ transition: opacity 150ms ease-in, right 200ms ease-in;
779
+ opacity: 0;
780
+ right: 0;
781
+ top: 0;
585
782
  }
586
783
 
587
- .DNDContainer .Draggable.placeholder {
588
- opacity: 0.2;
784
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
785
+ opacity: 1;
589
786
  }
590
787
 
591
- .DNDContainer .Draggable.copy {
592
- position: absolute;
593
- box-sizing: border-box;
594
- will-change: transform;
595
- opacity: 0;
788
+ .ModalMenu .Button.animated.unmounting {
789
+ transition: opacity 100ms ease-out, right 200ms ease-out;
596
790
  }
597
791
 
598
- .DNDContainer .Draggable.dragged {
599
- z-index: 10;
792
+ .ModalMenu .Button.active {
793
+ background: #EBEBEB;
600
794
  }
601
795
 
602
- .DNDContainer .overlay {
603
- position: absolute;
604
- top: 0;
605
- left: 0;
606
- right: 0;
607
- bottom: 0;
608
- pointer-events: none;
796
+ .ModalMenu .separator {
797
+ height: 24px;
798
+ width: 1px;
799
+ background-color: #D9D9D9;
800
+ margin-left: 4px;
609
801
  }
610
802
 
611
803
  .Button.FloatingActionButton {
@@ -632,115 +824,6 @@
632
824
  bottom: -100px;
633
825
  }
634
826
 
635
- .CircleProgress {
636
- width: 48px;
637
- height: 48px;
638
- }
639
-
640
- .CircleProgress .line {
641
- stroke-width: 2px;
642
- stroke: black;
643
- stroke-linecap: square;
644
- fill: none;
645
- transition: stroke-dashoffset 0.2s ease;
646
- }
647
-
648
- .DropFileInput {
649
- flex-grow: 1;
650
- }
651
-
652
- .DropFileInput .Dropzone {
653
- border: 1px dashed #808080;
654
- padding: 12px;
655
- display: flex;
656
- flex-flow: row nowrap;
657
- justify-content: center;
658
- align-items: center;
659
- color: gray;
660
- cursor: pointer;
661
- border-radius: 3px;
662
- font-weight: normal;
663
- line-height: 22px;
664
- font-size: 14px;
665
- color: #7E7E7E;
666
- max-width: 100%;
667
- word-break: break-all;
668
- word-break: break-word;
669
- }
670
-
671
- .DropFileInput .Dropzone .icon.withText {
672
- margin-right: 10px;
673
- }
674
-
675
- .FormUploadProgress {
676
- position: absolute;
677
- left: 0;
678
- right: 0;
679
- top: 0;
680
- bottom: 0;
681
- background-color: rgba(255, 255, 255, 0.6);
682
- z-index: 2;
683
- }
684
-
685
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
686
- transition-delay: 500ms;
687
- }
688
-
689
- .FormUploadProgress .wrapper {
690
- position: sticky;
691
- top: 40%;
692
- margin-top: 40%;
693
- margin-left: 50%;
694
- transform: translateX(-50%);
695
- display: flex;
696
- flex-flow: column;
697
- justify-content: center;
698
- align-items: center;
699
- }
700
-
701
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
702
- position: absolute;
703
- width: 107px;
704
- height: 107px;
705
- top: 0;
706
- left: 0;
707
- }
708
-
709
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
710
- stroke: #2196F3;
711
- }
712
-
713
- .FormUploadProgress .wrapper > .progress {
714
- width: 107px;
715
- height: 107px;
716
- min-height: 107px;
717
- display: flex;
718
- justify-content: center;
719
- align-items: center;
720
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
721
- border-radius: 50%;
722
- background: white;
723
- position: relative;
724
- }
725
-
726
- .FormUploadProgress .wrapper > .progress > .value {
727
- display: inline-block;
728
- margin-top: 5px;
729
- font-weight: bold;
730
- line-height: 16px;
731
- font-size: 13px;
732
- text-align: center;
733
- color: #818181;
734
- }
735
-
736
- .FormUploadProgress .wrapper .cancel {
737
- min-width: 107px;
738
- margin-top: 20px;
739
- background-color: white;
740
- color: #F96B5C;
741
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
742
- }
743
-
744
827
  .Modal {
745
828
  display: block;
746
829
  position: fixed;
@@ -811,43 +894,6 @@
811
894
  position: absolute;
812
895
  }
813
896
 
814
- .ModalMenu {
815
- position: absolute;
816
- top: 10px;
817
- right: 50px;
818
- }
819
-
820
- .ModalMenu .material-icons {
821
- color: #818181;
822
- }
823
-
824
- .ModalMenu .Button.animated {
825
- position: absolute;
826
- transition: opacity 150ms ease-in, right 200ms ease-in;
827
- opacity: 0;
828
- right: 0;
829
- top: 0;
830
- }
831
-
832
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
833
- opacity: 1;
834
- }
835
-
836
- .ModalMenu .Button.animated.unmounting {
837
- transition: opacity 100ms ease-out, right 200ms ease-out;
838
- }
839
-
840
- .ModalMenu .Button.active {
841
- background: #EBEBEB;
842
- }
843
-
844
- .ModalMenu .separator {
845
- height: 24px;
846
- width: 1px;
847
- background-color: #D9D9D9;
848
- margin-left: 4px;
849
- }
850
-
851
897
  .ImageGallery {
852
898
  position: fixed;
853
899
  top: 0;
@@ -1071,98 +1117,85 @@
1071
1117
  margin-top: -15px;
1072
1118
  }
1073
1119
 
1074
- .ImageGallery .previews > .arrow.left {
1075
- left: 0;
1076
- }
1077
-
1078
- .ImageGallery .previews > .arrow.right {
1079
- right: 0;
1080
- }
1081
-
1082
- .ImageGallery .previews > .arrow .material-icons {
1083
- font-size: 24px;
1084
- }
1085
-
1086
- .Switch {
1087
- display: inline-flex;
1088
- padding-top: 5px;
1089
- }
1090
-
1091
- .Switch .switch-input {
1092
- display: none;
1093
- }
1094
-
1095
- .Switch .switch-label {
1096
- position: relative;
1097
- display: inline-flex;
1098
- align-items: center;
1099
- min-width: 38px;
1100
- height: 24px;
1101
- cursor: pointer;
1102
- font-weight: 500;
1103
- text-align: left;
1104
- user-select: none;
1105
- margin: 0;
1106
- padding: 0;
1107
- padding-left: 44px;
1108
- box-sizing: border-box;
1109
- }
1110
-
1111
- .Switch .switch-label:before, .Switch .switch-label:after {
1112
- content: "";
1113
- box-sizing: border-box;
1114
- position: absolute;
1115
- margin: 0;
1116
- outline: 0;
1117
- top: 50%;
1118
- transform: translate(0, -50%);
1119
- transition: all 0.3s ease;
1120
- }
1121
-
1122
- .Switch .switch-label:before {
1123
- left: 1px;
1124
- width: 34px;
1125
- height: 14px;
1126
- background-color: #9E9E9E;
1127
- border-radius: 8px;
1120
+ .ImageGallery .previews > .arrow.left {
1121
+ left: 0;
1128
1122
  }
1129
1123
 
1130
- .Switch .switch-label:after {
1124
+ .ImageGallery .previews > .arrow.right {
1125
+ right: 0;
1126
+ }
1127
+
1128
+ .ImageGallery .previews > .arrow .material-icons {
1129
+ font-size: 24px;
1130
+ }
1131
+
1132
+ .FormUploadProgress {
1133
+ position: absolute;
1131
1134
  left: 0;
1132
- width: 20px;
1133
- height: 20px;
1134
- background-color: #FAFAFA;
1135
- border-radius: 50%;
1136
- 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);
1135
+ right: 0;
1136
+ top: 0;
1137
+ bottom: 0;
1138
+ background-color: rgba(255, 255, 255, 0.6);
1139
+ z-index: 2;
1137
1140
  }
1138
1141
 
1139
- .Switch .switch-label .toggle--on {
1140
- display: none;
1142
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1143
+ transition-delay: 500ms;
1141
1144
  }
1142
1145
 
1143
- .Switch .switch-label .toggle--off {
1144
- display: inline-block;
1146
+ .FormUploadProgress .wrapper {
1147
+ position: sticky;
1148
+ top: 40%;
1149
+ margin-top: 40%;
1150
+ margin-left: 50%;
1151
+ transform: translateX(-50%);
1152
+ display: flex;
1153
+ flex-flow: column;
1154
+ justify-content: center;
1155
+ align-items: center;
1145
1156
  }
1146
1157
 
1147
- .Switch .switch-label .label {
1148
- margin-right: 5px;
1158
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1159
+ position: absolute;
1160
+ width: 107px;
1161
+ height: 107px;
1162
+ top: 0;
1163
+ left: 0;
1149
1164
  }
1150
1165
 
1151
- .Switch .switch-input:checked + .switch-label:before {
1152
- background-color: #A5D6A7;
1166
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1167
+ stroke: #2196F3;
1153
1168
  }
1154
1169
 
1155
- .Switch .switch-input:checked + .switch-label:after {
1156
- background-color: #4CAF50;
1157
- transform: translate(80%, -50%);
1170
+ .FormUploadProgress .wrapper > .progress {
1171
+ width: 107px;
1172
+ height: 107px;
1173
+ min-height: 107px;
1174
+ display: flex;
1175
+ justify-content: center;
1176
+ align-items: center;
1177
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1178
+ border-radius: 50%;
1179
+ background: white;
1180
+ position: relative;
1158
1181
  }
1159
1182
 
1160
- .Switch .switch-input:checked + .switch-label .toggle--on {
1183
+ .FormUploadProgress .wrapper > .progress > .value {
1161
1184
  display: inline-block;
1185
+ margin-top: 5px;
1186
+ font-weight: bold;
1187
+ line-height: 16px;
1188
+ font-size: 13px;
1189
+ text-align: center;
1190
+ color: #818181;
1162
1191
  }
1163
1192
 
1164
- .Switch .switch-input:checked + .switch-label .toggle--off {
1165
- display: none;
1193
+ .FormUploadProgress .wrapper .cancel {
1194
+ min-width: 107px;
1195
+ margin-top: 20px;
1196
+ background-color: white;
1197
+ color: #F96B5C;
1198
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1166
1199
  }
1167
1200
 
1168
1201
  .FilteredList {
@@ -1230,20 +1263,208 @@
1230
1263
  margin-top: 8px;
1231
1264
  }
1232
1265
 
1233
- .FilteredList .child.hidden {
1234
- margin-top: 0;
1266
+ .FilteredList .child.hidden {
1267
+ margin-top: 0;
1268
+ }
1269
+
1270
+ .FilteredList .child:not(.hidden) ~ .child {
1271
+ margin-top: 0;
1272
+ }
1273
+
1274
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1275
+ margin-bottom: 8px;
1276
+ }
1277
+
1278
+ .FilteredList .child:not(.hidden):last-child {
1279
+ margin-bottom: 8px;
1280
+ }
1281
+
1282
+ .DNDContainer .DroppableList .Draggable {
1283
+ transform: unset;
1284
+ transition: unset;
1285
+ opacity: 1;
1286
+ }
1287
+
1288
+ .DNDContainer .DroppableList .Draggable.dragged {
1289
+ transition: unset !important;
1290
+ }
1291
+
1292
+ .DNDContainer .DroppableList.hover .Draggable {
1293
+ transition: transform 0.2s ease-in;
1294
+ }
1295
+
1296
+ .DNDContainer .DroppableList.resetting .Draggable {
1297
+ transition: transform 0.1s ease-in;
1298
+ }
1299
+
1300
+ .DropFileInput {
1301
+ flex-grow: 1;
1302
+ }
1303
+
1304
+ .DropFileInput .Dropzone {
1305
+ border: 1px dashed #808080;
1306
+ padding: 12px;
1307
+ display: flex;
1308
+ flex-flow: row nowrap;
1309
+ justify-content: center;
1310
+ align-items: center;
1311
+ color: gray;
1312
+ cursor: pointer;
1313
+ border-radius: 3px;
1314
+ font-weight: normal;
1315
+ line-height: 22px;
1316
+ font-size: 14px;
1317
+ color: #7E7E7E;
1318
+ max-width: 100%;
1319
+ word-break: break-all;
1320
+ word-break: break-word;
1321
+ }
1322
+
1323
+ .DropFileInput .Dropzone .icon.withText {
1324
+ margin-right: 10px;
1325
+ }
1326
+
1327
+ .TextField {
1328
+ position: relative;
1329
+ width: 100%;
1330
+ }
1331
+
1332
+ .TextField > label {
1333
+ font-family: Roboto, sans-serif;
1334
+ color: rgba(0, 0, 0, 0.3);
1335
+ font-size: 16px;
1336
+ position: absolute;
1337
+ left: 0px;
1338
+ top: 16px;
1339
+ margin-top: -16px;
1340
+ transition: all 0.2s ease;
1341
+ user-select: none;
1342
+ cursor: text;
1343
+ }
1344
+
1345
+ .TextField > input {
1346
+ font-family: Roboto, sans-serif;
1347
+ color: #1e252d;
1348
+ height: 19px;
1349
+ font-size: 16px;
1350
+ width: 100%;
1351
+ border: 0px;
1352
+ padding-bottom: 4px;
1353
+ padding-top: 0;
1354
+ outline-color: rgba(0, 0, 0, 0);
1355
+ }
1356
+
1357
+ .TextField > input:focus {
1358
+ outline: none;
1359
+ }
1360
+
1361
+ .TextField > input:disabled {
1362
+ color: gray;
1363
+ background-color: white;
1364
+ }
1365
+
1366
+ .TextField > input:disabled + .border {
1367
+ height: 0px;
1368
+ border-bottom: 2px dotted #e0e0e0;
1369
+ }
1370
+
1371
+ .TextField > input::placeholder {
1372
+ font-family: Roboto, sans-serif;
1373
+ color: rgba(0, 0, 0, 0.3);
1374
+ opacity: 1;
1375
+ }
1376
+
1377
+ .TextField > .border {
1378
+ border-bottom: 1px solid #e0e0e0;
1379
+ height: 1px;
1380
+ position: relative;
1381
+ }
1382
+
1383
+ .TextField > .border .line {
1384
+ left: 50%;
1385
+ width: 0;
1386
+ height: 2px;
1387
+ min-height: 2px;
1388
+ background-color: #00bcd4;
1389
+ transition: all 0.2s ease;
1390
+ position: absolute;
1391
+ }
1392
+
1393
+ .TextField > .error {
1394
+ text-align: left;
1395
+ font-size: 10px;
1396
+ min-height: 0;
1397
+ line-height: 14px;
1398
+ color: #f44336;
1399
+ visibility: hidden;
1400
+ opacity: 0;
1401
+ transition: all 0.2s ease;
1402
+ }
1403
+
1404
+ .TextField.focused > label, .TextField.withValue > label {
1405
+ top: 4px;
1406
+ font-size: 12px;
1407
+ line-height: 14px;
1408
+ }
1409
+
1410
+ .TextField.errored > .error {
1411
+ visibility: visible;
1412
+ opacity: 1;
1413
+ }
1414
+
1415
+ .TextField.errored > .border {
1416
+ border-bottom-color: #f44336;
1417
+ }
1418
+
1419
+ .TextField.errored > label {
1420
+ color: #f44336;
1421
+ }
1422
+
1423
+ .TextField.focused > label {
1424
+ color: #00bcd4;
1425
+ }
1426
+
1427
+ .TextField.focused > .border .line {
1428
+ left: 0;
1429
+ width: 100%;
1430
+ }
1431
+
1432
+ .TextField.disabled label, .TextField.disabled input {
1433
+ cursor: not-allowed;
1434
+ }
1435
+
1436
+ .TextField.withLabel {
1437
+ margin-top: 15px;
1235
1438
  }
1236
1439
 
1237
- .FilteredList .child:not(.hidden) ~ .child {
1238
- margin-top: 0;
1440
+ .TextField input::-webkit-contacts-auto-fill-button {
1441
+ visibility: hidden;
1442
+ display: none !important;
1443
+ pointer-events: none;
1444
+ position: absolute;
1445
+ right: 0;
1239
1446
  }
1240
1447
 
1241
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1242
- margin-bottom: 8px;
1448
+ .TextField input:-webkit-autofill {
1449
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1243
1450
  }
1244
1451
 
1245
- .FilteredList .child:not(.hidden):last-child {
1246
- margin-bottom: 8px;
1452
+ @keyframes shake {
1453
+ 0%, 100% {
1454
+ transform: translateX(0);
1455
+ }
1456
+ 20%, 60% {
1457
+ transform: translateX(-5px);
1458
+ }
1459
+ 40%, 80% {
1460
+ transform: translateX(5px);
1461
+ }
1462
+ }
1463
+ .TextField .shake {
1464
+ animation-duration: 0.5s;
1465
+ animation-fill-mode: both;
1466
+ animation-timing-function: ease-in-out;
1467
+ animation-name: shake;
1247
1468
  }
1248
1469
 
1249
1470
  .Scrollable {
@@ -1439,227 +1660,6 @@
1439
1660
  stroke-dashoffset: -53px;
1440
1661
  }
1441
1662
  }
1442
- .TextField {
1443
- position: relative;
1444
- width: 100%;
1445
- }
1446
-
1447
- .TextField > label {
1448
- font-family: Roboto, sans-serif;
1449
- color: rgba(0, 0, 0, 0.3);
1450
- font-size: 16px;
1451
- position: absolute;
1452
- left: 0px;
1453
- top: 16px;
1454
- margin-top: -16px;
1455
- transition: all 0.2s ease;
1456
- user-select: none;
1457
- cursor: text;
1458
- }
1459
-
1460
- .TextField > input {
1461
- font-family: Roboto, sans-serif;
1462
- color: #1e252d;
1463
- height: 19px;
1464
- font-size: 16px;
1465
- width: 100%;
1466
- border: 0px;
1467
- padding-bottom: 4px;
1468
- padding-top: 0;
1469
- outline-color: rgba(0, 0, 0, 0);
1470
- }
1471
-
1472
- .TextField > input:focus {
1473
- outline: none;
1474
- }
1475
-
1476
- .TextField > input:disabled {
1477
- color: gray;
1478
- background-color: white;
1479
- }
1480
-
1481
- .TextField > input:disabled + .border {
1482
- height: 0px;
1483
- border-bottom: 2px dotted #e0e0e0;
1484
- }
1485
-
1486
- .TextField > input::placeholder {
1487
- font-family: Roboto, sans-serif;
1488
- color: rgba(0, 0, 0, 0.3);
1489
- opacity: 1;
1490
- }
1491
-
1492
- .TextField > .border {
1493
- border-bottom: 1px solid #e0e0e0;
1494
- height: 1px;
1495
- position: relative;
1496
- }
1497
-
1498
- .TextField > .border .line {
1499
- left: 50%;
1500
- width: 0;
1501
- height: 2px;
1502
- min-height: 2px;
1503
- background-color: #00bcd4;
1504
- transition: all 0.2s ease;
1505
- position: absolute;
1506
- }
1507
-
1508
- .TextField > .error {
1509
- text-align: left;
1510
- font-size: 10px;
1511
- min-height: 0;
1512
- line-height: 14px;
1513
- color: #f44336;
1514
- visibility: hidden;
1515
- opacity: 0;
1516
- transition: all 0.2s ease;
1517
- }
1518
-
1519
- .TextField.focused > label, .TextField.withValue > label {
1520
- top: 4px;
1521
- font-size: 12px;
1522
- line-height: 14px;
1523
- }
1524
-
1525
- .TextField.errored > .error {
1526
- visibility: visible;
1527
- opacity: 1;
1528
- }
1529
-
1530
- .TextField.errored > .border {
1531
- border-bottom-color: #f44336;
1532
- }
1533
-
1534
- .TextField.errored > label {
1535
- color: #f44336;
1536
- }
1537
-
1538
- .TextField.focused > label {
1539
- color: #00bcd4;
1540
- }
1541
-
1542
- .TextField.focused > .border .line {
1543
- left: 0;
1544
- width: 100%;
1545
- }
1546
-
1547
- .TextField.disabled label, .TextField.disabled input {
1548
- cursor: not-allowed;
1549
- }
1550
-
1551
- .TextField.withLabel {
1552
- margin-top: 15px;
1553
- }
1554
-
1555
- .TextField input::-webkit-contacts-auto-fill-button {
1556
- visibility: hidden;
1557
- display: none !important;
1558
- pointer-events: none;
1559
- position: absolute;
1560
- right: 0;
1561
- }
1562
-
1563
- .TextField input:-webkit-autofill {
1564
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1565
- }
1566
-
1567
- @keyframes shake {
1568
- 0%, 100% {
1569
- transform: translateX(0);
1570
- }
1571
- 20%, 60% {
1572
- transform: translateX(-5px);
1573
- }
1574
- 40%, 80% {
1575
- transform: translateX(5px);
1576
- }
1577
- }
1578
- .TextField .shake {
1579
- animation-duration: 0.5s;
1580
- animation-fill-mode: both;
1581
- animation-timing-function: ease-in-out;
1582
- animation-name: shake;
1583
- }
1584
-
1585
- .Dropzone {
1586
- position: relative;
1587
- }
1588
-
1589
- .Dropzone > .overlay {
1590
- position: absolute;
1591
- left: 0;
1592
- right: 0;
1593
- top: 0;
1594
- bottom: 0;
1595
- background-color: #38ADC4;
1596
- z-index: 1;
1597
- opacity: 0;
1598
- transition: all 0.2s ease;
1599
- transition-delay: 100ms;
1600
- visibility: hidden;
1601
- display: flex;
1602
- justify-content: center;
1603
- align-items: center;
1604
- }
1605
-
1606
- .Dropzone > .overlay .drop {
1607
- border-radius: 4px;
1608
- border: 1px dashed #FFFFFF;
1609
- position: absolute;
1610
- top: 18px;
1611
- left: 18px;
1612
- right: 18px;
1613
- bottom: 18px;
1614
- display: flex;
1615
- justify-content: center;
1616
- align-items: center;
1617
- font-weight: 500;
1618
- font-size: 18px;
1619
- color: #FFFFFF;
1620
- }
1621
-
1622
- .Dropzone.dragging > .overlay {
1623
- opacity: 0.7;
1624
- visibility: visible;
1625
- transition-delay: 0s;
1626
- }
1627
-
1628
- .Dropzone.dragging > * {
1629
- pointer-events: none;
1630
- }
1631
-
1632
- .Dropzone > input.file {
1633
- position: absolute;
1634
- left: 0;
1635
- right: 0;
1636
- top: 0;
1637
- bottom: 0;
1638
- width: 100%;
1639
- height: 100%;
1640
- opacity: 0;
1641
- cursor: pointer;
1642
- z-index: 1;
1643
- }
1644
-
1645
- .DNDContainer .DroppableList .Draggable {
1646
- transform: unset;
1647
- transition: unset;
1648
- opacity: 1;
1649
- }
1650
-
1651
- .DNDContainer .DroppableList .Draggable.dragged {
1652
- transition: unset !important;
1653
- }
1654
-
1655
- .DNDContainer .DroppableList.hover .Draggable {
1656
- transition: transform 0.2s ease-in;
1657
- }
1658
-
1659
- .DNDContainer .DroppableList.resetting .Draggable {
1660
- transition: transform 0.1s ease-in;
1661
- }
1662
-
1663
1663
  .ScrollableTable .Scrollable .scrollbar {
1664
1664
  top: 56px;
1665
1665
  }