react-ui-basics 0.0.241 → 0.0.242

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,3 +1,12 @@
1
+ .animated {
2
+ transition: opacity 250ms ease;
3
+ opacity: 0;
4
+ }
5
+
6
+ .animated.mounting, .animated.mounted {
7
+ opacity: 1;
8
+ }
9
+
1
10
  .AutocompleteSelect {
2
11
  display: inline-flex;
3
12
  flex-flow: column;
@@ -528,15 +537,6 @@
528
537
  font-size: 24px;
529
538
  }
530
539
 
531
- .animated {
532
- transition: opacity 250ms ease;
533
- opacity: 0;
534
- }
535
-
536
- .animated.mounting, .animated.mounted {
537
- opacity: 1;
538
- }
539
-
540
540
  .DNDContainer .DroppableList .Draggable {
541
541
  transform: unset;
542
542
  transition: unset;
@@ -555,29 +555,71 @@
555
555
  transition: transform 0.1s ease-in;
556
556
  }
557
557
 
558
- .CalendarMonthView {
559
- display: flex;
560
- flex-flow: column nowrap;
561
- height: 100%;
558
+ .Checkbox {
559
+ position: relative;
560
+ white-space: pre;
562
561
  }
563
562
 
564
- .CalendarMonthView > .row {
565
- display: flex;
566
- flex-flow: row nowrap;
563
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
564
+ box-sizing: border-box;
567
565
  }
568
566
 
569
- .CalendarMonthView .days {
570
- flex-grow: 1;
571
- position: relative;
567
+ .Checkbox label {
568
+ font-family: Roboto, sans-serif;
569
+ font-size: 14px;
570
+ color: #1e252d;
571
+ cursor: pointer;
572
572
  }
573
573
 
574
- .CalendarMonthView .day, .CalendarMonthView .header {
575
- flex-grow: 1;
576
- flex-basis: 1px;
574
+ .Checkbox label:before, .Checkbox label:after {
575
+ content: "";
576
+ position: absolute;
577
+ left: 0;
578
+ top: 0;
577
579
  }
578
580
 
579
- .CalendarMonthView .day {
580
- height: 100%;
581
+ .Checkbox label:before {
582
+ width: 20px;
583
+ height: 20px;
584
+ background: #fff;
585
+ border: 2px solid #252525;
586
+ border-radius: 2px;
587
+ cursor: pointer;
588
+ transition: background 0.3s;
589
+ }
590
+
591
+ .Checkbox input[type=checkbox] {
592
+ outline: 0;
593
+ margin-right: 10px;
594
+ visibility: hidden;
595
+ }
596
+
597
+ .Checkbox input[type=checkbox]:checked + label:before {
598
+ background: #4AC263;
599
+ border: none;
600
+ }
601
+
602
+ .Checkbox input[type=checkbox]:checked + label:after {
603
+ transform: rotate(-45deg);
604
+ top: 6px;
605
+ left: 4px;
606
+ width: 12px;
607
+ height: 6px;
608
+ border: 2px solid #fff;
609
+ border-top-style: none;
610
+ border-right-style: none;
611
+ }
612
+
613
+ .Checkbox input[type=checkbox]:disabled + label {
614
+ color: gray;
615
+ }
616
+
617
+ .Checkbox input[type=checkbox]:disabled + label:before {
618
+ border-color: rgba(0, 0, 0, 0.26);
619
+ }
620
+
621
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
622
+ background: rgba(0, 0, 0, 0.26);
581
623
  }
582
624
 
583
625
  .Button {
@@ -746,148 +788,166 @@
746
788
  border: 0;
747
789
  }
748
790
 
749
- .CircleProgress {
750
- width: 48px;
751
- height: 48px;
791
+ .CalendarMonthView {
792
+ display: flex;
793
+ flex-flow: column nowrap;
794
+ height: 100%;
752
795
  }
753
796
 
754
- .CircleProgress .line {
755
- stroke-width: 2px;
756
- stroke: black;
757
- stroke-linecap: square;
758
- fill: none;
759
- transition: stroke-dashoffset 0.2s ease;
797
+ .CalendarMonthView > .row {
798
+ display: flex;
799
+ flex-flow: row nowrap;
760
800
  }
761
801
 
762
- .DropFileInput {
802
+ .CalendarMonthView .days {
763
803
  flex-grow: 1;
804
+ position: relative;
764
805
  }
765
806
 
766
- .DropFileInput .Dropzone {
767
- border: 1px dashed #808080;
768
- padding: 12px;
769
- display: flex;
770
- flex-flow: row nowrap;
771
- justify-content: center;
772
- align-items: center;
773
- color: gray;
774
- cursor: pointer;
775
- border-radius: 3px;
776
- font-weight: normal;
777
- line-height: 22px;
778
- font-size: 14px;
779
- color: #7E7E7E;
780
- max-width: 100%;
781
- word-break: break-all;
782
- word-break: break-word;
807
+ .CalendarMonthView .day, .CalendarMonthView .header {
808
+ flex-grow: 1;
809
+ flex-basis: 1px;
783
810
  }
784
811
 
785
- .DropFileInput .Dropzone .icon.withText {
786
- margin-right: 10px;
812
+ .CalendarMonthView .day {
813
+ height: 100%;
787
814
  }
788
815
 
789
- .Dropzone {
816
+ .DatePicker {
790
817
  position: relative;
791
818
  }
792
819
 
793
- .Dropzone > .overlay {
794
- position: absolute;
795
- left: 0;
796
- right: 0;
797
- top: 0;
798
- bottom: 0;
799
- background-color: #38ADC4;
800
- z-index: 1;
801
- opacity: 0;
802
- transition: all 0.2s ease;
803
- transition-delay: 100ms;
804
- visibility: hidden;
805
- display: flex;
806
- justify-content: center;
807
- align-items: center;
820
+ .DatePicker > .TextField {
821
+ width: 200px;
822
+ margin-bottom: 0px;
808
823
  }
809
824
 
810
- .Dropzone > .overlay .drop {
811
- border-radius: 4px;
812
- border: 1px dashed #FFFFFF;
825
+ .DatePicker > .TextField input {
826
+ text-align: center;
827
+ }
828
+
829
+ .calendar {
830
+ user-select: none;
813
831
  position: absolute;
814
- top: 18px;
815
- left: 18px;
816
- right: 18px;
817
- bottom: 18px;
818
- display: flex;
819
- justify-content: center;
820
- align-items: center;
821
- font-weight: 500;
822
- font-size: 18px;
823
- color: #FFFFFF;
832
+ top: 33px;
833
+ z-index: 10;
834
+ 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);
835
+ border-radius: 4px;
836
+ overflow: hidden;
837
+ transition: 0.2s all ease;
838
+ opacity: 0;
839
+ visibility: hidden;
824
840
  }
825
841
 
826
- .Dropzone.dragging > .overlay {
827
- opacity: 0.7;
842
+ .calendar.focused {
843
+ opacity: 1;
828
844
  visibility: visible;
829
- transition-delay: 0s;
830
845
  }
831
846
 
832
- .Dropzone.dragging > * {
833
- pointer-events: none;
847
+ .calendar .monthSelect {
848
+ align-items: center;
849
+ margin-bottom: 0;
850
+ background: white;
851
+ font-size: 12px;
852
+ color: rgb(170, 170, 170);
853
+ padding-right: 16px;
854
+ padding-left: 16px;
855
+ height: 40px;
834
856
  }
835
857
 
836
- .Dropzone > input.file {
837
- position: absolute;
838
- left: 0;
839
- right: 0;
840
- top: 0;
841
- bottom: 0;
842
- width: 100%;
843
- height: 100%;
844
- opacity: 0;
845
- cursor: pointer;
846
- z-index: 1;
858
+ .calendar .monthSelect span {
859
+ margin-right: auto;
847
860
  }
848
861
 
849
- .ModalMenu {
850
- position: absolute;
851
- top: 10px;
852
- right: 50px;
862
+ .calendar .monthSelect .Button {
863
+ min-width: 25px;
864
+ min-height: 25px;
853
865
  }
854
866
 
855
- .ModalMenu .material-icons {
856
- color: #818181;
867
+ .calendar .monthSelect .Button .material-icons {
868
+ font-size: 16px;
857
869
  }
858
870
 
859
- .ModalMenu .Button.animated {
860
- position: absolute;
861
- transition: opacity 150ms ease-in, right 200ms ease-in;
862
- opacity: 0;
863
- right: 0;
864
- top: 0;
871
+ .calendar .monthSelect .Button.disabled {
872
+ background: transparent;
865
873
  }
866
874
 
867
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
868
- opacity: 1;
875
+ .calendar .CalendarMonthView {
876
+ background: white;
869
877
  }
870
878
 
871
- .ModalMenu .Button.animated.unmounting {
872
- transition: opacity 100ms ease-out, right 200ms ease-out;
879
+ .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
880
+ margin-bottom: 0;
873
881
  }
874
882
 
875
- .ModalMenu .Button.active {
876
- background: #EBEBEB;
883
+ .calendar .CalendarMonthView .header {
884
+ font-size: 12px;
885
+ font-weight: bold;
886
+ text-align: center;
887
+ text-transform: uppercase;
888
+ margin: 5px;
877
889
  }
878
890
 
879
- .ModalMenu .separator {
880
- height: 24px;
881
- width: 1px;
882
- background-color: #D9D9D9;
883
- margin-left: 4px;
891
+ .calendar .CalendarMonthView .day {
892
+ font-size: 10px;
884
893
  }
885
894
 
886
- .DialogModal {
887
- overflow: hidden;
895
+ .calendar .CalendarMonthView .day.notSelectedMonth {
896
+ color: #969696;
888
897
  }
889
898
 
890
- .DialogModal .content {
899
+ .calendar .CalendarMonthView .day span {
900
+ display: inline-flex;
901
+ justify-content: center;
902
+ align-items: center;
903
+ border-radius: 50%;
904
+ width: 25px;
905
+ height: 25px;
906
+ margin: 5px;
907
+ transition: 0.2s all ease;
908
+ cursor: pointer;
909
+ }
910
+
911
+ .calendar .CalendarMonthView .day span:hover {
912
+ background-color: #e6e6e6;
913
+ }
914
+
915
+ .calendar .CalendarMonthView .day span.inactive {
916
+ color: lightgray;
917
+ cursor: unset;
918
+ }
919
+
920
+ .calendar .CalendarMonthView .day span.inactive:hover {
921
+ background: unset;
922
+ }
923
+
924
+ .calendar .CalendarMonthView .day span.selected {
925
+ color: white;
926
+ background-color: #2196F3;
927
+ }
928
+
929
+ .calendar .CalendarMonthView .day span.selected:hover {
930
+ background-color: #51adf6;
931
+ }
932
+
933
+ .CircleProgress {
934
+ width: 48px;
935
+ height: 48px;
936
+ }
937
+
938
+ .CircleProgress .line {
939
+ stroke-width: 2px;
940
+ stroke: black;
941
+ stroke-linecap: square;
942
+ fill: none;
943
+ transition: stroke-dashoffset 0.2s ease;
944
+ }
945
+
946
+ .DialogModal {
947
+ overflow: hidden;
948
+ }
949
+
950
+ .DialogModal .content {
891
951
  top: 20vh;
892
952
  }
893
953
 
@@ -925,28 +985,180 @@
925
985
  margin-bottom: 0;
926
986
  }
927
987
 
928
- .Button.FloatingActionButton {
988
+ .DNDContainer {
989
+ position: relative;
990
+ }
991
+
992
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
993
+ cursor: pointer;
994
+ }
995
+
996
+ .DNDContainer .Draggable.placeholder {
997
+ opacity: 0.2;
998
+ }
999
+
1000
+ .DNDContainer .Draggable.copy {
929
1001
  position: absolute;
930
- right: 16px;
931
- bottom: 16px;
932
- width: 56px;
933
- height: 56px;
934
- padding: 16px;
935
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1002
+ box-sizing: border-box;
1003
+ will-change: transform;
1004
+ opacity: 0;
936
1005
  }
937
1006
 
938
- .Button.FloatingActionButton.raised {
939
- 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);
1007
+ .DNDContainer .Draggable.dragged {
1008
+ z-index: 10;
940
1009
  }
941
1010
 
942
- .Button.FloatingActionButton.mini {
943
- width: 40px;
944
- height: 40px;
945
- padding: 8px;
1011
+ .DNDContainer .overlay {
1012
+ position: absolute;
1013
+ top: 0;
1014
+ left: 0;
1015
+ right: 0;
1016
+ bottom: 0;
1017
+ pointer-events: none;
946
1018
  }
947
1019
 
948
- .Button.FloatingActionButton.hidden {
949
- bottom: -100px;
1020
+ .Dropzone {
1021
+ position: relative;
1022
+ }
1023
+
1024
+ .Dropzone > .overlay {
1025
+ position: absolute;
1026
+ left: 0;
1027
+ right: 0;
1028
+ top: 0;
1029
+ bottom: 0;
1030
+ background-color: #38ADC4;
1031
+ z-index: 1;
1032
+ opacity: 0;
1033
+ transition: all 0.2s ease;
1034
+ transition-delay: 100ms;
1035
+ visibility: hidden;
1036
+ display: flex;
1037
+ justify-content: center;
1038
+ align-items: center;
1039
+ }
1040
+
1041
+ .Dropzone > .overlay .drop {
1042
+ border-radius: 4px;
1043
+ border: 1px dashed #FFFFFF;
1044
+ position: absolute;
1045
+ top: 18px;
1046
+ left: 18px;
1047
+ right: 18px;
1048
+ bottom: 18px;
1049
+ display: flex;
1050
+ justify-content: center;
1051
+ align-items: center;
1052
+ font-weight: 500;
1053
+ font-size: 18px;
1054
+ color: #FFFFFF;
1055
+ }
1056
+
1057
+ .Dropzone.dragging > .overlay {
1058
+ opacity: 0.7;
1059
+ visibility: visible;
1060
+ transition-delay: 0s;
1061
+ }
1062
+
1063
+ .Dropzone.dragging > * {
1064
+ pointer-events: none;
1065
+ }
1066
+
1067
+ .Dropzone > input.file {
1068
+ position: absolute;
1069
+ left: 0;
1070
+ right: 0;
1071
+ top: 0;
1072
+ bottom: 0;
1073
+ width: 100%;
1074
+ height: 100%;
1075
+ opacity: 0;
1076
+ cursor: pointer;
1077
+ z-index: 1;
1078
+ }
1079
+
1080
+ .FilteredList {
1081
+ max-height: 250px;
1082
+ position: relative;
1083
+ }
1084
+
1085
+ .FilteredList.popup {
1086
+ padding: 0;
1087
+ visibility: hidden;
1088
+ position: absolute;
1089
+ background: white;
1090
+ z-index: 4;
1091
+ 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);
1092
+ transition: top 0.2s ease-out, opacity 0.2s ease-out;
1093
+ top: calc(100% + 4px);
1094
+ opacity: 0;
1095
+ border-radius: 2px;
1096
+ }
1097
+
1098
+ .FilteredList.popup.visible {
1099
+ opacity: 1;
1100
+ visibility: visible;
1101
+ }
1102
+
1103
+ .FilteredList.portal {
1104
+ transition: opacity 0.2s ease-out;
1105
+ }
1106
+
1107
+ .FilteredList.inline {
1108
+ max-height: 225px;
1109
+ margin-top: 5px;
1110
+ }
1111
+
1112
+ .FilteredList .child {
1113
+ display: flex;
1114
+ flex-flow: row nowrap;
1115
+ align-items: center;
1116
+ white-space: nowrap;
1117
+ font-size: 14px;
1118
+ color: rgb(34, 34, 34);
1119
+ height: 30px;
1120
+ padding: 5px 10px;
1121
+ padding-right: 15px;
1122
+ cursor: pointer;
1123
+ overflow: hidden;
1124
+ border-left: 5px solid #4AC263;
1125
+ padding-left: 15px;
1126
+ margin-left: -5px;
1127
+ }
1128
+
1129
+ .FilteredList .child.hidden {
1130
+ height: 0 !important;
1131
+ padding: 0 !important;
1132
+ }
1133
+
1134
+ .FilteredList .child.selected {
1135
+ background-color: #F0F0F0;
1136
+ padding-left: 10px;
1137
+ margin-left: 0px;
1138
+ }
1139
+
1140
+ .FilteredList .child.active {
1141
+ background-color: rgb(238, 238, 238);
1142
+ }
1143
+
1144
+ .FilteredList .child {
1145
+ margin-top: 8px;
1146
+ }
1147
+
1148
+ .FilteredList .child.hidden {
1149
+ margin-top: 0;
1150
+ }
1151
+
1152
+ .FilteredList .child:not(.hidden) ~ .child {
1153
+ margin-top: 0;
1154
+ }
1155
+
1156
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1157
+ margin-bottom: 8px;
1158
+ }
1159
+
1160
+ .FilteredList .child:not(.hidden):last-child {
1161
+ margin-bottom: 8px;
950
1162
  }
951
1163
 
952
1164
  .FormUploadProgress {
@@ -1018,339 +1230,28 @@
1018
1230
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1019
1231
  }
1020
1232
 
1021
- .Modal {
1022
- display: block;
1023
- position: fixed;
1024
- top: 0;
1025
- left: 0;
1026
- right: 0;
1027
- bottom: 100%;
1028
- overflow-y: scroll;
1029
- transition: bottom 0ms linear;
1030
- transition-delay: 0.2s;
1233
+ .Button.FloatingActionButton {
1234
+ position: absolute;
1235
+ right: 16px;
1236
+ bottom: 16px;
1237
+ width: 56px;
1238
+ height: 56px;
1239
+ padding: 16px;
1240
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1031
1241
  }
1032
1242
 
1033
- .Modal.show {
1034
- transition-delay: 0s;
1035
- bottom: 0;
1036
- }
1037
-
1038
- .Modal > .overlay {
1039
- position: fixed;
1040
- top: 0;
1041
- bottom: 100%;
1042
- left: 0;
1043
- right: 0;
1044
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1045
- opacity: 0;
1046
- background-color: black;
1047
- pointer-events: none;
1048
- }
1049
-
1050
- .Modal > .overlay.show {
1051
- opacity: 0.5;
1052
- bottom: 0;
1053
- }
1054
-
1055
- .Modal > .content {
1056
- left: 50%;
1057
- top: 10vh;
1058
- margin-bottom: 10vh;
1059
- font-size: 16px;
1060
- padding: 0;
1061
- opacity: 0;
1062
- transition: opacity 0.25s ease, transform 0.25s ease;
1063
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1064
- transform-origin: top;
1065
- position: absolute;
1066
- border-radius: 2px;
1067
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1068
- }
1069
-
1070
- .Modal > .content.show {
1071
- opacity: 1;
1072
- transform: scaleY(1) translateY(0px) translateX(-50%);
1073
- }
1074
-
1075
- .Modal > .content > .Scrollable {
1076
- overflow: visible;
1077
- max-height: 80vh;
1078
- }
1079
-
1080
- .Modal > .content > .Scrollable > .viewport {
1081
- min-width: 10px;
1082
- min-height: 10px;
1083
- }
1084
-
1085
- .Modal > .content > .Button.close {
1086
- top: 10px;
1087
- right: 10px;
1088
- position: absolute;
1089
- }
1090
-
1091
- .Checkbox {
1092
- position: relative;
1093
- white-space: pre;
1094
- }
1095
-
1096
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
1097
- box-sizing: border-box;
1098
- }
1099
-
1100
- .Checkbox label {
1101
- font-family: Roboto, sans-serif;
1102
- font-size: 14px;
1103
- color: #1e252d;
1104
- cursor: pointer;
1105
- }
1106
-
1107
- .Checkbox label:before, .Checkbox label:after {
1108
- content: "";
1109
- position: absolute;
1110
- left: 0;
1111
- top: 0;
1112
- }
1113
-
1114
- .Checkbox label:before {
1115
- width: 20px;
1116
- height: 20px;
1117
- background: #fff;
1118
- border: 2px solid #252525;
1119
- border-radius: 2px;
1120
- cursor: pointer;
1121
- transition: background 0.3s;
1122
- }
1123
-
1124
- .Checkbox input[type=checkbox] {
1125
- outline: 0;
1126
- margin-right: 10px;
1127
- visibility: hidden;
1128
- }
1129
-
1130
- .Checkbox input[type=checkbox]:checked + label:before {
1131
- background: #4AC263;
1132
- border: none;
1133
- }
1134
-
1135
- .Checkbox input[type=checkbox]:checked + label:after {
1136
- transform: rotate(-45deg);
1137
- top: 6px;
1138
- left: 4px;
1139
- width: 12px;
1140
- height: 6px;
1141
- border: 2px solid #fff;
1142
- border-top-style: none;
1143
- border-right-style: none;
1144
- }
1145
-
1146
- .Checkbox input[type=checkbox]:disabled + label {
1147
- color: gray;
1148
- }
1149
-
1150
- .Checkbox input[type=checkbox]:disabled + label:before {
1151
- border-color: rgba(0, 0, 0, 0.26);
1152
- }
1153
-
1154
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
1155
- background: rgba(0, 0, 0, 0.26);
1156
- }
1157
-
1158
- .FilteredList {
1159
- max-height: 250px;
1160
- position: relative;
1161
- }
1162
-
1163
- .FilteredList.popup {
1164
- padding: 0;
1165
- visibility: hidden;
1166
- position: absolute;
1167
- background: white;
1168
- z-index: 4;
1169
- 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);
1170
- transition: top 0.2s ease-out, opacity 0.2s ease-out;
1171
- top: calc(100% + 4px);
1172
- opacity: 0;
1173
- border-radius: 2px;
1174
- }
1175
-
1176
- .FilteredList.popup.visible {
1177
- opacity: 1;
1178
- visibility: visible;
1179
- }
1180
-
1181
- .FilteredList.portal {
1182
- transition: opacity 0.2s ease-out;
1183
- }
1184
-
1185
- .FilteredList.inline {
1186
- max-height: 225px;
1187
- margin-top: 5px;
1188
- }
1189
-
1190
- .FilteredList .child {
1191
- display: flex;
1192
- flex-flow: row nowrap;
1193
- align-items: center;
1194
- white-space: nowrap;
1195
- font-size: 14px;
1196
- color: rgb(34, 34, 34);
1197
- height: 30px;
1198
- padding: 5px 10px;
1199
- padding-right: 15px;
1200
- cursor: pointer;
1201
- overflow: hidden;
1202
- border-left: 5px solid #4AC263;
1203
- padding-left: 15px;
1204
- margin-left: -5px;
1205
- }
1206
-
1207
- .FilteredList .child.hidden {
1208
- height: 0 !important;
1209
- padding: 0 !important;
1210
- }
1211
-
1212
- .FilteredList .child.selected {
1213
- background-color: #F0F0F0;
1214
- padding-left: 10px;
1215
- margin-left: 0px;
1216
- }
1217
-
1218
- .FilteredList .child.active {
1219
- background-color: rgb(238, 238, 238);
1220
- }
1221
-
1222
- .FilteredList .child {
1223
- margin-top: 8px;
1224
- }
1225
-
1226
- .FilteredList .child.hidden {
1227
- margin-top: 0;
1228
- }
1229
-
1230
- .FilteredList .child:not(.hidden) ~ .child {
1231
- margin-top: 0;
1232
- }
1233
-
1234
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1235
- margin-bottom: 8px;
1236
- }
1237
-
1238
- .FilteredList .child:not(.hidden):last-child {
1239
- margin-bottom: 8px;
1240
- }
1241
-
1242
- .DNDContainer {
1243
- position: relative;
1244
- }
1245
-
1246
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1247
- cursor: pointer;
1248
- }
1249
-
1250
- .DNDContainer .Draggable.placeholder {
1251
- opacity: 0.2;
1252
- }
1253
-
1254
- .DNDContainer .Draggable.copy {
1255
- position: absolute;
1256
- box-sizing: border-box;
1257
- will-change: transform;
1258
- opacity: 0;
1259
- }
1260
-
1261
- .DNDContainer .Draggable.dragged {
1262
- z-index: 10;
1263
- }
1264
-
1265
- .DNDContainer .overlay {
1266
- position: absolute;
1267
- top: 0;
1268
- left: 0;
1269
- right: 0;
1270
- bottom: 0;
1271
- pointer-events: none;
1272
- }
1273
-
1274
- .Switch {
1275
- display: inline-flex;
1276
- padding-top: 5px;
1277
- }
1278
-
1279
- .Switch .switch-input {
1280
- display: none;
1281
- }
1282
-
1283
- .Switch .switch-label {
1284
- position: relative;
1285
- display: inline-flex;
1286
- align-items: center;
1287
- min-width: 38px;
1288
- height: 24px;
1289
- cursor: pointer;
1290
- font-weight: 500;
1291
- text-align: left;
1292
- user-select: none;
1293
- margin: 0;
1294
- padding: 0;
1295
- padding-left: 44px;
1296
- box-sizing: border-box;
1297
- }
1298
-
1299
- .Switch .switch-label:before, .Switch .switch-label:after {
1300
- content: "";
1301
- box-sizing: border-box;
1302
- position: absolute;
1303
- margin: 0;
1304
- outline: 0;
1305
- top: 50%;
1306
- transform: translate(0, -50%);
1307
- transition: all 0.3s ease;
1308
- }
1309
-
1310
- .Switch .switch-label:before {
1311
- left: 1px;
1312
- width: 34px;
1313
- height: 14px;
1314
- background-color: #9E9E9E;
1315
- border-radius: 8px;
1316
- }
1317
-
1318
- .Switch .switch-label:after {
1319
- left: 0;
1320
- width: 20px;
1321
- height: 20px;
1322
- background-color: #FAFAFA;
1323
- border-radius: 50%;
1324
- 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);
1325
- }
1326
-
1327
- .Switch .switch-label .toggle--on {
1328
- display: none;
1329
- }
1330
-
1331
- .Switch .switch-label .toggle--off {
1332
- display: inline-block;
1333
- }
1334
-
1335
- .Switch .switch-label .label {
1336
- margin-right: 5px;
1337
- }
1338
-
1339
- .Switch .switch-input:checked + .switch-label:before {
1340
- background-color: #A5D6A7;
1341
- }
1342
-
1343
- .Switch .switch-input:checked + .switch-label:after {
1344
- background-color: #4CAF50;
1345
- transform: translate(80%, -50%);
1243
+ .Button.FloatingActionButton.raised {
1244
+ 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);
1346
1245
  }
1347
1246
 
1348
- .Switch .switch-input:checked + .switch-label .toggle--on {
1349
- display: inline-block;
1247
+ .Button.FloatingActionButton.mini {
1248
+ width: 40px;
1249
+ height: 40px;
1250
+ padding: 8px;
1350
1251
  }
1351
1252
 
1352
- .Switch .switch-input:checked + .switch-label .toggle--off {
1353
- display: none;
1253
+ .Button.FloatingActionButton.hidden {
1254
+ bottom: -100px;
1354
1255
  }
1355
1256
 
1356
1257
  .Snackbar {
@@ -1398,219 +1299,334 @@
1398
1299
  color: #bf3727;
1399
1300
  }
1400
1301
 
1401
- .Scrollable {
1402
- max-height: 250px;
1403
- max-width: 250px;
1404
- padding-right: 5px;
1405
- position: relative;
1302
+ .DropFileInput {
1303
+ flex-grow: 1;
1304
+ }
1305
+
1306
+ .DropFileInput .Dropzone {
1307
+ border: 1px dashed #808080;
1308
+ padding: 12px;
1406
1309
  display: flex;
1407
- flex-flow: column;
1408
- align-items: stretch;
1409
- overflow: hidden;
1310
+ flex-flow: row nowrap;
1311
+ justify-content: center;
1312
+ align-items: center;
1313
+ color: gray;
1314
+ cursor: pointer;
1315
+ border-radius: 3px;
1316
+ font-weight: normal;
1317
+ line-height: 22px;
1318
+ font-size: 14px;
1319
+ color: #7E7E7E;
1320
+ max-width: 100%;
1321
+ word-break: break-all;
1322
+ word-break: break-word;
1410
1323
  }
1411
1324
 
1412
- .Scrollable:hover > .scrollbar.auto {
1413
- transition-delay: 0s;
1414
- opacity: 1;
1325
+ .DropFileInput .Dropzone .icon.withText {
1326
+ margin-right: 10px;
1415
1327
  }
1416
1328
 
1417
- .Scrollable .viewport {
1418
- overflow-y: scroll;
1419
- overflow-x: scroll;
1420
- max-height: 100%;
1421
- scrollbar-width: none;
1329
+ .SpinningProgress {
1330
+ width: 48px;
1331
+ height: 48px;
1332
+ position: relative;
1333
+ margin: 0 auto;
1422
1334
  }
1423
1335
 
1424
- .Scrollable .viewport::-webkit-scrollbar {
1425
- display: none;
1336
+ .SpinningProgress:before {
1337
+ content: "";
1338
+ display: block;
1339
+ padding-top: 100%;
1426
1340
  }
1427
1341
 
1428
- .Scrollable.without-scroll-horizontal {
1429
- max-width: unset;
1342
+ .SpinningProgress .circular {
1343
+ animation: rotate 2s linear infinite;
1344
+ height: 100%;
1345
+ transform-origin: center center;
1346
+ width: 100%;
1347
+ position: absolute;
1348
+ top: 0;
1349
+ bottom: 0;
1350
+ left: 0;
1351
+ right: 0;
1352
+ margin: auto;
1430
1353
  }
1431
1354
 
1432
- .Scrollable.undefined-horizontal {
1433
- max-width: unset;
1355
+ .SpinningProgress .line {
1356
+ stroke: black;
1357
+ stroke-width: 2px;
1358
+ stroke-dasharray: 1, 96;
1359
+ stroke-dashoffset: 0;
1360
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1434
1361
  }
1435
1362
 
1436
- .Scrollable.without-scroll {
1437
- padding-right: 0;
1438
- max-height: unset;
1363
+ @keyframes rotate {
1364
+ 100% {
1365
+ transform: rotate(360deg);
1366
+ }
1367
+ }
1368
+ @keyframes dash {
1369
+ 0% {
1370
+ stroke-dasharray: 1, 96;
1371
+ stroke-dashoffset: 0;
1372
+ }
1373
+ 50% {
1374
+ stroke-dasharray: 43, 96;
1375
+ stroke-dashoffset: -17px;
1376
+ }
1377
+ 100% {
1378
+ stroke-dasharray: 43, 96;
1379
+ stroke-dashoffset: -53px;
1380
+ }
1381
+ }
1382
+ .TextField {
1383
+ position: relative;
1384
+ width: 100%;
1439
1385
  }
1440
1386
 
1441
- .Scrollable.without-scroll > .viewport {
1442
- padding-right: 0;
1443
- margin-right: 0;
1387
+ .TextField > label {
1388
+ font-family: Roboto, sans-serif;
1389
+ color: rgba(0, 0, 0, 0.5);
1390
+ font-size: 16px;
1391
+ position: absolute;
1392
+ left: 0px;
1393
+ top: 16px;
1394
+ margin-top: -16px;
1395
+ transition: all 0.2s ease;
1396
+ user-select: none;
1397
+ cursor: text;
1444
1398
  }
1445
1399
 
1446
- .Scrollable.without-scroll > .scrollbar {
1447
- visibility: hidden;
1400
+ .TextField > input {
1401
+ font-family: Roboto, sans-serif;
1402
+ color: #1e252d;
1403
+ height: 19px;
1404
+ font-size: 16px;
1405
+ width: 100%;
1406
+ border: 0px;
1407
+ padding-bottom: 4px;
1408
+ padding-top: 0;
1409
+ outline-color: rgba(0, 0, 0, 0);
1448
1410
  }
1449
1411
 
1450
- .Scrollable .scrollbar {
1412
+ .TextField > input:focus {
1413
+ outline: none;
1414
+ }
1415
+
1416
+ .TextField > input:disabled {
1417
+ color: gray;
1418
+ background-color: white;
1419
+ }
1420
+
1421
+ .TextField > input:disabled + .border {
1422
+ height: 0px;
1423
+ border-bottom: 2px dotted rgb(224, 224, 224);
1424
+ }
1425
+
1426
+ .TextField > input::placeholder {
1427
+ font-family: Roboto, sans-serif;
1428
+ color: rgba(0, 0, 0, 0.3);
1429
+ opacity: 1;
1430
+ }
1431
+
1432
+ .TextField > .border {
1433
+ border-bottom: 1px solid rgb(224, 224, 224);
1434
+ height: 1px;
1435
+ position: relative;
1436
+ }
1437
+
1438
+ .TextField > .border .line {
1439
+ left: 50%;
1440
+ width: 0;
1441
+ height: 2px;
1442
+ min-height: 2px;
1443
+ background-color: rgb(0, 188, 212);
1444
+ transition: all 0.2s ease;
1451
1445
  position: absolute;
1452
- right: 0px;
1453
- top: 0px;
1454
- width: 5px;
1455
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1456
- transition-delay: 0.5s;
1457
- z-index: 1;
1458
1446
  }
1459
1447
 
1460
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1448
+ .TextField > .error {
1449
+ text-align: left;
1450
+ font-size: 10px;
1451
+ min-height: 0;
1452
+ line-height: 14px;
1453
+ color: rgb(244, 67, 54);
1454
+ visibility: hidden;
1461
1455
  opacity: 0;
1456
+ transition: all 0.2s ease;
1462
1457
  }
1463
1458
 
1464
- .Scrollable .scrollbar .thumb {
1465
- background-color: rgba(0, 0, 0, 0.3);
1466
- width: 5px;
1467
- position: absolute;
1468
- right: 0px;
1469
- top: 0px;
1470
- user-select: none;
1471
- will-change: top;
1472
- border-radius: 2px;
1459
+ .TextField.focused > label, .TextField.withValue > label {
1460
+ top: 4px;
1461
+ font-size: 12px;
1462
+ line-height: 14px;
1473
1463
  }
1474
1464
 
1475
- .Scrollable .scrollbar .thumb:hover {
1476
- background-color: rgba(0, 0, 0, 0.5);
1465
+ .TextField.errored > .error {
1466
+ visibility: visible;
1467
+ opacity: 1;
1477
1468
  }
1478
1469
 
1479
- .Scrollable .scrollbar .thumb:active {
1480
- background-color: rgba(0, 0, 0, 0.7);
1470
+ .TextField.errored > .border {
1471
+ border-bottom-color: rgb(244, 67, 54);
1481
1472
  }
1482
1473
 
1483
- .Scrollable .scrollbar.horizontal {
1484
- left: 0px;
1485
- right: 0px;
1486
- height: 5px;
1487
- bottom: 0;
1488
- width: unset;
1489
- top: unset;
1474
+ .TextField.errored > label {
1475
+ color: rgb(244, 67, 54);
1490
1476
  }
1491
1477
 
1492
- .Scrollable .scrollbar.horizontal .thumb {
1493
- height: 5px;
1494
- left: 0px;
1495
- bottom: 0px;
1496
- will-change: left;
1478
+ .TextField.focused > label {
1479
+ color: rgb(0, 188, 212);
1497
1480
  }
1498
1481
 
1499
- .DatePicker {
1500
- position: relative;
1482
+ .TextField.focused > .border .line {
1483
+ left: 0;
1484
+ width: 100%;
1501
1485
  }
1502
1486
 
1503
- .DatePicker > .TextField {
1504
- width: 200px;
1505
- margin-bottom: 0px;
1487
+ .TextField.disabled label, .TextField.disabled input {
1488
+ cursor: not-allowed;
1506
1489
  }
1507
1490
 
1508
- .DatePicker > .TextField input {
1509
- text-align: center;
1491
+ .TextField.withLabel {
1492
+ margin-top: 15px;
1510
1493
  }
1511
1494
 
1512
- .calendar {
1513
- user-select: none;
1514
- position: absolute;
1515
- top: 33px;
1516
- z-index: 10;
1517
- 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);
1518
- border-radius: 4px;
1519
- overflow: hidden;
1520
- transition: 0.2s all ease;
1521
- opacity: 0;
1495
+ .TextField input::-webkit-contacts-auto-fill-button {
1522
1496
  visibility: hidden;
1497
+ display: none !important;
1498
+ pointer-events: none;
1499
+ position: absolute;
1500
+ right: 0;
1523
1501
  }
1524
1502
 
1525
- .calendar.focused {
1526
- opacity: 1;
1527
- visibility: visible;
1503
+ .TextField input:-webkit-autofill {
1504
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1528
1505
  }
1529
1506
 
1530
- .calendar .monthSelect {
1531
- align-items: center;
1532
- margin-bottom: 0;
1533
- background: white;
1534
- font-size: 12px;
1535
- color: rgb(170, 170, 170);
1536
- padding-right: 16px;
1537
- padding-left: 16px;
1538
- height: 40px;
1507
+ @keyframes shake {
1508
+ 0%, 100% {
1509
+ transform: translateX(0);
1510
+ }
1511
+ 20%, 60% {
1512
+ transform: translateX(-5px);
1513
+ }
1514
+ 40%, 80% {
1515
+ transform: translateX(5px);
1516
+ }
1517
+ }
1518
+ .TextField .shake {
1519
+ animation-duration: 0.5s;
1520
+ animation-fill-mode: both;
1521
+ animation-timing-function: ease-in-out;
1522
+ animation-name: shake;
1539
1523
  }
1540
1524
 
1541
- .calendar .monthSelect span {
1542
- margin-right: auto;
1525
+ .Modal {
1526
+ display: block;
1527
+ position: fixed;
1528
+ top: 0;
1529
+ left: 0;
1530
+ right: 0;
1531
+ bottom: 100%;
1532
+ overflow-y: scroll;
1533
+ transition: bottom 0ms linear;
1534
+ transition-delay: 0.2s;
1543
1535
  }
1544
1536
 
1545
- .calendar .monthSelect .Button {
1546
- min-width: 25px;
1547
- min-height: 25px;
1537
+ .Modal.show {
1538
+ transition-delay: 0s;
1539
+ bottom: 0;
1548
1540
  }
1549
1541
 
1550
- .calendar .monthSelect .Button .material-icons {
1551
- font-size: 16px;
1542
+ .Modal > .overlay {
1543
+ position: fixed;
1544
+ top: 0;
1545
+ bottom: 100%;
1546
+ left: 0;
1547
+ right: 0;
1548
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1549
+ opacity: 0;
1550
+ background-color: black;
1551
+ pointer-events: none;
1552
1552
  }
1553
1553
 
1554
- .calendar .monthSelect .Button.disabled {
1555
- background: transparent;
1554
+ .Modal > .overlay.show {
1555
+ opacity: 0.5;
1556
+ bottom: 0;
1556
1557
  }
1557
1558
 
1558
- .calendar .CalendarMonthView {
1559
- background: white;
1559
+ .Modal > .content {
1560
+ left: 50%;
1561
+ top: 10vh;
1562
+ margin-bottom: 10vh;
1563
+ font-size: 16px;
1564
+ padding: 0;
1565
+ opacity: 0;
1566
+ transition: opacity 0.25s ease, transform 0.25s ease;
1567
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1568
+ transform-origin: top;
1569
+ position: absolute;
1570
+ border-radius: 2px;
1571
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1560
1572
  }
1561
1573
 
1562
- .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
1563
- margin-bottom: 0;
1574
+ .Modal > .content.show {
1575
+ opacity: 1;
1576
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1564
1577
  }
1565
1578
 
1566
- .calendar .CalendarMonthView .header {
1567
- font-size: 12px;
1568
- font-weight: bold;
1569
- text-align: center;
1570
- text-transform: uppercase;
1571
- margin: 5px;
1579
+ .Modal > .content > .Scrollable {
1580
+ overflow: visible;
1581
+ max-height: 80vh;
1572
1582
  }
1573
1583
 
1574
- .calendar .CalendarMonthView .day {
1575
- font-size: 10px;
1584
+ .Modal > .content > .Scrollable > .viewport {
1585
+ min-width: 10px;
1586
+ min-height: 10px;
1576
1587
  }
1577
1588
 
1578
- .calendar .CalendarMonthView .day.notSelectedMonth {
1579
- color: #969696;
1589
+ .Modal > .content > .Button.close {
1590
+ top: 10px;
1591
+ right: 10px;
1592
+ position: absolute;
1580
1593
  }
1581
1594
 
1582
- .calendar .CalendarMonthView .day span {
1583
- display: inline-flex;
1584
- justify-content: center;
1585
- align-items: center;
1586
- border-radius: 50%;
1587
- width: 25px;
1588
- height: 25px;
1589
- margin: 5px;
1590
- transition: 0.2s all ease;
1591
- cursor: pointer;
1595
+ .ModalMenu {
1596
+ position: absolute;
1597
+ top: 10px;
1598
+ right: 50px;
1592
1599
  }
1593
1600
 
1594
- .calendar .CalendarMonthView .day span:hover {
1595
- background-color: #e6e6e6;
1601
+ .ModalMenu .material-icons {
1602
+ color: #818181;
1596
1603
  }
1597
1604
 
1598
- .calendar .CalendarMonthView .day span.inactive {
1599
- color: lightgray;
1600
- cursor: unset;
1605
+ .ModalMenu .Button.animated {
1606
+ position: absolute;
1607
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1608
+ opacity: 0;
1609
+ right: 0;
1610
+ top: 0;
1601
1611
  }
1602
1612
 
1603
- .calendar .CalendarMonthView .day span.inactive:hover {
1604
- background: unset;
1613
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1614
+ opacity: 1;
1605
1615
  }
1606
1616
 
1607
- .calendar .CalendarMonthView .day span.selected {
1608
- color: white;
1609
- background-color: #2196F3;
1617
+ .ModalMenu .Button.animated.unmounting {
1618
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1610
1619
  }
1611
1620
 
1612
- .calendar .CalendarMonthView .day span.selected:hover {
1613
- background-color: #51adf6;
1621
+ .ModalMenu .Button.active {
1622
+ background: #EBEBEB;
1623
+ }
1624
+
1625
+ .ModalMenu .separator {
1626
+ height: 24px;
1627
+ width: 1px;
1628
+ background-color: #D9D9D9;
1629
+ margin-left: 4px;
1614
1630
  }
1615
1631
 
1616
1632
  .Table {
@@ -1735,206 +1751,190 @@
1735
1751
  margin: 0;
1736
1752
  }
1737
1753
 
1738
- .SpinningProgress {
1739
- width: 48px;
1740
- height: 48px;
1741
- position: relative;
1742
- margin: 0 auto;
1754
+ .Scrollable {
1755
+ max-height: 250px;
1756
+ max-width: 250px;
1757
+ padding-right: 5px;
1758
+ position: relative;
1759
+ display: flex;
1760
+ flex-flow: column;
1761
+ align-items: stretch;
1762
+ overflow: hidden;
1763
+ }
1764
+
1765
+ .Scrollable:hover > .scrollbar.auto {
1766
+ transition-delay: 0s;
1767
+ opacity: 1;
1768
+ }
1769
+
1770
+ .Scrollable .viewport {
1771
+ overflow-y: scroll;
1772
+ overflow-x: scroll;
1773
+ max-height: 100%;
1774
+ scrollbar-width: none;
1775
+ }
1776
+
1777
+ .Scrollable .viewport::-webkit-scrollbar {
1778
+ display: none;
1743
1779
  }
1744
1780
 
1745
- .SpinningProgress:before {
1746
- content: "";
1747
- display: block;
1748
- padding-top: 100%;
1781
+ .Scrollable.without-scroll-horizontal {
1782
+ max-width: unset;
1749
1783
  }
1750
1784
 
1751
- .SpinningProgress .circular {
1752
- animation: rotate 2s linear infinite;
1753
- height: 100%;
1754
- transform-origin: center center;
1755
- width: 100%;
1756
- position: absolute;
1757
- top: 0;
1758
- bottom: 0;
1759
- left: 0;
1760
- right: 0;
1761
- margin: auto;
1785
+ .Scrollable.undefined-horizontal {
1786
+ max-width: unset;
1762
1787
  }
1763
1788
 
1764
- .SpinningProgress .line {
1765
- stroke: black;
1766
- stroke-width: 2px;
1767
- stroke-dasharray: 1, 96;
1768
- stroke-dashoffset: 0;
1769
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1789
+ .Scrollable.without-scroll {
1790
+ padding-right: 0;
1791
+ max-height: unset;
1770
1792
  }
1771
1793
 
1772
- @keyframes rotate {
1773
- 100% {
1774
- transform: rotate(360deg);
1775
- }
1776
- }
1777
- @keyframes dash {
1778
- 0% {
1779
- stroke-dasharray: 1, 96;
1780
- stroke-dashoffset: 0;
1781
- }
1782
- 50% {
1783
- stroke-dasharray: 43, 96;
1784
- stroke-dashoffset: -17px;
1785
- }
1786
- 100% {
1787
- stroke-dasharray: 43, 96;
1788
- stroke-dashoffset: -53px;
1789
- }
1794
+ .Scrollable.without-scroll > .viewport {
1795
+ padding-right: 0;
1796
+ margin-right: 0;
1790
1797
  }
1791
- .ScrollableTable .Scrollable .scrollbar {
1792
- top: 56px;
1798
+
1799
+ .Scrollable.without-scroll > .scrollbar {
1800
+ visibility: hidden;
1793
1801
  }
1794
1802
 
1795
- .ScrollableTable .Table {
1796
- position: static;
1803
+ .Scrollable .scrollbar {
1804
+ position: absolute;
1805
+ right: 0px;
1806
+ top: 0px;
1807
+ width: 5px;
1808
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1809
+ transition-delay: 0.5s;
1810
+ z-index: 1;
1797
1811
  }
1798
1812
 
1799
- .TextField {
1800
- position: relative;
1801
- width: 100%;
1813
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1814
+ opacity: 0;
1802
1815
  }
1803
1816
 
1804
- .TextField > label {
1805
- font-family: Roboto, sans-serif;
1806
- color: rgba(0, 0, 0, 0.5);
1807
- font-size: 16px;
1817
+ .Scrollable .scrollbar .thumb {
1818
+ background-color: rgba(0, 0, 0, 0.3);
1819
+ width: 5px;
1808
1820
  position: absolute;
1809
- left: 0px;
1810
- top: 16px;
1811
- margin-top: -16px;
1812
- transition: all 0.2s ease;
1821
+ right: 0px;
1822
+ top: 0px;
1813
1823
  user-select: none;
1814
- cursor: text;
1824
+ will-change: top;
1825
+ border-radius: 2px;
1815
1826
  }
1816
1827
 
1817
- .TextField > input {
1818
- font-family: Roboto, sans-serif;
1819
- color: #1e252d;
1820
- height: 19px;
1821
- font-size: 16px;
1822
- width: 100%;
1823
- border: 0px;
1824
- padding-bottom: 4px;
1825
- padding-top: 0;
1826
- outline-color: rgba(0, 0, 0, 0);
1828
+ .Scrollable .scrollbar .thumb:hover {
1829
+ background-color: rgba(0, 0, 0, 0.5);
1827
1830
  }
1828
1831
 
1829
- .TextField > input:focus {
1830
- outline: none;
1832
+ .Scrollable .scrollbar .thumb:active {
1833
+ background-color: rgba(0, 0, 0, 0.7);
1831
1834
  }
1832
1835
 
1833
- .TextField > input:disabled {
1834
- color: gray;
1835
- background-color: white;
1836
+ .Scrollable .scrollbar.horizontal {
1837
+ left: 0px;
1838
+ right: 0px;
1839
+ height: 5px;
1840
+ bottom: 0;
1841
+ width: unset;
1842
+ top: unset;
1836
1843
  }
1837
1844
 
1838
- .TextField > input:disabled + .border {
1839
- height: 0px;
1840
- border-bottom: 2px dotted rgb(224, 224, 224);
1845
+ .Scrollable .scrollbar.horizontal .thumb {
1846
+ height: 5px;
1847
+ left: 0px;
1848
+ bottom: 0px;
1849
+ will-change: left;
1841
1850
  }
1842
1851
 
1843
- .TextField > input::placeholder {
1844
- font-family: Roboto, sans-serif;
1845
- color: rgba(0, 0, 0, 0.3);
1846
- opacity: 1;
1852
+ .ScrollableTable .Scrollable .scrollbar {
1853
+ top: 56px;
1847
1854
  }
1848
1855
 
1849
- .TextField > .border {
1850
- border-bottom: 1px solid rgb(224, 224, 224);
1851
- height: 1px;
1852
- position: relative;
1856
+ .ScrollableTable .Table {
1857
+ position: static;
1853
1858
  }
1854
1859
 
1855
- .TextField > .border .line {
1856
- left: 50%;
1857
- width: 0;
1858
- height: 2px;
1859
- min-height: 2px;
1860
- background-color: rgb(0, 188, 212);
1861
- transition: all 0.2s ease;
1862
- position: absolute;
1860
+ .Switch {
1861
+ display: inline-flex;
1862
+ padding-top: 5px;
1863
1863
  }
1864
1864
 
1865
- .TextField > .error {
1866
- text-align: left;
1867
- font-size: 10px;
1868
- min-height: 0;
1869
- line-height: 14px;
1870
- color: rgb(244, 67, 54);
1871
- visibility: hidden;
1872
- opacity: 0;
1873
- transition: all 0.2s ease;
1865
+ .Switch .switch-input {
1866
+ display: none;
1874
1867
  }
1875
1868
 
1876
- .TextField.focused > label, .TextField.withValue > label {
1877
- top: 4px;
1878
- font-size: 12px;
1879
- line-height: 14px;
1869
+ .Switch .switch-label {
1870
+ position: relative;
1871
+ display: inline-flex;
1872
+ align-items: center;
1873
+ min-width: 38px;
1874
+ height: 24px;
1875
+ cursor: pointer;
1876
+ font-weight: 500;
1877
+ text-align: left;
1878
+ user-select: none;
1879
+ margin: 0;
1880
+ padding: 0;
1881
+ padding-left: 44px;
1882
+ box-sizing: border-box;
1880
1883
  }
1881
1884
 
1882
- .TextField.errored > .error {
1883
- visibility: visible;
1884
- opacity: 1;
1885
+ .Switch .switch-label:before, .Switch .switch-label:after {
1886
+ content: "";
1887
+ box-sizing: border-box;
1888
+ position: absolute;
1889
+ margin: 0;
1890
+ outline: 0;
1891
+ top: 50%;
1892
+ transform: translate(0, -50%);
1893
+ transition: all 0.3s ease;
1885
1894
  }
1886
1895
 
1887
- .TextField.errored > .border {
1888
- border-bottom-color: rgb(244, 67, 54);
1896
+ .Switch .switch-label:before {
1897
+ left: 1px;
1898
+ width: 34px;
1899
+ height: 14px;
1900
+ background-color: #9E9E9E;
1901
+ border-radius: 8px;
1889
1902
  }
1890
1903
 
1891
- .TextField.errored > label {
1892
- color: rgb(244, 67, 54);
1904
+ .Switch .switch-label:after {
1905
+ left: 0;
1906
+ width: 20px;
1907
+ height: 20px;
1908
+ background-color: #FAFAFA;
1909
+ border-radius: 50%;
1910
+ 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);
1893
1911
  }
1894
1912
 
1895
- .TextField.focused > label {
1896
- color: rgb(0, 188, 212);
1913
+ .Switch .switch-label .toggle--on {
1914
+ display: none;
1897
1915
  }
1898
1916
 
1899
- .TextField.focused > .border .line {
1900
- left: 0;
1901
- width: 100%;
1917
+ .Switch .switch-label .toggle--off {
1918
+ display: inline-block;
1902
1919
  }
1903
1920
 
1904
- .TextField.disabled label, .TextField.disabled input {
1905
- cursor: not-allowed;
1921
+ .Switch .switch-label .label {
1922
+ margin-right: 5px;
1906
1923
  }
1907
1924
 
1908
- .TextField.withLabel {
1909
- margin-top: 15px;
1925
+ .Switch .switch-input:checked + .switch-label:before {
1926
+ background-color: #A5D6A7;
1910
1927
  }
1911
1928
 
1912
- .TextField input::-webkit-contacts-auto-fill-button {
1913
- visibility: hidden;
1914
- display: none !important;
1915
- pointer-events: none;
1916
- position: absolute;
1917
- right: 0;
1929
+ .Switch .switch-input:checked + .switch-label:after {
1930
+ background-color: #4CAF50;
1931
+ transform: translate(80%, -50%);
1918
1932
  }
1919
1933
 
1920
- .TextField input:-webkit-autofill {
1921
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1934
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1935
+ display: inline-block;
1922
1936
  }
1923
1937
 
1924
- @keyframes shake {
1925
- 0%, 100% {
1926
- transform: translateX(0);
1927
- }
1928
- 20%, 60% {
1929
- transform: translateX(-5px);
1930
- }
1931
- 40%, 80% {
1932
- transform: translateX(5px);
1933
- }
1934
- }
1935
- .TextField .shake {
1936
- animation-duration: 0.5s;
1937
- animation-fill-mode: both;
1938
- animation-timing-function: ease-in-out;
1939
- animation-name: shake;
1938
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1939
+ display: none;
1940
1940
  }