react-ui-basics 0.0.251 → 0.0.253

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
@@ -546,48 +546,6 @@
546
546
  transition: transform 0.1s ease-in;
547
547
  }
548
548
 
549
- .DialogModal {
550
- overflow: hidden;
551
- }
552
-
553
- .DialogModal .content {
554
- top: 20vh;
555
- }
556
-
557
- .Dialog {
558
- background-color: white;
559
- min-width: 460px;
560
- max-width: 40vw;
561
- padding: 15px;
562
- }
563
-
564
- .Dialog .title {
565
- margin-bottom: 15px;
566
- padding: 20px 50px 0px 30px;
567
- font-size: 1.25rem;
568
- line-height: 2rem;
569
- font-weight: 400;
570
- letter-spacing: 0.0125em;
571
- }
572
-
573
- .Dialog .description {
574
- color: rgba(0, 0, 0, 0.54);
575
- font-size: 1rem;
576
- line-height: 1.5rem;
577
- font-weight: 400;
578
- letter-spacing: 0.03125em;
579
- margin-top: 20px;
580
- padding: 0 24px 24px;
581
- }
582
-
583
- .Dialog > div.row {
584
- margin-bottom: 15px;
585
- }
586
-
587
- .Dialog > div.row:last-child {
588
- margin-bottom: 0;
589
- }
590
-
591
549
  .Button {
592
550
  position: relative;
593
551
  min-width: 64px;
@@ -754,132 +712,17 @@
754
712
  border: 0;
755
713
  }
756
714
 
757
- .animated {
758
- transition: opacity 250ms ease;
759
- opacity: 0;
760
- }
761
-
762
- .animated.mounting, .animated.mounted {
763
- opacity: 1;
764
- }
765
-
766
- .Checkbox {
767
- position: relative;
768
- white-space: pre;
769
- }
770
-
771
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
772
- box-sizing: border-box;
773
- }
774
-
775
- .Checkbox label {
776
- font-family: Roboto, sans-serif;
777
- font-size: 14px;
778
- color: #1e252d;
779
- cursor: pointer;
780
- }
781
-
782
- .Checkbox label:before, .Checkbox label:after {
783
- content: "";
784
- position: absolute;
785
- left: 0;
786
- top: 0;
787
- }
788
-
789
- .Checkbox label:before {
790
- width: 20px;
791
- height: 20px;
792
- background: #fff;
793
- border: 2px solid #252525;
794
- border-radius: 2px;
795
- cursor: pointer;
796
- transition: background 0.3s;
797
- }
798
-
799
- .Checkbox input[type=checkbox] {
800
- outline: 0;
801
- margin-right: 10px;
802
- visibility: hidden;
803
- }
804
-
805
- .Checkbox input[type=checkbox]:checked + label:before {
806
- background: #4AC263;
807
- border: none;
808
- }
809
-
810
- .Checkbox input[type=checkbox]:checked + label:after {
811
- transform: rotate(-45deg);
812
- top: 6px;
813
- left: 4px;
814
- width: 12px;
815
- height: 6px;
816
- border: 2px solid #fff;
817
- border-top-style: none;
818
- border-right-style: none;
819
- }
820
-
821
- .Checkbox input[type=checkbox]:disabled + label {
822
- color: gray;
823
- }
824
-
825
- .Checkbox input[type=checkbox]:disabled + label:before {
826
- border-color: rgba(0, 0, 0, 0.26);
827
- }
828
-
829
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
830
- background: rgba(0, 0, 0, 0.26);
831
- }
832
-
833
- .CalendarMonthView {
834
- display: flex;
835
- flex-flow: column nowrap;
836
- height: 100%;
837
- }
838
-
839
- .CalendarMonthView > .row {
840
- display: flex;
841
- flex-flow: row nowrap;
842
- }
843
-
844
- .CalendarMonthView .days {
845
- flex-grow: 1;
846
- position: relative;
847
- }
848
-
849
- .CalendarMonthView .day, .CalendarMonthView .header {
850
- flex-grow: 1;
851
- flex-basis: 1px;
852
- }
853
-
854
- .CalendarMonthView .day {
855
- height: 100%;
856
- }
857
-
858
- .DropFileInput {
859
- flex-grow: 1;
860
- }
861
-
862
- .DropFileInput .Dropzone {
863
- border: 1px dashed #808080;
864
- padding: 12px;
865
- display: flex;
866
- flex-flow: row nowrap;
867
- justify-content: center;
868
- align-items: center;
869
- color: gray;
870
- cursor: pointer;
871
- border-radius: 3px;
872
- font-weight: normal;
873
- line-height: 22px;
874
- font-size: 14px;
875
- color: #7E7E7E;
876
- max-width: 100%;
877
- word-break: break-all;
878
- word-break: break-word;
715
+ .CircleProgress {
716
+ width: 48px;
717
+ height: 48px;
879
718
  }
880
719
 
881
- .DropFileInput .Dropzone .icon.withText {
882
- margin-right: 10px;
720
+ .CircleProgress .line {
721
+ stroke-width: 2px;
722
+ stroke: black;
723
+ stroke-linecap: square;
724
+ fill: none;
725
+ transition: stroke-dashoffset 0.2s ease;
883
726
  }
884
727
 
885
728
  .DatePicker {
@@ -999,41 +842,13 @@
999
842
  background-color: #51adf6;
1000
843
  }
1001
844
 
1002
- .CircleProgress {
1003
- width: 48px;
1004
- height: 48px;
1005
- }
1006
-
1007
- .CircleProgress .line {
1008
- stroke-width: 2px;
1009
- stroke: black;
1010
- stroke-linecap: square;
1011
- fill: none;
1012
- transition: stroke-dashoffset 0.2s ease;
1013
- }
1014
-
1015
- .Button.FloatingActionButton {
1016
- position: absolute;
1017
- right: 16px;
1018
- bottom: 16px;
1019
- width: 56px;
1020
- height: 56px;
1021
- padding: 16px;
1022
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1023
- }
1024
-
1025
- .Button.FloatingActionButton.raised {
1026
- 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);
1027
- }
1028
-
1029
- .Button.FloatingActionButton.mini {
1030
- width: 40px;
1031
- height: 40px;
1032
- padding: 8px;
845
+ .animated {
846
+ transition: opacity 250ms ease;
847
+ opacity: 0;
1033
848
  }
1034
849
 
1035
- .Button.FloatingActionButton.hidden {
1036
- bottom: -100px;
850
+ .animated.mounting, .animated.mounted {
851
+ opacity: 1;
1037
852
  }
1038
853
 
1039
854
  .DNDContainer {
@@ -1068,73 +883,198 @@
1068
883
  pointer-events: none;
1069
884
  }
1070
885
 
1071
- .FormUploadProgress {
1072
- position: absolute;
1073
- left: 0;
1074
- right: 0;
1075
- top: 0;
1076
- bottom: 0;
1077
- background-color: rgba(255, 255, 255, 0.6);
1078
- z-index: 2;
886
+ .Checkbox {
887
+ position: relative;
888
+ white-space: pre;
1079
889
  }
1080
890
 
1081
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1082
- transition-delay: 500ms;
891
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
892
+ box-sizing: border-box;
1083
893
  }
1084
894
 
1085
- .FormUploadProgress .wrapper {
1086
- position: sticky;
1087
- top: 40%;
1088
- margin-top: 40%;
1089
- margin-left: 50%;
1090
- transform: translateX(-50%);
1091
- display: flex;
1092
- flex-flow: column;
1093
- justify-content: center;
1094
- align-items: center;
895
+ .Checkbox label {
896
+ font-family: Roboto, sans-serif;
897
+ font-size: 14px;
898
+ color: #1e252d;
899
+ cursor: pointer;
1095
900
  }
1096
901
 
1097
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
902
+ .Checkbox label:before, .Checkbox label:after {
903
+ content: "";
1098
904
  position: absolute;
1099
- width: 107px;
1100
- height: 107px;
1101
- top: 0;
1102
905
  left: 0;
906
+ top: 0;
1103
907
  }
1104
908
 
1105
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1106
- stroke: #2196F3;
1107
- }
1108
-
1109
- .FormUploadProgress .wrapper > .progress {
1110
- width: 107px;
1111
- height: 107px;
1112
- min-height: 107px;
909
+ .Checkbox label:before {
910
+ width: 20px;
911
+ height: 20px;
912
+ background: #fff;
913
+ border: 2px solid #252525;
914
+ border-radius: 2px;
915
+ cursor: pointer;
916
+ transition: background 0.3s;
917
+ }
918
+
919
+ .Checkbox input[type=checkbox] {
920
+ outline: 0;
921
+ margin-right: 10px;
922
+ visibility: hidden;
923
+ }
924
+
925
+ .Checkbox input[type=checkbox]:checked + label:before {
926
+ background: #4AC263;
927
+ border: none;
928
+ }
929
+
930
+ .Checkbox input[type=checkbox]:checked + label:after {
931
+ transform: rotate(-45deg);
932
+ top: 6px;
933
+ left: 4px;
934
+ width: 12px;
935
+ height: 6px;
936
+ border: 2px solid #fff;
937
+ border-top-style: none;
938
+ border-right-style: none;
939
+ }
940
+
941
+ .Checkbox input[type=checkbox]:disabled + label {
942
+ color: gray;
943
+ }
944
+
945
+ .Checkbox input[type=checkbox]:disabled + label:before {
946
+ border-color: rgba(0, 0, 0, 0.26);
947
+ }
948
+
949
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
950
+ background: rgba(0, 0, 0, 0.26);
951
+ }
952
+
953
+ .CalendarMonthView {
1113
954
  display: flex;
1114
- justify-content: center;
1115
- align-items: center;
1116
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1117
- border-radius: 50%;
1118
- background: white;
955
+ flex-flow: column nowrap;
956
+ height: 100%;
957
+ }
958
+
959
+ .CalendarMonthView > .row {
960
+ display: flex;
961
+ flex-flow: row nowrap;
962
+ }
963
+
964
+ .CalendarMonthView .days {
965
+ flex-grow: 1;
1119
966
  position: relative;
1120
967
  }
1121
968
 
1122
- .FormUploadProgress .wrapper > .progress > .value {
1123
- display: inline-block;
1124
- margin-top: 5px;
1125
- font-weight: bold;
1126
- line-height: 16px;
1127
- font-size: 13px;
1128
- text-align: center;
1129
- color: #818181;
969
+ .CalendarMonthView .day, .CalendarMonthView .header {
970
+ flex-grow: 1;
971
+ flex-basis: 1px;
1130
972
  }
1131
973
 
1132
- .FormUploadProgress .wrapper .cancel {
1133
- min-width: 107px;
1134
- margin-top: 20px;
974
+ .CalendarMonthView .day {
975
+ height: 100%;
976
+ }
977
+
978
+ .DialogModal {
979
+ overflow: hidden;
980
+ }
981
+
982
+ .DialogModal .content {
983
+ top: 20vh;
984
+ }
985
+
986
+ .Dialog {
1135
987
  background-color: white;
1136
- color: #F96B5C;
1137
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
988
+ min-width: 460px;
989
+ max-width: 40vw;
990
+ padding: 15px;
991
+ }
992
+
993
+ .Dialog .title {
994
+ margin-bottom: 15px;
995
+ padding: 20px 50px 0px 30px;
996
+ font-size: 1.25rem;
997
+ line-height: 2rem;
998
+ font-weight: 400;
999
+ letter-spacing: 0.0125em;
1000
+ }
1001
+
1002
+ .Dialog .description {
1003
+ color: rgba(0, 0, 0, 0.54);
1004
+ font-size: 1rem;
1005
+ line-height: 1.5rem;
1006
+ font-weight: 400;
1007
+ letter-spacing: 0.03125em;
1008
+ margin-top: 20px;
1009
+ padding: 0 24px 24px;
1010
+ }
1011
+
1012
+ .Dialog > div.row {
1013
+ margin-bottom: 15px;
1014
+ }
1015
+
1016
+ .Dialog > div.row:last-child {
1017
+ margin-bottom: 0;
1018
+ }
1019
+
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;
1138
1078
  }
1139
1079
 
1140
1080
  .Modal {
@@ -1207,139 +1147,206 @@
1207
1147
  position: absolute;
1208
1148
  }
1209
1149
 
1210
- .Scrollable {
1211
- max-height: 250px;
1212
- max-width: 250px;
1213
- padding-right: 5px;
1214
- position: relative;
1215
- display: flex;
1216
- flex-flow: column;
1217
- align-items: stretch;
1218
- overflow: hidden;
1150
+ .ModalMenu {
1151
+ position: absolute;
1152
+ top: 10px;
1153
+ right: 50px;
1219
1154
  }
1220
1155
 
1221
- .Scrollable:hover > .scrollbar.auto {
1222
- transition-delay: 0s;
1223
- opacity: 1;
1156
+ .ModalMenu .material-icons {
1157
+ color: #818181;
1224
1158
  }
1225
1159
 
1226
- .Scrollable .viewport {
1227
- overflow-y: scroll;
1228
- overflow-x: scroll;
1229
- max-height: 100%;
1230
- scrollbar-width: none;
1160
+ .ModalMenu .Button.animated {
1161
+ position: absolute;
1162
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1163
+ opacity: 0;
1164
+ right: 0;
1165
+ top: 0;
1231
1166
  }
1232
1167
 
1233
- .Scrollable .viewport::-webkit-scrollbar {
1234
- display: none;
1168
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1169
+ opacity: 1;
1235
1170
  }
1236
1171
 
1237
- .Scrollable.without-scroll-horizontal {
1238
- max-width: unset;
1172
+ .ModalMenu .Button.animated.unmounting {
1173
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1239
1174
  }
1240
1175
 
1241
- .Scrollable.undefined-horizontal {
1242
- max-width: unset;
1176
+ .ModalMenu .Button.active {
1177
+ background: #EBEBEB;
1243
1178
  }
1244
1179
 
1245
- .Scrollable.without-scroll {
1246
- padding-right: 0;
1247
- max-height: unset;
1180
+ .ModalMenu .separator {
1181
+ height: 24px;
1182
+ width: 1px;
1183
+ background-color: #D9D9D9;
1184
+ margin-left: 4px;
1248
1185
  }
1249
1186
 
1250
- .Scrollable.without-scroll > .viewport {
1251
- padding-right: 0;
1252
- margin-right: 0;
1187
+ .Button.FloatingActionButton {
1188
+ position: absolute;
1189
+ right: 16px;
1190
+ bottom: 16px;
1191
+ width: 56px;
1192
+ height: 56px;
1193
+ padding: 16px;
1194
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1253
1195
  }
1254
1196
 
1255
- .Scrollable.without-scroll > .scrollbar {
1256
- visibility: hidden;
1197
+ .Button.FloatingActionButton.raised {
1198
+ 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);
1257
1199
  }
1258
1200
 
1259
- .Scrollable .scrollbar {
1260
- position: absolute;
1261
- right: 0px;
1262
- top: 0px;
1263
- width: 5px;
1264
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1265
- transition-delay: 0.5s;
1266
- z-index: 1;
1201
+ .Button.FloatingActionButton.mini {
1202
+ width: 40px;
1203
+ height: 40px;
1204
+ padding: 8px;
1267
1205
  }
1268
1206
 
1269
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1270
- opacity: 0;
1207
+ .Button.FloatingActionButton.hidden {
1208
+ bottom: -100px;
1271
1209
  }
1272
1210
 
1273
- .Scrollable .scrollbar .thumb {
1274
- background-color: rgba(0, 0, 0, 0.3);
1275
- width: 5px;
1276
- position: absolute;
1277
- right: 0px;
1278
- top: 0px;
1279
- user-select: none;
1280
- will-change: top;
1281
- border-radius: 2px;
1211
+ .DropFileInput {
1212
+ flex-grow: 1;
1282
1213
  }
1283
1214
 
1284
- .Scrollable .scrollbar .thumb:hover {
1285
- background-color: rgba(0, 0, 0, 0.5);
1215
+ .DropFileInput .Dropzone {
1216
+ border: 1px dashed #808080;
1217
+ padding: 12px;
1218
+ display: flex;
1219
+ flex-flow: row nowrap;
1220
+ justify-content: center;
1221
+ align-items: center;
1222
+ color: gray;
1223
+ cursor: pointer;
1224
+ border-radius: 3px;
1225
+ font-weight: normal;
1226
+ line-height: 22px;
1227
+ font-size: 14px;
1228
+ color: #7E7E7E;
1229
+ max-width: 100%;
1230
+ word-break: break-all;
1231
+ word-break: break-word;
1286
1232
  }
1287
1233
 
1288
- .Scrollable .scrollbar .thumb:active {
1289
- background-color: rgba(0, 0, 0, 0.7);
1234
+ .DropFileInput .Dropzone .icon.withText {
1235
+ margin-right: 10px;
1290
1236
  }
1291
1237
 
1292
- .Scrollable .scrollbar.horizontal {
1293
- left: 0px;
1294
- right: 0px;
1295
- height: 5px;
1238
+ .FormUploadProgress {
1239
+ position: absolute;
1240
+ left: 0;
1241
+ right: 0;
1242
+ top: 0;
1296
1243
  bottom: 0;
1297
- width: unset;
1298
- top: unset;
1244
+ background-color: rgba(255, 255, 255, 0.6);
1245
+ z-index: 2;
1299
1246
  }
1300
1247
 
1301
- .Scrollable .scrollbar.horizontal .thumb {
1302
- height: 5px;
1303
- left: 0px;
1304
- bottom: 0px;
1305
- will-change: left;
1248
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1249
+ transition-delay: 500ms;
1306
1250
  }
1307
1251
 
1308
- .ModalMenu {
1252
+ .FormUploadProgress .wrapper {
1253
+ position: sticky;
1254
+ top: 40%;
1255
+ margin-top: 40%;
1256
+ margin-left: 50%;
1257
+ transform: translateX(-50%);
1258
+ display: flex;
1259
+ flex-flow: column;
1260
+ justify-content: center;
1261
+ align-items: center;
1262
+ }
1263
+
1264
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1309
1265
  position: absolute;
1310
- top: 10px;
1311
- right: 50px;
1266
+ width: 107px;
1267
+ height: 107px;
1268
+ top: 0;
1269
+ left: 0;
1312
1270
  }
1313
1271
 
1314
- .ModalMenu .material-icons {
1272
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1273
+ stroke: #2196F3;
1274
+ }
1275
+
1276
+ .FormUploadProgress .wrapper > .progress {
1277
+ width: 107px;
1278
+ height: 107px;
1279
+ min-height: 107px;
1280
+ display: flex;
1281
+ justify-content: center;
1282
+ align-items: center;
1283
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1284
+ border-radius: 50%;
1285
+ background: white;
1286
+ position: relative;
1287
+ }
1288
+
1289
+ .FormUploadProgress .wrapper > .progress > .value {
1290
+ display: inline-block;
1291
+ margin-top: 5px;
1292
+ font-weight: bold;
1293
+ line-height: 16px;
1294
+ font-size: 13px;
1295
+ text-align: center;
1315
1296
  color: #818181;
1316
1297
  }
1317
1298
 
1318
- .ModalMenu .Button.animated {
1319
- position: absolute;
1320
- transition: opacity 150ms ease-in, right 200ms ease-in;
1299
+ .FormUploadProgress .wrapper .cancel {
1300
+ min-width: 107px;
1301
+ margin-top: 20px;
1302
+ background-color: white;
1303
+ color: #F96B5C;
1304
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1305
+ }
1306
+
1307
+ .Snackbar {
1308
+ transform: translateX(-50%);
1309
+ overflow: hidden;
1310
+ background-color: #323232;
1311
+ padding: 14px 24px 14px 24px;
1312
+ color: #fff;
1313
+ min-width: 288px;
1314
+ max-width: 568px;
1315
+ position: fixed;
1316
+ bottom: -50px;
1317
+ left: 50%;
1318
+ display: flex;
1319
+ flex-wrap: nowrap;
1320
+ align-items: center;
1321
1321
  opacity: 0;
1322
- right: 0;
1323
- top: 0;
1322
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1323
+ border-radius: 4px;
1324
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1324
1325
  }
1325
1326
 
1326
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1327
+ .Snackbar.shown {
1328
+ bottom: 15px;
1327
1329
  opacity: 1;
1328
1330
  }
1329
1331
 
1330
- .ModalMenu .Button.animated.unmounting {
1331
- transition: opacity 100ms ease-out, right 200ms ease-out;
1332
+ .Snackbar .message {
1333
+ overflow: hidden;
1334
+ line-height: 1.2em;
1335
+ min-height: 1.2em;
1336
+ max-height: 2.4em;
1337
+ flex: 1;
1332
1338
  }
1333
1339
 
1334
- .ModalMenu .Button.active {
1335
- background: #EBEBEB;
1340
+ .Snackbar .action {
1341
+ text-transform: uppercase;
1342
+ font-weight: bold;
1343
+ margin-left: 48px;
1344
+ color: #bf3727;
1336
1345
  }
1337
1346
 
1338
- .ModalMenu .separator {
1339
- height: 24px;
1340
- width: 1px;
1341
- background-color: #D9D9D9;
1342
- margin-left: 4px;
1347
+ .Snackbar .action a {
1348
+ text-decoration: none;
1349
+ color: #bf3727;
1343
1350
  }
1344
1351
 
1345
1352
  .FilteredList {
@@ -1479,6 +1486,247 @@
1479
1486
  stroke-dashoffset: -53px;
1480
1487
  }
1481
1488
  }
1489
+ .TextField {
1490
+ position: relative;
1491
+ width: 100%;
1492
+ }
1493
+
1494
+ .TextField > label {
1495
+ font-family: Roboto, sans-serif;
1496
+ color: rgba(0, 0, 0, 0.5);
1497
+ font-size: 16px;
1498
+ position: absolute;
1499
+ left: 0px;
1500
+ top: 16px;
1501
+ margin-top: -16px;
1502
+ transition: all 0.2s ease;
1503
+ user-select: none;
1504
+ cursor: text;
1505
+ }
1506
+
1507
+ .TextField > input {
1508
+ font-family: Roboto, sans-serif;
1509
+ color: #1e252d;
1510
+ height: 19px;
1511
+ font-size: 16px;
1512
+ width: 100%;
1513
+ border: 0px;
1514
+ padding-bottom: 4px;
1515
+ padding-top: 0;
1516
+ outline-color: rgba(0, 0, 0, 0);
1517
+ }
1518
+
1519
+ .TextField > input:focus {
1520
+ outline: none;
1521
+ }
1522
+
1523
+ .TextField > input:disabled {
1524
+ color: gray;
1525
+ background-color: white;
1526
+ }
1527
+
1528
+ .TextField > input:disabled + .border {
1529
+ height: 0px;
1530
+ border-bottom: 2px dotted rgb(224, 224, 224);
1531
+ }
1532
+
1533
+ .TextField > input::placeholder {
1534
+ font-family: Roboto, sans-serif;
1535
+ color: rgba(0, 0, 0, 0.3);
1536
+ opacity: 1;
1537
+ }
1538
+
1539
+ .TextField > .border {
1540
+ border-bottom: 1px solid rgb(224, 224, 224);
1541
+ height: 1px;
1542
+ position: relative;
1543
+ }
1544
+
1545
+ .TextField > .border .line {
1546
+ left: 50%;
1547
+ width: 0;
1548
+ height: 2px;
1549
+ min-height: 2px;
1550
+ background-color: rgb(0, 188, 212);
1551
+ transition: all 0.2s ease;
1552
+ position: absolute;
1553
+ }
1554
+
1555
+ .TextField > .error {
1556
+ text-align: left;
1557
+ font-size: 10px;
1558
+ min-height: 0;
1559
+ line-height: 14px;
1560
+ color: rgb(244, 67, 54);
1561
+ visibility: hidden;
1562
+ opacity: 0;
1563
+ transition: all 0.2s ease;
1564
+ }
1565
+
1566
+ .TextField.focused > label, .TextField.withValue > label {
1567
+ top: 4px;
1568
+ font-size: 12px;
1569
+ line-height: 14px;
1570
+ }
1571
+
1572
+ .TextField.errored > .error {
1573
+ visibility: visible;
1574
+ opacity: 1;
1575
+ }
1576
+
1577
+ .TextField.errored > .border {
1578
+ border-bottom-color: rgb(244, 67, 54);
1579
+ }
1580
+
1581
+ .TextField.errored > label {
1582
+ color: rgb(244, 67, 54);
1583
+ }
1584
+
1585
+ .TextField.focused > label {
1586
+ color: rgb(0, 188, 212);
1587
+ }
1588
+
1589
+ .TextField.focused > .border .line {
1590
+ left: 0;
1591
+ width: 100%;
1592
+ }
1593
+
1594
+ .TextField.disabled label, .TextField.disabled input {
1595
+ cursor: not-allowed;
1596
+ }
1597
+
1598
+ .TextField.withLabel {
1599
+ margin-top: 15px;
1600
+ }
1601
+
1602
+ .TextField input::-webkit-contacts-auto-fill-button {
1603
+ visibility: hidden;
1604
+ display: none !important;
1605
+ pointer-events: none;
1606
+ position: absolute;
1607
+ right: 0;
1608
+ }
1609
+
1610
+ .TextField input:-webkit-autofill {
1611
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1612
+ }
1613
+
1614
+ @keyframes shake {
1615
+ 0%, 100% {
1616
+ transform: translateX(0);
1617
+ }
1618
+ 20%, 60% {
1619
+ transform: translateX(-5px);
1620
+ }
1621
+ 40%, 80% {
1622
+ transform: translateX(5px);
1623
+ }
1624
+ }
1625
+ .TextField .shake {
1626
+ animation-duration: 0.5s;
1627
+ animation-fill-mode: both;
1628
+ animation-timing-function: ease-in-out;
1629
+ animation-name: shake;
1630
+ }
1631
+
1632
+ .Scrollable {
1633
+ max-height: 250px;
1634
+ max-width: 250px;
1635
+ padding-right: 5px;
1636
+ position: relative;
1637
+ display: flex;
1638
+ flex-flow: column;
1639
+ align-items: stretch;
1640
+ overflow: hidden;
1641
+ }
1642
+
1643
+ .Scrollable:hover > .scrollbar.auto {
1644
+ transition-delay: 0s;
1645
+ opacity: 1;
1646
+ }
1647
+
1648
+ .Scrollable .viewport {
1649
+ overflow-y: scroll;
1650
+ overflow-x: scroll;
1651
+ max-height: 100%;
1652
+ scrollbar-width: none;
1653
+ }
1654
+
1655
+ .Scrollable .viewport::-webkit-scrollbar {
1656
+ display: none;
1657
+ }
1658
+
1659
+ .Scrollable.without-scroll-horizontal {
1660
+ max-width: unset;
1661
+ }
1662
+
1663
+ .Scrollable.undefined-horizontal {
1664
+ max-width: unset;
1665
+ }
1666
+
1667
+ .Scrollable.without-scroll {
1668
+ padding-right: 0;
1669
+ max-height: unset;
1670
+ }
1671
+
1672
+ .Scrollable.without-scroll > .viewport {
1673
+ padding-right: 0;
1674
+ margin-right: 0;
1675
+ }
1676
+
1677
+ .Scrollable.without-scroll > .scrollbar {
1678
+ visibility: hidden;
1679
+ }
1680
+
1681
+ .Scrollable .scrollbar {
1682
+ position: absolute;
1683
+ right: 0px;
1684
+ top: 0px;
1685
+ width: 5px;
1686
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1687
+ transition-delay: 0.5s;
1688
+ z-index: 1;
1689
+ }
1690
+
1691
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1692
+ opacity: 0;
1693
+ }
1694
+
1695
+ .Scrollable .scrollbar .thumb {
1696
+ background-color: rgba(0, 0, 0, 0.3);
1697
+ width: 5px;
1698
+ position: absolute;
1699
+ right: 0px;
1700
+ top: 0px;
1701
+ user-select: none;
1702
+ will-change: top;
1703
+ border-radius: 2px;
1704
+ }
1705
+
1706
+ .Scrollable .scrollbar .thumb:hover {
1707
+ background-color: rgba(0, 0, 0, 0.5);
1708
+ }
1709
+
1710
+ .Scrollable .scrollbar .thumb:active {
1711
+ background-color: rgba(0, 0, 0, 0.7);
1712
+ }
1713
+
1714
+ .Scrollable .scrollbar.horizontal {
1715
+ left: 0px;
1716
+ right: 0px;
1717
+ height: 5px;
1718
+ bottom: 0;
1719
+ width: unset;
1720
+ top: unset;
1721
+ }
1722
+
1723
+ .Scrollable .scrollbar.horizontal .thumb {
1724
+ height: 5px;
1725
+ left: 0px;
1726
+ bottom: 0px;
1727
+ will-change: left;
1728
+ }
1729
+
1482
1730
  .Switch {
1483
1731
  display: inline-flex;
1484
1732
  padding-top: 5px;
@@ -1689,252 +1937,4 @@
1689
1937
 
1690
1938
  .ScrollableTable .Table {
1691
1939
  position: static;
1692
- }
1693
-
1694
- .Dropzone {
1695
- position: relative;
1696
- }
1697
-
1698
- .Dropzone > .overlay {
1699
- position: absolute;
1700
- left: 0;
1701
- right: 0;
1702
- top: 0;
1703
- bottom: 0;
1704
- background-color: #38ADC4;
1705
- z-index: 1;
1706
- opacity: 0;
1707
- transition: all 0.2s ease;
1708
- transition-delay: 100ms;
1709
- visibility: hidden;
1710
- display: flex;
1711
- justify-content: center;
1712
- align-items: center;
1713
- }
1714
-
1715
- .Dropzone > .overlay .drop {
1716
- border-radius: 4px;
1717
- border: 1px dashed #FFFFFF;
1718
- position: absolute;
1719
- top: 18px;
1720
- left: 18px;
1721
- right: 18px;
1722
- bottom: 18px;
1723
- display: flex;
1724
- justify-content: center;
1725
- align-items: center;
1726
- font-weight: 500;
1727
- font-size: 18px;
1728
- color: #FFFFFF;
1729
- }
1730
-
1731
- .Dropzone.dragging > .overlay {
1732
- opacity: 0.7;
1733
- visibility: visible;
1734
- transition-delay: 0s;
1735
- }
1736
-
1737
- .Dropzone.dragging > * {
1738
- pointer-events: none;
1739
- }
1740
-
1741
- .Dropzone > input.file {
1742
- position: absolute;
1743
- left: 0;
1744
- right: 0;
1745
- top: 0;
1746
- bottom: 0;
1747
- width: 100%;
1748
- height: 100%;
1749
- opacity: 0;
1750
- cursor: pointer;
1751
- z-index: 1;
1752
- }
1753
-
1754
- .Snackbar {
1755
- transform: translateX(-50%);
1756
- overflow: hidden;
1757
- background-color: #323232;
1758
- padding: 14px 24px 14px 24px;
1759
- color: #fff;
1760
- min-width: 288px;
1761
- max-width: 568px;
1762
- position: fixed;
1763
- bottom: -50px;
1764
- left: 50%;
1765
- display: flex;
1766
- flex-wrap: nowrap;
1767
- align-items: center;
1768
- opacity: 0;
1769
- transition: bottom 0.25s ease, opacity 0.2s ease;
1770
- border-radius: 4px;
1771
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1772
- }
1773
-
1774
- .Snackbar.shown {
1775
- bottom: 15px;
1776
- opacity: 1;
1777
- }
1778
-
1779
- .Snackbar .message {
1780
- overflow: hidden;
1781
- line-height: 1.2em;
1782
- min-height: 1.2em;
1783
- max-height: 2.4em;
1784
- flex: 1;
1785
- }
1786
-
1787
- .Snackbar .action {
1788
- text-transform: uppercase;
1789
- font-weight: bold;
1790
- margin-left: 48px;
1791
- color: #bf3727;
1792
- }
1793
-
1794
- .Snackbar .action a {
1795
- text-decoration: none;
1796
- color: #bf3727;
1797
- }
1798
-
1799
- .TextField {
1800
- position: relative;
1801
- width: 100%;
1802
- }
1803
-
1804
- .TextField > label {
1805
- font-family: Roboto, sans-serif;
1806
- color: rgba(0, 0, 0, 0.5);
1807
- font-size: 16px;
1808
- position: absolute;
1809
- left: 0px;
1810
- top: 16px;
1811
- margin-top: -16px;
1812
- transition: all 0.2s ease;
1813
- user-select: none;
1814
- cursor: text;
1815
- }
1816
-
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);
1827
- }
1828
-
1829
- .TextField > input:focus {
1830
- outline: none;
1831
- }
1832
-
1833
- .TextField > input:disabled {
1834
- color: gray;
1835
- background-color: white;
1836
- }
1837
-
1838
- .TextField > input:disabled + .border {
1839
- height: 0px;
1840
- border-bottom: 2px dotted rgb(224, 224, 224);
1841
- }
1842
-
1843
- .TextField > input::placeholder {
1844
- font-family: Roboto, sans-serif;
1845
- color: rgba(0, 0, 0, 0.3);
1846
- opacity: 1;
1847
- }
1848
-
1849
- .TextField > .border {
1850
- border-bottom: 1px solid rgb(224, 224, 224);
1851
- height: 1px;
1852
- position: relative;
1853
- }
1854
-
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;
1863
- }
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;
1874
- }
1875
-
1876
- .TextField.focused > label, .TextField.withValue > label {
1877
- top: 4px;
1878
- font-size: 12px;
1879
- line-height: 14px;
1880
- }
1881
-
1882
- .TextField.errored > .error {
1883
- visibility: visible;
1884
- opacity: 1;
1885
- }
1886
-
1887
- .TextField.errored > .border {
1888
- border-bottom-color: rgb(244, 67, 54);
1889
- }
1890
-
1891
- .TextField.errored > label {
1892
- color: rgb(244, 67, 54);
1893
- }
1894
-
1895
- .TextField.focused > label {
1896
- color: rgb(0, 188, 212);
1897
- }
1898
-
1899
- .TextField.focused > .border .line {
1900
- left: 0;
1901
- width: 100%;
1902
- }
1903
-
1904
- .TextField.disabled label, .TextField.disabled input {
1905
- cursor: not-allowed;
1906
- }
1907
-
1908
- .TextField.withLabel {
1909
- margin-top: 15px;
1910
- }
1911
-
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;
1918
- }
1919
-
1920
- .TextField input:-webkit-autofill {
1921
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1922
- }
1923
-
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;
1940
1940
  }