react-ui-basics 0.0.145 → 0.0.148

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bundle.css CHANGED
@@ -1,12 +1,3 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
4
- }
5
-
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
8
- }
9
-
10
1
  .AutocompleteSelect {
11
2
  display: inline-flex;
12
3
  flex-flow: column;
@@ -302,6 +293,95 @@
302
293
  position: absolute;
303
294
  }
304
295
 
296
+ .CircleProgress {
297
+ width: 48px;
298
+ height: 48px;
299
+ }
300
+
301
+ .CircleProgress .line {
302
+ stroke-width: 2px;
303
+ stroke: black;
304
+ stroke-linecap: square;
305
+ fill: none;
306
+ transition: stroke-dashoffset 0.2s ease;
307
+ }
308
+
309
+ .Checkbox {
310
+ position: relative;
311
+ white-space: pre;
312
+ }
313
+
314
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
315
+ box-sizing: border-box;
316
+ }
317
+
318
+ .Checkbox label {
319
+ font-family: Roboto, sans-serif;
320
+ font-size: 14px;
321
+ color: #1e252d;
322
+ cursor: pointer;
323
+ }
324
+
325
+ .Checkbox label:before, .Checkbox label:after {
326
+ content: "";
327
+ position: absolute;
328
+ left: 0;
329
+ top: 0;
330
+ }
331
+
332
+ .Checkbox label:before {
333
+ width: 20px;
334
+ height: 20px;
335
+ background: #fff;
336
+ border: 2px solid #252525;
337
+ border-radius: 2px;
338
+ cursor: pointer;
339
+ transition: background 0.3s;
340
+ }
341
+
342
+ .Checkbox input[type=checkbox] {
343
+ outline: 0;
344
+ margin-right: 10px;
345
+ visibility: hidden;
346
+ }
347
+
348
+ .Checkbox input[type=checkbox]:checked + label:before {
349
+ background: #4AC263;
350
+ border: none;
351
+ }
352
+
353
+ .Checkbox input[type=checkbox]:checked + label:after {
354
+ transform: rotate(-45deg);
355
+ top: 6px;
356
+ left: 4px;
357
+ width: 12px;
358
+ height: 6px;
359
+ border: 2px solid #fff;
360
+ border-top-style: none;
361
+ border-right-style: none;
362
+ }
363
+
364
+ .Checkbox input[type=checkbox]:disabled + label {
365
+ color: gray;
366
+ }
367
+
368
+ .Checkbox input[type=checkbox]:disabled + label:before {
369
+ border-color: rgba(0, 0, 0, 0.26);
370
+ }
371
+
372
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
373
+ background: rgba(0, 0, 0, 0.26);
374
+ }
375
+
376
+ .animated {
377
+ transition: opacity 250ms ease;
378
+ opacity: 0;
379
+ }
380
+
381
+ .animated.mounting, .animated.mounted {
382
+ opacity: 1;
383
+ }
384
+
305
385
  .Button {
306
386
  position: relative;
307
387
  min-width: 64px;
@@ -467,73 +547,6 @@
467
547
  border: 0;
468
548
  }
469
549
 
470
- .Checkbox {
471
- position: relative;
472
- white-space: pre;
473
- }
474
-
475
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
476
- box-sizing: border-box;
477
- }
478
-
479
- .Checkbox label {
480
- font-family: Roboto, sans-serif;
481
- font-size: 14px;
482
- color: #1e252d;
483
- cursor: pointer;
484
- }
485
-
486
- .Checkbox label:before, .Checkbox label:after {
487
- content: "";
488
- position: absolute;
489
- left: 0;
490
- top: 0;
491
- }
492
-
493
- .Checkbox label:before {
494
- width: 20px;
495
- height: 20px;
496
- background: #fff;
497
- border: 2px solid #252525;
498
- border-radius: 2px;
499
- cursor: pointer;
500
- transition: background 0.3s;
501
- }
502
-
503
- .Checkbox input[type=checkbox] {
504
- outline: 0;
505
- margin-right: 10px;
506
- visibility: hidden;
507
- }
508
-
509
- .Checkbox input[type=checkbox]:checked + label:before {
510
- background: #4AC263;
511
- border: none;
512
- }
513
-
514
- .Checkbox input[type=checkbox]:checked + label:after {
515
- transform: rotate(-45deg);
516
- top: 6px;
517
- left: 4px;
518
- width: 12px;
519
- height: 6px;
520
- border: 2px solid #fff;
521
- border-top-style: none;
522
- border-right-style: none;
523
- }
524
-
525
- .Checkbox input[type=checkbox]:disabled + label {
526
- color: gray;
527
- }
528
-
529
- .Checkbox input[type=checkbox]:disabled + label:before {
530
- border-color: rgba(0, 0, 0, 0.26);
531
- }
532
-
533
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
534
- background: rgba(0, 0, 0, 0.26);
535
- }
536
-
537
550
  .DNDContainer {
538
551
  position: relative;
539
552
  }
@@ -566,17 +579,28 @@
566
579
  pointer-events: none;
567
580
  }
568
581
 
569
- .CircleProgress {
570
- width: 48px;
571
- height: 48px;
582
+ .Button.FloatingActionButton {
583
+ position: absolute;
584
+ right: 16px;
585
+ bottom: 16px;
586
+ width: 56px;
587
+ height: 56px;
588
+ padding: 16px;
589
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
572
590
  }
573
591
 
574
- .CircleProgress .line {
575
- stroke-width: 2px;
576
- stroke: black;
577
- stroke-linecap: square;
578
- fill: none;
579
- transition: stroke-dashoffset 0.2s ease;
592
+ .Button.FloatingActionButton.raised {
593
+ 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);
594
+ }
595
+
596
+ .Button.FloatingActionButton.mini {
597
+ width: 40px;
598
+ height: 40px;
599
+ padding: 8px;
600
+ }
601
+
602
+ .Button.FloatingActionButton.hidden {
603
+ bottom: -100px;
580
604
  }
581
605
 
582
606
  .FilteredList {
@@ -660,6 +684,48 @@
660
684
  margin-bottom: 8px;
661
685
  }
662
686
 
687
+ .DialogModal {
688
+ overflow: hidden;
689
+ }
690
+
691
+ .DialogModal .content {
692
+ top: 20vh;
693
+ }
694
+
695
+ .Dialog {
696
+ background-color: white;
697
+ min-width: 460px;
698
+ max-width: 40vw;
699
+ padding: 15px;
700
+ }
701
+
702
+ .Dialog .title {
703
+ margin-bottom: 15px;
704
+ padding: 20px 50px 0px 30px;
705
+ font-size: 1.25rem;
706
+ line-height: 2rem;
707
+ font-weight: 400;
708
+ letter-spacing: 0.0125em;
709
+ }
710
+
711
+ .Dialog .description {
712
+ color: rgba(0, 0, 0, 0.54);
713
+ font-size: 1rem;
714
+ line-height: 1.5rem;
715
+ font-weight: 400;
716
+ letter-spacing: 0.03125em;
717
+ margin-top: 20px;
718
+ padding: 0 24px 24px;
719
+ }
720
+
721
+ .Dialog > div.row {
722
+ margin-bottom: 15px;
723
+ }
724
+
725
+ .Dialog > div.row:last-child {
726
+ margin-bottom: 0;
727
+ }
728
+
663
729
  .Dropzone {
664
730
  position: relative;
665
731
  }
@@ -789,24 +855,146 @@
789
855
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
790
856
  }
791
857
 
792
- .ImageGallery {
793
- position: fixed;
794
- top: 0;
795
- left: 0;
796
- bottom: 0;
797
- right: 0;
798
- z-index: 1000;
799
- background-color: rgba(0, 0, 0, 0.01);
800
- user-select: none;
801
- }
802
-
803
- .ImageGallery:focus {
804
- outline-width: 0px;
805
- }
806
-
807
- .ImageGallery.animated {
808
- transition: background-color 0.25s ease;
809
- opacity: 1;
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;
879
+ }
880
+
881
+ .DropFileInput .Dropzone .icon.withText {
882
+ margin-right: 10px;
883
+ }
884
+
885
+ .Scrollable {
886
+ max-height: 250px;
887
+ max-width: 250px;
888
+ padding-right: 5px;
889
+ position: relative;
890
+ display: flex;
891
+ flex-flow: column;
892
+ align-items: stretch;
893
+ overflow: hidden;
894
+ }
895
+
896
+ .Scrollable:hover > .scrollbar.auto {
897
+ transition-delay: 0s;
898
+ opacity: 1;
899
+ }
900
+
901
+ .Scrollable .viewport {
902
+ overflow-y: scroll;
903
+ overflow-x: scroll;
904
+ max-height: 100%;
905
+ scroll-behavior: smooth;
906
+ scrollbar-width: none;
907
+ }
908
+
909
+ .Scrollable .viewport::-webkit-scrollbar {
910
+ display: none;
911
+ }
912
+
913
+ .Scrollable.without-scroll-horizontal {
914
+ max-width: unset;
915
+ }
916
+
917
+ .Scrollable.without-scroll {
918
+ padding-right: 0;
919
+ max-height: unset;
920
+ }
921
+
922
+ .Scrollable.without-scroll > .viewport {
923
+ padding-right: 0;
924
+ margin-right: 0;
925
+ }
926
+
927
+ .Scrollable.without-scroll > .scrollbar {
928
+ visibility: hidden;
929
+ }
930
+
931
+ .Scrollable .scrollbar {
932
+ position: absolute;
933
+ right: 0px;
934
+ top: 0px;
935
+ width: 5px;
936
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
937
+ transition-delay: 0.5s;
938
+ z-index: 1;
939
+ }
940
+
941
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
942
+ opacity: 0;
943
+ }
944
+
945
+ .Scrollable .scrollbar .thumb {
946
+ background-color: rgba(0, 0, 0, 0.3);
947
+ width: 5px;
948
+ position: absolute;
949
+ right: 0px;
950
+ top: 0px;
951
+ user-select: none;
952
+ will-change: top;
953
+ border-radius: 2px;
954
+ }
955
+
956
+ .Scrollable .scrollbar .thumb:hover {
957
+ background-color: rgba(0, 0, 0, 0.5);
958
+ }
959
+
960
+ .Scrollable .scrollbar .thumb:active {
961
+ background-color: rgba(0, 0, 0, 0.7);
962
+ }
963
+
964
+ .Scrollable .scrollbar.horizontal {
965
+ left: 0px;
966
+ right: 0px;
967
+ height: 5px;
968
+ bottom: 0;
969
+ width: unset;
970
+ top: unset;
971
+ }
972
+
973
+ .Scrollable .scrollbar.horizontal .thumb {
974
+ height: 5px;
975
+ left: 0px;
976
+ bottom: 0px;
977
+ will-change: left;
978
+ }
979
+
980
+ .ImageGallery {
981
+ position: fixed;
982
+ top: 0;
983
+ left: 0;
984
+ bottom: 0;
985
+ right: 0;
986
+ z-index: 1000;
987
+ background-color: rgba(0, 0, 0, 0.01);
988
+ user-select: none;
989
+ }
990
+
991
+ .ImageGallery:focus {
992
+ outline-width: 0px;
993
+ }
994
+
995
+ .ImageGallery.animated {
996
+ transition: background-color 0.25s ease;
997
+ opacity: 1;
810
998
  }
811
999
 
812
1000
  .ImageGallery.mounting, .ImageGallery.mounted {
@@ -1024,119 +1212,96 @@
1024
1212
  font-size: 24px;
1025
1213
  }
1026
1214
 
1027
- .DialogModal {
1028
- overflow: hidden;
1215
+ .Modal {
1216
+ display: block;
1217
+ position: fixed;
1218
+ top: 0;
1219
+ left: 0;
1220
+ right: 0;
1221
+ bottom: 100%;
1222
+ overflow-y: scroll;
1223
+ transition: bottom 0ms linear;
1224
+ transition-delay: 0.2s;
1029
1225
  }
1030
1226
 
1031
- .DialogModal .content {
1032
- top: 20vh;
1227
+ .Modal.show {
1228
+ transition-delay: 0s;
1229
+ bottom: 0;
1033
1230
  }
1034
1231
 
1035
- .Dialog {
1036
- background-color: white;
1037
- min-width: 460px;
1038
- max-width: 40vw;
1039
- padding: 15px;
1232
+ .Modal > .overlay {
1233
+ position: fixed;
1234
+ top: 0;
1235
+ bottom: 100%;
1236
+ left: 0;
1237
+ right: 0;
1238
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1239
+ opacity: 0;
1240
+ background-color: black;
1241
+ pointer-events: none;
1040
1242
  }
1041
1243
 
1042
- .Dialog .title {
1043
- margin-bottom: 15px;
1044
- padding: 20px 50px 0px 30px;
1045
- font-size: 1.25rem;
1046
- line-height: 2rem;
1047
- font-weight: 400;
1048
- letter-spacing: 0.0125em;
1244
+ .Modal > .overlay.show {
1245
+ opacity: 0.5;
1246
+ bottom: 0;
1049
1247
  }
1050
1248
 
1051
- .Dialog .description {
1052
- color: rgba(0, 0, 0, 0.54);
1053
- font-size: 1rem;
1054
- line-height: 1.5rem;
1055
- font-weight: 400;
1056
- letter-spacing: 0.03125em;
1057
- margin-top: 20px;
1058
- padding: 0 24px 24px;
1249
+ .Modal > .content {
1250
+ left: 50%;
1251
+ top: 10vh;
1252
+ margin-bottom: 10vh;
1253
+ font-size: 16px;
1254
+ padding: 0;
1255
+ opacity: 0;
1256
+ transition: opacity 0.25s ease, transform 0.25s ease;
1257
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1258
+ transform-origin: top;
1259
+ position: absolute;
1260
+ border-radius: 2px;
1261
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1059
1262
  }
1060
1263
 
1061
- .Dialog > div.row {
1062
- margin-bottom: 15px;
1264
+ .Modal > .content.show {
1265
+ opacity: 1;
1266
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1063
1267
  }
1064
1268
 
1065
- .Dialog > div.row:last-child {
1066
- margin-bottom: 0;
1269
+ .Modal > .content > .Scrollable {
1270
+ overflow: visible;
1271
+ max-height: 80vh;
1067
1272
  }
1068
1273
 
1069
- .Button.FloatingActionButton {
1274
+ .Modal > .content > .Scrollable > .viewport {
1275
+ min-width: 10px;
1276
+ min-height: 10px;
1277
+ }
1278
+
1279
+ .Modal > .content > .Button.close {
1280
+ top: 10px;
1281
+ right: 10px;
1070
1282
  position: absolute;
1071
- right: 16px;
1072
- bottom: 16px;
1073
- width: 56px;
1074
- height: 56px;
1075
- padding: 16px;
1076
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1077
1283
  }
1078
1284
 
1079
- .Button.FloatingActionButton.raised {
1080
- 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);
1285
+ .ModalMenu {
1286
+ position: absolute;
1287
+ top: 10px;
1288
+ right: 50px;
1081
1289
  }
1082
1290
 
1083
- .Button.FloatingActionButton.mini {
1084
- width: 40px;
1085
- height: 40px;
1086
- padding: 8px;
1291
+ .ModalMenu .material-icons {
1292
+ color: #818181;
1087
1293
  }
1088
1294
 
1089
- .Button.FloatingActionButton.hidden {
1090
- bottom: -100px;
1295
+ .ModalMenu .Button.animated {
1296
+ position: absolute;
1297
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1298
+ opacity: 0;
1299
+ right: 0;
1300
+ top: 0;
1091
1301
  }
1092
1302
 
1093
- .DropFileInput {
1094
- flex-grow: 1;
1095
- }
1096
-
1097
- .DropFileInput .Dropzone {
1098
- border: 1px dashed #808080;
1099
- padding: 12px;
1100
- display: flex;
1101
- flex-flow: row nowrap;
1102
- justify-content: center;
1103
- align-items: center;
1104
- color: gray;
1105
- cursor: pointer;
1106
- border-radius: 3px;
1107
- font-weight: normal;
1108
- line-height: 22px;
1109
- font-size: 14px;
1110
- color: #7E7E7E;
1111
- max-width: 100%;
1112
- word-break: break-all;
1113
- word-break: break-word;
1114
- }
1115
-
1116
- .DropFileInput .Dropzone .icon.withText {
1117
- margin-right: 10px;
1118
- }
1119
-
1120
- .ModalMenu {
1121
- position: absolute;
1122
- top: 10px;
1123
- right: 50px;
1124
- }
1125
-
1126
- .ModalMenu .material-icons {
1127
- color: #818181;
1128
- }
1129
-
1130
- .ModalMenu .Button.animated {
1131
- position: absolute;
1132
- transition: opacity 150ms ease-in, right 200ms ease-in;
1133
- opacity: 0;
1134
- right: 0;
1135
- top: 0;
1136
- }
1137
-
1138
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1139
- opacity: 1;
1303
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1304
+ opacity: 1;
1140
1305
  }
1141
1306
 
1142
1307
  .ModalMenu .Button.animated.unmounting {
@@ -1154,214 +1319,86 @@
1154
1319
  margin-left: 4px;
1155
1320
  }
1156
1321
 
1157
- .Modal {
1158
- display: block;
1159
- position: fixed;
1160
- top: 0;
1161
- left: 0;
1162
- right: 0;
1163
- bottom: 100%;
1164
- overflow-y: scroll;
1165
- transition: bottom 0ms linear;
1166
- transition-delay: 0.2s;
1167
- }
1168
-
1169
- .Modal.show {
1170
- transition-delay: 0s;
1171
- bottom: 0;
1172
- }
1173
-
1174
- .Modal > .overlay {
1175
- position: fixed;
1176
- top: 0;
1177
- bottom: 100%;
1178
- left: 0;
1179
- right: 0;
1180
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1181
- opacity: 0;
1182
- background-color: black;
1183
- pointer-events: none;
1322
+ .Switch {
1323
+ display: inline-flex;
1324
+ padding-top: 5px;
1184
1325
  }
1185
1326
 
1186
- .Modal > .overlay.show {
1187
- opacity: 0.5;
1188
- bottom: 0;
1327
+ .Switch .switch-input {
1328
+ display: none;
1189
1329
  }
1190
1330
 
1191
- .Modal > .content {
1192
- left: 50%;
1193
- top: 10vh;
1194
- margin-bottom: 10vh;
1195
- font-size: 16px;
1331
+ .Switch .switch-label {
1332
+ position: relative;
1333
+ display: inline-flex;
1334
+ align-items: center;
1335
+ min-width: 38px;
1336
+ height: 24px;
1337
+ cursor: pointer;
1338
+ font-weight: 500;
1339
+ text-align: left;
1340
+ user-select: none;
1341
+ margin: 0;
1196
1342
  padding: 0;
1197
- opacity: 0;
1198
- transition: opacity 0.25s ease, transform 0.25s ease;
1199
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1200
- transform-origin: top;
1201
- position: absolute;
1202
- border-radius: 2px;
1203
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1204
- }
1205
-
1206
- .Modal > .content.show {
1207
- opacity: 1;
1208
- transform: scaleY(1) translateY(0px) translateX(-50%);
1209
- }
1210
-
1211
- .Modal > .content > .Scrollable {
1212
- overflow: visible;
1213
- max-height: 80vh;
1214
- }
1215
-
1216
- .Modal > .content > .Scrollable > .viewport {
1217
- min-width: 10px;
1218
- min-height: 10px;
1343
+ padding-left: 44px;
1344
+ box-sizing: border-box;
1219
1345
  }
1220
1346
 
1221
- .Modal > .content > .Button.close {
1222
- top: 10px;
1223
- right: 10px;
1347
+ .Switch .switch-label:before, .Switch .switch-label:after {
1348
+ content: "";
1349
+ box-sizing: border-box;
1224
1350
  position: absolute;
1351
+ margin: 0;
1352
+ outline: 0;
1353
+ top: 50%;
1354
+ transform: translate(0, -50%);
1355
+ transition: all 0.3s ease;
1225
1356
  }
1226
1357
 
1227
- .Scrollable {
1228
- max-height: 250px;
1229
- max-width: 250px;
1230
- padding-right: 5px;
1231
- position: relative;
1232
- display: flex;
1233
- flex-flow: column;
1234
- align-items: stretch;
1235
- overflow: hidden;
1236
- }
1237
-
1238
- .Scrollable:hover > .scrollbar.auto {
1239
- transition-delay: 0s;
1240
- opacity: 1;
1358
+ .Switch .switch-label:before {
1359
+ left: 1px;
1360
+ width: 34px;
1361
+ height: 14px;
1362
+ background-color: #9E9E9E;
1363
+ border-radius: 8px;
1241
1364
  }
1242
1365
 
1243
- .Scrollable .viewport {
1244
- overflow-y: scroll;
1245
- overflow-x: scroll;
1246
- max-height: 100%;
1247
- scroll-behavior: smooth;
1248
- scrollbar-width: none;
1366
+ .Switch .switch-label:after {
1367
+ left: 0;
1368
+ width: 20px;
1369
+ height: 20px;
1370
+ background-color: #FAFAFA;
1371
+ border-radius: 50%;
1372
+ 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);
1249
1373
  }
1250
1374
 
1251
- .Scrollable .viewport::-webkit-scrollbar {
1375
+ .Switch .switch-label .toggle--on {
1252
1376
  display: none;
1253
1377
  }
1254
1378
 
1255
- .Scrollable.without-scroll-horizontal {
1256
- max-width: unset;
1257
- }
1258
-
1259
- .Scrollable.without-scroll {
1260
- padding-right: 0;
1261
- max-height: unset;
1262
- }
1263
-
1264
- .Scrollable.without-scroll > .viewport {
1265
- padding-right: 0;
1266
- margin-right: 0;
1267
- }
1268
-
1269
- .Scrollable.without-scroll > .scrollbar {
1270
- visibility: hidden;
1271
- }
1272
-
1273
- .Scrollable .scrollbar {
1274
- position: absolute;
1275
- right: 0px;
1276
- top: 0px;
1277
- width: 5px;
1278
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1279
- transition-delay: 0.5s;
1280
- z-index: 1;
1281
- }
1282
-
1283
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1284
- opacity: 0;
1285
- }
1286
-
1287
- .Scrollable .scrollbar .thumb {
1288
- background-color: rgba(0, 0, 0, 0.3);
1289
- width: 5px;
1290
- position: absolute;
1291
- right: 0px;
1292
- top: 0px;
1293
- user-select: none;
1294
- will-change: top;
1295
- border-radius: 2px;
1296
- }
1297
-
1298
- .Scrollable .scrollbar .thumb:hover {
1299
- background-color: rgba(0, 0, 0, 0.5);
1300
- }
1301
-
1302
- .Scrollable .scrollbar .thumb:active {
1303
- background-color: rgba(0, 0, 0, 0.7);
1304
- }
1305
-
1306
- .Scrollable .scrollbar.horizontal {
1307
- left: 0px;
1308
- right: 0px;
1309
- height: 5px;
1310
- bottom: 0;
1311
- width: unset;
1312
- top: unset;
1313
- }
1314
-
1315
- .Scrollable .scrollbar.horizontal .thumb {
1316
- height: 5px;
1317
- left: 0px;
1318
- bottom: 0px;
1319
- will-change: left;
1379
+ .Switch .switch-label .toggle--off {
1380
+ display: inline-block;
1320
1381
  }
1321
1382
 
1322
- .Snackbar {
1323
- transform: translateX(-50%);
1324
- overflow: hidden;
1325
- background-color: #323232;
1326
- padding: 14px 24px 14px 24px;
1327
- color: #fff;
1328
- min-width: 288px;
1329
- max-width: 568px;
1330
- position: fixed;
1331
- bottom: -50px;
1332
- left: 50%;
1333
- display: flex;
1334
- flex-wrap: nowrap;
1335
- align-items: center;
1336
- opacity: 0;
1337
- transition: bottom 0.25s ease, opacity 0.2s ease;
1338
- border-radius: 4px;
1339
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1383
+ .Switch .switch-label .label {
1384
+ margin-right: 5px;
1340
1385
  }
1341
1386
 
1342
- .Snackbar.shown {
1343
- bottom: 15px;
1344
- opacity: 1;
1387
+ .Switch .switch-input:checked + .switch-label:before {
1388
+ background-color: #A5D6A7;
1345
1389
  }
1346
1390
 
1347
- .Snackbar .message {
1348
- overflow: hidden;
1349
- line-height: 1.2em;
1350
- min-height: 1.2em;
1351
- max-height: 2.4em;
1352
- flex: 1;
1391
+ .Switch .switch-input:checked + .switch-label:after {
1392
+ background-color: #4CAF50;
1393
+ transform: translate(80%, -50%);
1353
1394
  }
1354
1395
 
1355
- .Snackbar .action {
1356
- text-transform: uppercase;
1357
- font-weight: bold;
1358
- margin-left: 48px;
1359
- color: #bf3727;
1396
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1397
+ display: inline-block;
1360
1398
  }
1361
1399
 
1362
- .Snackbar .action a {
1363
- text-decoration: none;
1364
- color: #bf3727;
1400
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1401
+ display: none;
1365
1402
  }
1366
1403
 
1367
1404
  .TextField {
@@ -1456,55 +1493,179 @@
1456
1493
  border-bottom-color: #f44336;
1457
1494
  }
1458
1495
 
1459
- .TextField.errored > label {
1460
- color: #f44336;
1496
+ .TextField.errored > label {
1497
+ color: #f44336;
1498
+ }
1499
+
1500
+ .TextField.focused > label {
1501
+ color: #00bcd4;
1502
+ }
1503
+
1504
+ .TextField.focused > .border .line {
1505
+ left: 0;
1506
+ width: 100%;
1507
+ }
1508
+
1509
+ .TextField.disabled label, .TextField.disabled input {
1510
+ cursor: not-allowed;
1511
+ }
1512
+
1513
+ .TextField.withLabel {
1514
+ margin-top: 15px;
1515
+ }
1516
+
1517
+ .TextField input::-webkit-contacts-auto-fill-button {
1518
+ visibility: hidden;
1519
+ display: none !important;
1520
+ pointer-events: none;
1521
+ position: absolute;
1522
+ right: 0;
1523
+ }
1524
+
1525
+ .TextField input:-webkit-autofill {
1526
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1527
+ }
1528
+
1529
+ @keyframes shake {
1530
+ 0%, 100% {
1531
+ transform: translateX(0);
1532
+ }
1533
+ 20%, 60% {
1534
+ transform: translateX(-5px);
1535
+ }
1536
+ 40%, 80% {
1537
+ transform: translateX(5px);
1538
+ }
1539
+ }
1540
+ .TextField .shake {
1541
+ animation-duration: 0.5s;
1542
+ animation-fill-mode: both;
1543
+ animation-timing-function: ease-in-out;
1544
+ animation-name: shake;
1545
+ }
1546
+
1547
+ .DNDContainer .DroppableList .Draggable {
1548
+ transform: unset;
1549
+ transition: unset;
1550
+ opacity: 1;
1551
+ }
1552
+
1553
+ .DNDContainer .DroppableList .Draggable.dragged {
1554
+ transition: unset !important;
1555
+ }
1556
+
1557
+ .DNDContainer .DroppableList.hover .Draggable {
1558
+ transition: transform 0.2s ease-in;
1559
+ }
1560
+
1561
+ .DNDContainer .DroppableList.resetting .Draggable {
1562
+ transition: transform 0.1s ease-in;
1563
+ }
1564
+
1565
+ .SpinningProgress {
1566
+ width: 48px;
1567
+ height: 48px;
1568
+ position: relative;
1569
+ margin: 0 auto;
1570
+ }
1571
+
1572
+ .SpinningProgress:before {
1573
+ content: "";
1574
+ display: block;
1575
+ padding-top: 100%;
1576
+ }
1577
+
1578
+ .SpinningProgress .circular {
1579
+ animation: rotate 2s linear infinite;
1580
+ height: 100%;
1581
+ transform-origin: center center;
1582
+ width: 100%;
1583
+ position: absolute;
1584
+ top: 0;
1585
+ bottom: 0;
1586
+ left: 0;
1587
+ right: 0;
1588
+ margin: auto;
1589
+ }
1590
+
1591
+ .SpinningProgress .line {
1592
+ stroke: black;
1593
+ stroke-width: 2px;
1594
+ stroke-dasharray: 1, 96;
1595
+ stroke-dashoffset: 0;
1596
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1597
+ }
1598
+
1599
+ @keyframes rotate {
1600
+ 100% {
1601
+ transform: rotate(360deg);
1602
+ }
1461
1603
  }
1462
-
1463
- .TextField.focused > label {
1464
- color: #00bcd4;
1604
+ @keyframes dash {
1605
+ 0% {
1606
+ stroke-dasharray: 1, 96;
1607
+ stroke-dashoffset: 0;
1608
+ }
1609
+ 50% {
1610
+ stroke-dasharray: 43, 96;
1611
+ stroke-dashoffset: -17px;
1612
+ }
1613
+ 100% {
1614
+ stroke-dasharray: 43, 96;
1615
+ stroke-dashoffset: -53px;
1616
+ }
1465
1617
  }
1466
-
1467
- .TextField.focused > .border .line {
1468
- left: 0;
1469
- width: 100%;
1618
+ .ScrollableTable .Scrollable .scrollbar {
1619
+ top: 56px;
1470
1620
  }
1471
1621
 
1472
- .TextField.disabled label, .TextField.disabled input {
1473
- cursor: not-allowed;
1622
+ .ScrollableTable .Table {
1623
+ position: static;
1474
1624
  }
1475
1625
 
1476
- .TextField.withLabel {
1477
- margin-top: 15px;
1626
+ .Snackbar {
1627
+ transform: translateX(-50%);
1628
+ overflow: hidden;
1629
+ background-color: #323232;
1630
+ padding: 14px 24px 14px 24px;
1631
+ color: #fff;
1632
+ min-width: 288px;
1633
+ max-width: 568px;
1634
+ position: fixed;
1635
+ bottom: -50px;
1636
+ left: 50%;
1637
+ display: flex;
1638
+ flex-wrap: nowrap;
1639
+ align-items: center;
1640
+ opacity: 0;
1641
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1642
+ border-radius: 4px;
1643
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1478
1644
  }
1479
1645
 
1480
- .TextField input::-webkit-contacts-auto-fill-button {
1481
- visibility: hidden;
1482
- display: none !important;
1483
- pointer-events: none;
1484
- position: absolute;
1485
- right: 0;
1646
+ .Snackbar.shown {
1647
+ bottom: 15px;
1648
+ opacity: 1;
1486
1649
  }
1487
1650
 
1488
- .TextField input:-webkit-autofill {
1489
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1651
+ .Snackbar .message {
1652
+ overflow: hidden;
1653
+ line-height: 1.2em;
1654
+ min-height: 1.2em;
1655
+ max-height: 2.4em;
1656
+ flex: 1;
1490
1657
  }
1491
1658
 
1492
- @keyframes shake {
1493
- 0%, 100% {
1494
- transform: translateX(0);
1495
- }
1496
- 20%, 60% {
1497
- transform: translateX(-5px);
1498
- }
1499
- 40%, 80% {
1500
- transform: translateX(5px);
1501
- }
1659
+ .Snackbar .action {
1660
+ text-transform: uppercase;
1661
+ font-weight: bold;
1662
+ margin-left: 48px;
1663
+ color: #bf3727;
1502
1664
  }
1503
- .TextField .shake {
1504
- animation-duration: 0.5s;
1505
- animation-fill-mode: both;
1506
- animation-timing-function: ease-in-out;
1507
- animation-name: shake;
1665
+
1666
+ .Snackbar .action a {
1667
+ text-decoration: none;
1668
+ color: #bf3727;
1508
1669
  }
1509
1670
 
1510
1671
  .Table {
@@ -1619,166 +1780,4 @@
1619
1780
  height: 20px;
1620
1781
  padding: 0px;
1621
1782
  background-color: #f0f0f0;
1622
- }
1623
-
1624
- .DNDContainer .DroppableList .Draggable {
1625
- transform: unset;
1626
- transition: unset;
1627
- opacity: 1;
1628
- }
1629
-
1630
- .DNDContainer .DroppableList .Draggable.dragged {
1631
- transition: unset !important;
1632
- }
1633
-
1634
- .DNDContainer .DroppableList.hover .Draggable {
1635
- transition: transform 0.2s ease-in;
1636
- }
1637
-
1638
- .DNDContainer .DroppableList.resetting .Draggable {
1639
- transition: transform 0.1s ease-in;
1640
- }
1641
-
1642
- .Switch {
1643
- display: inline-flex;
1644
- padding-top: 5px;
1645
- }
1646
-
1647
- .Switch .switch-input {
1648
- display: none;
1649
- }
1650
-
1651
- .Switch .switch-label {
1652
- position: relative;
1653
- display: inline-flex;
1654
- align-items: center;
1655
- min-width: 38px;
1656
- height: 24px;
1657
- cursor: pointer;
1658
- font-weight: 500;
1659
- text-align: left;
1660
- user-select: none;
1661
- margin: 0;
1662
- padding: 0;
1663
- padding-left: 44px;
1664
- box-sizing: border-box;
1665
- }
1666
-
1667
- .Switch .switch-label:before, .Switch .switch-label:after {
1668
- content: "";
1669
- box-sizing: border-box;
1670
- position: absolute;
1671
- margin: 0;
1672
- outline: 0;
1673
- top: 50%;
1674
- transform: translate(0, -50%);
1675
- transition: all 0.3s ease;
1676
- }
1677
-
1678
- .Switch .switch-label:before {
1679
- left: 1px;
1680
- width: 34px;
1681
- height: 14px;
1682
- background-color: #9E9E9E;
1683
- border-radius: 8px;
1684
- }
1685
-
1686
- .Switch .switch-label:after {
1687
- left: 0;
1688
- width: 20px;
1689
- height: 20px;
1690
- background-color: #FAFAFA;
1691
- border-radius: 50%;
1692
- 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);
1693
- }
1694
-
1695
- .Switch .switch-label .toggle--on {
1696
- display: none;
1697
- }
1698
-
1699
- .Switch .switch-label .toggle--off {
1700
- display: inline-block;
1701
- }
1702
-
1703
- .Switch .switch-label .label {
1704
- margin-right: 5px;
1705
- }
1706
-
1707
- .Switch .switch-input:checked + .switch-label:before {
1708
- background-color: #A5D6A7;
1709
- }
1710
-
1711
- .Switch .switch-input:checked + .switch-label:after {
1712
- background-color: #4CAF50;
1713
- transform: translate(80%, -50%);
1714
- }
1715
-
1716
- .Switch .switch-input:checked + .switch-label .toggle--on {
1717
- display: inline-block;
1718
- }
1719
-
1720
- .Switch .switch-input:checked + .switch-label .toggle--off {
1721
- display: none;
1722
- }
1723
-
1724
- .ScrollableTable .Scrollable .scrollbar {
1725
- top: 56px;
1726
- }
1727
-
1728
- .ScrollableTable .Table {
1729
- position: static;
1730
- }
1731
-
1732
- .SpinningProgress {
1733
- width: 48px;
1734
- height: 48px;
1735
- position: relative;
1736
- margin: 0 auto;
1737
- }
1738
-
1739
- .SpinningProgress:before {
1740
- content: "";
1741
- display: block;
1742
- padding-top: 100%;
1743
- }
1744
-
1745
- .SpinningProgress .circular {
1746
- animation: rotate 2s linear infinite;
1747
- height: 100%;
1748
- transform-origin: center center;
1749
- width: 100%;
1750
- position: absolute;
1751
- top: 0;
1752
- bottom: 0;
1753
- left: 0;
1754
- right: 0;
1755
- margin: auto;
1756
- }
1757
-
1758
- .SpinningProgress .line {
1759
- stroke: black;
1760
- stroke-width: 2px;
1761
- stroke-dasharray: 1, 96;
1762
- stroke-dashoffset: 0;
1763
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1764
- }
1765
-
1766
- @keyframes rotate {
1767
- 100% {
1768
- transform: rotate(360deg);
1769
- }
1770
- }
1771
- @keyframes dash {
1772
- 0% {
1773
- stroke-dasharray: 1, 96;
1774
- stroke-dashoffset: 0;
1775
- }
1776
- 50% {
1777
- stroke-dasharray: 43, 96;
1778
- stroke-dashoffset: -17px;
1779
- }
1780
- 100% {
1781
- stroke-dasharray: 43, 96;
1782
- stroke-dashoffset: -53px;
1783
- }
1784
1783
  }