react-ui-basics 0.0.229 → 0.0.230
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 +572 -572
- package/package.json +1 -1
- package/router/Link.js +5 -7
- package/router/Link.js.map +1 -1
- package/router/NavLink.js +4 -5
- package/router/NavLink.js.map +1 -1
- package/src/router/Link.tsx +4 -5
- package/src/router/NavLink.tsx +6 -6
package/bundle.css
CHANGED
|
@@ -302,24 +302,6 @@
|
|
|
302
302
|
opacity: 1;
|
|
303
303
|
}
|
|
304
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
|
-
|
|
323
305
|
.ImageGallery {
|
|
324
306
|
position: fixed;
|
|
325
307
|
top: 0;
|
|
@@ -555,49 +537,22 @@
|
|
|
555
537
|
font-size: 24px;
|
|
556
538
|
}
|
|
557
539
|
|
|
558
|
-
.
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
.CircleProgress .line {
|
|
564
|
-
stroke-width: 2px;
|
|
565
|
-
stroke: black;
|
|
566
|
-
stroke-linecap: square;
|
|
567
|
-
fill: none;
|
|
568
|
-
transition: stroke-dashoffset 0.2s ease;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
.DNDContainer {
|
|
572
|
-
position: relative;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
.DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
|
|
576
|
-
cursor: pointer;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
.DNDContainer .Draggable.placeholder {
|
|
580
|
-
opacity: 0.2;
|
|
540
|
+
.DNDContainer .DroppableList .Draggable {
|
|
541
|
+
transform: unset;
|
|
542
|
+
transition: unset;
|
|
543
|
+
opacity: 1;
|
|
581
544
|
}
|
|
582
545
|
|
|
583
|
-
.DNDContainer .Draggable.
|
|
584
|
-
|
|
585
|
-
box-sizing: border-box;
|
|
586
|
-
will-change: transform;
|
|
587
|
-
opacity: 0;
|
|
546
|
+
.DNDContainer .DroppableList .Draggable.dragged {
|
|
547
|
+
transition: unset !important;
|
|
588
548
|
}
|
|
589
549
|
|
|
590
|
-
.DNDContainer .
|
|
591
|
-
|
|
550
|
+
.DNDContainer .DroppableList.hover .Draggable {
|
|
551
|
+
transition: transform 0.2s ease-in;
|
|
592
552
|
}
|
|
593
553
|
|
|
594
|
-
.DNDContainer .
|
|
595
|
-
|
|
596
|
-
top: 0;
|
|
597
|
-
left: 0;
|
|
598
|
-
right: 0;
|
|
599
|
-
bottom: 0;
|
|
600
|
-
pointer-events: none;
|
|
554
|
+
.DNDContainer .DroppableList.resetting .Draggable {
|
|
555
|
+
transition: transform 0.1s ease-in;
|
|
601
556
|
}
|
|
602
557
|
|
|
603
558
|
.Button {
|
|
@@ -791,139 +746,6 @@
|
|
|
791
746
|
height: 100%;
|
|
792
747
|
}
|
|
793
748
|
|
|
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;
|
|
807
|
-
cursor: pointer;
|
|
808
|
-
}
|
|
809
|
-
|
|
810
|
-
.Checkbox label:before, .Checkbox label:after {
|
|
811
|
-
content: "";
|
|
812
|
-
position: absolute;
|
|
813
|
-
left: 0;
|
|
814
|
-
top: 0;
|
|
815
|
-
}
|
|
816
|
-
|
|
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;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
.Checkbox input[type=checkbox] {
|
|
828
|
-
outline: 0;
|
|
829
|
-
margin-right: 10px;
|
|
830
|
-
visibility: hidden;
|
|
831
|
-
}
|
|
832
|
-
|
|
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);
|
|
859
|
-
}
|
|
860
|
-
|
|
861
|
-
.DialogModal {
|
|
862
|
-
overflow: hidden;
|
|
863
|
-
}
|
|
864
|
-
|
|
865
|
-
.DialogModal .content {
|
|
866
|
-
top: 20vh;
|
|
867
|
-
}
|
|
868
|
-
|
|
869
|
-
.Dialog {
|
|
870
|
-
background-color: white;
|
|
871
|
-
min-width: 460px;
|
|
872
|
-
max-width: 40vw;
|
|
873
|
-
padding: 15px;
|
|
874
|
-
}
|
|
875
|
-
|
|
876
|
-
.Dialog .title {
|
|
877
|
-
margin-bottom: 15px;
|
|
878
|
-
padding: 20px 50px 0px 30px;
|
|
879
|
-
font-size: 1.25rem;
|
|
880
|
-
line-height: 2rem;
|
|
881
|
-
font-weight: 400;
|
|
882
|
-
letter-spacing: 0.0125em;
|
|
883
|
-
}
|
|
884
|
-
|
|
885
|
-
.Dialog .description {
|
|
886
|
-
color: rgba(0, 0, 0, 0.54);
|
|
887
|
-
font-size: 1rem;
|
|
888
|
-
line-height: 1.5rem;
|
|
889
|
-
font-weight: 400;
|
|
890
|
-
letter-spacing: 0.03125em;
|
|
891
|
-
margin-top: 20px;
|
|
892
|
-
padding: 0 24px 24px;
|
|
893
|
-
}
|
|
894
|
-
|
|
895
|
-
.Dialog > div.row {
|
|
896
|
-
margin-bottom: 15px;
|
|
897
|
-
}
|
|
898
|
-
|
|
899
|
-
.Dialog > div.row:last-child {
|
|
900
|
-
margin-bottom: 0;
|
|
901
|
-
}
|
|
902
|
-
|
|
903
|
-
.Button.FloatingActionButton {
|
|
904
|
-
position: absolute;
|
|
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);
|
|
911
|
-
}
|
|
912
|
-
|
|
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);
|
|
915
|
-
}
|
|
916
|
-
|
|
917
|
-
.Button.FloatingActionButton.mini {
|
|
918
|
-
width: 40px;
|
|
919
|
-
height: 40px;
|
|
920
|
-
padding: 8px;
|
|
921
|
-
}
|
|
922
|
-
|
|
923
|
-
.Button.FloatingActionButton.hidden {
|
|
924
|
-
bottom: -100px;
|
|
925
|
-
}
|
|
926
|
-
|
|
927
749
|
.DatePicker {
|
|
928
750
|
position: relative;
|
|
929
751
|
}
|
|
@@ -1041,66 +863,231 @@
|
|
|
1041
863
|
background-color: #51adf6;
|
|
1042
864
|
}
|
|
1043
865
|
|
|
1044
|
-
.
|
|
1045
|
-
|
|
866
|
+
.DNDContainer {
|
|
867
|
+
position: relative;
|
|
1046
868
|
}
|
|
1047
869
|
|
|
1048
|
-
.
|
|
1049
|
-
border: 1px dashed #808080;
|
|
1050
|
-
padding: 12px;
|
|
1051
|
-
display: flex;
|
|
1052
|
-
flex-flow: row nowrap;
|
|
1053
|
-
justify-content: center;
|
|
1054
|
-
align-items: center;
|
|
1055
|
-
color: gray;
|
|
870
|
+
.DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
|
|
1056
871
|
cursor: pointer;
|
|
1057
|
-
border-radius: 3px;
|
|
1058
|
-
font-weight: normal;
|
|
1059
|
-
line-height: 22px;
|
|
1060
|
-
font-size: 14px;
|
|
1061
|
-
color: #7E7E7E;
|
|
1062
|
-
max-width: 100%;
|
|
1063
|
-
word-break: break-all;
|
|
1064
|
-
word-break: break-word;
|
|
1065
872
|
}
|
|
1066
873
|
|
|
1067
|
-
.
|
|
1068
|
-
|
|
874
|
+
.DNDContainer .Draggable.placeholder {
|
|
875
|
+
opacity: 0.2;
|
|
1069
876
|
}
|
|
1070
877
|
|
|
1071
|
-
.
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1076
|
-
right: 0;
|
|
1077
|
-
bottom: 100%;
|
|
1078
|
-
overflow-y: scroll;
|
|
1079
|
-
transition: bottom 0ms linear;
|
|
1080
|
-
transition-delay: 0.2s;
|
|
878
|
+
.DNDContainer .Draggable.copy {
|
|
879
|
+
position: absolute;
|
|
880
|
+
box-sizing: border-box;
|
|
881
|
+
will-change: transform;
|
|
882
|
+
opacity: 0;
|
|
1081
883
|
}
|
|
1082
884
|
|
|
1083
|
-
.
|
|
1084
|
-
|
|
1085
|
-
bottom: 0;
|
|
885
|
+
.DNDContainer .Draggable.dragged {
|
|
886
|
+
z-index: 10;
|
|
1086
887
|
}
|
|
1087
888
|
|
|
1088
|
-
.
|
|
1089
|
-
position:
|
|
889
|
+
.DNDContainer .overlay {
|
|
890
|
+
position: absolute;
|
|
1090
891
|
top: 0;
|
|
1091
|
-
bottom: 100%;
|
|
1092
892
|
left: 0;
|
|
1093
893
|
right: 0;
|
|
1094
|
-
|
|
1095
|
-
opacity: 0;
|
|
1096
|
-
background-color: black;
|
|
894
|
+
bottom: 0;
|
|
1097
895
|
pointer-events: none;
|
|
1098
896
|
}
|
|
1099
897
|
|
|
1100
|
-
.
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
}
|
|
898
|
+
.Checkbox {
|
|
899
|
+
position: relative;
|
|
900
|
+
white-space: pre;
|
|
901
|
+
}
|
|
902
|
+
|
|
903
|
+
.Checkbox *, .Checkbox *:before, .Checkbox *:after {
|
|
904
|
+
box-sizing: border-box;
|
|
905
|
+
}
|
|
906
|
+
|
|
907
|
+
.Checkbox label {
|
|
908
|
+
font-family: Roboto, sans-serif;
|
|
909
|
+
font-size: 14px;
|
|
910
|
+
color: #1e252d;
|
|
911
|
+
cursor: pointer;
|
|
912
|
+
}
|
|
913
|
+
|
|
914
|
+
.Checkbox label:before, .Checkbox label:after {
|
|
915
|
+
content: "";
|
|
916
|
+
position: absolute;
|
|
917
|
+
left: 0;
|
|
918
|
+
top: 0;
|
|
919
|
+
}
|
|
920
|
+
|
|
921
|
+
.Checkbox label:before {
|
|
922
|
+
width: 20px;
|
|
923
|
+
height: 20px;
|
|
924
|
+
background: #fff;
|
|
925
|
+
border: 2px solid #252525;
|
|
926
|
+
border-radius: 2px;
|
|
927
|
+
cursor: pointer;
|
|
928
|
+
transition: background 0.3s;
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
.Checkbox input[type=checkbox] {
|
|
932
|
+
outline: 0;
|
|
933
|
+
margin-right: 10px;
|
|
934
|
+
visibility: hidden;
|
|
935
|
+
}
|
|
936
|
+
|
|
937
|
+
.Checkbox input[type=checkbox]:checked + label:before {
|
|
938
|
+
background: #4AC263;
|
|
939
|
+
border: none;
|
|
940
|
+
}
|
|
941
|
+
|
|
942
|
+
.Checkbox input[type=checkbox]:checked + label:after {
|
|
943
|
+
transform: rotate(-45deg);
|
|
944
|
+
top: 6px;
|
|
945
|
+
left: 4px;
|
|
946
|
+
width: 12px;
|
|
947
|
+
height: 6px;
|
|
948
|
+
border: 2px solid #fff;
|
|
949
|
+
border-top-style: none;
|
|
950
|
+
border-right-style: none;
|
|
951
|
+
}
|
|
952
|
+
|
|
953
|
+
.Checkbox input[type=checkbox]:disabled + label {
|
|
954
|
+
color: gray;
|
|
955
|
+
}
|
|
956
|
+
|
|
957
|
+
.Checkbox input[type=checkbox]:disabled + label:before {
|
|
958
|
+
border-color: rgba(0, 0, 0, 0.26);
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
.Checkbox input[type=checkbox]:disabled:checked + label:before {
|
|
962
|
+
background: rgba(0, 0, 0, 0.26);
|
|
963
|
+
}
|
|
964
|
+
|
|
965
|
+
.Button.FloatingActionButton {
|
|
966
|
+
position: absolute;
|
|
967
|
+
right: 16px;
|
|
968
|
+
bottom: 16px;
|
|
969
|
+
width: 56px;
|
|
970
|
+
height: 56px;
|
|
971
|
+
padding: 16px;
|
|
972
|
+
transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
.Button.FloatingActionButton.raised {
|
|
976
|
+
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);
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
.Button.FloatingActionButton.mini {
|
|
980
|
+
width: 40px;
|
|
981
|
+
height: 40px;
|
|
982
|
+
padding: 8px;
|
|
983
|
+
}
|
|
984
|
+
|
|
985
|
+
.Button.FloatingActionButton.hidden {
|
|
986
|
+
bottom: -100px;
|
|
987
|
+
}
|
|
988
|
+
|
|
989
|
+
.FormUploadProgress {
|
|
990
|
+
position: absolute;
|
|
991
|
+
left: 0;
|
|
992
|
+
right: 0;
|
|
993
|
+
top: 0;
|
|
994
|
+
bottom: 0;
|
|
995
|
+
background-color: rgba(255, 255, 255, 0.6);
|
|
996
|
+
z-index: 2;
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
.FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
|
|
1000
|
+
transition-delay: 500ms;
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
.FormUploadProgress .wrapper {
|
|
1004
|
+
position: sticky;
|
|
1005
|
+
top: 40%;
|
|
1006
|
+
margin-top: 40%;
|
|
1007
|
+
margin-left: 50%;
|
|
1008
|
+
transform: translateX(-50%);
|
|
1009
|
+
display: flex;
|
|
1010
|
+
flex-flow: column;
|
|
1011
|
+
justify-content: center;
|
|
1012
|
+
align-items: center;
|
|
1013
|
+
}
|
|
1014
|
+
|
|
1015
|
+
.FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
|
|
1016
|
+
position: absolute;
|
|
1017
|
+
width: 107px;
|
|
1018
|
+
height: 107px;
|
|
1019
|
+
top: 0;
|
|
1020
|
+
left: 0;
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
.FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
|
|
1024
|
+
stroke: #2196F3;
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
.FormUploadProgress .wrapper > .progress {
|
|
1028
|
+
width: 107px;
|
|
1029
|
+
height: 107px;
|
|
1030
|
+
min-height: 107px;
|
|
1031
|
+
display: flex;
|
|
1032
|
+
justify-content: center;
|
|
1033
|
+
align-items: center;
|
|
1034
|
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
|
|
1035
|
+
border-radius: 50%;
|
|
1036
|
+
background: white;
|
|
1037
|
+
position: relative;
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
.FormUploadProgress .wrapper > .progress > .value {
|
|
1041
|
+
display: inline-block;
|
|
1042
|
+
margin-top: 5px;
|
|
1043
|
+
font-weight: bold;
|
|
1044
|
+
line-height: 16px;
|
|
1045
|
+
font-size: 13px;
|
|
1046
|
+
text-align: center;
|
|
1047
|
+
color: #818181;
|
|
1048
|
+
}
|
|
1049
|
+
|
|
1050
|
+
.FormUploadProgress .wrapper .cancel {
|
|
1051
|
+
min-width: 107px;
|
|
1052
|
+
margin-top: 20px;
|
|
1053
|
+
background-color: white;
|
|
1054
|
+
color: #F96B5C;
|
|
1055
|
+
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
.Modal {
|
|
1059
|
+
display: block;
|
|
1060
|
+
position: fixed;
|
|
1061
|
+
top: 0;
|
|
1062
|
+
left: 0;
|
|
1063
|
+
right: 0;
|
|
1064
|
+
bottom: 100%;
|
|
1065
|
+
overflow-y: scroll;
|
|
1066
|
+
transition: bottom 0ms linear;
|
|
1067
|
+
transition-delay: 0.2s;
|
|
1068
|
+
}
|
|
1069
|
+
|
|
1070
|
+
.Modal.show {
|
|
1071
|
+
transition-delay: 0s;
|
|
1072
|
+
bottom: 0;
|
|
1073
|
+
}
|
|
1074
|
+
|
|
1075
|
+
.Modal > .overlay {
|
|
1076
|
+
position: fixed;
|
|
1077
|
+
top: 0;
|
|
1078
|
+
bottom: 100%;
|
|
1079
|
+
left: 0;
|
|
1080
|
+
right: 0;
|
|
1081
|
+
transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
1082
|
+
opacity: 0;
|
|
1083
|
+
background-color: black;
|
|
1084
|
+
pointer-events: none;
|
|
1085
|
+
}
|
|
1086
|
+
|
|
1087
|
+
.Modal > .overlay.show {
|
|
1088
|
+
opacity: 0.5;
|
|
1089
|
+
bottom: 0;
|
|
1090
|
+
}
|
|
1104
1091
|
|
|
1105
1092
|
.Modal > .content {
|
|
1106
1093
|
left: 50%;
|
|
@@ -1122,20 +1109,207 @@
|
|
|
1122
1109
|
transform: scaleY(1) translateY(0px) translateX(-50%);
|
|
1123
1110
|
}
|
|
1124
1111
|
|
|
1125
|
-
.Modal > .content > .Scrollable {
|
|
1126
|
-
overflow: visible;
|
|
1127
|
-
max-height: 80vh;
|
|
1112
|
+
.Modal > .content > .Scrollable {
|
|
1113
|
+
overflow: visible;
|
|
1114
|
+
max-height: 80vh;
|
|
1115
|
+
}
|
|
1116
|
+
|
|
1117
|
+
.Modal > .content > .Scrollable > .viewport {
|
|
1118
|
+
min-width: 10px;
|
|
1119
|
+
min-height: 10px;
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
.Modal > .content > .Button.close {
|
|
1123
|
+
top: 10px;
|
|
1124
|
+
right: 10px;
|
|
1125
|
+
position: absolute;
|
|
1126
|
+
}
|
|
1127
|
+
|
|
1128
|
+
.CircleProgress {
|
|
1129
|
+
width: 48px;
|
|
1130
|
+
height: 48px;
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
.CircleProgress .line {
|
|
1134
|
+
stroke-width: 2px;
|
|
1135
|
+
stroke: black;
|
|
1136
|
+
stroke-linecap: square;
|
|
1137
|
+
fill: none;
|
|
1138
|
+
transition: stroke-dashoffset 0.2s ease;
|
|
1139
|
+
}
|
|
1140
|
+
|
|
1141
|
+
.DropFileInput {
|
|
1142
|
+
flex-grow: 1;
|
|
1143
|
+
}
|
|
1144
|
+
|
|
1145
|
+
.DropFileInput .Dropzone {
|
|
1146
|
+
border: 1px dashed #808080;
|
|
1147
|
+
padding: 12px;
|
|
1148
|
+
display: flex;
|
|
1149
|
+
flex-flow: row nowrap;
|
|
1150
|
+
justify-content: center;
|
|
1151
|
+
align-items: center;
|
|
1152
|
+
color: gray;
|
|
1153
|
+
cursor: pointer;
|
|
1154
|
+
border-radius: 3px;
|
|
1155
|
+
font-weight: normal;
|
|
1156
|
+
line-height: 22px;
|
|
1157
|
+
font-size: 14px;
|
|
1158
|
+
color: #7E7E7E;
|
|
1159
|
+
max-width: 100%;
|
|
1160
|
+
word-break: break-all;
|
|
1161
|
+
word-break: break-word;
|
|
1162
|
+
}
|
|
1163
|
+
|
|
1164
|
+
.DropFileInput .Dropzone .icon.withText {
|
|
1165
|
+
margin-right: 10px;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
.DialogModal {
|
|
1169
|
+
overflow: hidden;
|
|
1170
|
+
}
|
|
1171
|
+
|
|
1172
|
+
.DialogModal .content {
|
|
1173
|
+
top: 20vh;
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
.Dialog {
|
|
1177
|
+
background-color: white;
|
|
1178
|
+
min-width: 460px;
|
|
1179
|
+
max-width: 40vw;
|
|
1180
|
+
padding: 15px;
|
|
1181
|
+
}
|
|
1182
|
+
|
|
1183
|
+
.Dialog .title {
|
|
1184
|
+
margin-bottom: 15px;
|
|
1185
|
+
padding: 20px 50px 0px 30px;
|
|
1186
|
+
font-size: 1.25rem;
|
|
1187
|
+
line-height: 2rem;
|
|
1188
|
+
font-weight: 400;
|
|
1189
|
+
letter-spacing: 0.0125em;
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
.Dialog .description {
|
|
1193
|
+
color: rgba(0, 0, 0, 0.54);
|
|
1194
|
+
font-size: 1rem;
|
|
1195
|
+
line-height: 1.5rem;
|
|
1196
|
+
font-weight: 400;
|
|
1197
|
+
letter-spacing: 0.03125em;
|
|
1198
|
+
margin-top: 20px;
|
|
1199
|
+
padding: 0 24px 24px;
|
|
1200
|
+
}
|
|
1201
|
+
|
|
1202
|
+
.Dialog > div.row {
|
|
1203
|
+
margin-bottom: 15px;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
.Dialog > div.row:last-child {
|
|
1207
|
+
margin-bottom: 0;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
.Dropzone {
|
|
1211
|
+
position: relative;
|
|
1212
|
+
}
|
|
1213
|
+
|
|
1214
|
+
.Dropzone > .overlay {
|
|
1215
|
+
position: absolute;
|
|
1216
|
+
left: 0;
|
|
1217
|
+
right: 0;
|
|
1218
|
+
top: 0;
|
|
1219
|
+
bottom: 0;
|
|
1220
|
+
background-color: #38ADC4;
|
|
1221
|
+
z-index: 1;
|
|
1222
|
+
opacity: 0;
|
|
1223
|
+
transition: all 0.2s ease;
|
|
1224
|
+
transition-delay: 100ms;
|
|
1225
|
+
visibility: hidden;
|
|
1226
|
+
display: flex;
|
|
1227
|
+
justify-content: center;
|
|
1228
|
+
align-items: center;
|
|
1229
|
+
}
|
|
1230
|
+
|
|
1231
|
+
.Dropzone > .overlay .drop {
|
|
1232
|
+
border-radius: 4px;
|
|
1233
|
+
border: 1px dashed #FFFFFF;
|
|
1234
|
+
position: absolute;
|
|
1235
|
+
top: 18px;
|
|
1236
|
+
left: 18px;
|
|
1237
|
+
right: 18px;
|
|
1238
|
+
bottom: 18px;
|
|
1239
|
+
display: flex;
|
|
1240
|
+
justify-content: center;
|
|
1241
|
+
align-items: center;
|
|
1242
|
+
font-weight: 500;
|
|
1243
|
+
font-size: 18px;
|
|
1244
|
+
color: #FFFFFF;
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1247
|
+
.Dropzone.dragging > .overlay {
|
|
1248
|
+
opacity: 0.7;
|
|
1249
|
+
visibility: visible;
|
|
1250
|
+
transition-delay: 0s;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
.Dropzone.dragging > * {
|
|
1254
|
+
pointer-events: none;
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
.Dropzone > input.file {
|
|
1258
|
+
position: absolute;
|
|
1259
|
+
left: 0;
|
|
1260
|
+
right: 0;
|
|
1261
|
+
top: 0;
|
|
1262
|
+
bottom: 0;
|
|
1263
|
+
width: 100%;
|
|
1264
|
+
height: 100%;
|
|
1265
|
+
opacity: 0;
|
|
1266
|
+
cursor: pointer;
|
|
1267
|
+
z-index: 1;
|
|
1268
|
+
}
|
|
1269
|
+
|
|
1270
|
+
.Snackbar {
|
|
1271
|
+
transform: translateX(-50%);
|
|
1272
|
+
overflow: hidden;
|
|
1273
|
+
background-color: #323232;
|
|
1274
|
+
padding: 14px 24px 14px 24px;
|
|
1275
|
+
color: #fff;
|
|
1276
|
+
min-width: 288px;
|
|
1277
|
+
max-width: 568px;
|
|
1278
|
+
position: fixed;
|
|
1279
|
+
bottom: -50px;
|
|
1280
|
+
left: 50%;
|
|
1281
|
+
display: flex;
|
|
1282
|
+
flex-wrap: nowrap;
|
|
1283
|
+
align-items: center;
|
|
1284
|
+
opacity: 0;
|
|
1285
|
+
transition: bottom 0.25s ease, opacity 0.2s ease;
|
|
1286
|
+
border-radius: 4px;
|
|
1287
|
+
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
|
|
1288
|
+
}
|
|
1289
|
+
|
|
1290
|
+
.Snackbar.shown {
|
|
1291
|
+
bottom: 15px;
|
|
1292
|
+
opacity: 1;
|
|
1293
|
+
}
|
|
1294
|
+
|
|
1295
|
+
.Snackbar .message {
|
|
1296
|
+
overflow: hidden;
|
|
1297
|
+
line-height: 1.2em;
|
|
1298
|
+
min-height: 1.2em;
|
|
1299
|
+
max-height: 2.4em;
|
|
1300
|
+
flex: 1;
|
|
1128
1301
|
}
|
|
1129
1302
|
|
|
1130
|
-
.
|
|
1131
|
-
|
|
1132
|
-
|
|
1303
|
+
.Snackbar .action {
|
|
1304
|
+
text-transform: uppercase;
|
|
1305
|
+
font-weight: bold;
|
|
1306
|
+
margin-left: 48px;
|
|
1307
|
+
color: #bf3727;
|
|
1133
1308
|
}
|
|
1134
1309
|
|
|
1135
|
-
.
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
position: absolute;
|
|
1310
|
+
.Snackbar .action a {
|
|
1311
|
+
text-decoration: none;
|
|
1312
|
+
color: #bf3727;
|
|
1139
1313
|
}
|
|
1140
1314
|
|
|
1141
1315
|
.FilteredList {
|
|
@@ -1223,6 +1397,96 @@
|
|
|
1223
1397
|
margin-bottom: 8px;
|
|
1224
1398
|
}
|
|
1225
1399
|
|
|
1400
|
+
.ModalMenu {
|
|
1401
|
+
position: absolute;
|
|
1402
|
+
top: 10px;
|
|
1403
|
+
right: 50px;
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
.ModalMenu .material-icons {
|
|
1407
|
+
color: #818181;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
.ModalMenu .Button.animated {
|
|
1411
|
+
position: absolute;
|
|
1412
|
+
transition: opacity 150ms ease-in, right 200ms ease-in;
|
|
1413
|
+
opacity: 0;
|
|
1414
|
+
right: 0;
|
|
1415
|
+
top: 0;
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1418
|
+
.ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
|
|
1419
|
+
opacity: 1;
|
|
1420
|
+
}
|
|
1421
|
+
|
|
1422
|
+
.ModalMenu .Button.animated.unmounting {
|
|
1423
|
+
transition: opacity 100ms ease-out, right 200ms ease-out;
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
.ModalMenu .Button.active {
|
|
1427
|
+
background: #EBEBEB;
|
|
1428
|
+
}
|
|
1429
|
+
|
|
1430
|
+
.ModalMenu .separator {
|
|
1431
|
+
height: 24px;
|
|
1432
|
+
width: 1px;
|
|
1433
|
+
background-color: #D9D9D9;
|
|
1434
|
+
margin-left: 4px;
|
|
1435
|
+
}
|
|
1436
|
+
|
|
1437
|
+
.SpinningProgress {
|
|
1438
|
+
width: 48px;
|
|
1439
|
+
height: 48px;
|
|
1440
|
+
position: relative;
|
|
1441
|
+
margin: 0 auto;
|
|
1442
|
+
}
|
|
1443
|
+
|
|
1444
|
+
.SpinningProgress:before {
|
|
1445
|
+
content: "";
|
|
1446
|
+
display: block;
|
|
1447
|
+
padding-top: 100%;
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
.SpinningProgress .circular {
|
|
1451
|
+
animation: rotate 2s linear infinite;
|
|
1452
|
+
height: 100%;
|
|
1453
|
+
transform-origin: center center;
|
|
1454
|
+
width: 100%;
|
|
1455
|
+
position: absolute;
|
|
1456
|
+
top: 0;
|
|
1457
|
+
bottom: 0;
|
|
1458
|
+
left: 0;
|
|
1459
|
+
right: 0;
|
|
1460
|
+
margin: auto;
|
|
1461
|
+
}
|
|
1462
|
+
|
|
1463
|
+
.SpinningProgress .line {
|
|
1464
|
+
stroke: black;
|
|
1465
|
+
stroke-width: 2px;
|
|
1466
|
+
stroke-dasharray: 1, 96;
|
|
1467
|
+
stroke-dashoffset: 0;
|
|
1468
|
+
animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
|
|
1469
|
+
}
|
|
1470
|
+
|
|
1471
|
+
@keyframes rotate {
|
|
1472
|
+
100% {
|
|
1473
|
+
transform: rotate(360deg);
|
|
1474
|
+
}
|
|
1475
|
+
}
|
|
1476
|
+
@keyframes dash {
|
|
1477
|
+
0% {
|
|
1478
|
+
stroke-dasharray: 1, 96;
|
|
1479
|
+
stroke-dashoffset: 0;
|
|
1480
|
+
}
|
|
1481
|
+
50% {
|
|
1482
|
+
stroke-dasharray: 43, 96;
|
|
1483
|
+
stroke-dashoffset: -17px;
|
|
1484
|
+
}
|
|
1485
|
+
100% {
|
|
1486
|
+
stroke-dasharray: 43, 96;
|
|
1487
|
+
stroke-dashoffset: -53px;
|
|
1488
|
+
}
|
|
1489
|
+
}
|
|
1226
1490
|
.Scrollable {
|
|
1227
1491
|
max-height: 250px;
|
|
1228
1492
|
max-width: 250px;
|
|
@@ -1298,291 +1562,109 @@
|
|
|
1298
1562
|
}
|
|
1299
1563
|
|
|
1300
1564
|
.Scrollable .scrollbar .thumb:hover {
|
|
1301
|
-
background-color: rgba(0, 0, 0, 0.5);
|
|
1302
|
-
}
|
|
1303
|
-
|
|
1304
|
-
.Scrollable .scrollbar .thumb:active {
|
|
1305
|
-
background-color: rgba(0, 0, 0, 0.7);
|
|
1306
|
-
}
|
|
1307
|
-
|
|
1308
|
-
.Scrollable .scrollbar.horizontal {
|
|
1309
|
-
left: 0px;
|
|
1310
|
-
right: 0px;
|
|
1311
|
-
height: 5px;
|
|
1312
|
-
bottom: 0;
|
|
1313
|
-
width: unset;
|
|
1314
|
-
top: unset;
|
|
1315
|
-
}
|
|
1316
|
-
|
|
1317
|
-
.Scrollable .scrollbar.horizontal .thumb {
|
|
1318
|
-
height: 5px;
|
|
1319
|
-
left: 0px;
|
|
1320
|
-
bottom: 0px;
|
|
1321
|
-
will-change: left;
|
|
1322
|
-
}
|
|
1323
|
-
|
|
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;
|
|
1332
|
-
}
|
|
1333
|
-
|
|
1334
|
-
.FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
|
|
1335
|
-
transition-delay: 500ms;
|
|
1336
|
-
}
|
|
1337
|
-
|
|
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;
|
|
1348
|
-
}
|
|
1349
|
-
|
|
1350
|
-
.FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
|
|
1351
|
-
position: absolute;
|
|
1352
|
-
width: 107px;
|
|
1353
|
-
height: 107px;
|
|
1354
|
-
top: 0;
|
|
1355
|
-
left: 0;
|
|
1356
|
-
}
|
|
1357
|
-
|
|
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;
|
|
1372
|
-
position: relative;
|
|
1373
|
-
}
|
|
1374
|
-
|
|
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;
|
|
1383
|
-
}
|
|
1384
|
-
|
|
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);
|
|
1391
|
-
}
|
|
1392
|
-
|
|
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;
|
|
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);
|
|
1411
|
-
}
|
|
1412
|
-
|
|
1413
|
-
.Snackbar.shown {
|
|
1414
|
-
bottom: 15px;
|
|
1415
|
-
opacity: 1;
|
|
1416
|
-
}
|
|
1417
|
-
|
|
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;
|
|
1436
|
-
}
|
|
1437
|
-
|
|
1438
|
-
.SpinningProgress {
|
|
1439
|
-
width: 48px;
|
|
1440
|
-
height: 48px;
|
|
1441
|
-
position: relative;
|
|
1442
|
-
margin: 0 auto;
|
|
1565
|
+
background-color: rgba(0, 0, 0, 0.5);
|
|
1443
1566
|
}
|
|
1444
1567
|
|
|
1445
|
-
.
|
|
1446
|
-
|
|
1447
|
-
display: block;
|
|
1448
|
-
padding-top: 100%;
|
|
1568
|
+
.Scrollable .scrollbar .thumb:active {
|
|
1569
|
+
background-color: rgba(0, 0, 0, 0.7);
|
|
1449
1570
|
}
|
|
1450
1571
|
|
|
1451
|
-
.
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
width: 100%;
|
|
1456
|
-
position: absolute;
|
|
1457
|
-
top: 0;
|
|
1572
|
+
.Scrollable .scrollbar.horizontal {
|
|
1573
|
+
left: 0px;
|
|
1574
|
+
right: 0px;
|
|
1575
|
+
height: 5px;
|
|
1458
1576
|
bottom: 0;
|
|
1459
|
-
|
|
1460
|
-
|
|
1461
|
-
margin: auto;
|
|
1577
|
+
width: unset;
|
|
1578
|
+
top: unset;
|
|
1462
1579
|
}
|
|
1463
1580
|
|
|
1464
|
-
.
|
|
1465
|
-
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
|
-
|
|
1469
|
-
animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
|
|
1581
|
+
.Scrollable .scrollbar.horizontal .thumb {
|
|
1582
|
+
height: 5px;
|
|
1583
|
+
left: 0px;
|
|
1584
|
+
bottom: 0px;
|
|
1585
|
+
will-change: left;
|
|
1470
1586
|
}
|
|
1471
1587
|
|
|
1472
|
-
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
}
|
|
1476
|
-
}
|
|
1477
|
-
@keyframes dash {
|
|
1478
|
-
0% {
|
|
1479
|
-
stroke-dasharray: 1, 96;
|
|
1480
|
-
stroke-dashoffset: 0;
|
|
1481
|
-
}
|
|
1482
|
-
50% {
|
|
1483
|
-
stroke-dasharray: 43, 96;
|
|
1484
|
-
stroke-dashoffset: -17px;
|
|
1485
|
-
}
|
|
1486
|
-
100% {
|
|
1487
|
-
stroke-dasharray: 43, 96;
|
|
1488
|
-
stroke-dashoffset: -53px;
|
|
1489
|
-
}
|
|
1490
|
-
}
|
|
1491
|
-
.Dropzone {
|
|
1492
|
-
position: relative;
|
|
1588
|
+
.Switch {
|
|
1589
|
+
display: inline-flex;
|
|
1590
|
+
padding-top: 5px;
|
|
1493
1591
|
}
|
|
1494
1592
|
|
|
1495
|
-
.
|
|
1496
|
-
|
|
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;
|
|
1507
|
-
display: flex;
|
|
1508
|
-
justify-content: center;
|
|
1509
|
-
align-items: center;
|
|
1593
|
+
.Switch .switch-input {
|
|
1594
|
+
display: none;
|
|
1510
1595
|
}
|
|
1511
1596
|
|
|
1512
|
-
.
|
|
1513
|
-
|
|
1514
|
-
|
|
1515
|
-
position: absolute;
|
|
1516
|
-
top: 18px;
|
|
1517
|
-
left: 18px;
|
|
1518
|
-
right: 18px;
|
|
1519
|
-
bottom: 18px;
|
|
1520
|
-
display: flex;
|
|
1521
|
-
justify-content: center;
|
|
1597
|
+
.Switch .switch-label {
|
|
1598
|
+
position: relative;
|
|
1599
|
+
display: inline-flex;
|
|
1522
1600
|
align-items: center;
|
|
1601
|
+
min-width: 38px;
|
|
1602
|
+
height: 24px;
|
|
1603
|
+
cursor: pointer;
|
|
1523
1604
|
font-weight: 500;
|
|
1524
|
-
|
|
1525
|
-
|
|
1605
|
+
text-align: left;
|
|
1606
|
+
user-select: none;
|
|
1607
|
+
margin: 0;
|
|
1608
|
+
padding: 0;
|
|
1609
|
+
padding-left: 44px;
|
|
1610
|
+
box-sizing: border-box;
|
|
1526
1611
|
}
|
|
1527
1612
|
|
|
1528
|
-
.
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1613
|
+
.Switch .switch-label:before, .Switch .switch-label:after {
|
|
1614
|
+
content: "";
|
|
1615
|
+
box-sizing: border-box;
|
|
1616
|
+
position: absolute;
|
|
1617
|
+
margin: 0;
|
|
1618
|
+
outline: 0;
|
|
1619
|
+
top: 50%;
|
|
1620
|
+
transform: translate(0, -50%);
|
|
1621
|
+
transition: all 0.3s ease;
|
|
1532
1622
|
}
|
|
1533
1623
|
|
|
1534
|
-
.
|
|
1535
|
-
|
|
1624
|
+
.Switch .switch-label:before {
|
|
1625
|
+
left: 1px;
|
|
1626
|
+
width: 34px;
|
|
1627
|
+
height: 14px;
|
|
1628
|
+
background-color: #9E9E9E;
|
|
1629
|
+
border-radius: 8px;
|
|
1536
1630
|
}
|
|
1537
1631
|
|
|
1538
|
-
.
|
|
1539
|
-
position: absolute;
|
|
1632
|
+
.Switch .switch-label:after {
|
|
1540
1633
|
left: 0;
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
opacity: 0;
|
|
1547
|
-
cursor: pointer;
|
|
1548
|
-
z-index: 1;
|
|
1634
|
+
width: 20px;
|
|
1635
|
+
height: 20px;
|
|
1636
|
+
background-color: #FAFAFA;
|
|
1637
|
+
border-radius: 50%;
|
|
1638
|
+
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);
|
|
1549
1639
|
}
|
|
1550
1640
|
|
|
1551
|
-
.
|
|
1552
|
-
|
|
1553
|
-
top: 10px;
|
|
1554
|
-
right: 50px;
|
|
1641
|
+
.Switch .switch-label .toggle--on {
|
|
1642
|
+
display: none;
|
|
1555
1643
|
}
|
|
1556
1644
|
|
|
1557
|
-
.
|
|
1558
|
-
|
|
1645
|
+
.Switch .switch-label .toggle--off {
|
|
1646
|
+
display: inline-block;
|
|
1559
1647
|
}
|
|
1560
1648
|
|
|
1561
|
-
.
|
|
1562
|
-
|
|
1563
|
-
transition: opacity 150ms ease-in, right 200ms ease-in;
|
|
1564
|
-
opacity: 0;
|
|
1565
|
-
right: 0;
|
|
1566
|
-
top: 0;
|
|
1649
|
+
.Switch .switch-label .label {
|
|
1650
|
+
margin-right: 5px;
|
|
1567
1651
|
}
|
|
1568
1652
|
|
|
1569
|
-
.
|
|
1570
|
-
|
|
1653
|
+
.Switch .switch-input:checked + .switch-label:before {
|
|
1654
|
+
background-color: #A5D6A7;
|
|
1571
1655
|
}
|
|
1572
1656
|
|
|
1573
|
-
.
|
|
1574
|
-
|
|
1657
|
+
.Switch .switch-input:checked + .switch-label:after {
|
|
1658
|
+
background-color: #4CAF50;
|
|
1659
|
+
transform: translate(80%, -50%);
|
|
1575
1660
|
}
|
|
1576
1661
|
|
|
1577
|
-
.
|
|
1578
|
-
|
|
1662
|
+
.Switch .switch-input:checked + .switch-label .toggle--on {
|
|
1663
|
+
display: inline-block;
|
|
1579
1664
|
}
|
|
1580
1665
|
|
|
1581
|
-
.
|
|
1582
|
-
|
|
1583
|
-
width: 1px;
|
|
1584
|
-
background-color: #D9D9D9;
|
|
1585
|
-
margin-left: 4px;
|
|
1666
|
+
.Switch .switch-input:checked + .switch-label .toggle--off {
|
|
1667
|
+
display: none;
|
|
1586
1668
|
}
|
|
1587
1669
|
|
|
1588
1670
|
.TextField {
|
|
@@ -1856,86 +1938,4 @@
|
|
|
1856
1938
|
|
|
1857
1939
|
.Table .editable > .AutocompleteSelect > .selected > .DummyChild {
|
|
1858
1940
|
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
|
}
|
package/package.json
CHANGED
package/router/Link.js
CHANGED
|
@@ -1,16 +1,14 @@
|
|
|
1
|
-
import ReactConstants from "./../ReactConstants"; import {clientHeight as __clientHeight, clientWidth as __clientWidth, createAccessor as __createAccessor, data as __data, height as __height, left as __left, length as __length, pageX as __pageX, pageY as __pageY, props as __props, scrollLeft as __scrollLeft, scrollTop as __scrollTop, state as __state, style as __style, target as __target, top as __top, value as __value, width as __width} from "./../CommonFields"; import {toConsumableArray as __toConsumableArray} from "./../_virtual/_rollupPluginBabelHelpers"; import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers"; import {inherits as __inherits} from "./../_virtual/_rollupPluginBabelHelpers";
|
|
2
|
-
import { jsx as jsxRuntime_2 } from '../../../node_modules/react/jsx-runtime.js';
|
|
1
|
+
import ReactConstants from "./../ReactConstants"; import {clientHeight as __clientHeight, clientWidth as __clientWidth, createAccessor as __createAccessor, data as __data, height as __height, left as __left, length as __length, pageX as __pageX, pageY as __pageY, props as __props, scrollLeft as __scrollLeft, scrollTop as __scrollTop, state as __state, style as __style, target as __target, top as __top, value as __value, width as __width} from "./../CommonFields"; import {toConsumableArray as __toConsumableArray} from "./../_virtual/_rollupPluginBabelHelpers"; import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers"; import {inherits as __inherits} from "./../_virtual/_rollupPluginBabelHelpers"; import { jsx as jsxRuntime_2 } from '../../../node_modules/react/jsx-runtime.js';
|
|
3
2
|
import { pushLocation } from './HistoryTools.js';
|
|
4
3
|
import { preventDefault } from '../Tools.js';
|
|
5
4
|
|
|
6
|
-
const Link = (
|
|
7
|
-
|
|
8
|
-
return jsxRuntime_2("a", __extends({ href: href, [ReactConstants[5]]: className }, other, { [ReactConstants[6]]: (e) => {
|
|
5
|
+
const Link = (props) => {
|
|
6
|
+
return jsxRuntime_2("a", __extends({}, props, { [ReactConstants[6]]: (e) => {
|
|
9
7
|
if (!e.ctrlKey) {
|
|
10
8
|
preventDefault(e);
|
|
11
|
-
pushLocation(href);
|
|
9
|
+
pushLocation(props.href);
|
|
12
10
|
}
|
|
13
|
-
} }
|
|
11
|
+
} }));
|
|
14
12
|
};
|
|
15
13
|
var Link$1 = Link;
|
|
16
14
|
|
package/router/Link.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Link.js","sources":["../src/router/Link.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Link.js","sources":["../src/router/Link.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;AAUA,MAAM,IAAI,GAAwB,CAAC,KAAK,KAAI;IACxC,OAAOA,YAAA,CAAA,GAAA,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAO,KAAK,EAAE,EAAA,OAAO,EAAE,CAAC,CAAC,KAAI;AAChC,YAAA,IAAI,CAAC,CAAC,CAAC,OAAO,EAAE;gBACZ,cAAc,CAAC,CAAC,CAAC,CAAC;AAClB,gBAAA,YAAY,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;AAC5B,aAAA;AACL,SAAC,IAAG,CAAC;AACT,CAAC,CAAC;AAEF,aAAe,IAAI;;;;"}
|
package/router/NavLink.js
CHANGED
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import ReactConstants from "./../ReactConstants"; import {clientHeight as __clientHeight, clientWidth as __clientWidth, createAccessor as __createAccessor, data as __data, height as __height, left as __left, length as __length, pageX as __pageX, pageY as __pageY, props as __props, scrollLeft as __scrollLeft, scrollTop as __scrollTop, state as __state, style as __style, target as __target, top as __top, value as __value, width as __width} from "./../CommonFields"; import {toConsumableArray as __toConsumableArray} from "./../_virtual/_rollupPluginBabelHelpers"; import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers"; import {inherits as __inherits} from "./../_virtual/_rollupPluginBabelHelpers";
|
|
2
|
-
import { jsx as jsxRuntime_2 } from '../../../node_modules/react/jsx-runtime.js';
|
|
1
|
+
import ReactConstants from "./../ReactConstants"; import {clientHeight as __clientHeight, clientWidth as __clientWidth, createAccessor as __createAccessor, data as __data, height as __height, left as __left, length as __length, pageX as __pageX, pageY as __pageY, props as __props, scrollLeft as __scrollLeft, scrollTop as __scrollTop, state as __state, style as __style, target as __target, top as __top, value as __value, width as __width} from "./../CommonFields"; import {toConsumableArray as __toConsumableArray} from "./../_virtual/_rollupPluginBabelHelpers"; import {extends as __extends} from "./../_virtual/_rollupPluginBabelHelpers"; import {inherits as __inherits} from "./../_virtual/_rollupPluginBabelHelpers"; import { jsx as jsxRuntime_2 } from '../../../node_modules/react/jsx-runtime.js';
|
|
3
2
|
import './HistoryTools.js';
|
|
4
3
|
import Route from './Route.js';
|
|
5
4
|
import Link from './Link.js';
|
|
6
5
|
import { classNames } from '../Tools.js';
|
|
7
6
|
|
|
8
|
-
const NavLink = (
|
|
9
|
-
|
|
10
|
-
return jsxRuntime_2(Route, { path: highlightPath || href, controller: matches => jsxRuntime_2(Link, __extends({
|
|
7
|
+
const NavLink = (props) => {
|
|
8
|
+
const { href, highlightPath, className, activeClassName } = props;
|
|
9
|
+
return jsxRuntime_2(Route, { path: highlightPath || href, controller: matches => jsxRuntime_2(Link, __extends({}, props, { [ReactConstants[5]]: classNames(className, matches && activeClassName) })) });
|
|
11
10
|
};
|
|
12
11
|
var NavLink$1 = NavLink;
|
|
13
12
|
|
package/router/NavLink.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavLink.js","sources":["../src/router/NavLink.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":"
|
|
1
|
+
{"version":3,"file":"NavLink.js","sources":["../src/router/NavLink.tsx"],"sourcesContent":[null],"names":["_jsx"],"mappings":";;;;;;AAYA,MAAM,OAAO,GAA2B,CAAC,KAAK,KAAI;IAC9C,MAAM,EAAC,IAAI,EAAE,aAAa,EAAE,SAAS,EAAE,eAAe,EAAC,GAAG,KAAK,CAAC;AAChE,IAAA,OAAOA,YAAC,CAAA,KAAK,EACT,EAAA,IAAI,EAAE,aAAa,IAAI,IAAI,EAC3B,UAAU,EAAE,OAAO,IAAIA,YAAA,CAAC,IAAI,EAAA,MAAA,CAAA,MAAA,CAAA,EAAA,EAAK,KAAK,EAAA,EAAE,SAAS,EAAE,UAAU,CAAC,SAAS,EAAE,OAAO,IAAI,eAAe,CAAC,EAAA,CAAA,CAAG,GACzG,CAAC;AACP,CAAC,CAAC;AAEF,gBAAe,OAAO;;;;"}
|
package/src/router/Link.tsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import ReactCreateElement from '../ReactCreateElement';
|
|
3
2
|
import './HistoryTools'
|
|
4
3
|
import {pushLocation} from "./HistoryTools";
|
|
5
4
|
import {preventDefault} from "../Tools";
|
|
@@ -9,13 +8,13 @@ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement>
|
|
|
9
8
|
className?: string
|
|
10
9
|
}
|
|
11
10
|
|
|
12
|
-
const Link: React.FC<LinkProps> = (
|
|
13
|
-
return <a
|
|
11
|
+
const Link: React.FC<LinkProps> = (props) => {
|
|
12
|
+
return <a {...props} onClick={(e) => {
|
|
14
13
|
if (!e.ctrlKey) {
|
|
15
14
|
preventDefault(e);
|
|
16
|
-
pushLocation(href);
|
|
15
|
+
pushLocation(props.href);
|
|
17
16
|
}
|
|
18
|
-
}}
|
|
17
|
+
}}/>;
|
|
19
18
|
};
|
|
20
19
|
|
|
21
20
|
export default Link;
|
package/src/router/NavLink.tsx
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import ReactCreateElement from '../ReactCreateElement';
|
|
3
2
|
import './HistoryTools'
|
|
4
3
|
import Route from "./Route";
|
|
5
4
|
import Link, {LinkProps} from "./Link";
|
|
@@ -11,11 +10,12 @@ export interface NavLinkProps extends LinkProps {
|
|
|
11
10
|
highlightPath?: string
|
|
12
11
|
}
|
|
13
12
|
|
|
14
|
-
const NavLink: React.FC<NavLinkProps> = (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
const NavLink: React.FC<NavLinkProps> = (props) => {
|
|
14
|
+
const {href, highlightPath, className, activeClassName} = props;
|
|
15
|
+
return <Route
|
|
16
|
+
path={highlightPath || href}
|
|
17
|
+
controller={matches => <Link {...props} className={classNames(className, matches && activeClassName)}/>}
|
|
19
18
|
/>;
|
|
19
|
+
};
|
|
20
20
|
|
|
21
21
|
export default NavLink;
|