react-ui-basics 0.0.200 → 0.0.201

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
@@ -472,6 +472,15 @@
472
472
  border: 0;
473
473
  }
474
474
 
475
+ .animated {
476
+ transition: opacity 250ms ease;
477
+ opacity: 0;
478
+ }
479
+
480
+ .animated.mounting, .animated.mounted {
481
+ opacity: 1;
482
+ }
483
+
475
484
  .Checkbox {
476
485
  position: relative;
477
486
  white-space: pre;
@@ -539,140 +548,150 @@
539
548
  background: rgba(0, 0, 0, 0.26);
540
549
  }
541
550
 
542
- .FilteredList {
543
- max-height: 250px;
544
- position: relative;
545
- }
546
-
547
- .FilteredList.popup {
548
- padding: 0;
549
- visibility: hidden;
550
- position: absolute;
551
- background: white;
552
- z-index: 4;
553
- 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);
554
- transition: all 0.2s ease-out;
555
- top: calc(100% + 4px);
556
- opacity: 0;
557
- border-radius: 2px;
551
+ .DropFileInput {
552
+ flex-grow: 1;
558
553
  }
559
554
 
560
- .FilteredList.popup.visible {
561
- opacity: 1;
562
- visibility: visible;
555
+ .DropFileInput .Dropzone {
556
+ border: 1px dashed #808080;
557
+ padding: 12px;
558
+ display: flex;
559
+ flex-flow: row nowrap;
560
+ justify-content: center;
561
+ align-items: center;
562
+ color: gray;
563
+ cursor: pointer;
564
+ border-radius: 3px;
565
+ font-weight: normal;
566
+ line-height: 22px;
567
+ font-size: 14px;
568
+ color: #7E7E7E;
569
+ max-width: 100%;
570
+ word-break: break-all;
571
+ word-break: break-word;
563
572
  }
564
573
 
565
- .FilteredList.portal {
566
- transition: opacity 0.2s ease-out;
574
+ .DropFileInput .Dropzone .icon.withText {
575
+ margin-right: 10px;
567
576
  }
568
577
 
569
- .FilteredList.inline {
570
- max-height: 225px;
571
- margin-top: 5px;
578
+ .Button.FloatingActionButton {
579
+ position: absolute;
580
+ right: 16px;
581
+ bottom: 16px;
582
+ width: 56px;
583
+ height: 56px;
584
+ padding: 16px;
585
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
572
586
  }
573
587
 
574
- .FilteredList .child {
575
- display: flex;
576
- flex-flow: row nowrap;
577
- align-items: center;
578
- white-space: nowrap;
579
- font-size: 14px;
580
- color: rgb(34, 34, 34);
581
- height: 30px;
582
- padding: 5px 10px;
583
- padding-right: 15px;
584
- cursor: pointer;
585
- overflow: hidden;
586
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
587
- border-left: 5px solid #4AC263;
588
- padding-left: 15px;
589
- margin-left: -5px;
588
+ .Button.FloatingActionButton.raised {
589
+ 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);
590
590
  }
591
591
 
592
- .FilteredList .child.hidden {
593
- height: 0 !important;
594
- padding: 0 !important;
592
+ .Button.FloatingActionButton.mini {
593
+ width: 40px;
594
+ height: 40px;
595
+ padding: 8px;
595
596
  }
596
597
 
597
- .FilteredList .child.selected {
598
- background-color: #F0F0F0;
599
- padding-left: 10px;
600
- margin-left: 0px;
598
+ .Button.FloatingActionButton.hidden {
599
+ bottom: -100px;
601
600
  }
602
601
 
603
- .FilteredList .child.active {
604
- background-color: rgb(238, 238, 238);
602
+ .Scrollable {
603
+ max-height: 250px;
604
+ max-width: 250px;
605
+ padding-right: 5px;
606
+ position: relative;
607
+ display: flex;
608
+ flex-flow: column;
609
+ align-items: stretch;
610
+ overflow: hidden;
605
611
  }
606
612
 
607
- .FilteredList .child {
608
- margin-top: 8px;
613
+ .Scrollable:hover > .scrollbar.auto {
614
+ transition-delay: 0s;
615
+ opacity: 1;
609
616
  }
610
617
 
611
- .FilteredList .child.hidden {
612
- margin-top: 0;
618
+ .Scrollable .viewport {
619
+ overflow-y: scroll;
620
+ overflow-x: scroll;
621
+ max-height: 100%;
622
+ scroll-behavior: smooth;
623
+ scrollbar-width: none;
613
624
  }
614
625
 
615
- .FilteredList .child:not(.hidden) ~ .child {
616
- margin-top: 0;
626
+ .Scrollable .viewport::-webkit-scrollbar {
627
+ display: none;
617
628
  }
618
629
 
619
- .FilteredList .child:not(.hidden) ~ .child:last-child {
620
- margin-bottom: 8px;
630
+ .Scrollable.without-scroll-horizontal {
631
+ max-width: unset;
621
632
  }
622
633
 
623
- .FilteredList .child:not(.hidden):last-child {
624
- margin-bottom: 8px;
634
+ .Scrollable.without-scroll {
635
+ padding-right: 0;
636
+ max-height: unset;
625
637
  }
626
638
 
627
- .animated {
628
- transition: opacity 250ms ease;
629
- opacity: 0;
639
+ .Scrollable.without-scroll > .viewport {
640
+ padding-right: 0;
641
+ margin-right: 0;
630
642
  }
631
643
 
632
- .animated.mounting, .animated.mounted {
633
- opacity: 1;
644
+ .Scrollable.without-scroll > .scrollbar {
645
+ visibility: hidden;
634
646
  }
635
647
 
636
- .DialogModal {
637
- overflow: hidden;
648
+ .Scrollable .scrollbar {
649
+ position: absolute;
650
+ right: 0px;
651
+ top: 0px;
652
+ width: 5px;
653
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
654
+ transition-delay: 0.5s;
655
+ z-index: 1;
638
656
  }
639
657
 
640
- .DialogModal .content {
641
- top: 20vh;
658
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
659
+ opacity: 0;
642
660
  }
643
661
 
644
- .Dialog {
645
- background-color: white;
646
- min-width: 460px;
647
- max-width: 40vw;
648
- padding: 15px;
662
+ .Scrollable .scrollbar .thumb {
663
+ background-color: rgba(0, 0, 0, 0.3);
664
+ width: 5px;
665
+ position: absolute;
666
+ right: 0px;
667
+ top: 0px;
668
+ user-select: none;
669
+ will-change: top;
670
+ border-radius: 2px;
649
671
  }
650
672
 
651
- .Dialog .title {
652
- margin-bottom: 15px;
653
- padding: 20px 50px 0px 30px;
654
- font-size: 1.25rem;
655
- line-height: 2rem;
656
- font-weight: 400;
657
- letter-spacing: 0.0125em;
673
+ .Scrollable .scrollbar .thumb:hover {
674
+ background-color: rgba(0, 0, 0, 0.5);
658
675
  }
659
676
 
660
- .Dialog .description {
661
- color: rgba(0, 0, 0, 0.54);
662
- font-size: 1rem;
663
- line-height: 1.5rem;
664
- font-weight: 400;
665
- letter-spacing: 0.03125em;
666
- margin-top: 20px;
667
- padding: 0 24px 24px;
677
+ .Scrollable .scrollbar .thumb:active {
678
+ background-color: rgba(0, 0, 0, 0.7);
668
679
  }
669
680
 
670
- .Dialog > div.row {
671
- margin-bottom: 15px;
681
+ .Scrollable .scrollbar.horizontal {
682
+ left: 0px;
683
+ right: 0px;
684
+ height: 5px;
685
+ bottom: 0;
686
+ width: unset;
687
+ top: unset;
672
688
  }
673
689
 
674
- .Dialog > div.row:last-child {
675
- margin-bottom: 0;
690
+ .Scrollable .scrollbar.horizontal .thumb {
691
+ height: 5px;
692
+ left: 0px;
693
+ bottom: 0px;
694
+ will-change: left;
676
695
  }
677
696
 
678
697
  .Dropzone {
@@ -735,6 +754,155 @@
735
754
  z-index: 1;
736
755
  }
737
756
 
757
+ .ModalMenu {
758
+ position: absolute;
759
+ top: 10px;
760
+ right: 50px;
761
+ }
762
+
763
+ .ModalMenu .material-icons {
764
+ color: #818181;
765
+ }
766
+
767
+ .ModalMenu .Button.animated {
768
+ position: absolute;
769
+ transition: opacity 150ms ease-in, right 200ms ease-in;
770
+ opacity: 0;
771
+ right: 0;
772
+ top: 0;
773
+ }
774
+
775
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
776
+ opacity: 1;
777
+ }
778
+
779
+ .ModalMenu .Button.animated.unmounting {
780
+ transition: opacity 100ms ease-out, right 200ms ease-out;
781
+ }
782
+
783
+ .ModalMenu .Button.active {
784
+ background: #EBEBEB;
785
+ }
786
+
787
+ .ModalMenu .separator {
788
+ height: 24px;
789
+ width: 1px;
790
+ background-color: #D9D9D9;
791
+ margin-left: 4px;
792
+ }
793
+
794
+ .DialogModal {
795
+ overflow: hidden;
796
+ }
797
+
798
+ .DialogModal .content {
799
+ top: 20vh;
800
+ }
801
+
802
+ .Dialog {
803
+ background-color: white;
804
+ min-width: 460px;
805
+ max-width: 40vw;
806
+ padding: 15px;
807
+ }
808
+
809
+ .Dialog .title {
810
+ margin-bottom: 15px;
811
+ padding: 20px 50px 0px 30px;
812
+ font-size: 1.25rem;
813
+ line-height: 2rem;
814
+ font-weight: 400;
815
+ letter-spacing: 0.0125em;
816
+ }
817
+
818
+ .Dialog .description {
819
+ color: rgba(0, 0, 0, 0.54);
820
+ font-size: 1rem;
821
+ line-height: 1.5rem;
822
+ font-weight: 400;
823
+ letter-spacing: 0.03125em;
824
+ margin-top: 20px;
825
+ padding: 0 24px 24px;
826
+ }
827
+
828
+ .Dialog > div.row {
829
+ margin-bottom: 15px;
830
+ }
831
+
832
+ .Dialog > div.row:last-child {
833
+ margin-bottom: 0;
834
+ }
835
+
836
+ .Modal {
837
+ display: block;
838
+ position: fixed;
839
+ top: 0;
840
+ left: 0;
841
+ right: 0;
842
+ bottom: 100%;
843
+ overflow-y: scroll;
844
+ transition: bottom 0ms linear;
845
+ transition-delay: 0.2s;
846
+ }
847
+
848
+ .Modal.show {
849
+ transition-delay: 0s;
850
+ bottom: 0;
851
+ }
852
+
853
+ .Modal > .overlay {
854
+ position: fixed;
855
+ top: 0;
856
+ bottom: 100%;
857
+ left: 0;
858
+ right: 0;
859
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
860
+ opacity: 0;
861
+ background-color: black;
862
+ pointer-events: none;
863
+ }
864
+
865
+ .Modal > .overlay.show {
866
+ opacity: 0.5;
867
+ bottom: 0;
868
+ }
869
+
870
+ .Modal > .content {
871
+ left: 50%;
872
+ top: 10vh;
873
+ margin-bottom: 10vh;
874
+ font-size: 16px;
875
+ padding: 0;
876
+ opacity: 0;
877
+ transition: opacity 0.25s ease, transform 0.25s ease;
878
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
879
+ transform-origin: top;
880
+ position: absolute;
881
+ border-radius: 2px;
882
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
883
+ }
884
+
885
+ .Modal > .content.show {
886
+ opacity: 1;
887
+ transform: scaleY(1) translateY(0px) translateX(-50%);
888
+ }
889
+
890
+ .Modal > .content > .Scrollable {
891
+ overflow: visible;
892
+ max-height: 80vh;
893
+ }
894
+
895
+ .Modal > .content > .Scrollable > .viewport {
896
+ min-width: 10px;
897
+ min-height: 10px;
898
+ }
899
+
900
+ .Modal > .content > .Button.close {
901
+ top: 10px;
902
+ right: 10px;
903
+ position: absolute;
904
+ }
905
+
738
906
  .FormUploadProgress {
739
907
  position: absolute;
740
908
  left: 0;
@@ -804,170 +972,171 @@
804
972
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
805
973
  }
806
974
 
807
- .Button.FloatingActionButton {
975
+ .FilteredList {
976
+ max-height: 250px;
977
+ position: relative;
978
+ }
979
+
980
+ .FilteredList.popup {
981
+ padding: 0;
982
+ visibility: hidden;
808
983
  position: absolute;
809
- right: 16px;
810
- bottom: 16px;
811
- width: 56px;
812
- height: 56px;
813
- padding: 16px;
814
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
984
+ background: white;
985
+ z-index: 4;
986
+ 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);
987
+ transition: all 0.2s ease-out;
988
+ top: calc(100% + 4px);
989
+ opacity: 0;
990
+ border-radius: 2px;
815
991
  }
816
992
 
817
- .Button.FloatingActionButton.raised {
818
- 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);
993
+ .FilteredList.popup.visible {
994
+ opacity: 1;
995
+ visibility: visible;
819
996
  }
820
997
 
821
- .Button.FloatingActionButton.mini {
822
- width: 40px;
823
- height: 40px;
824
- padding: 8px;
998
+ .FilteredList.portal {
999
+ transition: opacity 0.2s ease-out;
825
1000
  }
826
1001
 
827
- .Button.FloatingActionButton.hidden {
828
- bottom: -100px;
1002
+ .FilteredList.inline {
1003
+ max-height: 225px;
1004
+ margin-top: 5px;
829
1005
  }
830
1006
 
831
- .Snackbar {
832
- transform: translateX(-50%);
833
- overflow: hidden;
834
- background-color: #323232;
835
- padding: 14px 24px 14px 24px;
836
- color: #fff;
837
- min-width: 288px;
838
- max-width: 568px;
839
- position: fixed;
840
- bottom: -50px;
841
- left: 50%;
1007
+ .FilteredList .child {
842
1008
  display: flex;
843
- flex-wrap: nowrap;
1009
+ flex-flow: row nowrap;
844
1010
  align-items: center;
845
- opacity: 0;
846
- transition: bottom 0.25s ease, opacity 0.2s ease;
847
- border-radius: 4px;
848
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1011
+ white-space: nowrap;
1012
+ font-size: 14px;
1013
+ color: rgb(34, 34, 34);
1014
+ height: 30px;
1015
+ padding: 5px 10px;
1016
+ padding-right: 15px;
1017
+ cursor: pointer;
1018
+ overflow: hidden;
1019
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1020
+ border-left: 5px solid #4AC263;
1021
+ padding-left: 15px;
1022
+ margin-left: -5px;
849
1023
  }
850
1024
 
851
- .Snackbar.shown {
852
- bottom: 15px;
853
- opacity: 1;
1025
+ .FilteredList .child.hidden {
1026
+ height: 0 !important;
1027
+ padding: 0 !important;
854
1028
  }
855
1029
 
856
- .Snackbar .message {
857
- overflow: hidden;
858
- line-height: 1.2em;
859
- min-height: 1.2em;
860
- max-height: 2.4em;
861
- flex: 1;
1030
+ .FilteredList .child.selected {
1031
+ background-color: #F0F0F0;
1032
+ padding-left: 10px;
1033
+ margin-left: 0px;
862
1034
  }
863
1035
 
864
- .Snackbar .action {
865
- text-transform: uppercase;
866
- font-weight: bold;
867
- margin-left: 48px;
868
- color: #bf3727;
1036
+ .FilteredList .child.active {
1037
+ background-color: rgb(238, 238, 238);
869
1038
  }
870
1039
 
871
- .Snackbar .action a {
872
- text-decoration: none;
873
- color: #bf3727;
1040
+ .FilteredList .child {
1041
+ margin-top: 8px;
874
1042
  }
875
1043
 
876
- .DropFileInput {
877
- flex-grow: 1;
1044
+ .FilteredList .child.hidden {
1045
+ margin-top: 0;
878
1046
  }
879
1047
 
880
- .DropFileInput .Dropzone {
881
- border: 1px dashed #808080;
882
- padding: 12px;
883
- display: flex;
884
- flex-flow: row nowrap;
885
- justify-content: center;
1048
+ .FilteredList .child:not(.hidden) ~ .child {
1049
+ margin-top: 0;
1050
+ }
1051
+
1052
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1053
+ margin-bottom: 8px;
1054
+ }
1055
+
1056
+ .FilteredList .child:not(.hidden):last-child {
1057
+ margin-bottom: 8px;
1058
+ }
1059
+
1060
+ .Switch {
1061
+ display: inline-flex;
1062
+ padding-top: 5px;
1063
+ }
1064
+
1065
+ .Switch .switch-input {
1066
+ display: none;
1067
+ }
1068
+
1069
+ .Switch .switch-label {
1070
+ position: relative;
1071
+ display: inline-flex;
886
1072
  align-items: center;
887
- color: gray;
1073
+ min-width: 38px;
1074
+ height: 24px;
888
1075
  cursor: pointer;
889
- border-radius: 3px;
890
- font-weight: normal;
891
- line-height: 22px;
892
- font-size: 14px;
893
- color: #7E7E7E;
894
- max-width: 100%;
895
- word-break: break-all;
896
- word-break: break-word;
1076
+ font-weight: 500;
1077
+ text-align: left;
1078
+ user-select: none;
1079
+ margin: 0;
1080
+ padding: 0;
1081
+ padding-left: 44px;
1082
+ box-sizing: border-box;
897
1083
  }
898
1084
 
899
- .DropFileInput .Dropzone .icon.withText {
900
- margin-right: 10px;
1085
+ .Switch .switch-label:before, .Switch .switch-label:after {
1086
+ content: "";
1087
+ box-sizing: border-box;
1088
+ position: absolute;
1089
+ margin: 0;
1090
+ outline: 0;
1091
+ top: 50%;
1092
+ transform: translate(0, -50%);
1093
+ transition: all 0.3s ease;
901
1094
  }
902
1095
 
903
- .Modal {
904
- display: block;
905
- position: fixed;
906
- top: 0;
907
- left: 0;
908
- right: 0;
909
- bottom: 100%;
910
- overflow-y: scroll;
911
- transition: bottom 0ms linear;
912
- transition-delay: 0.2s;
1096
+ .Switch .switch-label:before {
1097
+ left: 1px;
1098
+ width: 34px;
1099
+ height: 14px;
1100
+ background-color: #9E9E9E;
1101
+ border-radius: 8px;
913
1102
  }
914
1103
 
915
- .Modal.show {
916
- transition-delay: 0s;
917
- bottom: 0;
1104
+ .Switch .switch-label:after {
1105
+ left: 0;
1106
+ width: 20px;
1107
+ height: 20px;
1108
+ background-color: #FAFAFA;
1109
+ border-radius: 50%;
1110
+ 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);
918
1111
  }
919
1112
 
920
- .Modal > .overlay {
921
- position: fixed;
922
- top: 0;
923
- bottom: 100%;
924
- left: 0;
925
- right: 0;
926
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
927
- opacity: 0;
928
- background-color: black;
929
- pointer-events: none;
1113
+ .Switch .switch-label .toggle--on {
1114
+ display: none;
930
1115
  }
931
1116
 
932
- .Modal > .overlay.show {
933
- opacity: 0.5;
934
- bottom: 0;
1117
+ .Switch .switch-label .toggle--off {
1118
+ display: inline-block;
935
1119
  }
936
1120
 
937
- .Modal > .content {
938
- left: 50%;
939
- top: 10vh;
940
- margin-bottom: 10vh;
941
- font-size: 16px;
942
- padding: 0;
943
- opacity: 0;
944
- transition: opacity 0.25s ease, transform 0.25s ease;
945
- transform: scaleY(0) translateY(-200px) translateX(-50%);
946
- transform-origin: top;
947
- position: absolute;
948
- border-radius: 2px;
949
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1121
+ .Switch .switch-label .label {
1122
+ margin-right: 5px;
950
1123
  }
951
1124
 
952
- .Modal > .content.show {
953
- opacity: 1;
954
- transform: scaleY(1) translateY(0px) translateX(-50%);
1125
+ .Switch .switch-input:checked + .switch-label:before {
1126
+ background-color: #A5D6A7;
955
1127
  }
956
1128
 
957
- .Modal > .content > .Scrollable {
958
- overflow: visible;
959
- max-height: 80vh;
1129
+ .Switch .switch-input:checked + .switch-label:after {
1130
+ background-color: #4CAF50;
1131
+ transform: translate(80%, -50%);
960
1132
  }
961
1133
 
962
- .Modal > .content > .Scrollable > .viewport {
963
- min-width: 10px;
964
- min-height: 10px;
1134
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1135
+ display: inline-block;
965
1136
  }
966
1137
 
967
- .Modal > .content > .Button.close {
968
- top: 10px;
969
- right: 10px;
970
- position: absolute;
1138
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1139
+ display: none;
971
1140
  }
972
1141
 
973
1142
  .ImageGallery {
@@ -1205,218 +1374,120 @@
1205
1374
  font-size: 24px;
1206
1375
  }
1207
1376
 
1208
- .ModalMenu {
1209
- position: absolute;
1210
- top: 10px;
1211
- right: 50px;
1212
- }
1213
-
1214
- .ModalMenu .material-icons {
1215
- color: #818181;
1216
- }
1217
-
1218
- .ModalMenu .Button.animated {
1219
- position: absolute;
1220
- transition: opacity 150ms ease-in, right 200ms ease-in;
1221
- opacity: 0;
1222
- right: 0;
1223
- top: 0;
1224
- }
1225
-
1226
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1227
- opacity: 1;
1228
- }
1229
-
1230
- .ModalMenu .Button.animated.unmounting {
1231
- transition: opacity 100ms ease-out, right 200ms ease-out;
1232
- }
1233
-
1234
- .ModalMenu .Button.active {
1235
- background: #EBEBEB;
1236
- }
1237
-
1238
- .ModalMenu .separator {
1239
- height: 24px;
1240
- width: 1px;
1241
- background-color: #D9D9D9;
1242
- margin-left: 4px;
1243
- }
1244
-
1245
- .Switch {
1246
- display: inline-flex;
1247
- padding-top: 5px;
1248
- }
1249
-
1250
- .Switch .switch-input {
1251
- display: none;
1252
- }
1253
-
1254
- .Switch .switch-label {
1255
- position: relative;
1256
- display: inline-flex;
1257
- align-items: center;
1258
- min-width: 38px;
1259
- height: 24px;
1260
- cursor: pointer;
1261
- font-weight: 500;
1262
- text-align: left;
1263
- user-select: none;
1264
- margin: 0;
1265
- padding: 0;
1266
- padding-left: 44px;
1267
- box-sizing: border-box;
1268
- }
1269
-
1270
- .Switch .switch-label:before, .Switch .switch-label:after {
1271
- content: "";
1272
- box-sizing: border-box;
1273
- position: absolute;
1274
- margin: 0;
1275
- outline: 0;
1276
- top: 50%;
1277
- transform: translate(0, -50%);
1278
- transition: all 0.3s ease;
1279
- }
1280
-
1281
- .Switch .switch-label:before {
1282
- left: 1px;
1283
- width: 34px;
1284
- height: 14px;
1285
- background-color: #9E9E9E;
1286
- border-radius: 8px;
1287
- }
1288
-
1289
- .Switch .switch-label:after {
1290
- left: 0;
1291
- width: 20px;
1292
- height: 20px;
1293
- background-color: #FAFAFA;
1294
- border-radius: 50%;
1295
- 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);
1296
- }
1297
-
1298
- .Switch .switch-label .toggle--on {
1299
- display: none;
1300
- }
1301
-
1302
- .Switch .switch-label .toggle--off {
1303
- display: inline-block;
1304
- }
1305
-
1306
- .Switch .switch-label .label {
1307
- margin-right: 5px;
1308
- }
1309
-
1310
- .Switch .switch-input:checked + .switch-label:before {
1311
- background-color: #A5D6A7;
1312
- }
1313
-
1314
- .Switch .switch-input:checked + .switch-label:after {
1315
- background-color: #4CAF50;
1316
- transform: translate(80%, -50%);
1317
- }
1318
-
1319
- .Switch .switch-input:checked + .switch-label .toggle--on {
1320
- display: inline-block;
1321
- }
1322
-
1323
- .Switch .switch-input:checked + .switch-label .toggle--off {
1324
- display: none;
1325
- }
1326
-
1327
- .Scrollable {
1328
- max-height: 250px;
1329
- max-width: 250px;
1330
- padding-right: 5px;
1331
- position: relative;
1332
- display: flex;
1333
- flex-flow: column;
1334
- align-items: stretch;
1335
- overflow: hidden;
1336
- }
1337
-
1338
- .Scrollable:hover > .scrollbar.auto {
1339
- transition-delay: 0s;
1340
- opacity: 1;
1341
- }
1342
-
1343
- .Scrollable .viewport {
1344
- overflow-y: scroll;
1345
- overflow-x: scroll;
1346
- max-height: 100%;
1347
- scroll-behavior: smooth;
1348
- scrollbar-width: none;
1377
+ .SpinningProgress {
1378
+ width: 48px;
1379
+ height: 48px;
1380
+ position: relative;
1381
+ margin: 0 auto;
1349
1382
  }
1350
1383
 
1351
- .Scrollable .viewport::-webkit-scrollbar {
1352
- display: none;
1384
+ .SpinningProgress:before {
1385
+ content: "";
1386
+ display: block;
1387
+ padding-top: 100%;
1353
1388
  }
1354
1389
 
1355
- .Scrollable.without-scroll-horizontal {
1356
- max-width: unset;
1390
+ .SpinningProgress .circular {
1391
+ animation: rotate 2s linear infinite;
1392
+ height: 100%;
1393
+ transform-origin: center center;
1394
+ width: 100%;
1395
+ position: absolute;
1396
+ top: 0;
1397
+ bottom: 0;
1398
+ left: 0;
1399
+ right: 0;
1400
+ margin: auto;
1357
1401
  }
1358
1402
 
1359
- .Scrollable.without-scroll {
1360
- padding-right: 0;
1361
- max-height: unset;
1403
+ .SpinningProgress .line {
1404
+ stroke: black;
1405
+ stroke-width: 2px;
1406
+ stroke-dasharray: 1, 96;
1407
+ stroke-dashoffset: 0;
1408
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1362
1409
  }
1363
1410
 
1364
- .Scrollable.without-scroll > .viewport {
1365
- padding-right: 0;
1366
- margin-right: 0;
1411
+ @keyframes rotate {
1412
+ 100% {
1413
+ transform: rotate(360deg);
1414
+ }
1415
+ }
1416
+ @keyframes dash {
1417
+ 0% {
1418
+ stroke-dasharray: 1, 96;
1419
+ stroke-dashoffset: 0;
1420
+ }
1421
+ 50% {
1422
+ stroke-dasharray: 43, 96;
1423
+ stroke-dashoffset: -17px;
1424
+ }
1425
+ 100% {
1426
+ stroke-dasharray: 43, 96;
1427
+ stroke-dashoffset: -53px;
1428
+ }
1429
+ }
1430
+ .Snackbar {
1431
+ transform: translateX(-50%);
1432
+ overflow: hidden;
1433
+ background-color: #323232;
1434
+ padding: 14px 24px 14px 24px;
1435
+ color: #fff;
1436
+ min-width: 288px;
1437
+ max-width: 568px;
1438
+ position: fixed;
1439
+ bottom: -50px;
1440
+ left: 50%;
1441
+ display: flex;
1442
+ flex-wrap: nowrap;
1443
+ align-items: center;
1444
+ opacity: 0;
1445
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1446
+ border-radius: 4px;
1447
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1367
1448
  }
1368
1449
 
1369
- .Scrollable.without-scroll > .scrollbar {
1370
- visibility: hidden;
1450
+ .Snackbar.shown {
1451
+ bottom: 15px;
1452
+ opacity: 1;
1371
1453
  }
1372
1454
 
1373
- .Scrollable .scrollbar {
1374
- position: absolute;
1375
- right: 0px;
1376
- top: 0px;
1377
- width: 5px;
1378
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1379
- transition-delay: 0.5s;
1380
- z-index: 1;
1455
+ .Snackbar .message {
1456
+ overflow: hidden;
1457
+ line-height: 1.2em;
1458
+ min-height: 1.2em;
1459
+ max-height: 2.4em;
1460
+ flex: 1;
1381
1461
  }
1382
1462
 
1383
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1384
- opacity: 0;
1463
+ .Snackbar .action {
1464
+ text-transform: uppercase;
1465
+ font-weight: bold;
1466
+ margin-left: 48px;
1467
+ color: #bf3727;
1385
1468
  }
1386
1469
 
1387
- .Scrollable .scrollbar .thumb {
1388
- background-color: rgba(0, 0, 0, 0.3);
1389
- width: 5px;
1390
- position: absolute;
1391
- right: 0px;
1392
- top: 0px;
1393
- user-select: none;
1394
- will-change: top;
1395
- border-radius: 2px;
1470
+ .Snackbar .action a {
1471
+ text-decoration: none;
1472
+ color: #bf3727;
1396
1473
  }
1397
1474
 
1398
- .Scrollable .scrollbar .thumb:hover {
1399
- background-color: rgba(0, 0, 0, 0.5);
1475
+ .DNDContainer .DroppableList .Draggable {
1476
+ transform: unset;
1477
+ transition: unset;
1478
+ opacity: 1;
1400
1479
  }
1401
1480
 
1402
- .Scrollable .scrollbar .thumb:active {
1403
- background-color: rgba(0, 0, 0, 0.7);
1481
+ .DNDContainer .DroppableList .Draggable.dragged {
1482
+ transition: unset !important;
1404
1483
  }
1405
1484
 
1406
- .Scrollable .scrollbar.horizontal {
1407
- left: 0px;
1408
- right: 0px;
1409
- height: 5px;
1410
- bottom: 0;
1411
- width: unset;
1412
- top: unset;
1485
+ .DNDContainer .DroppableList.hover .Draggable {
1486
+ transition: transform 0.2s ease-in;
1413
1487
  }
1414
1488
 
1415
- .Scrollable .scrollbar.horizontal .thumb {
1416
- height: 5px;
1417
- left: 0px;
1418
- bottom: 0px;
1419
- will-change: left;
1489
+ .DNDContainer .DroppableList.resetting .Draggable {
1490
+ transition: transform 0.1s ease-in;
1420
1491
  }
1421
1492
 
1422
1493
  .TextField {
@@ -1562,77 +1633,6 @@
1562
1633
  animation-name: shake;
1563
1634
  }
1564
1635
 
1565
- .DNDContainer .DroppableList .Draggable {
1566
- transform: unset;
1567
- transition: unset;
1568
- opacity: 1;
1569
- }
1570
-
1571
- .DNDContainer .DroppableList .Draggable.dragged {
1572
- transition: unset !important;
1573
- }
1574
-
1575
- .DNDContainer .DroppableList.hover .Draggable {
1576
- transition: transform 0.2s ease-in;
1577
- }
1578
-
1579
- .DNDContainer .DroppableList.resetting .Draggable {
1580
- transition: transform 0.1s ease-in;
1581
- }
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
1636
  .DatePicker {
1637
1637
  position: relative;
1638
1638
  }
@@ -1750,31 +1750,6 @@
1750
1750
  background-color: #51adf6;
1751
1751
  }
1752
1752
 
1753
- .CalendarMonthView {
1754
- display: flex;
1755
- flex-flow: column nowrap;
1756
- height: 100%;
1757
- }
1758
-
1759
- .CalendarMonthView > .row {
1760
- display: flex;
1761
- flex-flow: row nowrap;
1762
- }
1763
-
1764
- .CalendarMonthView .days {
1765
- flex-grow: 1;
1766
- position: relative;
1767
- }
1768
-
1769
- .CalendarMonthView .day, .CalendarMonthView .header {
1770
- flex-grow: 1;
1771
- flex-basis: 1px;
1772
- }
1773
-
1774
- .CalendarMonthView .day {
1775
- height: 100%;
1776
- }
1777
-
1778
1753
  .DNDContainer {
1779
1754
  position: relative;
1780
1755
  }
@@ -1935,4 +1910,29 @@
1935
1910
 
1936
1911
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1937
1912
  margin: 0;
1913
+ }
1914
+
1915
+ .CalendarMonthView {
1916
+ display: flex;
1917
+ flex-flow: column nowrap;
1918
+ height: 100%;
1919
+ }
1920
+
1921
+ .CalendarMonthView > .row {
1922
+ display: flex;
1923
+ flex-flow: row nowrap;
1924
+ }
1925
+
1926
+ .CalendarMonthView .days {
1927
+ flex-grow: 1;
1928
+ position: relative;
1929
+ }
1930
+
1931
+ .CalendarMonthView .day, .CalendarMonthView .header {
1932
+ flex-grow: 1;
1933
+ flex-basis: 1px;
1934
+ }
1935
+
1936
+ .CalendarMonthView .day {
1937
+ height: 100%;
1938
1938
  }