react-ui-basics 0.0.228 → 0.0.229

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,12 +1,3 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
4
- }
5
-
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
8
- }
9
-
10
1
  .AutocompleteSelect {
11
2
  display: inline-flex;
12
3
  flex-flow: column;
@@ -302,6 +293,33 @@
302
293
  position: absolute;
303
294
  }
304
295
 
296
+ .animated {
297
+ transition: opacity 250ms ease;
298
+ opacity: 0;
299
+ }
300
+
301
+ .animated.mounting, .animated.mounted {
302
+ opacity: 1;
303
+ }
304
+
305
+ .DNDContainer .DroppableList .Draggable {
306
+ transform: unset;
307
+ transition: unset;
308
+ opacity: 1;
309
+ }
310
+
311
+ .DNDContainer .DroppableList .Draggable.dragged {
312
+ transition: unset !important;
313
+ }
314
+
315
+ .DNDContainer .DroppableList.hover .Draggable {
316
+ transition: transform 0.2s ease-in;
317
+ }
318
+
319
+ .DNDContainer .DroppableList.resetting .Draggable {
320
+ transition: transform 0.1s ease-in;
321
+ }
322
+
305
323
  .ImageGallery {
306
324
  position: fixed;
307
325
  top: 0;
@@ -537,164 +555,49 @@
537
555
  font-size: 24px;
538
556
  }
539
557
 
540
- .DNDContainer .DroppableList .Draggable {
541
- transform: unset;
542
- transition: unset;
543
- opacity: 1;
544
- }
545
-
546
- .DNDContainer .DroppableList .Draggable.dragged {
547
- transition: unset !important;
548
- }
549
-
550
- .DNDContainer .DroppableList.hover .Draggable {
551
- transition: transform 0.2s ease-in;
558
+ .CircleProgress {
559
+ width: 48px;
560
+ height: 48px;
552
561
  }
553
562
 
554
- .DNDContainer .DroppableList.resetting .Draggable {
555
- transition: transform 0.1s ease-in;
563
+ .CircleProgress .line {
564
+ stroke-width: 2px;
565
+ stroke: black;
566
+ stroke-linecap: square;
567
+ fill: none;
568
+ transition: stroke-dashoffset 0.2s ease;
556
569
  }
557
570
 
558
- .DatePicker {
571
+ .DNDContainer {
559
572
  position: relative;
560
573
  }
561
574
 
562
- .DatePicker > .TextField {
563
- width: 200px;
564
- margin-bottom: 0px;
575
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
576
+ cursor: pointer;
565
577
  }
566
578
 
567
- .DatePicker > .TextField input {
568
- text-align: center;
579
+ .DNDContainer .Draggable.placeholder {
580
+ opacity: 0.2;
569
581
  }
570
582
 
571
- .calendar {
572
- user-select: none;
583
+ .DNDContainer .Draggable.copy {
573
584
  position: absolute;
574
- top: 33px;
575
- z-index: 10;
576
- box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
577
- border-radius: 4px;
578
- overflow: hidden;
579
- transition: 0.2s all ease;
585
+ box-sizing: border-box;
586
+ will-change: transform;
580
587
  opacity: 0;
581
- visibility: hidden;
582
- }
583
-
584
- .calendar.focused {
585
- opacity: 1;
586
- visibility: visible;
587
- }
588
-
589
- .calendar .monthSelect {
590
- align-items: center;
591
- margin-bottom: 0;
592
- background: white;
593
- font-size: 12px;
594
- color: rgb(170, 170, 170);
595
- padding-right: 16px;
596
- padding-left: 16px;
597
- height: 40px;
598
- }
599
-
600
- .calendar .monthSelect span {
601
- margin-right: auto;
602
- }
603
-
604
- .calendar .monthSelect .Button {
605
- min-width: 25px;
606
- min-height: 25px;
607
- }
608
-
609
- .calendar .monthSelect .Button .material-icons {
610
- font-size: 16px;
611
- }
612
-
613
- .calendar .monthSelect .Button.disabled {
614
- background: transparent;
615
- }
616
-
617
- .calendar .CalendarMonthView {
618
- background: white;
619
- }
620
-
621
- .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
622
- margin-bottom: 0;
623
- }
624
-
625
- .calendar .CalendarMonthView .header {
626
- font-size: 12px;
627
- font-weight: bold;
628
- text-align: center;
629
- text-transform: uppercase;
630
- margin: 5px;
631
- }
632
-
633
- .calendar .CalendarMonthView .day {
634
- font-size: 10px;
635
- }
636
-
637
- .calendar .CalendarMonthView .day.notSelectedMonth {
638
- color: #969696;
639
- }
640
-
641
- .calendar .CalendarMonthView .day span {
642
- display: inline-flex;
643
- justify-content: center;
644
- align-items: center;
645
- border-radius: 50%;
646
- width: 25px;
647
- height: 25px;
648
- margin: 5px;
649
- transition: 0.2s all ease;
650
- cursor: pointer;
651
- }
652
-
653
- .calendar .CalendarMonthView .day span:hover {
654
- background-color: #e6e6e6;
655
- }
656
-
657
- .calendar .CalendarMonthView .day span.inactive {
658
- color: lightgray;
659
- cursor: unset;
660
588
  }
661
589
 
662
- .calendar .CalendarMonthView .day span.inactive:hover {
663
- background: unset;
664
- }
665
-
666
- .calendar .CalendarMonthView .day span.selected {
667
- color: white;
668
- background-color: #2196F3;
669
- }
670
-
671
- .calendar .CalendarMonthView .day span.selected:hover {
672
- background-color: #51adf6;
673
- }
674
-
675
- .CalendarMonthView {
676
- display: flex;
677
- flex-flow: column nowrap;
678
- height: 100%;
679
- }
680
-
681
- .CalendarMonthView > .row {
682
- display: flex;
683
- flex-flow: row nowrap;
684
- }
685
-
686
- .CalendarMonthView .days {
687
- flex-grow: 1;
688
- position: relative;
689
- }
690
-
691
- .CalendarMonthView .day, .CalendarMonthView .header {
692
- flex-grow: 1;
693
- flex-basis: 1px;
590
+ .DNDContainer .Draggable.dragged {
591
+ z-index: 10;
694
592
  }
695
593
 
696
- .CalendarMonthView .day {
697
- height: 100%;
594
+ .DNDContainer .overlay {
595
+ position: absolute;
596
+ top: 0;
597
+ left: 0;
598
+ right: 0;
599
+ bottom: 0;
600
+ pointer-events: none;
698
601
  }
699
602
 
700
603
  .Button {
@@ -863,88 +766,96 @@
863
766
  border: 0;
864
767
  }
865
768
 
866
- .Dropzone {
867
- position: relative;
769
+ .CalendarMonthView {
770
+ display: flex;
771
+ flex-flow: column nowrap;
772
+ height: 100%;
868
773
  }
869
774
 
870
- .Dropzone > .overlay {
871
- position: absolute;
872
- left: 0;
873
- right: 0;
874
- top: 0;
875
- bottom: 0;
876
- background-color: #38ADC4;
877
- z-index: 1;
878
- opacity: 0;
879
- transition: all 0.2s ease;
880
- transition-delay: 100ms;
881
- visibility: hidden;
775
+ .CalendarMonthView > .row {
882
776
  display: flex;
883
- justify-content: center;
884
- align-items: center;
777
+ flex-flow: row nowrap;
885
778
  }
886
779
 
887
- .Dropzone > .overlay .drop {
888
- border-radius: 4px;
889
- border: 1px dashed #FFFFFF;
890
- position: absolute;
891
- top: 18px;
892
- left: 18px;
893
- right: 18px;
894
- bottom: 18px;
895
- display: flex;
896
- justify-content: center;
897
- align-items: center;
898
- font-weight: 500;
899
- font-size: 18px;
900
- color: #FFFFFF;
780
+ .CalendarMonthView .days {
781
+ flex-grow: 1;
782
+ position: relative;
901
783
  }
902
784
 
903
- .Dropzone.dragging > .overlay {
904
- opacity: 0.7;
905
- visibility: visible;
906
- transition-delay: 0s;
785
+ .CalendarMonthView .day, .CalendarMonthView .header {
786
+ flex-grow: 1;
787
+ flex-basis: 1px;
907
788
  }
908
789
 
909
- .Dropzone.dragging > * {
910
- pointer-events: none;
790
+ .CalendarMonthView .day {
791
+ height: 100%;
911
792
  }
912
793
 
913
- .Dropzone > input.file {
914
- position: absolute;
915
- left: 0;
916
- right: 0;
917
- top: 0;
918
- bottom: 0;
919
- width: 100%;
920
- height: 100%;
921
- opacity: 0;
794
+ .Checkbox {
795
+ position: relative;
796
+ white-space: pre;
797
+ }
798
+
799
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
800
+ box-sizing: border-box;
801
+ }
802
+
803
+ .Checkbox label {
804
+ font-family: Roboto, sans-serif;
805
+ font-size: 14px;
806
+ color: #1e252d;
922
807
  cursor: pointer;
923
- z-index: 1;
924
808
  }
925
809
 
926
- .Button.FloatingActionButton {
810
+ .Checkbox label:before, .Checkbox label:after {
811
+ content: "";
927
812
  position: absolute;
928
- right: 16px;
929
- bottom: 16px;
930
- width: 56px;
931
- height: 56px;
932
- padding: 16px;
933
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
813
+ left: 0;
814
+ top: 0;
934
815
  }
935
816
 
936
- .Button.FloatingActionButton.raised {
937
- 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);
817
+ .Checkbox label:before {
818
+ width: 20px;
819
+ height: 20px;
820
+ background: #fff;
821
+ border: 2px solid #252525;
822
+ border-radius: 2px;
823
+ cursor: pointer;
824
+ transition: background 0.3s;
938
825
  }
939
826
 
940
- .Button.FloatingActionButton.mini {
941
- width: 40px;
942
- height: 40px;
943
- padding: 8px;
827
+ .Checkbox input[type=checkbox] {
828
+ outline: 0;
829
+ margin-right: 10px;
830
+ visibility: hidden;
944
831
  }
945
832
 
946
- .Button.FloatingActionButton.hidden {
947
- bottom: -100px;
833
+ .Checkbox input[type=checkbox]:checked + label:before {
834
+ background: #4AC263;
835
+ border: none;
836
+ }
837
+
838
+ .Checkbox input[type=checkbox]:checked + label:after {
839
+ transform: rotate(-45deg);
840
+ top: 6px;
841
+ left: 4px;
842
+ width: 12px;
843
+ height: 6px;
844
+ border: 2px solid #fff;
845
+ border-top-style: none;
846
+ border-right-style: none;
847
+ }
848
+
849
+ .Checkbox input[type=checkbox]:disabled + label {
850
+ color: gray;
851
+ }
852
+
853
+ .Checkbox input[type=checkbox]:disabled + label:before {
854
+ border-color: rgba(0, 0, 0, 0.26);
855
+ }
856
+
857
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
858
+ background: rgba(0, 0, 0, 0.26);
948
859
  }
949
860
 
950
861
  .DialogModal {
@@ -989,223 +900,145 @@
989
900
  margin-bottom: 0;
990
901
  }
991
902
 
992
- .FormUploadProgress {
903
+ .Button.FloatingActionButton {
993
904
  position: absolute;
994
- left: 0;
995
- right: 0;
996
- top: 0;
997
- bottom: 0;
998
- background-color: rgba(255, 255, 255, 0.6);
999
- z-index: 2;
1000
- }
1001
-
1002
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1003
- transition-delay: 500ms;
905
+ right: 16px;
906
+ bottom: 16px;
907
+ width: 56px;
908
+ height: 56px;
909
+ padding: 16px;
910
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1004
911
  }
1005
912
 
1006
- .FormUploadProgress .wrapper {
1007
- position: sticky;
1008
- top: 40%;
1009
- margin-top: 40%;
1010
- margin-left: 50%;
1011
- transform: translateX(-50%);
1012
- display: flex;
1013
- flex-flow: column;
1014
- justify-content: center;
1015
- align-items: center;
913
+ .Button.FloatingActionButton.raised {
914
+ 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);
1016
915
  }
1017
916
 
1018
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1019
- position: absolute;
1020
- width: 107px;
1021
- height: 107px;
1022
- top: 0;
1023
- left: 0;
917
+ .Button.FloatingActionButton.mini {
918
+ width: 40px;
919
+ height: 40px;
920
+ padding: 8px;
1024
921
  }
1025
922
 
1026
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1027
- stroke: #2196F3;
923
+ .Button.FloatingActionButton.hidden {
924
+ bottom: -100px;
1028
925
  }
1029
926
 
1030
- .FormUploadProgress .wrapper > .progress {
1031
- width: 107px;
1032
- height: 107px;
1033
- min-height: 107px;
1034
- display: flex;
1035
- justify-content: center;
1036
- align-items: center;
1037
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1038
- border-radius: 50%;
1039
- background: white;
927
+ .DatePicker {
1040
928
  position: relative;
1041
929
  }
1042
930
 
1043
- .FormUploadProgress .wrapper > .progress > .value {
1044
- display: inline-block;
1045
- margin-top: 5px;
1046
- font-weight: bold;
1047
- line-height: 16px;
1048
- font-size: 13px;
1049
- text-align: center;
1050
- color: #818181;
1051
- }
1052
-
1053
- .FormUploadProgress .wrapper .cancel {
1054
- min-width: 107px;
1055
- margin-top: 20px;
1056
- background-color: white;
1057
- color: #F96B5C;
1058
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
931
+ .DatePicker > .TextField {
932
+ width: 200px;
933
+ margin-bottom: 0px;
1059
934
  }
1060
935
 
1061
- .CircleProgress {
1062
- width: 48px;
1063
- height: 48px;
936
+ .DatePicker > .TextField input {
937
+ text-align: center;
1064
938
  }
1065
939
 
1066
- .CircleProgress .line {
1067
- stroke-width: 2px;
1068
- stroke: black;
1069
- stroke-linecap: square;
1070
- fill: none;
1071
- transition: stroke-dashoffset 0.2s ease;
940
+ .calendar {
941
+ user-select: none;
942
+ position: absolute;
943
+ top: 33px;
944
+ z-index: 10;
945
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
946
+ border-radius: 4px;
947
+ overflow: hidden;
948
+ transition: 0.2s all ease;
949
+ opacity: 0;
950
+ visibility: hidden;
1072
951
  }
1073
952
 
1074
- .Modal {
1075
- display: block;
1076
- position: fixed;
1077
- top: 0;
1078
- left: 0;
1079
- right: 0;
1080
- bottom: 100%;
1081
- overflow-y: scroll;
1082
- transition: bottom 0ms linear;
1083
- transition-delay: 0.2s;
953
+ .calendar.focused {
954
+ opacity: 1;
955
+ visibility: visible;
1084
956
  }
1085
957
 
1086
- .Modal.show {
1087
- transition-delay: 0s;
1088
- bottom: 0;
958
+ .calendar .monthSelect {
959
+ align-items: center;
960
+ margin-bottom: 0;
961
+ background: white;
962
+ font-size: 12px;
963
+ color: rgb(170, 170, 170);
964
+ padding-right: 16px;
965
+ padding-left: 16px;
966
+ height: 40px;
1089
967
  }
1090
968
 
1091
- .Modal > .overlay {
1092
- position: fixed;
1093
- top: 0;
1094
- bottom: 100%;
1095
- left: 0;
1096
- right: 0;
1097
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1098
- opacity: 0;
1099
- background-color: black;
1100
- pointer-events: none;
969
+ .calendar .monthSelect span {
970
+ margin-right: auto;
1101
971
  }
1102
972
 
1103
- .Modal > .overlay.show {
1104
- opacity: 0.5;
1105
- bottom: 0;
973
+ .calendar .monthSelect .Button {
974
+ min-width: 25px;
975
+ min-height: 25px;
1106
976
  }
1107
977
 
1108
- .Modal > .content {
1109
- left: 50%;
1110
- top: 10vh;
1111
- margin-bottom: 10vh;
978
+ .calendar .monthSelect .Button .material-icons {
1112
979
  font-size: 16px;
1113
- padding: 0;
1114
- opacity: 0;
1115
- transition: opacity 0.25s ease, transform 0.25s ease;
1116
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1117
- transform-origin: top;
1118
- position: absolute;
1119
- border-radius: 2px;
1120
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1121
- }
1122
-
1123
- .Modal > .content.show {
1124
- opacity: 1;
1125
- transform: scaleY(1) translateY(0px) translateX(-50%);
1126
- }
1127
-
1128
- .Modal > .content > .Scrollable {
1129
- overflow: visible;
1130
- max-height: 80vh;
1131
980
  }
1132
981
 
1133
- .Modal > .content > .Scrollable > .viewport {
1134
- min-width: 10px;
1135
- min-height: 10px;
982
+ .calendar .monthSelect .Button.disabled {
983
+ background: transparent;
1136
984
  }
1137
985
 
1138
- .Modal > .content > .Button.close {
1139
- top: 10px;
1140
- right: 10px;
1141
- position: absolute;
986
+ .calendar .CalendarMonthView {
987
+ background: white;
1142
988
  }
1143
989
 
1144
- .Checkbox {
1145
- position: relative;
1146
- white-space: pre;
990
+ .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
991
+ margin-bottom: 0;
1147
992
  }
1148
993
 
1149
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
1150
- box-sizing: border-box;
994
+ .calendar .CalendarMonthView .header {
995
+ font-size: 12px;
996
+ font-weight: bold;
997
+ text-align: center;
998
+ text-transform: uppercase;
999
+ margin: 5px;
1151
1000
  }
1152
1001
 
1153
- .Checkbox label {
1154
- font-family: Roboto, sans-serif;
1155
- font-size: 14px;
1156
- color: #1e252d;
1157
- cursor: pointer;
1002
+ .calendar .CalendarMonthView .day {
1003
+ font-size: 10px;
1158
1004
  }
1159
1005
 
1160
- .Checkbox label:before, .Checkbox label:after {
1161
- content: "";
1162
- position: absolute;
1163
- left: 0;
1164
- top: 0;
1006
+ .calendar .CalendarMonthView .day.notSelectedMonth {
1007
+ color: #969696;
1165
1008
  }
1166
1009
 
1167
- .Checkbox label:before {
1168
- width: 20px;
1169
- height: 20px;
1170
- background: #fff;
1171
- border: 2px solid #252525;
1172
- border-radius: 2px;
1010
+ .calendar .CalendarMonthView .day span {
1011
+ display: inline-flex;
1012
+ justify-content: center;
1013
+ align-items: center;
1014
+ border-radius: 50%;
1015
+ width: 25px;
1016
+ height: 25px;
1017
+ margin: 5px;
1018
+ transition: 0.2s all ease;
1173
1019
  cursor: pointer;
1174
- transition: background 0.3s;
1175
- }
1176
-
1177
- .Checkbox input[type=checkbox] {
1178
- outline: 0;
1179
- margin-right: 10px;
1180
- visibility: hidden;
1181
1020
  }
1182
1021
 
1183
- .Checkbox input[type=checkbox]:checked + label:before {
1184
- background: #4AC263;
1185
- border: none;
1022
+ .calendar .CalendarMonthView .day span:hover {
1023
+ background-color: #e6e6e6;
1186
1024
  }
1187
1025
 
1188
- .Checkbox input[type=checkbox]:checked + label:after {
1189
- transform: rotate(-45deg);
1190
- top: 6px;
1191
- left: 4px;
1192
- width: 12px;
1193
- height: 6px;
1194
- border: 2px solid #fff;
1195
- border-top-style: none;
1196
- border-right-style: none;
1026
+ .calendar .CalendarMonthView .day span.inactive {
1027
+ color: lightgray;
1028
+ cursor: unset;
1197
1029
  }
1198
1030
 
1199
- .Checkbox input[type=checkbox]:disabled + label {
1200
- color: gray;
1031
+ .calendar .CalendarMonthView .day span.inactive:hover {
1032
+ background: unset;
1201
1033
  }
1202
1034
 
1203
- .Checkbox input[type=checkbox]:disabled + label:before {
1204
- border-color: rgba(0, 0, 0, 0.26);
1035
+ .calendar .CalendarMonthView .day span.selected {
1036
+ color: white;
1037
+ background-color: #2196F3;
1205
1038
  }
1206
1039
 
1207
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
1208
- background: rgba(0, 0, 0, 0.26);
1040
+ .calendar .CalendarMonthView .day span.selected:hover {
1041
+ background-color: #51adf6;
1209
1042
  }
1210
1043
 
1211
1044
  .DropFileInput {
@@ -1235,102 +1068,74 @@
1235
1068
  margin-right: 10px;
1236
1069
  }
1237
1070
 
1238
- .Scrollable {
1239
- max-height: 250px;
1240
- max-width: 250px;
1241
- padding-right: 5px;
1242
- position: relative;
1243
- display: flex;
1244
- flex-flow: column;
1245
- align-items: stretch;
1246
- overflow: hidden;
1247
- }
1248
-
1249
- .Scrollable:hover > .scrollbar.auto {
1250
- transition-delay: 0s;
1251
- opacity: 1;
1252
- }
1253
-
1254
- .Scrollable .viewport {
1071
+ .Modal {
1072
+ display: block;
1073
+ position: fixed;
1074
+ top: 0;
1075
+ left: 0;
1076
+ right: 0;
1077
+ bottom: 100%;
1255
1078
  overflow-y: scroll;
1256
- overflow-x: scroll;
1257
- max-height: 100%;
1258
- scrollbar-width: none;
1259
- }
1260
-
1261
- .Scrollable .viewport::-webkit-scrollbar {
1262
- display: none;
1263
- }
1264
-
1265
- .Scrollable.without-scroll-horizontal {
1266
- max-width: unset;
1267
- }
1268
-
1269
- .Scrollable.undefined-horizontal {
1270
- max-width: unset;
1271
- }
1272
-
1273
- .Scrollable.without-scroll {
1274
- padding-right: 0;
1275
- max-height: unset;
1276
- }
1277
-
1278
- .Scrollable.without-scroll > .viewport {
1279
- padding-right: 0;
1280
- margin-right: 0;
1079
+ transition: bottom 0ms linear;
1080
+ transition-delay: 0.2s;
1281
1081
  }
1282
1082
 
1283
- .Scrollable.without-scroll > .scrollbar {
1284
- visibility: hidden;
1083
+ .Modal.show {
1084
+ transition-delay: 0s;
1085
+ bottom: 0;
1285
1086
  }
1286
1087
 
1287
- .Scrollable .scrollbar {
1288
- position: absolute;
1289
- right: 0px;
1290
- top: 0px;
1291
- width: 5px;
1088
+ .Modal > .overlay {
1089
+ position: fixed;
1090
+ top: 0;
1091
+ bottom: 100%;
1092
+ left: 0;
1093
+ right: 0;
1292
1094
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1293
- transition-delay: 0.5s;
1294
- z-index: 1;
1095
+ opacity: 0;
1096
+ background-color: black;
1097
+ pointer-events: none;
1295
1098
  }
1296
1099
 
1297
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1298
- opacity: 0;
1100
+ .Modal > .overlay.show {
1101
+ opacity: 0.5;
1102
+ bottom: 0;
1299
1103
  }
1300
1104
 
1301
- .Scrollable .scrollbar .thumb {
1302
- background-color: rgba(0, 0, 0, 0.3);
1303
- width: 5px;
1105
+ .Modal > .content {
1106
+ left: 50%;
1107
+ top: 10vh;
1108
+ margin-bottom: 10vh;
1109
+ font-size: 16px;
1110
+ padding: 0;
1111
+ opacity: 0;
1112
+ transition: opacity 0.25s ease, transform 0.25s ease;
1113
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1114
+ transform-origin: top;
1304
1115
  position: absolute;
1305
- right: 0px;
1306
- top: 0px;
1307
- user-select: none;
1308
- will-change: top;
1309
1116
  border-radius: 2px;
1117
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1310
1118
  }
1311
1119
 
1312
- .Scrollable .scrollbar .thumb:hover {
1313
- background-color: rgba(0, 0, 0, 0.5);
1120
+ .Modal > .content.show {
1121
+ opacity: 1;
1122
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1314
1123
  }
1315
1124
 
1316
- .Scrollable .scrollbar .thumb:active {
1317
- background-color: rgba(0, 0, 0, 0.7);
1125
+ .Modal > .content > .Scrollable {
1126
+ overflow: visible;
1127
+ max-height: 80vh;
1318
1128
  }
1319
1129
 
1320
- .Scrollable .scrollbar.horizontal {
1321
- left: 0px;
1322
- right: 0px;
1323
- height: 5px;
1324
- bottom: 0;
1325
- width: unset;
1326
- top: unset;
1130
+ .Modal > .content > .Scrollable > .viewport {
1131
+ min-width: 10px;
1132
+ min-height: 10px;
1327
1133
  }
1328
1134
 
1329
- .Scrollable .scrollbar.horizontal .thumb {
1330
- height: 5px;
1331
- left: 0px;
1332
- bottom: 0px;
1333
- will-change: left;
1135
+ .Modal > .content > .Button.close {
1136
+ top: 10px;
1137
+ right: 10px;
1138
+ position: absolute;
1334
1139
  }
1335
1140
 
1336
1141
  .FilteredList {
@@ -1418,240 +1223,216 @@
1418
1223
  margin-bottom: 8px;
1419
1224
  }
1420
1225
 
1421
- .Switch {
1422
- display: inline-flex;
1423
- padding-top: 5px;
1424
- }
1425
-
1426
- .Switch .switch-input {
1427
- display: none;
1428
- }
1429
-
1430
- .Switch .switch-label {
1431
- position: relative;
1432
- display: inline-flex;
1433
- align-items: center;
1434
- min-width: 38px;
1435
- height: 24px;
1436
- cursor: pointer;
1437
- font-weight: 500;
1438
- text-align: left;
1439
- user-select: none;
1440
- margin: 0;
1441
- padding: 0;
1442
- padding-left: 44px;
1443
- box-sizing: border-box;
1444
- }
1445
-
1446
- .Switch .switch-label:before, .Switch .switch-label:after {
1447
- content: "";
1448
- box-sizing: border-box;
1449
- position: absolute;
1450
- margin: 0;
1451
- outline: 0;
1452
- top: 50%;
1453
- transform: translate(0, -50%);
1454
- transition: all 0.3s ease;
1455
- }
1456
-
1457
- .Switch .switch-label:before {
1458
- left: 1px;
1459
- width: 34px;
1460
- height: 14px;
1461
- background-color: #9E9E9E;
1462
- border-radius: 8px;
1463
- }
1464
-
1465
- .Switch .switch-label:after {
1466
- left: 0;
1467
- width: 20px;
1468
- height: 20px;
1469
- background-color: #FAFAFA;
1470
- border-radius: 50%;
1471
- 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);
1472
- }
1473
-
1474
- .Switch .switch-label .toggle--on {
1475
- display: none;
1476
- }
1477
-
1478
- .Switch .switch-label .toggle--off {
1479
- display: inline-block;
1480
- }
1481
-
1482
- .Switch .switch-label .label {
1483
- margin-right: 5px;
1484
- }
1485
-
1486
- .Switch .switch-input:checked + .switch-label:before {
1487
- background-color: #A5D6A7;
1488
- }
1489
-
1490
- .Switch .switch-input:checked + .switch-label:after {
1491
- background-color: #4CAF50;
1492
- transform: translate(80%, -50%);
1493
- }
1494
-
1495
- .Switch .switch-input:checked + .switch-label .toggle--on {
1496
- display: inline-block;
1497
- }
1498
-
1499
- .Switch .switch-input:checked + .switch-label .toggle--off {
1500
- display: none;
1501
- }
1502
-
1503
- .Table {
1504
- font-family: Roboto, sans-serif;
1505
- font-size: 14px;
1506
- color: #1e252d;
1507
- border-spacing: 0;
1508
- border-collapse: collapse;
1509
- width: 100%;
1226
+ .Scrollable {
1227
+ max-height: 250px;
1228
+ max-width: 250px;
1229
+ padding-right: 5px;
1510
1230
  position: relative;
1231
+ display: flex;
1232
+ flex-flow: column;
1233
+ align-items: stretch;
1234
+ overflow: hidden;
1511
1235
  }
1512
1236
 
1513
- .Table td, .Table th {
1514
- padding: 5px;
1515
- font-weight: 500;
1516
- color: #2e2e2e;
1517
- }
1518
-
1519
- .Table td {
1520
- height: 48px;
1521
- border-bottom: 1px solid #ebebeb;
1522
- border-top: 1px solid #ebebeb;
1523
- }
1524
-
1525
- .Table td:first-child {
1526
- padding-left: 45px;
1527
- }
1528
-
1529
- .Table td:last-child {
1530
- padding-right: 45px;
1237
+ .Scrollable:hover > .scrollbar.auto {
1238
+ transition-delay: 0s;
1239
+ opacity: 1;
1531
1240
  }
1532
1241
 
1533
- .Table th {
1534
- color: #808080;
1535
- height: 55px;
1536
- padding: 0px;
1242
+ .Scrollable .viewport {
1243
+ overflow-y: scroll;
1244
+ overflow-x: scroll;
1245
+ max-height: 100%;
1246
+ scrollbar-width: none;
1537
1247
  }
1538
1248
 
1539
- .Table th .sortable {
1540
- cursor: pointer;
1249
+ .Scrollable .viewport::-webkit-scrollbar {
1250
+ display: none;
1541
1251
  }
1542
1252
 
1543
- .Table th .sortable.active {
1544
- font-weight: bold;
1253
+ .Scrollable.without-scroll-horizontal {
1254
+ max-width: unset;
1545
1255
  }
1546
1256
 
1547
- .Table th .sortable.active .material-icons {
1548
- font-size: 16px;
1257
+ .Scrollable.undefined-horizontal {
1258
+ max-width: unset;
1549
1259
  }
1550
1260
 
1551
- .Table th .sortable.false {
1552
- padding-right: 22px;
1261
+ .Scrollable.without-scroll {
1262
+ padding-right: 0;
1263
+ max-height: unset;
1553
1264
  }
1554
1265
 
1555
- .Table th:first-child .hidden, .Table th:first-child .fixed {
1556
- padding-left: 45px;
1266
+ .Scrollable.without-scroll > .viewport {
1267
+ padding-right: 0;
1268
+ margin-right: 0;
1557
1269
  }
1558
1270
 
1559
- .Table th:last-child .hidden, .Table th:last-child .fixed {
1560
- padding-right: 45px;
1271
+ .Scrollable.without-scroll > .scrollbar {
1272
+ visibility: hidden;
1561
1273
  }
1562
1274
 
1563
- .Table th .hidden {
1564
- color: transparent;
1565
- height: 0px;
1566
- padding: 5px;
1275
+ .Scrollable .scrollbar {
1276
+ position: absolute;
1277
+ right: 0px;
1278
+ top: 0px;
1279
+ width: 5px;
1280
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1281
+ transition-delay: 0.5s;
1282
+ z-index: 1;
1567
1283
  }
1568
1284
 
1569
- .Table th .fixed {
1570
- font-weight: normal;
1571
- display: flex;
1572
- flex-flow: row;
1573
- justify-items: center;
1574
- align-items: center;
1575
- text-align: left;
1576
- height: 56px;
1577
- padding: 0px 5px;
1578
- background-color: white;
1285
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1286
+ opacity: 0;
1287
+ }
1288
+
1289
+ .Scrollable .scrollbar .thumb {
1290
+ background-color: rgba(0, 0, 0, 0.3);
1291
+ width: 5px;
1579
1292
  position: absolute;
1293
+ right: 0px;
1580
1294
  top: 0px;
1581
- z-index: 1;
1582
- box-sizing: border-box;
1583
- border-bottom: 1px solid #ebebeb;
1584
- border-top: 1px solid #ebebeb;
1295
+ user-select: none;
1296
+ will-change: top;
1297
+ border-radius: 2px;
1585
1298
  }
1586
1299
 
1587
- .Table tbody tr:hover {
1588
- background-color: #f2f2f2;
1300
+ .Scrollable .scrollbar .thumb:hover {
1301
+ background-color: rgba(0, 0, 0, 0.5);
1589
1302
  }
1590
1303
 
1591
- .Table tbody tr.disabled td {
1592
- color: #93a4b7;
1304
+ .Scrollable .scrollbar .thumb:active {
1305
+ background-color: rgba(0, 0, 0, 0.7);
1593
1306
  }
1594
1307
 
1595
- .Table .ro {
1596
- color: #47576a;
1308
+ .Scrollable .scrollbar.horizontal {
1309
+ left: 0px;
1310
+ right: 0px;
1311
+ height: 5px;
1312
+ bottom: 0;
1313
+ width: unset;
1314
+ top: unset;
1597
1315
  }
1598
1316
 
1599
- .Table .editable {
1600
- cursor: pointer;
1317
+ .Scrollable .scrollbar.horizontal .thumb {
1318
+ height: 5px;
1319
+ left: 0px;
1320
+ bottom: 0px;
1321
+ will-change: left;
1601
1322
  }
1602
1323
 
1603
- .Table .editable > .TextField {
1604
- height: 20px !important;
1605
- margin: 0px;
1606
- position: relative;
1607
- display: block;
1324
+ .FormUploadProgress {
1325
+ position: absolute;
1326
+ left: 0;
1327
+ right: 0;
1328
+ top: 0;
1329
+ bottom: 0;
1330
+ background-color: rgba(255, 255, 255, 0.6);
1331
+ z-index: 2;
1608
1332
  }
1609
1333
 
1610
- .Table .editable > .TextField input {
1611
- width: 100%;
1612
- height: 20px;
1613
- padding: 0px;
1614
- background-color: rgb(240, 240, 240);
1334
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1335
+ transition-delay: 500ms;
1615
1336
  }
1616
1337
 
1617
- .Table .editable > .AutocompleteSelect {
1618
- min-width: unset;
1338
+ .FormUploadProgress .wrapper {
1339
+ position: sticky;
1340
+ top: 40%;
1341
+ margin-top: 40%;
1342
+ margin-left: 50%;
1343
+ transform: translateX(-50%);
1344
+ display: flex;
1345
+ flex-flow: column;
1346
+ justify-content: center;
1347
+ align-items: center;
1619
1348
  }
1620
1349
 
1621
- .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1622
- margin: 0;
1350
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1351
+ position: absolute;
1352
+ width: 107px;
1353
+ height: 107px;
1354
+ top: 0;
1355
+ left: 0;
1623
1356
  }
1624
1357
 
1625
- .DNDContainer {
1358
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1359
+ stroke: #2196F3;
1360
+ }
1361
+
1362
+ .FormUploadProgress .wrapper > .progress {
1363
+ width: 107px;
1364
+ height: 107px;
1365
+ min-height: 107px;
1366
+ display: flex;
1367
+ justify-content: center;
1368
+ align-items: center;
1369
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1370
+ border-radius: 50%;
1371
+ background: white;
1626
1372
  position: relative;
1627
1373
  }
1628
1374
 
1629
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1630
- cursor: pointer;
1375
+ .FormUploadProgress .wrapper > .progress > .value {
1376
+ display: inline-block;
1377
+ margin-top: 5px;
1378
+ font-weight: bold;
1379
+ line-height: 16px;
1380
+ font-size: 13px;
1381
+ text-align: center;
1382
+ color: #818181;
1631
1383
  }
1632
1384
 
1633
- .DNDContainer .Draggable.placeholder {
1634
- opacity: 0.2;
1385
+ .FormUploadProgress .wrapper .cancel {
1386
+ min-width: 107px;
1387
+ margin-top: 20px;
1388
+ background-color: white;
1389
+ color: #F96B5C;
1390
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1635
1391
  }
1636
1392
 
1637
- .DNDContainer .Draggable.copy {
1638
- position: absolute;
1639
- box-sizing: border-box;
1640
- will-change: transform;
1393
+ .Snackbar {
1394
+ transform: translateX(-50%);
1395
+ overflow: hidden;
1396
+ background-color: #323232;
1397
+ padding: 14px 24px 14px 24px;
1398
+ color: #fff;
1399
+ min-width: 288px;
1400
+ max-width: 568px;
1401
+ position: fixed;
1402
+ bottom: -50px;
1403
+ left: 50%;
1404
+ display: flex;
1405
+ flex-wrap: nowrap;
1406
+ align-items: center;
1641
1407
  opacity: 0;
1408
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1409
+ border-radius: 4px;
1410
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1642
1411
  }
1643
1412
 
1644
- .DNDContainer .Draggable.dragged {
1645
- z-index: 10;
1413
+ .Snackbar.shown {
1414
+ bottom: 15px;
1415
+ opacity: 1;
1646
1416
  }
1647
1417
 
1648
- .DNDContainer .overlay {
1649
- position: absolute;
1650
- top: 0;
1651
- left: 0;
1652
- right: 0;
1653
- bottom: 0;
1654
- pointer-events: none;
1418
+ .Snackbar .message {
1419
+ overflow: hidden;
1420
+ line-height: 1.2em;
1421
+ min-height: 1.2em;
1422
+ max-height: 2.4em;
1423
+ flex: 1;
1424
+ }
1425
+
1426
+ .Snackbar .action {
1427
+ text-transform: uppercase;
1428
+ font-weight: bold;
1429
+ margin-left: 48px;
1430
+ color: #bf3727;
1431
+ }
1432
+
1433
+ .Snackbar .action a {
1434
+ text-decoration: none;
1435
+ color: #bf3727;
1655
1436
  }
1656
1437
 
1657
1438
  .SpinningProgress {
@@ -1707,49 +1488,64 @@
1707
1488
  stroke-dashoffset: -53px;
1708
1489
  }
1709
1490
  }
1710
- .Snackbar {
1711
- transform: translateX(-50%);
1712
- overflow: hidden;
1713
- background-color: #323232;
1714
- padding: 14px 24px 14px 24px;
1715
- color: #fff;
1716
- min-width: 288px;
1717
- max-width: 568px;
1718
- position: fixed;
1719
- bottom: -50px;
1720
- left: 50%;
1491
+ .Dropzone {
1492
+ position: relative;
1493
+ }
1494
+
1495
+ .Dropzone > .overlay {
1496
+ position: absolute;
1497
+ left: 0;
1498
+ right: 0;
1499
+ top: 0;
1500
+ bottom: 0;
1501
+ background-color: #38ADC4;
1502
+ z-index: 1;
1503
+ opacity: 0;
1504
+ transition: all 0.2s ease;
1505
+ transition-delay: 100ms;
1506
+ visibility: hidden;
1721
1507
  display: flex;
1722
- flex-wrap: nowrap;
1508
+ justify-content: center;
1723
1509
  align-items: center;
1724
- opacity: 0;
1725
- transition: bottom 0.25s ease, opacity 0.2s ease;
1726
- border-radius: 4px;
1727
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1728
1510
  }
1729
1511
 
1730
- .Snackbar.shown {
1731
- bottom: 15px;
1732
- opacity: 1;
1512
+ .Dropzone > .overlay .drop {
1513
+ border-radius: 4px;
1514
+ border: 1px dashed #FFFFFF;
1515
+ position: absolute;
1516
+ top: 18px;
1517
+ left: 18px;
1518
+ right: 18px;
1519
+ bottom: 18px;
1520
+ display: flex;
1521
+ justify-content: center;
1522
+ align-items: center;
1523
+ font-weight: 500;
1524
+ font-size: 18px;
1525
+ color: #FFFFFF;
1733
1526
  }
1734
1527
 
1735
- .Snackbar .message {
1736
- overflow: hidden;
1737
- line-height: 1.2em;
1738
- min-height: 1.2em;
1739
- max-height: 2.4em;
1740
- flex: 1;
1528
+ .Dropzone.dragging > .overlay {
1529
+ opacity: 0.7;
1530
+ visibility: visible;
1531
+ transition-delay: 0s;
1741
1532
  }
1742
1533
 
1743
- .Snackbar .action {
1744
- text-transform: uppercase;
1745
- font-weight: bold;
1746
- margin-left: 48px;
1747
- color: #bf3727;
1534
+ .Dropzone.dragging > * {
1535
+ pointer-events: none;
1748
1536
  }
1749
1537
 
1750
- .Snackbar .action a {
1751
- text-decoration: none;
1752
- color: #bf3727;
1538
+ .Dropzone > input.file {
1539
+ position: absolute;
1540
+ left: 0;
1541
+ right: 0;
1542
+ top: 0;
1543
+ bottom: 0;
1544
+ width: 100%;
1545
+ height: 100%;
1546
+ opacity: 0;
1547
+ cursor: pointer;
1548
+ z-index: 1;
1753
1549
  }
1754
1550
 
1755
1551
  .ModalMenu {
@@ -1789,14 +1585,6 @@
1789
1585
  margin-left: 4px;
1790
1586
  }
1791
1587
 
1792
- .ScrollableTable .Scrollable .scrollbar {
1793
- top: 56px;
1794
- }
1795
-
1796
- .ScrollableTable .Table {
1797
- position: static;
1798
- }
1799
-
1800
1588
  .TextField {
1801
1589
  position: relative;
1802
1590
  width: 100%;
@@ -1938,4 +1726,216 @@
1938
1726
  animation-fill-mode: both;
1939
1727
  animation-timing-function: ease-in-out;
1940
1728
  animation-name: shake;
1729
+ }
1730
+
1731
+ .ScrollableTable .Scrollable .scrollbar {
1732
+ top: 56px;
1733
+ }
1734
+
1735
+ .ScrollableTable .Table {
1736
+ position: static;
1737
+ }
1738
+
1739
+ .Table {
1740
+ font-family: Roboto, sans-serif;
1741
+ font-size: 14px;
1742
+ color: #1e252d;
1743
+ border-spacing: 0;
1744
+ border-collapse: collapse;
1745
+ width: 100%;
1746
+ position: relative;
1747
+ }
1748
+
1749
+ .Table td, .Table th {
1750
+ padding: 5px;
1751
+ font-weight: 500;
1752
+ color: #2e2e2e;
1753
+ }
1754
+
1755
+ .Table td {
1756
+ height: 48px;
1757
+ border-bottom: 1px solid #ebebeb;
1758
+ border-top: 1px solid #ebebeb;
1759
+ }
1760
+
1761
+ .Table td:first-child {
1762
+ padding-left: 45px;
1763
+ }
1764
+
1765
+ .Table td:last-child {
1766
+ padding-right: 45px;
1767
+ }
1768
+
1769
+ .Table th {
1770
+ color: #808080;
1771
+ height: 55px;
1772
+ padding: 0px;
1773
+ }
1774
+
1775
+ .Table th .sortable {
1776
+ cursor: pointer;
1777
+ }
1778
+
1779
+ .Table th .sortable.active {
1780
+ font-weight: bold;
1781
+ }
1782
+
1783
+ .Table th .sortable.active .material-icons {
1784
+ font-size: 16px;
1785
+ }
1786
+
1787
+ .Table th .sortable.false {
1788
+ padding-right: 22px;
1789
+ }
1790
+
1791
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1792
+ padding-left: 45px;
1793
+ }
1794
+
1795
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1796
+ padding-right: 45px;
1797
+ }
1798
+
1799
+ .Table th .hidden {
1800
+ color: transparent;
1801
+ height: 0px;
1802
+ padding: 5px;
1803
+ }
1804
+
1805
+ .Table th .fixed {
1806
+ font-weight: normal;
1807
+ display: flex;
1808
+ flex-flow: row;
1809
+ justify-items: center;
1810
+ align-items: center;
1811
+ text-align: left;
1812
+ height: 56px;
1813
+ padding: 0px 5px;
1814
+ background-color: white;
1815
+ position: absolute;
1816
+ top: 0px;
1817
+ z-index: 1;
1818
+ box-sizing: border-box;
1819
+ border-bottom: 1px solid #ebebeb;
1820
+ border-top: 1px solid #ebebeb;
1821
+ }
1822
+
1823
+ .Table tbody tr:hover {
1824
+ background-color: #f2f2f2;
1825
+ }
1826
+
1827
+ .Table tbody tr.disabled td {
1828
+ color: #93a4b7;
1829
+ }
1830
+
1831
+ .Table .ro {
1832
+ color: #47576a;
1833
+ }
1834
+
1835
+ .Table .editable {
1836
+ cursor: pointer;
1837
+ }
1838
+
1839
+ .Table .editable > .TextField {
1840
+ height: 20px !important;
1841
+ margin: 0px;
1842
+ position: relative;
1843
+ display: block;
1844
+ }
1845
+
1846
+ .Table .editable > .TextField input {
1847
+ width: 100%;
1848
+ height: 20px;
1849
+ padding: 0px;
1850
+ background-color: rgb(240, 240, 240);
1851
+ }
1852
+
1853
+ .Table .editable > .AutocompleteSelect {
1854
+ min-width: unset;
1855
+ }
1856
+
1857
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1858
+ margin: 0;
1859
+ }
1860
+
1861
+ .Switch {
1862
+ display: inline-flex;
1863
+ padding-top: 5px;
1864
+ }
1865
+
1866
+ .Switch .switch-input {
1867
+ display: none;
1868
+ }
1869
+
1870
+ .Switch .switch-label {
1871
+ position: relative;
1872
+ display: inline-flex;
1873
+ align-items: center;
1874
+ min-width: 38px;
1875
+ height: 24px;
1876
+ cursor: pointer;
1877
+ font-weight: 500;
1878
+ text-align: left;
1879
+ user-select: none;
1880
+ margin: 0;
1881
+ padding: 0;
1882
+ padding-left: 44px;
1883
+ box-sizing: border-box;
1884
+ }
1885
+
1886
+ .Switch .switch-label:before, .Switch .switch-label:after {
1887
+ content: "";
1888
+ box-sizing: border-box;
1889
+ position: absolute;
1890
+ margin: 0;
1891
+ outline: 0;
1892
+ top: 50%;
1893
+ transform: translate(0, -50%);
1894
+ transition: all 0.3s ease;
1895
+ }
1896
+
1897
+ .Switch .switch-label:before {
1898
+ left: 1px;
1899
+ width: 34px;
1900
+ height: 14px;
1901
+ background-color: #9E9E9E;
1902
+ border-radius: 8px;
1903
+ }
1904
+
1905
+ .Switch .switch-label:after {
1906
+ left: 0;
1907
+ width: 20px;
1908
+ height: 20px;
1909
+ background-color: #FAFAFA;
1910
+ border-radius: 50%;
1911
+ 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);
1912
+ }
1913
+
1914
+ .Switch .switch-label .toggle--on {
1915
+ display: none;
1916
+ }
1917
+
1918
+ .Switch .switch-label .toggle--off {
1919
+ display: inline-block;
1920
+ }
1921
+
1922
+ .Switch .switch-label .label {
1923
+ margin-right: 5px;
1924
+ }
1925
+
1926
+ .Switch .switch-input:checked + .switch-label:before {
1927
+ background-color: #A5D6A7;
1928
+ }
1929
+
1930
+ .Switch .switch-input:checked + .switch-label:after {
1931
+ background-color: #4CAF50;
1932
+ transform: translate(80%, -50%);
1933
+ }
1934
+
1935
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1936
+ display: inline-block;
1937
+ }
1938
+
1939
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1940
+ display: none;
1941
1941
  }