react-ui-basics 0.0.136 → 0.0.137

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.
Files changed (4) hide show
  1. package/Table.js +20 -14
  2. package/Table.js.map +1 -1
  3. package/bundle.css +574 -574
  4. package/package.json +1 -1
package/bundle.css CHANGED
@@ -65,6 +65,171 @@
65
65
  background: rgba(0, 0, 0, 0.26);
66
66
  }
67
67
 
68
+ .Button {
69
+ position: relative;
70
+ min-width: 64px;
71
+ min-height: 36px;
72
+ height: 24px;
73
+ margin: 0px;
74
+ padding: 0px 16px;
75
+ border: none;
76
+ outline: none;
77
+ font-size: 14px;
78
+ font-weight: 500;
79
+ letter-spacing: 1.25px;
80
+ background: #dfdfdf;
81
+ text-transform: uppercase;
82
+ font-family: Roboto, sans-serif;
83
+ display: inline-flex;
84
+ justify-content: center;
85
+ align-items: center;
86
+ cursor: pointer;
87
+ overflow: hidden;
88
+ user-select: none;
89
+ border-radius: 3px;
90
+ transition: all 0.2s ease;
91
+ }
92
+
93
+ .Button.flat {
94
+ background-color: transparent;
95
+ }
96
+
97
+ .Button.flat:hover {
98
+ background-color: rgba(0, 0, 0, 0.05);
99
+ }
100
+
101
+ .Button.green {
102
+ background-color: #43a047;
103
+ color: white;
104
+ }
105
+
106
+ .Button.green:hover {
107
+ background-color: #3b8e3f;
108
+ }
109
+
110
+ .Button.blue {
111
+ background-color: #039be5;
112
+ color: white;
113
+ }
114
+
115
+ .Button.blue:hover {
116
+ background-color: #038acc;
117
+ }
118
+
119
+ .Button.red {
120
+ background-color: #e53935;
121
+ color: white;
122
+ }
123
+
124
+ .Button.red:hover {
125
+ background-color: #e2231e;
126
+ }
127
+
128
+ .Button.black {
129
+ background-color: #1e252d;
130
+ color: white;
131
+ }
132
+
133
+ .Button.black:hover {
134
+ background-color: #14181e;
135
+ }
136
+
137
+ .Button.gray {
138
+ background: #D9D9D9;
139
+ color: #999999;
140
+ }
141
+
142
+ .Button.gray:hover {
143
+ background-color: #cccccc;
144
+ }
145
+
146
+ .Button.small {
147
+ padding: 0px 8px;
148
+ min-height: 16px;
149
+ min-width: 16px;
150
+ }
151
+
152
+ .Button > .material-icons {
153
+ margin-right: 10px;
154
+ }
155
+
156
+ .Button.round {
157
+ padding: 0px;
158
+ min-width: 36px;
159
+ border-radius: 50%;
160
+ }
161
+
162
+ .Button.round > .material-icons {
163
+ margin: 0px;
164
+ }
165
+
166
+ .Button .ripple {
167
+ position: absolute;
168
+ background: rgba(0, 0, 0, 0.1);
169
+ border-radius: 100%;
170
+ transform: scale(0);
171
+ pointer-events: none;
172
+ transition: opacity 0.2s ease-out;
173
+ }
174
+
175
+ .Button .ripple.show {
176
+ animation: ripple 0.35s ease-out;
177
+ }
178
+
179
+ .Button:active .ripple.showed {
180
+ opacity: 1;
181
+ }
182
+
183
+ .Button:focus .ripple.focused {
184
+ opacity: 1;
185
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
186
+ transform: scale(1);
187
+ animation: resize 1.25s ease-out infinite;
188
+ animation-delay: 0.2s;
189
+ animation-direction: alternate;
190
+ }
191
+
192
+ .Button .ripple.showed {
193
+ transform: scale(2);
194
+ opacity: 0;
195
+ }
196
+
197
+ @keyframes ripple {
198
+ to {
199
+ transform: scale(2);
200
+ }
201
+ }
202
+ @keyframes resize {
203
+ to {
204
+ transform: scale(0.9);
205
+ }
206
+ }
207
+ .Button.raised {
208
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
209
+ }
210
+
211
+ .Button.raised:hover {
212
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
213
+ }
214
+
215
+ .Button.raised:active {
216
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
217
+ }
218
+
219
+ .Button.disabled {
220
+ box-shadow: none;
221
+ background: #D9D9D9;
222
+ color: #999999;
223
+ }
224
+
225
+ .Button.disabled:hover {
226
+ background-color: #cccccc;
227
+ }
228
+
229
+ .Button::-moz-focus-inner {
230
+ border: 0;
231
+ }
232
+
68
233
  .AutocompleteSelect {
69
234
  display: inline-flex;
70
235
  flex-flow: column;
@@ -360,191 +525,145 @@
360
525
  position: absolute;
361
526
  }
362
527
 
363
- .Button {
364
- position: relative;
365
- min-width: 64px;
366
- min-height: 36px;
367
- height: 24px;
368
- margin: 0px;
369
- padding: 0px 16px;
370
- border: none;
371
- outline: none;
372
- font-size: 14px;
373
- font-weight: 500;
374
- letter-spacing: 1.25px;
375
- background: #dfdfdf;
376
- text-transform: uppercase;
377
- font-family: Roboto, sans-serif;
378
- display: inline-flex;
379
- justify-content: center;
380
- align-items: center;
381
- cursor: pointer;
382
- overflow: hidden;
383
- user-select: none;
384
- border-radius: 3px;
385
- transition: all 0.2s ease;
386
- }
387
-
388
- .Button.flat {
389
- background-color: transparent;
528
+ .animated {
529
+ transition: opacity 250ms ease;
530
+ opacity: 0;
390
531
  }
391
532
 
392
- .Button.flat:hover {
393
- background-color: rgba(0, 0, 0, 0.05);
533
+ .animated.mounting, .animated.mounted {
534
+ opacity: 1;
394
535
  }
395
536
 
396
- .Button.green {
397
- background-color: #43a047;
398
- color: white;
537
+ .CircleProgress {
538
+ width: 48px;
539
+ height: 48px;
399
540
  }
400
541
 
401
- .Button.green:hover {
402
- background-color: #3b8e3f;
542
+ .CircleProgress .line {
543
+ stroke-width: 2px;
544
+ stroke: black;
545
+ stroke-linecap: square;
546
+ fill: none;
547
+ transition: stroke-dashoffset 0.2s ease;
403
548
  }
404
549
 
405
- .Button.blue {
406
- background-color: #039be5;
407
- color: white;
550
+ .DNDContainer {
551
+ position: relative;
408
552
  }
409
553
 
410
- .Button.blue:hover {
411
- background-color: #038acc;
554
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
555
+ cursor: pointer;
412
556
  }
413
557
 
414
- .Button.red {
415
- background-color: #e53935;
416
- color: white;
558
+ .DNDContainer .Draggable.placeholder {
559
+ opacity: 0.2;
417
560
  }
418
561
 
419
- .Button.red:hover {
420
- background-color: #e2231e;
562
+ .DNDContainer .Draggable.copy {
563
+ position: absolute;
564
+ box-sizing: border-box;
565
+ will-change: transform;
566
+ opacity: 0;
421
567
  }
422
568
 
423
- .Button.black {
424
- background-color: #1e252d;
425
- color: white;
569
+ .DNDContainer .Draggable.dragged {
570
+ z-index: 10;
426
571
  }
427
572
 
428
- .Button.black:hover {
429
- background-color: #14181e;
573
+ .DNDContainer .overlay {
574
+ position: absolute;
575
+ top: 0;
576
+ left: 0;
577
+ right: 0;
578
+ bottom: 0;
579
+ pointer-events: none;
430
580
  }
431
581
 
432
- .Button.gray {
433
- background: #D9D9D9;
434
- color: #999999;
582
+ .DropFileInput {
583
+ flex-grow: 1;
435
584
  }
436
585
 
437
- .Button.gray:hover {
438
- background-color: #cccccc;
439
- }
440
-
441
- .Button.small {
442
- padding: 0px 8px;
443
- min-height: 16px;
444
- min-width: 16px;
586
+ .DropFileInput .Dropzone {
587
+ border: 1px dashed #808080;
588
+ padding: 12px;
589
+ display: flex;
590
+ flex-flow: row nowrap;
591
+ justify-content: center;
592
+ align-items: center;
593
+ color: gray;
594
+ cursor: pointer;
595
+ border-radius: 3px;
596
+ font-weight: normal;
597
+ line-height: 22px;
598
+ font-size: 14px;
599
+ color: #7E7E7E;
600
+ max-width: 100%;
601
+ word-break: break-all;
602
+ word-break: break-word;
445
603
  }
446
604
 
447
- .Button > .material-icons {
605
+ .DropFileInput .Dropzone .icon.withText {
448
606
  margin-right: 10px;
449
607
  }
450
608
 
451
- .Button.round {
452
- padding: 0px;
453
- min-width: 36px;
454
- border-radius: 50%;
455
- }
456
-
457
- .Button.round > .material-icons {
458
- margin: 0px;
609
+ .Dropzone {
610
+ position: relative;
459
611
  }
460
612
 
461
- .Button .ripple {
613
+ .Dropzone > .overlay {
462
614
  position: absolute;
463
- background: rgba(0, 0, 0, 0.1);
464
- border-radius: 100%;
465
- transform: scale(0);
466
- pointer-events: none;
467
- transition: opacity 0.2s ease-out;
468
- }
469
-
470
- .Button .ripple.show {
471
- animation: ripple 0.35s ease-out;
472
- }
473
-
474
- .Button:active .ripple.showed {
475
- opacity: 1;
476
- }
477
-
478
- .Button:focus .ripple.focused {
479
- opacity: 1;
480
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
481
- transform: scale(1);
482
- animation: resize 1.25s ease-out infinite;
483
- animation-delay: 0.2s;
484
- animation-direction: alternate;
485
- }
486
-
487
- .Button .ripple.showed {
488
- transform: scale(2);
615
+ left: 0;
616
+ right: 0;
617
+ top: 0;
618
+ bottom: 0;
619
+ background-color: #38ADC4;
620
+ z-index: 1;
489
621
  opacity: 0;
622
+ transition: all 0.2s ease;
623
+ transition-delay: 100ms;
624
+ visibility: hidden;
625
+ display: flex;
626
+ justify-content: center;
627
+ align-items: center;
490
628
  }
491
629
 
492
- @keyframes ripple {
493
- to {
494
- transform: scale(2);
495
- }
496
- }
497
- @keyframes resize {
498
- to {
499
- transform: scale(0.9);
500
- }
501
- }
502
- .Button.raised {
503
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
504
- }
505
-
506
- .Button.raised:hover {
507
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
508
- }
509
-
510
- .Button.raised:active {
511
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
512
- }
513
-
514
- .Button.disabled {
515
- box-shadow: none;
516
- background: #D9D9D9;
517
- color: #999999;
630
+ .Dropzone > .overlay .drop {
631
+ border-radius: 4px;
632
+ border: 1px dashed #FFFFFF;
633
+ position: absolute;
634
+ top: 18px;
635
+ left: 18px;
636
+ right: 18px;
637
+ bottom: 18px;
638
+ display: flex;
639
+ justify-content: center;
640
+ align-items: center;
641
+ font-weight: 500;
642
+ font-size: 18px;
643
+ color: #FFFFFF;
518
644
  }
519
645
 
520
- .Button.disabled:hover {
521
- background-color: #cccccc;
646
+ .Dropzone.dragging > .overlay {
647
+ opacity: 0.7;
648
+ visibility: visible;
649
+ transition-delay: 0s;
522
650
  }
523
651
 
524
- .Button::-moz-focus-inner {
525
- border: 0;
652
+ .Dropzone.dragging > * {
653
+ pointer-events: none;
526
654
  }
527
655
 
528
- .animated {
529
- transition: opacity 250ms ease;
656
+ .Dropzone > input.file {
657
+ position: absolute;
658
+ left: 0;
659
+ right: 0;
660
+ top: 0;
661
+ bottom: 0;
662
+ width: 100%;
663
+ height: 100%;
530
664
  opacity: 0;
531
- }
532
-
533
- .animated.mounting, .animated.mounted {
534
- opacity: 1;
535
- }
536
-
537
- .CircleProgress {
538
- width: 48px;
539
- height: 48px;
540
- }
541
-
542
- .CircleProgress .line {
543
- stroke-width: 2px;
544
- stroke: black;
545
- stroke-linecap: square;
546
- fill: none;
547
- transition: stroke-dashoffset 0.2s ease;
665
+ cursor: pointer;
666
+ z-index: 1;
548
667
  }
549
668
 
550
669
  .DialogModal {
@@ -589,63 +708,97 @@
589
708
  margin-bottom: 0;
590
709
  }
591
710
 
592
- .DNDContainer {
593
- position: relative;
711
+ .Button.FloatingActionButton {
712
+ position: absolute;
713
+ right: 16px;
714
+ bottom: 16px;
715
+ width: 56px;
716
+ height: 56px;
717
+ padding: 16px;
718
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
594
719
  }
595
720
 
596
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
597
- cursor: pointer;
721
+ .Button.FloatingActionButton.raised {
722
+ 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);
598
723
  }
599
724
 
600
- .DNDContainer .Draggable.placeholder {
601
- opacity: 0.2;
725
+ .Button.FloatingActionButton.mini {
726
+ width: 40px;
727
+ height: 40px;
728
+ padding: 8px;
602
729
  }
603
730
 
604
- .DNDContainer .Draggable.copy {
731
+ .Button.FloatingActionButton.hidden {
732
+ bottom: -100px;
733
+ }
734
+
735
+ .FormUploadProgress {
605
736
  position: absolute;
606
- box-sizing: border-box;
607
- will-change: transform;
608
- opacity: 0;
737
+ left: 0;
738
+ right: 0;
739
+ top: 0;
740
+ bottom: 0;
741
+ background-color: rgba(255, 255, 255, 0.6);
742
+ z-index: 2;
609
743
  }
610
744
 
611
- .DNDContainer .Draggable.dragged {
612
- z-index: 10;
745
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
746
+ transition-delay: 500ms;
613
747
  }
614
748
 
615
- .DNDContainer .overlay {
749
+ .FormUploadProgress .wrapper {
750
+ position: sticky;
751
+ top: 40%;
752
+ margin-top: 40%;
753
+ margin-left: 50%;
754
+ transform: translateX(-50%);
755
+ display: flex;
756
+ flex-flow: column;
757
+ justify-content: center;
758
+ align-items: center;
759
+ }
760
+
761
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
616
762
  position: absolute;
763
+ width: 107px;
764
+ height: 107px;
617
765
  top: 0;
618
766
  left: 0;
619
- right: 0;
620
- bottom: 0;
621
- pointer-events: none;
622
767
  }
623
768
 
624
- .DropFileInput {
625
- flex-grow: 1;
769
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
770
+ stroke: #2196F3;
626
771
  }
627
772
 
628
- .DropFileInput .Dropzone {
629
- border: 1px dashed #808080;
630
- padding: 12px;
773
+ .FormUploadProgress .wrapper > .progress {
774
+ width: 107px;
775
+ height: 107px;
776
+ min-height: 107px;
631
777
  display: flex;
632
- flex-flow: row nowrap;
633
778
  justify-content: center;
634
779
  align-items: center;
635
- color: gray;
636
- cursor: pointer;
637
- border-radius: 3px;
638
- font-weight: normal;
639
- line-height: 22px;
640
- font-size: 14px;
641
- color: #7E7E7E;
642
- max-width: 100%;
643
- word-break: break-all;
644
- word-break: break-word;
780
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
781
+ border-radius: 50%;
782
+ background: white;
783
+ position: relative;
645
784
  }
646
785
 
647
- .DropFileInput .Dropzone .icon.withText {
648
- margin-right: 10px;
786
+ .FormUploadProgress .wrapper > .progress > .value {
787
+ display: inline-block;
788
+ margin-top: 5px;
789
+ font-weight: bold;
790
+ line-height: 16px;
791
+ font-size: 13px;
792
+ text-align: center;
793
+ color: #818181;
794
+ }
795
+
796
+ .FormUploadProgress .wrapper .cancel {
797
+ min-width: 107px;
798
+ margin-top: 20px;
799
+ background-color: white;
800
+ color: #F96B5C;
801
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
649
802
  }
650
803
 
651
804
  .FilteredList {
@@ -729,66 +882,6 @@
729
882
  margin-bottom: 8px;
730
883
  }
731
884
 
732
- .Dropzone {
733
- position: relative;
734
- }
735
-
736
- .Dropzone > .overlay {
737
- position: absolute;
738
- left: 0;
739
- right: 0;
740
- top: 0;
741
- bottom: 0;
742
- background-color: #38ADC4;
743
- z-index: 1;
744
- opacity: 0;
745
- transition: all 0.2s ease;
746
- transition-delay: 100ms;
747
- visibility: hidden;
748
- display: flex;
749
- justify-content: center;
750
- align-items: center;
751
- }
752
-
753
- .Dropzone > .overlay .drop {
754
- border-radius: 4px;
755
- border: 1px dashed #FFFFFF;
756
- position: absolute;
757
- top: 18px;
758
- left: 18px;
759
- right: 18px;
760
- bottom: 18px;
761
- display: flex;
762
- justify-content: center;
763
- align-items: center;
764
- font-weight: 500;
765
- font-size: 18px;
766
- color: #FFFFFF;
767
- }
768
-
769
- .Dropzone.dragging > .overlay {
770
- opacity: 0.7;
771
- visibility: visible;
772
- transition-delay: 0s;
773
- }
774
-
775
- .Dropzone.dragging > * {
776
- pointer-events: none;
777
- }
778
-
779
- .Dropzone > input.file {
780
- position: absolute;
781
- left: 0;
782
- right: 0;
783
- top: 0;
784
- bottom: 0;
785
- width: 100%;
786
- height: 100%;
787
- opacity: 0;
788
- cursor: pointer;
789
- z-index: 1;
790
- }
791
-
792
885
  .Modal {
793
886
  display: block;
794
887
  position: fixed;
@@ -843,89 +936,20 @@
843
936
  transform: scaleY(1) translateY(0px) translateX(-50%);
844
937
  }
845
938
 
846
- .Modal > .content > .Scrollable {
847
- overflow: visible;
848
- max-height: 80vh;
849
- }
850
-
851
- .Modal > .content > .Scrollable > .viewport {
852
- min-width: 10px;
853
- min-height: 10px;
854
- }
855
-
856
- .Modal > .content > .Button.close {
857
- top: 10px;
858
- right: 10px;
859
- position: absolute;
860
- }
861
-
862
- .FormUploadProgress {
863
- position: absolute;
864
- left: 0;
865
- right: 0;
866
- top: 0;
867
- bottom: 0;
868
- background-color: rgba(255, 255, 255, 0.6);
869
- z-index: 2;
870
- }
871
-
872
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
873
- transition-delay: 500ms;
874
- }
875
-
876
- .FormUploadProgress .wrapper {
877
- position: sticky;
878
- top: 40%;
879
- margin-top: 40%;
880
- margin-left: 50%;
881
- transform: translateX(-50%);
882
- display: flex;
883
- flex-flow: column;
884
- justify-content: center;
885
- align-items: center;
886
- }
887
-
888
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
889
- position: absolute;
890
- width: 107px;
891
- height: 107px;
892
- top: 0;
893
- left: 0;
894
- }
895
-
896
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
897
- stroke: #2196F3;
898
- }
899
-
900
- .FormUploadProgress .wrapper > .progress {
901
- width: 107px;
902
- height: 107px;
903
- min-height: 107px;
904
- display: flex;
905
- justify-content: center;
906
- align-items: center;
907
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
908
- border-radius: 50%;
909
- background: white;
910
- position: relative;
939
+ .Modal > .content > .Scrollable {
940
+ overflow: visible;
941
+ max-height: 80vh;
911
942
  }
912
943
 
913
- .FormUploadProgress .wrapper > .progress > .value {
914
- display: inline-block;
915
- margin-top: 5px;
916
- font-weight: bold;
917
- line-height: 16px;
918
- font-size: 13px;
919
- text-align: center;
920
- color: #818181;
944
+ .Modal > .content > .Scrollable > .viewport {
945
+ min-width: 10px;
946
+ min-height: 10px;
921
947
  }
922
948
 
923
- .FormUploadProgress .wrapper .cancel {
924
- min-width: 107px;
925
- margin-top: 20px;
926
- background-color: white;
927
- color: #F96B5C;
928
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
949
+ .Modal > .content > .Button.close {
950
+ top: 10px;
951
+ right: 10px;
952
+ position: absolute;
929
953
  }
930
954
 
931
955
  .ImageGallery {
@@ -1200,30 +1224,6 @@
1200
1224
  margin-left: 4px;
1201
1225
  }
1202
1226
 
1203
- .Button.FloatingActionButton {
1204
- position: absolute;
1205
- right: 16px;
1206
- bottom: 16px;
1207
- width: 56px;
1208
- height: 56px;
1209
- padding: 16px;
1210
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1211
- }
1212
-
1213
- .Button.FloatingActionButton.raised {
1214
- 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);
1215
- }
1216
-
1217
- .Button.FloatingActionButton.mini {
1218
- width: 40px;
1219
- height: 40px;
1220
- padding: 8px;
1221
- }
1222
-
1223
- .Button.FloatingActionButton.hidden {
1224
- bottom: -100px;
1225
- }
1226
-
1227
1227
  .Scrollable {
1228
1228
  max-height: 250px;
1229
1229
  max-width: 250px;
@@ -1319,6 +1319,88 @@
1319
1319
  will-change: left;
1320
1320
  }
1321
1321
 
1322
+ .Switch {
1323
+ display: inline-flex;
1324
+ padding-top: 5px;
1325
+ }
1326
+
1327
+ .Switch .switch-input {
1328
+ display: none;
1329
+ }
1330
+
1331
+ .Switch .switch-label {
1332
+ position: relative;
1333
+ display: inline-flex;
1334
+ align-items: center;
1335
+ min-width: 38px;
1336
+ height: 24px;
1337
+ cursor: pointer;
1338
+ font-weight: 500;
1339
+ text-align: left;
1340
+ user-select: none;
1341
+ margin: 0;
1342
+ padding: 0;
1343
+ padding-left: 44px;
1344
+ box-sizing: border-box;
1345
+ }
1346
+
1347
+ .Switch .switch-label:before, .Switch .switch-label:after {
1348
+ content: "";
1349
+ box-sizing: border-box;
1350
+ position: absolute;
1351
+ margin: 0;
1352
+ outline: 0;
1353
+ top: 50%;
1354
+ transform: translate(0, -50%);
1355
+ transition: all 0.3s ease;
1356
+ }
1357
+
1358
+ .Switch .switch-label:before {
1359
+ left: 1px;
1360
+ width: 34px;
1361
+ height: 14px;
1362
+ background-color: #9E9E9E;
1363
+ border-radius: 8px;
1364
+ }
1365
+
1366
+ .Switch .switch-label:after {
1367
+ left: 0;
1368
+ width: 20px;
1369
+ height: 20px;
1370
+ background-color: #FAFAFA;
1371
+ border-radius: 50%;
1372
+ 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);
1373
+ }
1374
+
1375
+ .Switch .switch-label .toggle--on {
1376
+ display: none;
1377
+ }
1378
+
1379
+ .Switch .switch-label .toggle--off {
1380
+ display: inline-block;
1381
+ }
1382
+
1383
+ .Switch .switch-label .label {
1384
+ margin-right: 5px;
1385
+ }
1386
+
1387
+ .Switch .switch-input:checked + .switch-label:before {
1388
+ background-color: #A5D6A7;
1389
+ }
1390
+
1391
+ .Switch .switch-input:checked + .switch-label:after {
1392
+ background-color: #4CAF50;
1393
+ transform: translate(80%, -50%);
1394
+ }
1395
+
1396
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1397
+ display: inline-block;
1398
+ }
1399
+
1400
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1401
+ display: none;
1402
+ }
1403
+
1322
1404
  .Snackbar {
1323
1405
  transform: translateX(-50%);
1324
1406
  overflow: hidden;
@@ -1359,9 +1441,152 @@
1359
1441
  color: #bf3727;
1360
1442
  }
1361
1443
 
1362
- .Snackbar .action a {
1363
- text-decoration: none;
1364
- color: #bf3727;
1444
+ .Snackbar .action a {
1445
+ text-decoration: none;
1446
+ color: #bf3727;
1447
+ }
1448
+
1449
+ .TextField {
1450
+ position: relative;
1451
+ width: 100%;
1452
+ }
1453
+
1454
+ .TextField > label {
1455
+ font-family: Roboto, sans-serif;
1456
+ color: rgba(0, 0, 0, 0.3);
1457
+ font-size: 16px;
1458
+ position: absolute;
1459
+ left: 0px;
1460
+ top: 16px;
1461
+ margin-top: -16px;
1462
+ transition: all 0.2s ease;
1463
+ user-select: none;
1464
+ cursor: text;
1465
+ }
1466
+
1467
+ .TextField > input {
1468
+ font-family: Roboto, sans-serif;
1469
+ color: #1e252d;
1470
+ height: 19px;
1471
+ font-size: 16px;
1472
+ width: 100%;
1473
+ border: 0px;
1474
+ padding-bottom: 4px;
1475
+ padding-top: 0;
1476
+ outline-color: rgba(0, 0, 0, 0);
1477
+ }
1478
+
1479
+ .TextField > input:focus {
1480
+ outline: none;
1481
+ }
1482
+
1483
+ .TextField > input:disabled {
1484
+ color: gray;
1485
+ background-color: white;
1486
+ }
1487
+
1488
+ .TextField > input:disabled + .border {
1489
+ height: 0px;
1490
+ border-bottom: 2px dotted #e0e0e0;
1491
+ }
1492
+
1493
+ .TextField > input::placeholder {
1494
+ font-family: Roboto, sans-serif;
1495
+ color: rgba(0, 0, 0, 0.3);
1496
+ opacity: 1;
1497
+ }
1498
+
1499
+ .TextField > .border {
1500
+ border-bottom: 1px solid #e0e0e0;
1501
+ height: 1px;
1502
+ position: relative;
1503
+ }
1504
+
1505
+ .TextField > .border .line {
1506
+ left: 50%;
1507
+ width: 0;
1508
+ height: 2px;
1509
+ min-height: 2px;
1510
+ background-color: #00bcd4;
1511
+ transition: all 0.2s ease;
1512
+ position: absolute;
1513
+ }
1514
+
1515
+ .TextField > .error {
1516
+ text-align: left;
1517
+ font-size: 10px;
1518
+ min-height: 0;
1519
+ line-height: 14px;
1520
+ color: #f44336;
1521
+ visibility: hidden;
1522
+ opacity: 0;
1523
+ transition: all 0.2s ease;
1524
+ }
1525
+
1526
+ .TextField.focused > label, .TextField.withValue > label {
1527
+ top: 4px;
1528
+ font-size: 12px;
1529
+ line-height: 14px;
1530
+ }
1531
+
1532
+ .TextField.errored > .error {
1533
+ visibility: visible;
1534
+ opacity: 1;
1535
+ }
1536
+
1537
+ .TextField.errored > .border {
1538
+ border-bottom-color: #f44336;
1539
+ }
1540
+
1541
+ .TextField.errored > label {
1542
+ color: #f44336;
1543
+ }
1544
+
1545
+ .TextField.focused > label {
1546
+ color: #00bcd4;
1547
+ }
1548
+
1549
+ .TextField.focused > .border .line {
1550
+ left: 0;
1551
+ width: 100%;
1552
+ }
1553
+
1554
+ .TextField.disabled label, .TextField.disabled input {
1555
+ cursor: not-allowed;
1556
+ }
1557
+
1558
+ .TextField.withLabel {
1559
+ margin-top: 15px;
1560
+ }
1561
+
1562
+ .TextField input::-webkit-contacts-auto-fill-button {
1563
+ visibility: hidden;
1564
+ display: none !important;
1565
+ pointer-events: none;
1566
+ position: absolute;
1567
+ right: 0;
1568
+ }
1569
+
1570
+ .TextField input:-webkit-autofill {
1571
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1572
+ }
1573
+
1574
+ @keyframes shake {
1575
+ 0%, 100% {
1576
+ transform: translateX(0);
1577
+ }
1578
+ 20%, 60% {
1579
+ transform: translateX(-5px);
1580
+ }
1581
+ 40%, 80% {
1582
+ transform: translateX(5px);
1583
+ }
1584
+ }
1585
+ .TextField .shake {
1586
+ animation-duration: 0.5s;
1587
+ animation-fill-mode: both;
1588
+ animation-timing-function: ease-in-out;
1589
+ animation-name: shake;
1365
1590
  }
1366
1591
 
1367
1592
  .SpinningProgress {
@@ -1417,96 +1642,6 @@
1417
1642
  stroke-dashoffset: -53px;
1418
1643
  }
1419
1644
  }
1420
- .Switch {
1421
- display: inline-flex;
1422
- padding-top: 5px;
1423
- }
1424
-
1425
- .Switch .switch-input {
1426
- display: none;
1427
- }
1428
-
1429
- .Switch .switch-label {
1430
- position: relative;
1431
- display: inline-flex;
1432
- align-items: center;
1433
- min-width: 38px;
1434
- height: 24px;
1435
- cursor: pointer;
1436
- font-weight: 500;
1437
- text-align: left;
1438
- user-select: none;
1439
- margin: 0;
1440
- padding: 0;
1441
- padding-left: 44px;
1442
- box-sizing: border-box;
1443
- }
1444
-
1445
- .Switch .switch-label:before, .Switch .switch-label:after {
1446
- content: "";
1447
- box-sizing: border-box;
1448
- position: absolute;
1449
- margin: 0;
1450
- outline: 0;
1451
- top: 50%;
1452
- transform: translate(0, -50%);
1453
- transition: all 0.3s ease;
1454
- }
1455
-
1456
- .Switch .switch-label:before {
1457
- left: 1px;
1458
- width: 34px;
1459
- height: 14px;
1460
- background-color: #9E9E9E;
1461
- border-radius: 8px;
1462
- }
1463
-
1464
- .Switch .switch-label:after {
1465
- left: 0;
1466
- width: 20px;
1467
- height: 20px;
1468
- background-color: #FAFAFA;
1469
- border-radius: 50%;
1470
- 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);
1471
- }
1472
-
1473
- .Switch .switch-label .toggle--on {
1474
- display: none;
1475
- }
1476
-
1477
- .Switch .switch-label .toggle--off {
1478
- display: inline-block;
1479
- }
1480
-
1481
- .Switch .switch-label .label {
1482
- margin-right: 5px;
1483
- }
1484
-
1485
- .Switch .switch-input:checked + .switch-label:before {
1486
- background-color: #A5D6A7;
1487
- }
1488
-
1489
- .Switch .switch-input:checked + .switch-label:after {
1490
- background-color: #4CAF50;
1491
- transform: translate(80%, -50%);
1492
- }
1493
-
1494
- .Switch .switch-input:checked + .switch-label .toggle--on {
1495
- display: inline-block;
1496
- }
1497
-
1498
- .Switch .switch-input:checked + .switch-label .toggle--off {
1499
- display: none;
1500
- }
1501
-
1502
- .ScrollableTable .Scrollable .scrollbar {
1503
- top: 56px;
1504
- }
1505
-
1506
- .ScrollableTable .Table {
1507
- position: static;
1508
- }
1509
-
1510
1645
  .Table {
1511
1646
  font-family: Roboto, sans-serif;
1512
1647
  font-size: 14px;
@@ -1621,147 +1756,12 @@
1621
1756
  background-color: #f0f0f0;
1622
1757
  }
1623
1758
 
1624
- .TextField {
1625
- position: relative;
1626
- width: 100%;
1627
- }
1628
-
1629
- .TextField > label {
1630
- font-family: Roboto, sans-serif;
1631
- color: rgba(0, 0, 0, 0.3);
1632
- font-size: 16px;
1633
- position: absolute;
1634
- left: 0px;
1635
- top: 16px;
1636
- margin-top: -16px;
1637
- transition: all 0.2s ease;
1638
- user-select: none;
1639
- cursor: text;
1640
- }
1641
-
1642
- .TextField > input {
1643
- font-family: Roboto, sans-serif;
1644
- color: #1e252d;
1645
- height: 19px;
1646
- font-size: 16px;
1647
- width: 100%;
1648
- border: 0px;
1649
- padding-bottom: 4px;
1650
- padding-top: 0;
1651
- outline-color: rgba(0, 0, 0, 0);
1652
- }
1653
-
1654
- .TextField > input:focus {
1655
- outline: none;
1656
- }
1657
-
1658
- .TextField > input:disabled {
1659
- color: gray;
1660
- background-color: white;
1661
- }
1662
-
1663
- .TextField > input:disabled + .border {
1664
- height: 0px;
1665
- border-bottom: 2px dotted #e0e0e0;
1666
- }
1667
-
1668
- .TextField > input::placeholder {
1669
- font-family: Roboto, sans-serif;
1670
- color: rgba(0, 0, 0, 0.3);
1671
- opacity: 1;
1672
- }
1673
-
1674
- .TextField > .border {
1675
- border-bottom: 1px solid #e0e0e0;
1676
- height: 1px;
1677
- position: relative;
1678
- }
1679
-
1680
- .TextField > .border .line {
1681
- left: 50%;
1682
- width: 0;
1683
- height: 2px;
1684
- min-height: 2px;
1685
- background-color: #00bcd4;
1686
- transition: all 0.2s ease;
1687
- position: absolute;
1688
- }
1689
-
1690
- .TextField > .error {
1691
- text-align: left;
1692
- font-size: 10px;
1693
- min-height: 0;
1694
- line-height: 14px;
1695
- color: #f44336;
1696
- visibility: hidden;
1697
- opacity: 0;
1698
- transition: all 0.2s ease;
1699
- }
1700
-
1701
- .TextField.focused > label, .TextField.withValue > label {
1702
- top: 4px;
1703
- font-size: 12px;
1704
- line-height: 14px;
1705
- }
1706
-
1707
- .TextField.errored > .error {
1708
- visibility: visible;
1709
- opacity: 1;
1710
- }
1711
-
1712
- .TextField.errored > .border {
1713
- border-bottom-color: #f44336;
1714
- }
1715
-
1716
- .TextField.errored > label {
1717
- color: #f44336;
1718
- }
1719
-
1720
- .TextField.focused > label {
1721
- color: #00bcd4;
1722
- }
1723
-
1724
- .TextField.focused > .border .line {
1725
- left: 0;
1726
- width: 100%;
1727
- }
1728
-
1729
- .TextField.disabled label, .TextField.disabled input {
1730
- cursor: not-allowed;
1731
- }
1732
-
1733
- .TextField.withLabel {
1734
- margin-top: 15px;
1735
- }
1736
-
1737
- .TextField input::-webkit-contacts-auto-fill-button {
1738
- visibility: hidden;
1739
- display: none !important;
1740
- pointer-events: none;
1741
- position: absolute;
1742
- right: 0;
1743
- }
1744
-
1745
- .TextField input:-webkit-autofill {
1746
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1759
+ .ScrollableTable .Scrollable .scrollbar {
1760
+ top: 56px;
1747
1761
  }
1748
1762
 
1749
- @keyframes shake {
1750
- 0%, 100% {
1751
- transform: translateX(0);
1752
- }
1753
- 20%, 60% {
1754
- transform: translateX(-5px);
1755
- }
1756
- 40%, 80% {
1757
- transform: translateX(5px);
1758
- }
1759
- }
1760
- .TextField .shake {
1761
- animation-duration: 0.5s;
1762
- animation-fill-mode: both;
1763
- animation-timing-function: ease-in-out;
1764
- animation-name: shake;
1763
+ .ScrollableTable .Table {
1764
+ position: static;
1765
1765
  }
1766
1766
 
1767
1767
  .DNDContainer .DroppableList .Draggable {