react-ui-basics 0.0.191 → 0.0.193

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,70 +1,3 @@
1
- .Checkbox {
2
- position: relative;
3
- white-space: pre;
4
- }
5
-
6
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
7
- box-sizing: border-box;
8
- }
9
-
10
- .Checkbox label {
11
- font-family: Roboto, sans-serif;
12
- font-size: 14px;
13
- color: #1e252d;
14
- cursor: pointer;
15
- }
16
-
17
- .Checkbox label:before, .Checkbox label:after {
18
- content: "";
19
- position: absolute;
20
- left: 0;
21
- top: 0;
22
- }
23
-
24
- .Checkbox label:before {
25
- width: 20px;
26
- height: 20px;
27
- background: #fff;
28
- border: 2px solid #252525;
29
- border-radius: 2px;
30
- cursor: pointer;
31
- transition: background 0.3s;
32
- }
33
-
34
- .Checkbox input[type=checkbox] {
35
- outline: 0;
36
- margin-right: 10px;
37
- visibility: hidden;
38
- }
39
-
40
- .Checkbox input[type=checkbox]:checked + label:before {
41
- background: #4AC263;
42
- border: none;
43
- }
44
-
45
- .Checkbox input[type=checkbox]:checked + label:after {
46
- transform: rotate(-45deg);
47
- top: 6px;
48
- left: 4px;
49
- width: 12px;
50
- height: 6px;
51
- border: 2px solid #fff;
52
- border-top-style: none;
53
- border-right-style: none;
54
- }
55
-
56
- .Checkbox input[type=checkbox]:disabled + label {
57
- color: gray;
58
- }
59
-
60
- .Checkbox input[type=checkbox]:disabled + label:before {
61
- border-color: rgba(0, 0, 0, 0.26);
62
- }
63
-
64
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
65
- background: rgba(0, 0, 0, 0.26);
66
- }
67
-
68
1
  .AutocompleteSelect {
69
2
  display: inline-flex;
70
3
  flex-flow: column;
@@ -360,28 +293,6 @@
360
293
  position: absolute;
361
294
  }
362
295
 
363
- .CircleProgress {
364
- width: 48px;
365
- height: 48px;
366
- }
367
-
368
- .CircleProgress .line {
369
- stroke-width: 2px;
370
- stroke: black;
371
- stroke-linecap: square;
372
- fill: none;
373
- transition: stroke-dashoffset 0.2s ease;
374
- }
375
-
376
- .animated {
377
- transition: opacity 250ms ease;
378
- opacity: 0;
379
- }
380
-
381
- .animated.mounting, .animated.mounted {
382
- opacity: 1;
383
- }
384
-
385
296
  .Button {
386
297
  position: relative;
387
298
  min-width: 64px;
@@ -548,89 +459,84 @@
548
459
  border: 0;
549
460
  }
550
461
 
551
- .FilteredList {
552
- max-height: 250px;
553
- position: relative;
554
- }
555
-
556
- .FilteredList.popup {
557
- padding: 0;
558
- visibility: hidden;
559
- position: absolute;
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;
462
+ .CircleProgress {
463
+ width: 48px;
464
+ height: 48px;
567
465
  }
568
466
 
569
- .FilteredList.popup.visible {
570
- opacity: 1;
571
- visibility: visible;
467
+ .CircleProgress .line {
468
+ stroke-width: 2px;
469
+ stroke: black;
470
+ stroke-linecap: square;
471
+ fill: none;
472
+ transition: stroke-dashoffset 0.2s ease;
572
473
  }
573
474
 
574
- .FilteredList.portal {
575
- transition: opacity 0.2s ease-out;
475
+ .Checkbox {
476
+ position: relative;
477
+ white-space: pre;
576
478
  }
577
479
 
578
- .FilteredList.inline {
579
- max-height: 225px;
580
- margin-top: 5px;
480
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
481
+ box-sizing: border-box;
581
482
  }
582
483
 
583
- .FilteredList .child {
584
- display: flex;
585
- flex-flow: row nowrap;
586
- align-items: center;
587
- white-space: nowrap;
484
+ .Checkbox label {
485
+ font-family: Roboto, sans-serif;
588
486
  font-size: 14px;
589
- color: rgb(34, 34, 34);
590
- height: 30px;
591
- padding: 5px 10px;
592
- padding-right: 15px;
487
+ color: #1e252d;
593
488
  cursor: pointer;
594
- overflow: hidden;
595
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
596
- border-left: 5px solid #4AC263;
597
- padding-left: 15px;
598
- margin-left: -5px;
599
489
  }
600
490
 
601
- .FilteredList .child.hidden {
602
- height: 0 !important;
603
- padding: 0 !important;
491
+ .Checkbox label:before, .Checkbox label:after {
492
+ content: "";
493
+ position: absolute;
494
+ left: 0;
495
+ top: 0;
604
496
  }
605
497
 
606
- .FilteredList .child.selected {
607
- background-color: #F0F0F0;
608
- padding-left: 10px;
609
- margin-left: 0px;
498
+ .Checkbox label:before {
499
+ width: 20px;
500
+ height: 20px;
501
+ background: #fff;
502
+ border: 2px solid #252525;
503
+ border-radius: 2px;
504
+ cursor: pointer;
505
+ transition: background 0.3s;
610
506
  }
611
507
 
612
- .FilteredList .child.active {
613
- background-color: rgb(238, 238, 238);
508
+ .Checkbox input[type=checkbox] {
509
+ outline: 0;
510
+ margin-right: 10px;
511
+ visibility: hidden;
614
512
  }
615
513
 
616
- .FilteredList .child {
617
- margin-top: 8px;
514
+ .Checkbox input[type=checkbox]:checked + label:before {
515
+ background: #4AC263;
516
+ border: none;
618
517
  }
619
518
 
620
- .FilteredList .child.hidden {
621
- margin-top: 0;
519
+ .Checkbox input[type=checkbox]:checked + label:after {
520
+ transform: rotate(-45deg);
521
+ top: 6px;
522
+ left: 4px;
523
+ width: 12px;
524
+ height: 6px;
525
+ border: 2px solid #fff;
526
+ border-top-style: none;
527
+ border-right-style: none;
622
528
  }
623
529
 
624
- .FilteredList .child:not(.hidden) ~ .child {
625
- margin-top: 0;
530
+ .Checkbox input[type=checkbox]:disabled + label {
531
+ color: gray;
626
532
  }
627
533
 
628
- .FilteredList .child:not(.hidden) ~ .child:last-child {
629
- margin-bottom: 8px;
534
+ .Checkbox input[type=checkbox]:disabled + label:before {
535
+ border-color: rgba(0, 0, 0, 0.26);
630
536
  }
631
537
 
632
- .FilteredList .child:not(.hidden):last-child {
633
- margin-bottom: 8px;
538
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
539
+ background: rgba(0, 0, 0, 0.26);
634
540
  }
635
541
 
636
542
  .DialogModal {
@@ -675,6 +581,15 @@
675
581
  margin-bottom: 0;
676
582
  }
677
583
 
584
+ .animated {
585
+ transition: opacity 250ms ease;
586
+ opacity: 0;
587
+ }
588
+
589
+ .animated.mounting, .animated.mounted {
590
+ opacity: 1;
591
+ }
592
+
678
593
  .Button.FloatingActionButton {
679
594
  position: absolute;
680
595
  right: 16px;
@@ -699,44 +614,129 @@
699
614
  bottom: -100px;
700
615
  }
701
616
 
702
- .DropFileInput {
703
- flex-grow: 1;
617
+ .FilteredList {
618
+ max-height: 250px;
619
+ position: relative;
704
620
  }
705
621
 
706
- .DropFileInput .Dropzone {
707
- border: 1px dashed #808080;
708
- padding: 12px;
709
- display: flex;
710
- flex-flow: row nowrap;
711
- justify-content: center;
712
- align-items: center;
713
- color: gray;
714
- cursor: pointer;
715
- border-radius: 3px;
716
- font-weight: normal;
717
- line-height: 22px;
718
- font-size: 14px;
719
- color: #7E7E7E;
720
- max-width: 100%;
721
- word-break: break-all;
722
- word-break: break-word;
622
+ .FilteredList.popup {
623
+ padding: 0;
624
+ visibility: hidden;
625
+ position: absolute;
626
+ background: white;
627
+ z-index: 4;
628
+ 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);
629
+ transition: all 0.2s ease-out;
630
+ top: calc(100% + 4px);
631
+ opacity: 0;
632
+ border-radius: 2px;
723
633
  }
724
634
 
725
- .DropFileInput .Dropzone .icon.withText {
726
- margin-right: 10px;
635
+ .FilteredList.popup.visible {
636
+ opacity: 1;
637
+ visibility: visible;
727
638
  }
728
639
 
729
- .Dropzone {
730
- position: relative;
640
+ .FilteredList.portal {
641
+ transition: opacity 0.2s ease-out;
731
642
  }
732
643
 
733
- .Dropzone > .overlay {
734
- position: absolute;
735
- left: 0;
736
- right: 0;
737
- top: 0;
738
- bottom: 0;
739
- background-color: #38ADC4;
644
+ .FilteredList.inline {
645
+ max-height: 225px;
646
+ margin-top: 5px;
647
+ }
648
+
649
+ .FilteredList .child {
650
+ display: flex;
651
+ flex-flow: row nowrap;
652
+ align-items: center;
653
+ white-space: nowrap;
654
+ font-size: 14px;
655
+ color: rgb(34, 34, 34);
656
+ height: 30px;
657
+ padding: 5px 10px;
658
+ padding-right: 15px;
659
+ cursor: pointer;
660
+ overflow: hidden;
661
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
662
+ border-left: 5px solid #4AC263;
663
+ padding-left: 15px;
664
+ margin-left: -5px;
665
+ }
666
+
667
+ .FilteredList .child.hidden {
668
+ height: 0 !important;
669
+ padding: 0 !important;
670
+ }
671
+
672
+ .FilteredList .child.selected {
673
+ background-color: #F0F0F0;
674
+ padding-left: 10px;
675
+ margin-left: 0px;
676
+ }
677
+
678
+ .FilteredList .child.active {
679
+ background-color: rgb(238, 238, 238);
680
+ }
681
+
682
+ .FilteredList .child {
683
+ margin-top: 8px;
684
+ }
685
+
686
+ .FilteredList .child.hidden {
687
+ margin-top: 0;
688
+ }
689
+
690
+ .FilteredList .child:not(.hidden) ~ .child {
691
+ margin-top: 0;
692
+ }
693
+
694
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
695
+ margin-bottom: 8px;
696
+ }
697
+
698
+ .FilteredList .child:not(.hidden):last-child {
699
+ margin-bottom: 8px;
700
+ }
701
+
702
+ .DropFileInput {
703
+ flex-grow: 1;
704
+ }
705
+
706
+ .DropFileInput .Dropzone {
707
+ border: 1px dashed #808080;
708
+ padding: 12px;
709
+ display: flex;
710
+ flex-flow: row nowrap;
711
+ justify-content: center;
712
+ align-items: center;
713
+ color: gray;
714
+ cursor: pointer;
715
+ border-radius: 3px;
716
+ font-weight: normal;
717
+ line-height: 22px;
718
+ font-size: 14px;
719
+ color: #7E7E7E;
720
+ max-width: 100%;
721
+ word-break: break-all;
722
+ word-break: break-word;
723
+ }
724
+
725
+ .DropFileInput .Dropzone .icon.withText {
726
+ margin-right: 10px;
727
+ }
728
+
729
+ .Dropzone {
730
+ position: relative;
731
+ }
732
+
733
+ .Dropzone > .overlay {
734
+ position: absolute;
735
+ left: 0;
736
+ right: 0;
737
+ top: 0;
738
+ bottom: 0;
739
+ background-color: #38ADC4;
740
740
  z-index: 1;
741
741
  opacity: 0;
742
742
  transition: all 0.2s ease;
@@ -786,169 +786,73 @@
786
786
  z-index: 1;
787
787
  }
788
788
 
789
- .Modal {
790
- display: block;
791
- position: fixed;
792
- top: 0;
789
+ .FormUploadProgress {
790
+ position: absolute;
793
791
  left: 0;
794
792
  right: 0;
795
- bottom: 100%;
796
- overflow-y: scroll;
797
- transition: bottom 0ms linear;
798
- transition-delay: 0.2s;
799
- }
800
-
801
- .Modal.show {
802
- transition-delay: 0s;
803
- bottom: 0;
804
- }
805
-
806
- .Modal > .overlay {
807
- position: fixed;
808
793
  top: 0;
809
- bottom: 100%;
810
- left: 0;
811
- right: 0;
812
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
813
- opacity: 0;
814
- background-color: black;
815
- pointer-events: none;
816
- }
817
-
818
- .Modal > .overlay.show {
819
- opacity: 0.5;
820
794
  bottom: 0;
795
+ background-color: rgba(255, 255, 255, 0.6);
796
+ z-index: 2;
821
797
  }
822
798
 
823
- .Modal > .content {
824
- left: 50%;
825
- top: 10vh;
826
- margin-bottom: 10vh;
827
- font-size: 16px;
828
- padding: 0;
829
- opacity: 0;
830
- transition: opacity 0.25s ease, transform 0.25s ease;
831
- transform: scaleY(0) translateY(-200px) translateX(-50%);
832
- transform-origin: top;
833
- position: absolute;
834
- border-radius: 2px;
835
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
836
- }
837
-
838
- .Modal > .content.show {
839
- opacity: 1;
840
- transform: scaleY(1) translateY(0px) translateX(-50%);
841
- }
842
-
843
- .Modal > .content > .Scrollable {
844
- overflow: visible;
845
- max-height: 80vh;
846
- }
847
-
848
- .Modal > .content > .Scrollable > .viewport {
849
- min-width: 10px;
850
- min-height: 10px;
851
- }
852
-
853
- .Modal > .content > .Button.close {
854
- top: 10px;
855
- right: 10px;
856
- position: absolute;
799
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
800
+ transition-delay: 500ms;
857
801
  }
858
802
 
859
- .Scrollable {
860
- max-height: 250px;
861
- max-width: 250px;
862
- padding-right: 5px;
863
- position: relative;
803
+ .FormUploadProgress .wrapper {
804
+ position: sticky;
805
+ top: 40%;
806
+ margin-top: 40%;
807
+ margin-left: 50%;
808
+ transform: translateX(-50%);
864
809
  display: flex;
865
810
  flex-flow: column;
866
- align-items: stretch;
867
- overflow: hidden;
868
- }
869
-
870
- .Scrollable:hover > .scrollbar.auto {
871
- transition-delay: 0s;
872
- opacity: 1;
873
- }
874
-
875
- .Scrollable .viewport {
876
- overflow-y: scroll;
877
- overflow-x: scroll;
878
- max-height: 100%;
879
- scroll-behavior: smooth;
880
- scrollbar-width: none;
881
- }
882
-
883
- .Scrollable .viewport::-webkit-scrollbar {
884
- display: none;
885
- }
886
-
887
- .Scrollable.without-scroll-horizontal {
888
- max-width: unset;
889
- }
890
-
891
- .Scrollable.without-scroll {
892
- padding-right: 0;
893
- max-height: unset;
894
- }
895
-
896
- .Scrollable.without-scroll > .viewport {
897
- padding-right: 0;
898
- margin-right: 0;
899
- }
900
-
901
- .Scrollable.without-scroll > .scrollbar {
902
- visibility: hidden;
903
- }
904
-
905
- .Scrollable .scrollbar {
906
- position: absolute;
907
- right: 0px;
908
- top: 0px;
909
- width: 5px;
910
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
911
- transition-delay: 0.5s;
912
- z-index: 1;
913
- }
914
-
915
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
916
- opacity: 0;
811
+ justify-content: center;
812
+ align-items: center;
917
813
  }
918
814
 
919
- .Scrollable .scrollbar .thumb {
920
- background-color: rgba(0, 0, 0, 0.3);
921
- width: 5px;
815
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
922
816
  position: absolute;
923
- right: 0px;
924
- top: 0px;
925
- user-select: none;
926
- will-change: top;
927
- border-radius: 2px;
817
+ width: 107px;
818
+ height: 107px;
819
+ top: 0;
820
+ left: 0;
928
821
  }
929
822
 
930
- .Scrollable .scrollbar .thumb:hover {
931
- background-color: rgba(0, 0, 0, 0.5);
823
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
824
+ stroke: #2196F3;
932
825
  }
933
826
 
934
- .Scrollable .scrollbar .thumb:active {
935
- background-color: rgba(0, 0, 0, 0.7);
827
+ .FormUploadProgress .wrapper > .progress {
828
+ width: 107px;
829
+ height: 107px;
830
+ min-height: 107px;
831
+ display: flex;
832
+ justify-content: center;
833
+ align-items: center;
834
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
835
+ border-radius: 50%;
836
+ background: white;
837
+ position: relative;
936
838
  }
937
839
 
938
- .Scrollable .scrollbar.horizontal {
939
- left: 0px;
940
- right: 0px;
941
- height: 5px;
942
- bottom: 0;
943
- width: unset;
944
- top: unset;
840
+ .FormUploadProgress .wrapper > .progress > .value {
841
+ display: inline-block;
842
+ margin-top: 5px;
843
+ font-weight: bold;
844
+ line-height: 16px;
845
+ font-size: 13px;
846
+ text-align: center;
847
+ color: #818181;
945
848
  }
946
849
 
947
- .Scrollable .scrollbar.horizontal .thumb {
948
- height: 5px;
949
- left: 0px;
950
- bottom: 0px;
951
- will-change: left;
850
+ .FormUploadProgress .wrapper .cancel {
851
+ min-width: 107px;
852
+ margin-top: 20px;
853
+ background-color: white;
854
+ color: #F96B5C;
855
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
952
856
  }
953
857
 
954
858
  .ImageGallery {
@@ -1268,6 +1172,101 @@
1268
1172
  color: #bf3727;
1269
1173
  }
1270
1174
 
1175
+ .Scrollable {
1176
+ max-height: 250px;
1177
+ max-width: 250px;
1178
+ padding-right: 5px;
1179
+ position: relative;
1180
+ display: flex;
1181
+ flex-flow: column;
1182
+ align-items: stretch;
1183
+ overflow: hidden;
1184
+ }
1185
+
1186
+ .Scrollable:hover > .scrollbar.auto {
1187
+ transition-delay: 0s;
1188
+ opacity: 1;
1189
+ }
1190
+
1191
+ .Scrollable .viewport {
1192
+ overflow-y: scroll;
1193
+ overflow-x: scroll;
1194
+ max-height: 100%;
1195
+ scroll-behavior: smooth;
1196
+ scrollbar-width: none;
1197
+ }
1198
+
1199
+ .Scrollable .viewport::-webkit-scrollbar {
1200
+ display: none;
1201
+ }
1202
+
1203
+ .Scrollable.without-scroll-horizontal {
1204
+ max-width: unset;
1205
+ }
1206
+
1207
+ .Scrollable.without-scroll {
1208
+ padding-right: 0;
1209
+ max-height: unset;
1210
+ }
1211
+
1212
+ .Scrollable.without-scroll > .viewport {
1213
+ padding-right: 0;
1214
+ margin-right: 0;
1215
+ }
1216
+
1217
+ .Scrollable.without-scroll > .scrollbar {
1218
+ visibility: hidden;
1219
+ }
1220
+
1221
+ .Scrollable .scrollbar {
1222
+ position: absolute;
1223
+ right: 0px;
1224
+ top: 0px;
1225
+ width: 5px;
1226
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1227
+ transition-delay: 0.5s;
1228
+ z-index: 1;
1229
+ }
1230
+
1231
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1232
+ opacity: 0;
1233
+ }
1234
+
1235
+ .Scrollable .scrollbar .thumb {
1236
+ background-color: rgba(0, 0, 0, 0.3);
1237
+ width: 5px;
1238
+ position: absolute;
1239
+ right: 0px;
1240
+ top: 0px;
1241
+ user-select: none;
1242
+ will-change: top;
1243
+ border-radius: 2px;
1244
+ }
1245
+
1246
+ .Scrollable .scrollbar .thumb:hover {
1247
+ background-color: rgba(0, 0, 0, 0.5);
1248
+ }
1249
+
1250
+ .Scrollable .scrollbar .thumb:active {
1251
+ background-color: rgba(0, 0, 0, 0.7);
1252
+ }
1253
+
1254
+ .Scrollable .scrollbar.horizontal {
1255
+ left: 0px;
1256
+ right: 0px;
1257
+ height: 5px;
1258
+ bottom: 0;
1259
+ width: unset;
1260
+ top: unset;
1261
+ }
1262
+
1263
+ .Scrollable .scrollbar.horizontal .thumb {
1264
+ height: 5px;
1265
+ left: 0px;
1266
+ bottom: 0px;
1267
+ will-change: left;
1268
+ }
1269
+
1271
1270
  .Switch {
1272
1271
  display: inline-flex;
1273
1272
  padding-top: 5px;
@@ -1337,139 +1336,17 @@
1337
1336
  background-color: #A5D6A7;
1338
1337
  }
1339
1338
 
1340
- .Switch .switch-input:checked + .switch-label:after {
1341
- background-color: #4CAF50;
1342
- transform: translate(80%, -50%);
1343
- }
1344
-
1345
- .Switch .switch-input:checked + .switch-label .toggle--on {
1346
- display: inline-block;
1347
- }
1348
-
1349
- .Switch .switch-input:checked + .switch-label .toggle--off {
1350
- display: none;
1351
- }
1352
-
1353
- .SpinningProgress {
1354
- width: 48px;
1355
- height: 48px;
1356
- position: relative;
1357
- margin: 0 auto;
1358
- }
1359
-
1360
- .SpinningProgress:before {
1361
- content: "";
1362
- display: block;
1363
- padding-top: 100%;
1364
- }
1365
-
1366
- .SpinningProgress .circular {
1367
- animation: rotate 2s linear infinite;
1368
- height: 100%;
1369
- transform-origin: center center;
1370
- width: 100%;
1371
- position: absolute;
1372
- top: 0;
1373
- bottom: 0;
1374
- left: 0;
1375
- right: 0;
1376
- margin: auto;
1377
- }
1378
-
1379
- .SpinningProgress .line {
1380
- stroke: black;
1381
- stroke-width: 2px;
1382
- stroke-dasharray: 1, 96;
1383
- stroke-dashoffset: 0;
1384
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1385
- }
1386
-
1387
- @keyframes rotate {
1388
- 100% {
1389
- transform: rotate(360deg);
1390
- }
1391
- }
1392
- @keyframes dash {
1393
- 0% {
1394
- stroke-dasharray: 1, 96;
1395
- stroke-dashoffset: 0;
1396
- }
1397
- 50% {
1398
- stroke-dasharray: 43, 96;
1399
- stroke-dashoffset: -17px;
1400
- }
1401
- 100% {
1402
- stroke-dasharray: 43, 96;
1403
- stroke-dashoffset: -53px;
1404
- }
1405
- }
1406
- .FormUploadProgress {
1407
- position: absolute;
1408
- left: 0;
1409
- right: 0;
1410
- top: 0;
1411
- bottom: 0;
1412
- background-color: rgba(255, 255, 255, 0.6);
1413
- z-index: 2;
1414
- }
1415
-
1416
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1417
- transition-delay: 500ms;
1418
- }
1419
-
1420
- .FormUploadProgress .wrapper {
1421
- position: sticky;
1422
- top: 40%;
1423
- margin-top: 40%;
1424
- margin-left: 50%;
1425
- transform: translateX(-50%);
1426
- display: flex;
1427
- flex-flow: column;
1428
- justify-content: center;
1429
- align-items: center;
1430
- }
1431
-
1432
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1433
- position: absolute;
1434
- width: 107px;
1435
- height: 107px;
1436
- top: 0;
1437
- left: 0;
1438
- }
1439
-
1440
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1441
- stroke: #2196F3;
1442
- }
1443
-
1444
- .FormUploadProgress .wrapper > .progress {
1445
- width: 107px;
1446
- height: 107px;
1447
- min-height: 107px;
1448
- display: flex;
1449
- justify-content: center;
1450
- align-items: center;
1451
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1452
- border-radius: 50%;
1453
- background: white;
1454
- position: relative;
1339
+ .Switch .switch-input:checked + .switch-label:after {
1340
+ background-color: #4CAF50;
1341
+ transform: translate(80%, -50%);
1455
1342
  }
1456
1343
 
1457
- .FormUploadProgress .wrapper > .progress > .value {
1344
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1458
1345
  display: inline-block;
1459
- margin-top: 5px;
1460
- font-weight: bold;
1461
- line-height: 16px;
1462
- font-size: 13px;
1463
- text-align: center;
1464
- color: #818181;
1465
1346
  }
1466
1347
 
1467
- .FormUploadProgress .wrapper .cancel {
1468
- min-width: 107px;
1469
- margin-top: 20px;
1470
- background-color: white;
1471
- color: #F96B5C;
1472
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1348
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1349
+ display: none;
1473
1350
  }
1474
1351
 
1475
1352
  .TextField {
@@ -1615,6 +1492,76 @@
1615
1492
  animation-name: shake;
1616
1493
  }
1617
1494
 
1495
+ .Modal {
1496
+ display: block;
1497
+ position: fixed;
1498
+ top: 0;
1499
+ left: 0;
1500
+ right: 0;
1501
+ bottom: 100%;
1502
+ overflow-y: scroll;
1503
+ transition: bottom 0ms linear;
1504
+ transition-delay: 0.2s;
1505
+ }
1506
+
1507
+ .Modal.show {
1508
+ transition-delay: 0s;
1509
+ bottom: 0;
1510
+ }
1511
+
1512
+ .Modal > .overlay {
1513
+ position: fixed;
1514
+ top: 0;
1515
+ bottom: 100%;
1516
+ left: 0;
1517
+ right: 0;
1518
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1519
+ opacity: 0;
1520
+ background-color: black;
1521
+ pointer-events: none;
1522
+ }
1523
+
1524
+ .Modal > .overlay.show {
1525
+ opacity: 0.5;
1526
+ bottom: 0;
1527
+ }
1528
+
1529
+ .Modal > .content {
1530
+ left: 50%;
1531
+ top: 10vh;
1532
+ margin-bottom: 10vh;
1533
+ font-size: 16px;
1534
+ padding: 0;
1535
+ opacity: 0;
1536
+ transition: opacity 0.25s ease, transform 0.25s ease;
1537
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1538
+ transform-origin: top;
1539
+ position: absolute;
1540
+ border-radius: 2px;
1541
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1542
+ }
1543
+
1544
+ .Modal > .content.show {
1545
+ opacity: 1;
1546
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1547
+ }
1548
+
1549
+ .Modal > .content > .Scrollable {
1550
+ overflow: visible;
1551
+ max-height: 80vh;
1552
+ }
1553
+
1554
+ .Modal > .content > .Scrollable > .viewport {
1555
+ min-width: 10px;
1556
+ min-height: 10px;
1557
+ }
1558
+
1559
+ .Modal > .content > .Button.close {
1560
+ top: 10px;
1561
+ right: 10px;
1562
+ position: absolute;
1563
+ }
1564
+
1618
1565
  .DNDContainer .DroppableList .Draggable {
1619
1566
  transform: unset;
1620
1567
  transition: unset;
@@ -1633,6 +1580,116 @@
1633
1580
  transition: transform 0.1s ease-in;
1634
1581
  }
1635
1582
 
1583
+ .SpinningProgress {
1584
+ width: 48px;
1585
+ height: 48px;
1586
+ position: relative;
1587
+ margin: 0 auto;
1588
+ }
1589
+
1590
+ .SpinningProgress:before {
1591
+ content: "";
1592
+ display: block;
1593
+ padding-top: 100%;
1594
+ }
1595
+
1596
+ .SpinningProgress .circular {
1597
+ animation: rotate 2s linear infinite;
1598
+ height: 100%;
1599
+ transform-origin: center center;
1600
+ width: 100%;
1601
+ position: absolute;
1602
+ top: 0;
1603
+ bottom: 0;
1604
+ left: 0;
1605
+ right: 0;
1606
+ margin: auto;
1607
+ }
1608
+
1609
+ .SpinningProgress .line {
1610
+ stroke: black;
1611
+ stroke-width: 2px;
1612
+ stroke-dasharray: 1, 96;
1613
+ stroke-dashoffset: 0;
1614
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1615
+ }
1616
+
1617
+ @keyframes rotate {
1618
+ 100% {
1619
+ transform: rotate(360deg);
1620
+ }
1621
+ }
1622
+ @keyframes dash {
1623
+ 0% {
1624
+ stroke-dasharray: 1, 96;
1625
+ stroke-dashoffset: 0;
1626
+ }
1627
+ 50% {
1628
+ stroke-dasharray: 43, 96;
1629
+ stroke-dashoffset: -17px;
1630
+ }
1631
+ 100% {
1632
+ stroke-dasharray: 43, 96;
1633
+ stroke-dashoffset: -53px;
1634
+ }
1635
+ }
1636
+ .CalendarMonthView {
1637
+ display: flex;
1638
+ flex-flow: column nowrap;
1639
+ height: 100%;
1640
+ }
1641
+
1642
+ .CalendarMonthView > .row {
1643
+ display: flex;
1644
+ flex-flow: row nowrap;
1645
+ }
1646
+
1647
+ .CalendarMonthView .days {
1648
+ flex-grow: 1;
1649
+ position: relative;
1650
+ }
1651
+
1652
+ .CalendarMonthView .day, .CalendarMonthView .header {
1653
+ flex-grow: 1;
1654
+ flex-basis: 1px;
1655
+ }
1656
+
1657
+ .CalendarMonthView .day {
1658
+ height: 100%;
1659
+ }
1660
+
1661
+ .DNDContainer {
1662
+ position: relative;
1663
+ }
1664
+
1665
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1666
+ cursor: pointer;
1667
+ }
1668
+
1669
+ .DNDContainer .Draggable.placeholder {
1670
+ opacity: 0.2;
1671
+ }
1672
+
1673
+ .DNDContainer .Draggable.copy {
1674
+ position: absolute;
1675
+ box-sizing: border-box;
1676
+ will-change: transform;
1677
+ opacity: 0;
1678
+ }
1679
+
1680
+ .DNDContainer .Draggable.dragged {
1681
+ z-index: 10;
1682
+ }
1683
+
1684
+ .DNDContainer .overlay {
1685
+ position: absolute;
1686
+ top: 0;
1687
+ left: 0;
1688
+ right: 0;
1689
+ bottom: 0;
1690
+ pointer-events: none;
1691
+ }
1692
+
1636
1693
  .DatePicker {
1637
1694
  position: relative;
1638
1695
  }
@@ -1750,38 +1807,6 @@
1750
1807
  background-color: #51adf6;
1751
1808
  }
1752
1809
 
1753
- .DNDContainer {
1754
- position: relative;
1755
- }
1756
-
1757
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1758
- cursor: pointer;
1759
- }
1760
-
1761
- .DNDContainer .Draggable.placeholder {
1762
- opacity: 0.2;
1763
- }
1764
-
1765
- .DNDContainer .Draggable.copy {
1766
- position: absolute;
1767
- box-sizing: border-box;
1768
- will-change: transform;
1769
- opacity: 0;
1770
- }
1771
-
1772
- .DNDContainer .Draggable.dragged {
1773
- z-index: 10;
1774
- }
1775
-
1776
- .DNDContainer .overlay {
1777
- position: absolute;
1778
- top: 0;
1779
- left: 0;
1780
- right: 0;
1781
- bottom: 0;
1782
- pointer-events: none;
1783
- }
1784
-
1785
1810
  .Table {
1786
1811
  font-family: Roboto, sans-serif;
1787
1812
  font-size: 14px;
@@ -1904,31 +1929,6 @@
1904
1929
  margin: 0;
1905
1930
  }
1906
1931
 
1907
- .CalendarMonthView {
1908
- display: flex;
1909
- flex-flow: column nowrap;
1910
- height: 100%;
1911
- }
1912
-
1913
- .CalendarMonthView > .row {
1914
- display: flex;
1915
- flex-flow: row nowrap;
1916
- }
1917
-
1918
- .CalendarMonthView .days {
1919
- flex-grow: 1;
1920
- position: relative;
1921
- }
1922
-
1923
- .CalendarMonthView .day, .CalendarMonthView .header {
1924
- flex-grow: 1;
1925
- flex-basis: 1px;
1926
- }
1927
-
1928
- .CalendarMonthView .day {
1929
- height: 100%;
1930
- }
1931
-
1932
1932
  .ScrollableTable .Scrollable .scrollbar {
1933
1933
  top: 56px;
1934
1934
  }