react-ui-basics 0.0.188 → 0.0.190

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
  .Button {
69
2
  position: relative;
70
3
  min-width: 64px;
@@ -231,70 +164,6 @@
231
164
  border: 0;
232
165
  }
233
166
 
234
- .DialogModal {
235
- overflow: hidden;
236
- }
237
-
238
- .DialogModal .content {
239
- top: 20vh;
240
- }
241
-
242
- .Dialog {
243
- background-color: white;
244
- min-width: 460px;
245
- max-width: 40vw;
246
- padding: 15px;
247
- }
248
-
249
- .Dialog .title {
250
- margin-bottom: 15px;
251
- padding: 20px 50px 0px 30px;
252
- font-size: 1.25rem;
253
- line-height: 2rem;
254
- font-weight: 400;
255
- letter-spacing: 0.0125em;
256
- }
257
-
258
- .Dialog .description {
259
- color: rgba(0, 0, 0, 0.54);
260
- font-size: 1rem;
261
- line-height: 1.5rem;
262
- font-weight: 400;
263
- letter-spacing: 0.03125em;
264
- margin-top: 20px;
265
- padding: 0 24px 24px;
266
- }
267
-
268
- .Dialog > div.row {
269
- margin-bottom: 15px;
270
- }
271
-
272
- .Dialog > div.row:last-child {
273
- margin-bottom: 0;
274
- }
275
-
276
- .animated {
277
- transition: opacity 250ms ease;
278
- opacity: 0;
279
- }
280
-
281
- .animated.mounting, .animated.mounted {
282
- opacity: 1;
283
- }
284
-
285
- .CircleProgress {
286
- width: 48px;
287
- height: 48px;
288
- }
289
-
290
- .CircleProgress .line {
291
- stroke-width: 2px;
292
- stroke: black;
293
- stroke-linecap: square;
294
- fill: none;
295
- transition: stroke-dashoffset 0.2s ease;
296
- }
297
-
298
167
  .AutocompleteSelect {
299
168
  display: inline-flex;
300
169
  flex-flow: column;
@@ -590,196 +459,159 @@
590
459
  position: absolute;
591
460
  }
592
461
 
593
- .DropFileInput {
594
- flex-grow: 1;
462
+ .Checkbox {
463
+ position: relative;
464
+ white-space: pre;
595
465
  }
596
466
 
597
- .DropFileInput .Dropzone {
598
- border: 1px dashed #808080;
599
- padding: 12px;
600
- display: flex;
601
- flex-flow: row nowrap;
602
- justify-content: center;
603
- align-items: center;
604
- color: gray;
605
- cursor: pointer;
606
- border-radius: 3px;
607
- font-weight: normal;
608
- line-height: 22px;
609
- font-size: 14px;
610
- color: #7E7E7E;
611
- max-width: 100%;
612
- word-break: break-all;
613
- word-break: break-word;
467
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
468
+ box-sizing: border-box;
614
469
  }
615
470
 
616
- .DropFileInput .Dropzone .icon.withText {
617
- margin-right: 10px;
471
+ .Checkbox label {
472
+ font-family: Roboto, sans-serif;
473
+ font-size: 14px;
474
+ color: #1e252d;
475
+ cursor: pointer;
618
476
  }
619
477
 
620
- .Button.FloatingActionButton {
478
+ .Checkbox label:before, .Checkbox label:after {
479
+ content: "";
621
480
  position: absolute;
622
- right: 16px;
623
- bottom: 16px;
624
- width: 56px;
625
- height: 56px;
626
- padding: 16px;
627
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
481
+ left: 0;
482
+ top: 0;
628
483
  }
629
484
 
630
- .Button.FloatingActionButton.raised {
631
- 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);
485
+ .Checkbox label:before {
486
+ width: 20px;
487
+ height: 20px;
488
+ background: #fff;
489
+ border: 2px solid #252525;
490
+ border-radius: 2px;
491
+ cursor: pointer;
492
+ transition: background 0.3s;
632
493
  }
633
494
 
634
- .Button.FloatingActionButton.mini {
635
- width: 40px;
636
- height: 40px;
637
- padding: 8px;
495
+ .Checkbox input[type=checkbox] {
496
+ outline: 0;
497
+ margin-right: 10px;
498
+ visibility: hidden;
638
499
  }
639
500
 
640
- .Button.FloatingActionButton.hidden {
641
- bottom: -100px;
501
+ .Checkbox input[type=checkbox]:checked + label:before {
502
+ background: #4AC263;
503
+ border: none;
642
504
  }
643
505
 
644
- .Dropzone {
645
- position: relative;
506
+ .Checkbox input[type=checkbox]:checked + label:after {
507
+ transform: rotate(-45deg);
508
+ top: 6px;
509
+ left: 4px;
510
+ width: 12px;
511
+ height: 6px;
512
+ border: 2px solid #fff;
513
+ border-top-style: none;
514
+ border-right-style: none;
646
515
  }
647
516
 
648
- .Dropzone > .overlay {
649
- position: absolute;
650
- left: 0;
651
- right: 0;
652
- top: 0;
653
- bottom: 0;
654
- background-color: #38ADC4;
655
- z-index: 1;
656
- opacity: 0;
657
- transition: all 0.2s ease;
658
- transition-delay: 100ms;
659
- visibility: hidden;
660
- display: flex;
661
- justify-content: center;
662
- align-items: center;
517
+ .Checkbox input[type=checkbox]:disabled + label {
518
+ color: gray;
663
519
  }
664
520
 
665
- .Dropzone > .overlay .drop {
666
- border-radius: 4px;
667
- border: 1px dashed #FFFFFF;
668
- position: absolute;
669
- top: 18px;
670
- left: 18px;
671
- right: 18px;
672
- bottom: 18px;
673
- display: flex;
674
- justify-content: center;
675
- align-items: center;
676
- font-weight: 500;
677
- font-size: 18px;
678
- color: #FFFFFF;
521
+ .Checkbox input[type=checkbox]:disabled + label:before {
522
+ border-color: rgba(0, 0, 0, 0.26);
679
523
  }
680
524
 
681
- .Dropzone.dragging > .overlay {
682
- opacity: 0.7;
683
- visibility: visible;
684
- transition-delay: 0s;
525
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
526
+ background: rgba(0, 0, 0, 0.26);
685
527
  }
686
528
 
687
- .Dropzone.dragging > * {
688
- pointer-events: none;
529
+ .DialogModal {
530
+ overflow: hidden;
689
531
  }
690
532
 
691
- .Dropzone > input.file {
692
- position: absolute;
693
- left: 0;
694
- right: 0;
695
- top: 0;
696
- bottom: 0;
697
- width: 100%;
698
- height: 100%;
699
- opacity: 0;
700
- cursor: pointer;
701
- z-index: 1;
533
+ .DialogModal .content {
534
+ top: 20vh;
702
535
  }
703
536
 
704
- .FilteredList {
705
- max-height: 250px;
706
- position: relative;
537
+ .Dialog {
538
+ background-color: white;
539
+ min-width: 460px;
540
+ max-width: 40vw;
541
+ padding: 15px;
707
542
  }
708
543
 
709
- .FilteredList.popup {
710
- padding: 0;
711
- visibility: hidden;
712
- position: absolute;
713
- background: white;
714
- z-index: 4;
715
- 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);
716
- transition: all 0.2s ease-out;
717
- top: calc(100% + 4px);
718
- opacity: 0;
719
- border-radius: 2px;
544
+ .Dialog .title {
545
+ margin-bottom: 15px;
546
+ padding: 20px 50px 0px 30px;
547
+ font-size: 1.25rem;
548
+ line-height: 2rem;
549
+ font-weight: 400;
550
+ letter-spacing: 0.0125em;
720
551
  }
721
552
 
722
- .FilteredList.popup.visible {
723
- opacity: 1;
724
- visibility: visible;
553
+ .Dialog .description {
554
+ color: rgba(0, 0, 0, 0.54);
555
+ font-size: 1rem;
556
+ line-height: 1.5rem;
557
+ font-weight: 400;
558
+ letter-spacing: 0.03125em;
559
+ margin-top: 20px;
560
+ padding: 0 24px 24px;
725
561
  }
726
562
 
727
- .FilteredList.inline {
728
- max-height: 225px;
729
- margin-top: 5px;
563
+ .Dialog > div.row {
564
+ margin-bottom: 15px;
730
565
  }
731
566
 
732
- .FilteredList .child {
733
- display: flex;
734
- flex-flow: row nowrap;
735
- align-items: center;
736
- white-space: nowrap;
737
- font-size: 14px;
738
- color: rgb(34, 34, 34);
739
- height: 30px;
740
- padding: 5px 10px;
741
- padding-right: 15px;
742
- cursor: pointer;
743
- overflow: hidden;
744
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
745
- border-left: 5px solid #4AC263;
746
- padding-left: 15px;
747
- margin-left: -5px;
567
+ .Dialog > div.row:last-child {
568
+ margin-bottom: 0;
748
569
  }
749
570
 
750
- .FilteredList .child.hidden {
751
- height: 0 !important;
752
- padding: 0 !important;
571
+ .animated {
572
+ transition: opacity 250ms ease;
573
+ opacity: 0;
753
574
  }
754
575
 
755
- .FilteredList .child.selected {
756
- background-color: #F0F0F0;
757
- padding-left: 10px;
758
- margin-left: 0px;
576
+ .animated.mounting, .animated.mounted {
577
+ opacity: 1;
759
578
  }
760
579
 
761
- .FilteredList .child.active {
762
- background-color: rgb(238, 238, 238);
580
+ .CircleProgress {
581
+ width: 48px;
582
+ height: 48px;
763
583
  }
764
584
 
765
- .FilteredList .child {
766
- margin-top: 8px;
585
+ .CircleProgress .line {
586
+ stroke-width: 2px;
587
+ stroke: black;
588
+ stroke-linecap: square;
589
+ fill: none;
590
+ transition: stroke-dashoffset 0.2s ease;
767
591
  }
768
592
 
769
- .FilteredList .child.hidden {
770
- margin-top: 0;
593
+ .Button.FloatingActionButton {
594
+ position: absolute;
595
+ right: 16px;
596
+ bottom: 16px;
597
+ width: 56px;
598
+ height: 56px;
599
+ padding: 16px;
600
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
771
601
  }
772
602
 
773
- .FilteredList .child:not(.hidden) ~ .child {
774
- margin-top: 0;
603
+ .Button.FloatingActionButton.raised {
604
+ 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);
775
605
  }
776
606
 
777
- .FilteredList .child:not(.hidden) ~ .child:last-child {
778
- margin-bottom: 8px;
607
+ .Button.FloatingActionButton.mini {
608
+ width: 40px;
609
+ height: 40px;
610
+ padding: 8px;
779
611
  }
780
612
 
781
- .FilteredList .child:not(.hidden):last-child {
782
- margin-bottom: 8px;
613
+ .Button.FloatingActionButton.hidden {
614
+ bottom: -100px;
783
615
  }
784
616
 
785
617
  .FormUploadProgress {
@@ -851,74 +683,116 @@
851
683
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
852
684
  }
853
685
 
854
- .Modal {
855
- display: block;
856
- position: fixed;
857
- top: 0;
858
- left: 0;
859
- right: 0;
860
- bottom: 100%;
861
- overflow-y: scroll;
862
- transition: bottom 0ms linear;
863
- transition-delay: 0.2s;
686
+ .DropFileInput {
687
+ flex-grow: 1;
864
688
  }
865
689
 
866
- .Modal.show {
867
- transition-delay: 0s;
868
- bottom: 0;
690
+ .DropFileInput .Dropzone {
691
+ border: 1px dashed #808080;
692
+ padding: 12px;
693
+ display: flex;
694
+ flex-flow: row nowrap;
695
+ justify-content: center;
696
+ align-items: center;
697
+ color: gray;
698
+ cursor: pointer;
699
+ border-radius: 3px;
700
+ font-weight: normal;
701
+ line-height: 22px;
702
+ font-size: 14px;
703
+ color: #7E7E7E;
704
+ max-width: 100%;
705
+ word-break: break-all;
706
+ word-break: break-word;
869
707
  }
870
708
 
871
- .Modal > .overlay {
872
- position: fixed;
873
- top: 0;
874
- bottom: 100%;
875
- left: 0;
876
- right: 0;
877
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
878
- opacity: 0;
879
- background-color: black;
880
- pointer-events: none;
709
+ .DropFileInput .Dropzone .icon.withText {
710
+ margin-right: 10px;
881
711
  }
882
712
 
883
- .Modal > .overlay.show {
884
- opacity: 0.5;
885
- bottom: 0;
713
+ .FilteredList {
714
+ max-height: 250px;
715
+ position: relative;
886
716
  }
887
717
 
888
- .Modal > .content {
889
- left: 50%;
890
- top: 10vh;
891
- margin-bottom: 10vh;
892
- font-size: 16px;
718
+ .FilteredList.popup {
893
719
  padding: 0;
894
- opacity: 0;
895
- transition: opacity 0.25s ease, transform 0.25s ease;
896
- transform: scaleY(0) translateY(-200px) translateX(-50%);
897
- transform-origin: top;
720
+ visibility: hidden;
898
721
  position: absolute;
722
+ background: white;
723
+ z-index: 4;
724
+ 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);
725
+ transition: all 0.2s ease-out;
726
+ top: calc(100% + 4px);
727
+ opacity: 0;
899
728
  border-radius: 2px;
900
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
901
729
  }
902
730
 
903
- .Modal > .content.show {
731
+ .FilteredList.popup.visible {
904
732
  opacity: 1;
905
- transform: scaleY(1) translateY(0px) translateX(-50%);
733
+ visibility: visible;
906
734
  }
907
735
 
908
- .Modal > .content > .Scrollable {
909
- overflow: visible;
910
- max-height: 80vh;
736
+ .FilteredList.portal {
737
+ transition: opacity 0.2s ease-out;
911
738
  }
912
739
 
913
- .Modal > .content > .Scrollable > .viewport {
914
- min-width: 10px;
915
- min-height: 10px;
740
+ .FilteredList.inline {
741
+ max-height: 225px;
742
+ margin-top: 5px;
916
743
  }
917
744
 
918
- .Modal > .content > .Button.close {
919
- top: 10px;
920
- right: 10px;
921
- position: absolute;
745
+ .FilteredList .child {
746
+ display: flex;
747
+ flex-flow: row nowrap;
748
+ align-items: center;
749
+ white-space: nowrap;
750
+ font-size: 14px;
751
+ color: rgb(34, 34, 34);
752
+ height: 30px;
753
+ padding: 5px 10px;
754
+ padding-right: 15px;
755
+ cursor: pointer;
756
+ overflow: hidden;
757
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
758
+ border-left: 5px solid #4AC263;
759
+ padding-left: 15px;
760
+ margin-left: -5px;
761
+ }
762
+
763
+ .FilteredList .child.hidden {
764
+ height: 0 !important;
765
+ padding: 0 !important;
766
+ }
767
+
768
+ .FilteredList .child.selected {
769
+ background-color: #F0F0F0;
770
+ padding-left: 10px;
771
+ margin-left: 0px;
772
+ }
773
+
774
+ .FilteredList .child.active {
775
+ background-color: rgb(238, 238, 238);
776
+ }
777
+
778
+ .FilteredList .child {
779
+ margin-top: 8px;
780
+ }
781
+
782
+ .FilteredList .child.hidden {
783
+ margin-top: 0;
784
+ }
785
+
786
+ .FilteredList .child:not(.hidden) ~ .child {
787
+ margin-top: 0;
788
+ }
789
+
790
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
791
+ margin-bottom: 8px;
792
+ }
793
+
794
+ .FilteredList .child:not(.hidden):last-child {
795
+ margin-bottom: 8px;
922
796
  }
923
797
 
924
798
  .ImageGallery {
@@ -1156,9 +1030,46 @@
1156
1030
  font-size: 24px;
1157
1031
  }
1158
1032
 
1159
- .Scrollable {
1160
- max-height: 250px;
1161
- max-width: 250px;
1033
+ .ModalMenu {
1034
+ position: absolute;
1035
+ top: 10px;
1036
+ right: 50px;
1037
+ }
1038
+
1039
+ .ModalMenu .material-icons {
1040
+ color: #818181;
1041
+ }
1042
+
1043
+ .ModalMenu .Button.animated {
1044
+ position: absolute;
1045
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1046
+ opacity: 0;
1047
+ right: 0;
1048
+ top: 0;
1049
+ }
1050
+
1051
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1052
+ opacity: 1;
1053
+ }
1054
+
1055
+ .ModalMenu .Button.animated.unmounting {
1056
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1057
+ }
1058
+
1059
+ .ModalMenu .Button.active {
1060
+ background: #EBEBEB;
1061
+ }
1062
+
1063
+ .ModalMenu .separator {
1064
+ height: 24px;
1065
+ width: 1px;
1066
+ background-color: #D9D9D9;
1067
+ margin-left: 4px;
1068
+ }
1069
+
1070
+ .Scrollable {
1071
+ max-height: 250px;
1072
+ max-width: 250px;
1162
1073
  padding-right: 5px;
1163
1074
  position: relative;
1164
1075
  display: flex;
@@ -1251,125 +1162,6 @@
1251
1162
  will-change: left;
1252
1163
  }
1253
1164
 
1254
- .ModalMenu {
1255
- position: absolute;
1256
- top: 10px;
1257
- right: 50px;
1258
- }
1259
-
1260
- .ModalMenu .material-icons {
1261
- color: #818181;
1262
- }
1263
-
1264
- .ModalMenu .Button.animated {
1265
- position: absolute;
1266
- transition: opacity 150ms ease-in, right 200ms ease-in;
1267
- opacity: 0;
1268
- right: 0;
1269
- top: 0;
1270
- }
1271
-
1272
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1273
- opacity: 1;
1274
- }
1275
-
1276
- .ModalMenu .Button.animated.unmounting {
1277
- transition: opacity 100ms ease-out, right 200ms ease-out;
1278
- }
1279
-
1280
- .ModalMenu .Button.active {
1281
- background: #EBEBEB;
1282
- }
1283
-
1284
- .ModalMenu .separator {
1285
- height: 24px;
1286
- width: 1px;
1287
- background-color: #D9D9D9;
1288
- margin-left: 4px;
1289
- }
1290
-
1291
- .Switch {
1292
- display: inline-flex;
1293
- padding-top: 5px;
1294
- }
1295
-
1296
- .Switch .switch-input {
1297
- display: none;
1298
- }
1299
-
1300
- .Switch .switch-label {
1301
- position: relative;
1302
- display: inline-flex;
1303
- align-items: center;
1304
- min-width: 38px;
1305
- height: 24px;
1306
- cursor: pointer;
1307
- font-weight: 500;
1308
- text-align: left;
1309
- user-select: none;
1310
- margin: 0;
1311
- padding: 0;
1312
- padding-left: 44px;
1313
- box-sizing: border-box;
1314
- }
1315
-
1316
- .Switch .switch-label:before, .Switch .switch-label:after {
1317
- content: "";
1318
- box-sizing: border-box;
1319
- position: absolute;
1320
- margin: 0;
1321
- outline: 0;
1322
- top: 50%;
1323
- transform: translate(0, -50%);
1324
- transition: all 0.3s ease;
1325
- }
1326
-
1327
- .Switch .switch-label:before {
1328
- left: 1px;
1329
- width: 34px;
1330
- height: 14px;
1331
- background-color: #9E9E9E;
1332
- border-radius: 8px;
1333
- }
1334
-
1335
- .Switch .switch-label:after {
1336
- left: 0;
1337
- width: 20px;
1338
- height: 20px;
1339
- background-color: #FAFAFA;
1340
- border-radius: 50%;
1341
- 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);
1342
- }
1343
-
1344
- .Switch .switch-label .toggle--on {
1345
- display: none;
1346
- }
1347
-
1348
- .Switch .switch-label .toggle--off {
1349
- display: inline-block;
1350
- }
1351
-
1352
- .Switch .switch-label .label {
1353
- margin-right: 5px;
1354
- }
1355
-
1356
- .Switch .switch-input:checked + .switch-label:before {
1357
- background-color: #A5D6A7;
1358
- }
1359
-
1360
- .Switch .switch-input:checked + .switch-label:after {
1361
- background-color: #4CAF50;
1362
- transform: translate(80%, -50%);
1363
- }
1364
-
1365
- .Switch .switch-input:checked + .switch-label .toggle--on {
1366
- display: inline-block;
1367
- }
1368
-
1369
- .Switch .switch-input:checked + .switch-label .toggle--off {
1370
- display: none;
1371
- }
1372
-
1373
1165
  .SpinningProgress {
1374
1166
  width: 48px;
1375
1167
  height: 48px;
@@ -1611,6 +1403,218 @@
1611
1403
  animation-name: shake;
1612
1404
  }
1613
1405
 
1406
+ .Switch {
1407
+ display: inline-flex;
1408
+ padding-top: 5px;
1409
+ }
1410
+
1411
+ .Switch .switch-input {
1412
+ display: none;
1413
+ }
1414
+
1415
+ .Switch .switch-label {
1416
+ position: relative;
1417
+ display: inline-flex;
1418
+ align-items: center;
1419
+ min-width: 38px;
1420
+ height: 24px;
1421
+ cursor: pointer;
1422
+ font-weight: 500;
1423
+ text-align: left;
1424
+ user-select: none;
1425
+ margin: 0;
1426
+ padding: 0;
1427
+ padding-left: 44px;
1428
+ box-sizing: border-box;
1429
+ }
1430
+
1431
+ .Switch .switch-label:before, .Switch .switch-label:after {
1432
+ content: "";
1433
+ box-sizing: border-box;
1434
+ position: absolute;
1435
+ margin: 0;
1436
+ outline: 0;
1437
+ top: 50%;
1438
+ transform: translate(0, -50%);
1439
+ transition: all 0.3s ease;
1440
+ }
1441
+
1442
+ .Switch .switch-label:before {
1443
+ left: 1px;
1444
+ width: 34px;
1445
+ height: 14px;
1446
+ background-color: #9E9E9E;
1447
+ border-radius: 8px;
1448
+ }
1449
+
1450
+ .Switch .switch-label:after {
1451
+ left: 0;
1452
+ width: 20px;
1453
+ height: 20px;
1454
+ background-color: #FAFAFA;
1455
+ border-radius: 50%;
1456
+ 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);
1457
+ }
1458
+
1459
+ .Switch .switch-label .toggle--on {
1460
+ display: none;
1461
+ }
1462
+
1463
+ .Switch .switch-label .toggle--off {
1464
+ display: inline-block;
1465
+ }
1466
+
1467
+ .Switch .switch-label .label {
1468
+ margin-right: 5px;
1469
+ }
1470
+
1471
+ .Switch .switch-input:checked + .switch-label:before {
1472
+ background-color: #A5D6A7;
1473
+ }
1474
+
1475
+ .Switch .switch-input:checked + .switch-label:after {
1476
+ background-color: #4CAF50;
1477
+ transform: translate(80%, -50%);
1478
+ }
1479
+
1480
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1481
+ display: inline-block;
1482
+ }
1483
+
1484
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1485
+ display: none;
1486
+ }
1487
+
1488
+ .Dropzone {
1489
+ position: relative;
1490
+ }
1491
+
1492
+ .Dropzone > .overlay {
1493
+ position: absolute;
1494
+ left: 0;
1495
+ right: 0;
1496
+ top: 0;
1497
+ bottom: 0;
1498
+ background-color: #38ADC4;
1499
+ z-index: 1;
1500
+ opacity: 0;
1501
+ transition: all 0.2s ease;
1502
+ transition-delay: 100ms;
1503
+ visibility: hidden;
1504
+ display: flex;
1505
+ justify-content: center;
1506
+ align-items: center;
1507
+ }
1508
+
1509
+ .Dropzone > .overlay .drop {
1510
+ border-radius: 4px;
1511
+ border: 1px dashed #FFFFFF;
1512
+ position: absolute;
1513
+ top: 18px;
1514
+ left: 18px;
1515
+ right: 18px;
1516
+ bottom: 18px;
1517
+ display: flex;
1518
+ justify-content: center;
1519
+ align-items: center;
1520
+ font-weight: 500;
1521
+ font-size: 18px;
1522
+ color: #FFFFFF;
1523
+ }
1524
+
1525
+ .Dropzone.dragging > .overlay {
1526
+ opacity: 0.7;
1527
+ visibility: visible;
1528
+ transition-delay: 0s;
1529
+ }
1530
+
1531
+ .Dropzone.dragging > * {
1532
+ pointer-events: none;
1533
+ }
1534
+
1535
+ .Dropzone > input.file {
1536
+ position: absolute;
1537
+ left: 0;
1538
+ right: 0;
1539
+ top: 0;
1540
+ bottom: 0;
1541
+ width: 100%;
1542
+ height: 100%;
1543
+ opacity: 0;
1544
+ cursor: pointer;
1545
+ z-index: 1;
1546
+ }
1547
+
1548
+ .Modal {
1549
+ display: block;
1550
+ position: fixed;
1551
+ top: 0;
1552
+ left: 0;
1553
+ right: 0;
1554
+ bottom: 100%;
1555
+ overflow-y: scroll;
1556
+ transition: bottom 0ms linear;
1557
+ transition-delay: 0.2s;
1558
+ }
1559
+
1560
+ .Modal.show {
1561
+ transition-delay: 0s;
1562
+ bottom: 0;
1563
+ }
1564
+
1565
+ .Modal > .overlay {
1566
+ position: fixed;
1567
+ top: 0;
1568
+ bottom: 100%;
1569
+ left: 0;
1570
+ right: 0;
1571
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1572
+ opacity: 0;
1573
+ background-color: black;
1574
+ pointer-events: none;
1575
+ }
1576
+
1577
+ .Modal > .overlay.show {
1578
+ opacity: 0.5;
1579
+ bottom: 0;
1580
+ }
1581
+
1582
+ .Modal > .content {
1583
+ left: 50%;
1584
+ top: 10vh;
1585
+ margin-bottom: 10vh;
1586
+ font-size: 16px;
1587
+ padding: 0;
1588
+ opacity: 0;
1589
+ transition: opacity 0.25s ease, transform 0.25s ease;
1590
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1591
+ transform-origin: top;
1592
+ position: absolute;
1593
+ border-radius: 2px;
1594
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1595
+ }
1596
+
1597
+ .Modal > .content.show {
1598
+ opacity: 1;
1599
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1600
+ }
1601
+
1602
+ .Modal > .content > .Scrollable {
1603
+ overflow: visible;
1604
+ max-height: 80vh;
1605
+ }
1606
+
1607
+ .Modal > .content > .Scrollable > .viewport {
1608
+ min-width: 10px;
1609
+ min-height: 10px;
1610
+ }
1611
+
1612
+ .Modal > .content > .Button.close {
1613
+ top: 10px;
1614
+ right: 10px;
1615
+ position: absolute;
1616
+ }
1617
+
1614
1618
  .DNDContainer .DroppableList .Draggable {
1615
1619
  transform: unset;
1616
1620
  transition: unset;
@@ -1629,29 +1633,36 @@
1629
1633
  transition: transform 0.1s ease-in;
1630
1634
  }
1631
1635
 
1632
- .CalendarMonthView {
1633
- display: flex;
1634
- flex-flow: column nowrap;
1635
- height: 100%;
1636
+ .DNDContainer {
1637
+ position: relative;
1636
1638
  }
1637
1639
 
1638
- .CalendarMonthView > .row {
1639
- display: flex;
1640
- flex-flow: row nowrap;
1640
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1641
+ cursor: pointer;
1641
1642
  }
1642
1643
 
1643
- .CalendarMonthView .days {
1644
- flex-grow: 1;
1645
- position: relative;
1644
+ .DNDContainer .Draggable.placeholder {
1645
+ opacity: 0.2;
1646
1646
  }
1647
1647
 
1648
- .CalendarMonthView .day, .CalendarMonthView .header {
1649
- flex-grow: 1;
1650
- flex-basis: 1px;
1648
+ .DNDContainer .Draggable.copy {
1649
+ position: absolute;
1650
+ box-sizing: border-box;
1651
+ will-change: transform;
1652
+ opacity: 0;
1651
1653
  }
1652
1654
 
1653
- .CalendarMonthView .day {
1654
- height: 100%;
1655
+ .DNDContainer .Draggable.dragged {
1656
+ z-index: 10;
1657
+ }
1658
+
1659
+ .DNDContainer .overlay {
1660
+ position: absolute;
1661
+ top: 0;
1662
+ left: 0;
1663
+ right: 0;
1664
+ bottom: 0;
1665
+ pointer-events: none;
1655
1666
  }
1656
1667
 
1657
1668
  .DatePicker {
@@ -1768,36 +1779,37 @@
1768
1779
  background-color: #51adf6;
1769
1780
  }
1770
1781
 
1771
- .DNDContainer {
1772
- position: relative;
1782
+ .ScrollableTable .Scrollable .scrollbar {
1783
+ top: 56px;
1773
1784
  }
1774
1785
 
1775
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1776
- cursor: pointer;
1786
+ .ScrollableTable .Table {
1787
+ position: static;
1777
1788
  }
1778
1789
 
1779
- .DNDContainer .Draggable.placeholder {
1780
- opacity: 0.2;
1790
+ .CalendarMonthView {
1791
+ display: flex;
1792
+ flex-flow: column nowrap;
1793
+ height: 100%;
1781
1794
  }
1782
1795
 
1783
- .DNDContainer .Draggable.copy {
1784
- position: absolute;
1785
- box-sizing: border-box;
1786
- will-change: transform;
1787
- opacity: 0;
1796
+ .CalendarMonthView > .row {
1797
+ display: flex;
1798
+ flex-flow: row nowrap;
1788
1799
  }
1789
1800
 
1790
- .DNDContainer .Draggable.dragged {
1791
- z-index: 10;
1801
+ .CalendarMonthView .days {
1802
+ flex-grow: 1;
1803
+ position: relative;
1792
1804
  }
1793
1805
 
1794
- .DNDContainer .overlay {
1795
- position: absolute;
1796
- top: 0;
1797
- left: 0;
1798
- right: 0;
1799
- bottom: 0;
1800
- pointer-events: none;
1806
+ .CalendarMonthView .day, .CalendarMonthView .header {
1807
+ flex-grow: 1;
1808
+ flex-basis: 1px;
1809
+ }
1810
+
1811
+ .CalendarMonthView .day {
1812
+ height: 100%;
1801
1813
  }
1802
1814
 
1803
1815
  .Table {
@@ -1914,10 +1926,10 @@
1914
1926
  background-color: rgb(240, 240, 240);
1915
1927
  }
1916
1928
 
1917
- .ScrollableTable .Scrollable .scrollbar {
1918
- top: 56px;
1929
+ .Table .editable > .AutocompleteSelect {
1930
+ min-width: unset;
1919
1931
  }
1920
1932
 
1921
- .ScrollableTable .Table {
1922
- position: static;
1933
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1934
+ margin: 0;
1923
1935
  }