react-ui-basics 0.0.217 → 0.0.219

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
  .Button {
11
2
  position: relative;
12
3
  min-width: 64px;
@@ -173,6 +164,15 @@
173
164
  border: 0;
174
165
  }
175
166
 
167
+ .animated {
168
+ transition: opacity 250ms ease;
169
+ opacity: 0;
170
+ }
171
+
172
+ .animated.mounting, .animated.mounted {
173
+ opacity: 1;
174
+ }
175
+
176
176
  .AutocompleteSelect {
177
177
  display: inline-flex;
178
178
  flex-flow: column;
@@ -468,6 +468,48 @@
468
468
  position: absolute;
469
469
  }
470
470
 
471
+ .DialogModal {
472
+ overflow: hidden;
473
+ }
474
+
475
+ .DialogModal .content {
476
+ top: 20vh;
477
+ }
478
+
479
+ .Dialog {
480
+ background-color: white;
481
+ min-width: 460px;
482
+ max-width: 40vw;
483
+ padding: 15px;
484
+ }
485
+
486
+ .Dialog .title {
487
+ margin-bottom: 15px;
488
+ padding: 20px 50px 0px 30px;
489
+ font-size: 1.25rem;
490
+ line-height: 2rem;
491
+ font-weight: 400;
492
+ letter-spacing: 0.0125em;
493
+ }
494
+
495
+ .Dialog .description {
496
+ color: rgba(0, 0, 0, 0.54);
497
+ font-size: 1rem;
498
+ line-height: 1.5rem;
499
+ font-weight: 400;
500
+ letter-spacing: 0.03125em;
501
+ margin-top: 20px;
502
+ padding: 0 24px 24px;
503
+ }
504
+
505
+ .Dialog > div.row {
506
+ margin-bottom: 15px;
507
+ }
508
+
509
+ .Dialog > div.row:last-child {
510
+ margin-bottom: 0;
511
+ }
512
+
471
513
  .FilteredList {
472
514
  max-height: 250px;
473
515
  position: relative;
@@ -553,46 +595,74 @@
553
595
  margin-bottom: 8px;
554
596
  }
555
597
 
556
- .DialogModal {
557
- overflow: hidden;
598
+ .Modal {
599
+ display: block;
600
+ position: fixed;
601
+ top: 0;
602
+ left: 0;
603
+ right: 0;
604
+ bottom: 100%;
605
+ overflow-y: scroll;
606
+ transition: bottom 0ms linear;
607
+ transition-delay: 0.2s;
558
608
  }
559
609
 
560
- .DialogModal .content {
561
- top: 20vh;
610
+ .Modal.show {
611
+ transition-delay: 0s;
612
+ bottom: 0;
562
613
  }
563
614
 
564
- .Dialog {
565
- background-color: white;
566
- min-width: 460px;
567
- max-width: 40vw;
568
- padding: 15px;
615
+ .Modal > .overlay {
616
+ position: fixed;
617
+ top: 0;
618
+ bottom: 100%;
619
+ left: 0;
620
+ right: 0;
621
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
622
+ opacity: 0;
623
+ background-color: black;
624
+ pointer-events: none;
569
625
  }
570
626
 
571
- .Dialog .title {
572
- margin-bottom: 15px;
573
- padding: 20px 50px 0px 30px;
574
- font-size: 1.25rem;
575
- line-height: 2rem;
576
- font-weight: 400;
577
- letter-spacing: 0.0125em;
627
+ .Modal > .overlay.show {
628
+ opacity: 0.5;
629
+ bottom: 0;
578
630
  }
579
631
 
580
- .Dialog .description {
581
- color: rgba(0, 0, 0, 0.54);
582
- font-size: 1rem;
583
- line-height: 1.5rem;
584
- font-weight: 400;
585
- letter-spacing: 0.03125em;
586
- margin-top: 20px;
587
- padding: 0 24px 24px;
632
+ .Modal > .content {
633
+ left: 50%;
634
+ top: 10vh;
635
+ margin-bottom: 10vh;
636
+ font-size: 16px;
637
+ padding: 0;
638
+ opacity: 0;
639
+ transition: opacity 0.25s ease, transform 0.25s ease;
640
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
641
+ transform-origin: top;
642
+ position: absolute;
643
+ border-radius: 2px;
644
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
588
645
  }
589
646
 
590
- .Dialog > div.row {
591
- margin-bottom: 15px;
647
+ .Modal > .content.show {
648
+ opacity: 1;
649
+ transform: scaleY(1) translateY(0px) translateX(-50%);
592
650
  }
593
651
 
594
- .Dialog > div.row:last-child {
595
- margin-bottom: 0;
652
+ .Modal > .content > .Scrollable {
653
+ overflow: visible;
654
+ max-height: 80vh;
655
+ }
656
+
657
+ .Modal > .content > .Scrollable > .viewport {
658
+ min-width: 10px;
659
+ min-height: 10px;
660
+ }
661
+
662
+ .Modal > .content > .Button.close {
663
+ top: 10px;
664
+ right: 10px;
665
+ position: absolute;
596
666
  }
597
667
 
598
668
  .ImageGallery {
@@ -830,6 +900,75 @@
830
900
  font-size: 24px;
831
901
  }
832
902
 
903
+ .FormUploadProgress {
904
+ position: absolute;
905
+ left: 0;
906
+ right: 0;
907
+ top: 0;
908
+ bottom: 0;
909
+ background-color: rgba(255, 255, 255, 0.6);
910
+ z-index: 2;
911
+ }
912
+
913
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
914
+ transition-delay: 500ms;
915
+ }
916
+
917
+ .FormUploadProgress .wrapper {
918
+ position: sticky;
919
+ top: 40%;
920
+ margin-top: 40%;
921
+ margin-left: 50%;
922
+ transform: translateX(-50%);
923
+ display: flex;
924
+ flex-flow: column;
925
+ justify-content: center;
926
+ align-items: center;
927
+ }
928
+
929
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
930
+ position: absolute;
931
+ width: 107px;
932
+ height: 107px;
933
+ top: 0;
934
+ left: 0;
935
+ }
936
+
937
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
938
+ stroke: #2196F3;
939
+ }
940
+
941
+ .FormUploadProgress .wrapper > .progress {
942
+ width: 107px;
943
+ height: 107px;
944
+ min-height: 107px;
945
+ display: flex;
946
+ justify-content: center;
947
+ align-items: center;
948
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
949
+ border-radius: 50%;
950
+ background: white;
951
+ position: relative;
952
+ }
953
+
954
+ .FormUploadProgress .wrapper > .progress > .value {
955
+ display: inline-block;
956
+ margin-top: 5px;
957
+ font-weight: bold;
958
+ line-height: 16px;
959
+ font-size: 13px;
960
+ text-align: center;
961
+ color: #818181;
962
+ }
963
+
964
+ .FormUploadProgress .wrapper .cancel {
965
+ min-width: 107px;
966
+ margin-top: 20px;
967
+ background-color: white;
968
+ color: #F96B5C;
969
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
970
+ }
971
+
833
972
  .Scrollable {
834
973
  max-height: 250px;
835
974
  max-width: 250px;
@@ -929,161 +1068,22 @@
929
1068
  will-change: left;
930
1069
  }
931
1070
 
932
- .FormUploadProgress {
933
- position: absolute;
934
- left: 0;
935
- right: 0;
936
- top: 0;
937
- bottom: 0;
938
- background-color: rgba(255, 255, 255, 0.6);
939
- z-index: 2;
940
- }
941
-
942
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
943
- transition-delay: 500ms;
944
- }
945
-
946
- .FormUploadProgress .wrapper {
947
- position: sticky;
948
- top: 40%;
949
- margin-top: 40%;
950
- margin-left: 50%;
951
- transform: translateX(-50%);
952
- display: flex;
953
- flex-flow: column;
954
- justify-content: center;
955
- align-items: center;
1071
+ .TextField {
1072
+ position: relative;
1073
+ width: 100%;
956
1074
  }
957
1075
 
958
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1076
+ .TextField > label {
1077
+ font-family: Roboto, sans-serif;
1078
+ color: rgba(0, 0, 0, 0.3);
1079
+ font-size: 16px;
959
1080
  position: absolute;
960
- width: 107px;
961
- height: 107px;
962
- top: 0;
963
- left: 0;
964
- }
965
-
966
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
967
- stroke: #2196F3;
968
- }
969
-
970
- .FormUploadProgress .wrapper > .progress {
971
- width: 107px;
972
- height: 107px;
973
- min-height: 107px;
974
- display: flex;
975
- justify-content: center;
976
- align-items: center;
977
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
978
- border-radius: 50%;
979
- background: white;
980
- position: relative;
981
- }
982
-
983
- .FormUploadProgress .wrapper > .progress > .value {
984
- display: inline-block;
985
- margin-top: 5px;
986
- font-weight: bold;
987
- line-height: 16px;
988
- font-size: 13px;
989
- text-align: center;
990
- color: #818181;
991
- }
992
-
993
- .FormUploadProgress .wrapper .cancel {
994
- min-width: 107px;
995
- margin-top: 20px;
996
- background-color: white;
997
- color: #F96B5C;
998
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
999
- }
1000
-
1001
- .Modal {
1002
- display: block;
1003
- position: fixed;
1004
- top: 0;
1005
- left: 0;
1006
- right: 0;
1007
- bottom: 100%;
1008
- overflow-y: scroll;
1009
- transition: bottom 0ms linear;
1010
- transition-delay: 0.2s;
1011
- }
1012
-
1013
- .Modal.show {
1014
- transition-delay: 0s;
1015
- bottom: 0;
1016
- }
1017
-
1018
- .Modal > .overlay {
1019
- position: fixed;
1020
- top: 0;
1021
- bottom: 100%;
1022
- left: 0;
1023
- right: 0;
1024
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1025
- opacity: 0;
1026
- background-color: black;
1027
- pointer-events: none;
1028
- }
1029
-
1030
- .Modal > .overlay.show {
1031
- opacity: 0.5;
1032
- bottom: 0;
1033
- }
1034
-
1035
- .Modal > .content {
1036
- left: 50%;
1037
- top: 10vh;
1038
- margin-bottom: 10vh;
1039
- font-size: 16px;
1040
- padding: 0;
1041
- opacity: 0;
1042
- transition: opacity 0.25s ease, transform 0.25s ease;
1043
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1044
- transform-origin: top;
1045
- position: absolute;
1046
- border-radius: 2px;
1047
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1048
- }
1049
-
1050
- .Modal > .content.show {
1051
- opacity: 1;
1052
- transform: scaleY(1) translateY(0px) translateX(-50%);
1053
- }
1054
-
1055
- .Modal > .content > .Scrollable {
1056
- overflow: visible;
1057
- max-height: 80vh;
1058
- }
1059
-
1060
- .Modal > .content > .Scrollable > .viewport {
1061
- min-width: 10px;
1062
- min-height: 10px;
1063
- }
1064
-
1065
- .Modal > .content > .Button.close {
1066
- top: 10px;
1067
- right: 10px;
1068
- position: absolute;
1069
- }
1070
-
1071
- .TextField {
1072
- position: relative;
1073
- width: 100%;
1074
- }
1075
-
1076
- .TextField > label {
1077
- font-family: Roboto, sans-serif;
1078
- color: rgba(0, 0, 0, 0.3);
1079
- font-size: 16px;
1080
- position: absolute;
1081
- left: 0px;
1082
- top: 16px;
1083
- margin-top: -16px;
1084
- transition: all 0.2s ease;
1085
- user-select: none;
1086
- cursor: text;
1081
+ left: 0px;
1082
+ top: 16px;
1083
+ margin-top: -16px;
1084
+ transition: all 0.2s ease;
1085
+ user-select: none;
1086
+ cursor: text;
1087
1087
  }
1088
1088
 
1089
1089
  .TextField > input {
@@ -1229,29 +1229,17 @@
1229
1229
  transition: transform 0.1s ease-in;
1230
1230
  }
1231
1231
 
1232
- .CalendarMonthView {
1233
- display: flex;
1234
- flex-flow: column nowrap;
1235
- height: 100%;
1236
- }
1237
-
1238
- .CalendarMonthView > .row {
1239
- display: flex;
1240
- flex-flow: row nowrap;
1241
- }
1242
-
1243
- .CalendarMonthView .days {
1244
- flex-grow: 1;
1245
- position: relative;
1246
- }
1247
-
1248
- .CalendarMonthView .day, .CalendarMonthView .header {
1249
- flex-grow: 1;
1250
- flex-basis: 1px;
1232
+ .CircleProgress {
1233
+ width: 48px;
1234
+ height: 48px;
1251
1235
  }
1252
1236
 
1253
- .CalendarMonthView .day {
1254
- height: 100%;
1237
+ .CircleProgress .line {
1238
+ stroke-width: 2px;
1239
+ stroke: black;
1240
+ stroke-linecap: square;
1241
+ fill: none;
1242
+ transition: stroke-dashoffset 0.2s ease;
1255
1243
  }
1256
1244
 
1257
1245
  .Checkbox {
@@ -1321,6 +1309,90 @@
1321
1309
  background: rgba(0, 0, 0, 0.26);
1322
1310
  }
1323
1311
 
1312
+ .CalendarMonthView {
1313
+ display: flex;
1314
+ flex-flow: column nowrap;
1315
+ height: 100%;
1316
+ }
1317
+
1318
+ .CalendarMonthView > .row {
1319
+ display: flex;
1320
+ flex-flow: row nowrap;
1321
+ }
1322
+
1323
+ .CalendarMonthView .days {
1324
+ flex-grow: 1;
1325
+ position: relative;
1326
+ }
1327
+
1328
+ .CalendarMonthView .day, .CalendarMonthView .header {
1329
+ flex-grow: 1;
1330
+ flex-basis: 1px;
1331
+ }
1332
+
1333
+ .CalendarMonthView .day {
1334
+ height: 100%;
1335
+ }
1336
+
1337
+ .DNDContainer {
1338
+ position: relative;
1339
+ }
1340
+
1341
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1342
+ cursor: pointer;
1343
+ }
1344
+
1345
+ .DNDContainer .Draggable.placeholder {
1346
+ opacity: 0.2;
1347
+ }
1348
+
1349
+ .DNDContainer .Draggable.copy {
1350
+ position: absolute;
1351
+ box-sizing: border-box;
1352
+ will-change: transform;
1353
+ opacity: 0;
1354
+ }
1355
+
1356
+ .DNDContainer .Draggable.dragged {
1357
+ z-index: 10;
1358
+ }
1359
+
1360
+ .DNDContainer .overlay {
1361
+ position: absolute;
1362
+ top: 0;
1363
+ left: 0;
1364
+ right: 0;
1365
+ bottom: 0;
1366
+ pointer-events: none;
1367
+ }
1368
+
1369
+ .DropFileInput {
1370
+ flex-grow: 1;
1371
+ }
1372
+
1373
+ .DropFileInput .Dropzone {
1374
+ border: 1px dashed #808080;
1375
+ padding: 12px;
1376
+ display: flex;
1377
+ flex-flow: row nowrap;
1378
+ justify-content: center;
1379
+ align-items: center;
1380
+ color: gray;
1381
+ cursor: pointer;
1382
+ border-radius: 3px;
1383
+ font-weight: normal;
1384
+ line-height: 22px;
1385
+ font-size: 14px;
1386
+ color: #7E7E7E;
1387
+ max-width: 100%;
1388
+ word-break: break-all;
1389
+ word-break: break-word;
1390
+ }
1391
+
1392
+ .DropFileInput .Dropzone .icon.withText {
1393
+ margin-right: 10px;
1394
+ }
1395
+
1324
1396
  .DatePicker {
1325
1397
  position: relative;
1326
1398
  }
@@ -1438,160 +1510,65 @@
1438
1510
  background-color: #51adf6;
1439
1511
  }
1440
1512
 
1441
- .DNDContainer {
1442
- position: relative;
1513
+ .Button.FloatingActionButton {
1514
+ position: absolute;
1515
+ right: 16px;
1516
+ bottom: 16px;
1517
+ width: 56px;
1518
+ height: 56px;
1519
+ padding: 16px;
1520
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1443
1521
  }
1444
1522
 
1445
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1446
- cursor: pointer;
1523
+ .Button.FloatingActionButton.raised {
1524
+ 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);
1447
1525
  }
1448
1526
 
1449
- .DNDContainer .Draggable.placeholder {
1450
- opacity: 0.2;
1527
+ .Button.FloatingActionButton.mini {
1528
+ width: 40px;
1529
+ height: 40px;
1530
+ padding: 8px;
1451
1531
  }
1452
1532
 
1453
- .DNDContainer .Draggable.copy {
1454
- position: absolute;
1455
- box-sizing: border-box;
1456
- will-change: transform;
1457
- opacity: 0;
1458
- }
1459
-
1460
- .DNDContainer .Draggable.dragged {
1461
- z-index: 10;
1533
+ .Button.FloatingActionButton.hidden {
1534
+ bottom: -100px;
1462
1535
  }
1463
1536
 
1464
- .DNDContainer .overlay {
1537
+ .ModalMenu {
1465
1538
  position: absolute;
1466
- top: 0;
1467
- left: 0;
1468
- right: 0;
1469
- bottom: 0;
1470
- pointer-events: none;
1471
- }
1472
-
1473
- .CircleProgress {
1474
- width: 48px;
1475
- height: 48px;
1476
- }
1477
-
1478
- .CircleProgress .line {
1479
- stroke-width: 2px;
1480
- stroke: black;
1481
- stroke-linecap: square;
1482
- fill: none;
1483
- transition: stroke-dashoffset 0.2s ease;
1539
+ top: 10px;
1540
+ right: 50px;
1484
1541
  }
1485
1542
 
1486
- .Dropzone {
1487
- position: relative;
1543
+ .ModalMenu .material-icons {
1544
+ color: #818181;
1488
1545
  }
1489
1546
 
1490
- .Dropzone > .overlay {
1547
+ .ModalMenu .Button.animated {
1491
1548
  position: absolute;
1492
- left: 0;
1493
- right: 0;
1494
- top: 0;
1495
- bottom: 0;
1496
- background-color: #38ADC4;
1497
- z-index: 1;
1549
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1498
1550
  opacity: 0;
1499
- transition: all 0.2s ease;
1500
- transition-delay: 100ms;
1501
- visibility: hidden;
1502
- display: flex;
1503
- justify-content: center;
1504
- align-items: center;
1505
- }
1506
-
1507
- .Dropzone > .overlay .drop {
1508
- border-radius: 4px;
1509
- border: 1px dashed #FFFFFF;
1510
- position: absolute;
1511
- top: 18px;
1512
- left: 18px;
1513
- right: 18px;
1514
- bottom: 18px;
1515
- display: flex;
1516
- justify-content: center;
1517
- align-items: center;
1518
- font-weight: 500;
1519
- font-size: 18px;
1520
- color: #FFFFFF;
1521
- }
1522
-
1523
- .Dropzone.dragging > .overlay {
1524
- opacity: 0.7;
1525
- visibility: visible;
1526
- transition-delay: 0s;
1527
- }
1528
-
1529
- .Dropzone.dragging > * {
1530
- pointer-events: none;
1531
- }
1532
-
1533
- .Dropzone > input.file {
1534
- position: absolute;
1535
- left: 0;
1536
1551
  right: 0;
1537
1552
  top: 0;
1538
- bottom: 0;
1539
- width: 100%;
1540
- height: 100%;
1541
- opacity: 0;
1542
- cursor: pointer;
1543
- z-index: 1;
1544
- }
1545
-
1546
- .DropFileInput {
1547
- flex-grow: 1;
1548
- }
1549
-
1550
- .DropFileInput .Dropzone {
1551
- border: 1px dashed #808080;
1552
- padding: 12px;
1553
- display: flex;
1554
- flex-flow: row nowrap;
1555
- justify-content: center;
1556
- align-items: center;
1557
- color: gray;
1558
- cursor: pointer;
1559
- border-radius: 3px;
1560
- font-weight: normal;
1561
- line-height: 22px;
1562
- font-size: 14px;
1563
- color: #7E7E7E;
1564
- max-width: 100%;
1565
- word-break: break-all;
1566
- word-break: break-word;
1567
- }
1568
-
1569
- .DropFileInput .Dropzone .icon.withText {
1570
- margin-right: 10px;
1571
1553
  }
1572
1554
 
1573
- .Button.FloatingActionButton {
1574
- position: absolute;
1575
- right: 16px;
1576
- bottom: 16px;
1577
- width: 56px;
1578
- height: 56px;
1579
- padding: 16px;
1580
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1555
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1556
+ opacity: 1;
1581
1557
  }
1582
1558
 
1583
- .Button.FloatingActionButton.raised {
1584
- 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);
1559
+ .ModalMenu .Button.animated.unmounting {
1560
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1585
1561
  }
1586
1562
 
1587
- .Button.FloatingActionButton.mini {
1588
- width: 40px;
1589
- height: 40px;
1590
- padding: 8px;
1563
+ .ModalMenu .Button.active {
1564
+ background: #EBEBEB;
1591
1565
  }
1592
1566
 
1593
- .Button.FloatingActionButton.hidden {
1594
- bottom: -100px;
1567
+ .ModalMenu .separator {
1568
+ height: 24px;
1569
+ width: 1px;
1570
+ background-color: #D9D9D9;
1571
+ margin-left: 4px;
1595
1572
  }
1596
1573
 
1597
1574
  .Snackbar {
@@ -1639,125 +1616,119 @@
1639
1616
  color: #bf3727;
1640
1617
  }
1641
1618
 
1642
- .ModalMenu {
1643
- position: absolute;
1644
- top: 10px;
1645
- right: 50px;
1646
- }
1647
-
1648
- .ModalMenu .material-icons {
1649
- color: #818181;
1619
+ .Dropzone {
1620
+ position: relative;
1650
1621
  }
1651
1622
 
1652
- .ModalMenu .Button.animated {
1623
+ .Dropzone > .overlay {
1653
1624
  position: absolute;
1654
- transition: opacity 150ms ease-in, right 200ms ease-in;
1655
- opacity: 0;
1625
+ left: 0;
1656
1626
  right: 0;
1657
1627
  top: 0;
1628
+ bottom: 0;
1629
+ background-color: #38ADC4;
1630
+ z-index: 1;
1631
+ opacity: 0;
1632
+ transition: all 0.2s ease;
1633
+ transition-delay: 100ms;
1634
+ visibility: hidden;
1635
+ display: flex;
1636
+ justify-content: center;
1637
+ align-items: center;
1658
1638
  }
1659
1639
 
1660
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1661
- opacity: 1;
1662
- }
1663
-
1664
- .ModalMenu .Button.animated.unmounting {
1665
- transition: opacity 100ms ease-out, right 200ms ease-out;
1666
- }
1667
-
1668
- .ModalMenu .Button.active {
1669
- background: #EBEBEB;
1670
- }
1671
-
1672
- .ModalMenu .separator {
1673
- height: 24px;
1674
- width: 1px;
1675
- background-color: #D9D9D9;
1676
- margin-left: 4px;
1677
- }
1678
-
1679
- .Switch {
1680
- display: inline-flex;
1681
- padding-top: 5px;
1682
- }
1683
-
1684
- .Switch .switch-input {
1685
- display: none;
1686
- }
1687
-
1688
- .Switch .switch-label {
1689
- position: relative;
1690
- display: inline-flex;
1640
+ .Dropzone > .overlay .drop {
1641
+ border-radius: 4px;
1642
+ border: 1px dashed #FFFFFF;
1643
+ position: absolute;
1644
+ top: 18px;
1645
+ left: 18px;
1646
+ right: 18px;
1647
+ bottom: 18px;
1648
+ display: flex;
1649
+ justify-content: center;
1691
1650
  align-items: center;
1692
- min-width: 38px;
1693
- height: 24px;
1694
- cursor: pointer;
1695
1651
  font-weight: 500;
1696
- text-align: left;
1697
- user-select: none;
1698
- margin: 0;
1699
- padding: 0;
1700
- padding-left: 44px;
1701
- box-sizing: border-box;
1652
+ font-size: 18px;
1653
+ color: #FFFFFF;
1702
1654
  }
1703
1655
 
1704
- .Switch .switch-label:before, .Switch .switch-label:after {
1705
- content: "";
1706
- box-sizing: border-box;
1707
- position: absolute;
1708
- margin: 0;
1709
- outline: 0;
1710
- top: 50%;
1711
- transform: translate(0, -50%);
1712
- transition: all 0.3s ease;
1656
+ .Dropzone.dragging > .overlay {
1657
+ opacity: 0.7;
1658
+ visibility: visible;
1659
+ transition-delay: 0s;
1713
1660
  }
1714
1661
 
1715
- .Switch .switch-label:before {
1716
- left: 1px;
1717
- width: 34px;
1718
- height: 14px;
1719
- background-color: #9E9E9E;
1720
- border-radius: 8px;
1662
+ .Dropzone.dragging > * {
1663
+ pointer-events: none;
1721
1664
  }
1722
1665
 
1723
- .Switch .switch-label:after {
1666
+ .Dropzone > input.file {
1667
+ position: absolute;
1724
1668
  left: 0;
1725
- width: 20px;
1726
- height: 20px;
1727
- background-color: #FAFAFA;
1728
- border-radius: 50%;
1729
- 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);
1730
- }
1731
-
1732
- .Switch .switch-label .toggle--on {
1733
- display: none;
1669
+ right: 0;
1670
+ top: 0;
1671
+ bottom: 0;
1672
+ width: 100%;
1673
+ height: 100%;
1674
+ opacity: 0;
1675
+ cursor: pointer;
1676
+ z-index: 1;
1734
1677
  }
1735
1678
 
1736
- .Switch .switch-label .toggle--off {
1737
- display: inline-block;
1679
+ .SpinningProgress {
1680
+ width: 48px;
1681
+ height: 48px;
1682
+ position: relative;
1683
+ margin: 0 auto;
1738
1684
  }
1739
1685
 
1740
- .Switch .switch-label .label {
1741
- margin-right: 5px;
1686
+ .SpinningProgress:before {
1687
+ content: "";
1688
+ display: block;
1689
+ padding-top: 100%;
1742
1690
  }
1743
1691
 
1744
- .Switch .switch-input:checked + .switch-label:before {
1745
- background-color: #A5D6A7;
1692
+ .SpinningProgress .circular {
1693
+ animation: rotate 2s linear infinite;
1694
+ height: 100%;
1695
+ transform-origin: center center;
1696
+ width: 100%;
1697
+ position: absolute;
1698
+ top: 0;
1699
+ bottom: 0;
1700
+ left: 0;
1701
+ right: 0;
1702
+ margin: auto;
1746
1703
  }
1747
1704
 
1748
- .Switch .switch-input:checked + .switch-label:after {
1749
- background-color: #4CAF50;
1750
- transform: translate(80%, -50%);
1705
+ .SpinningProgress .line {
1706
+ stroke: black;
1707
+ stroke-width: 2px;
1708
+ stroke-dasharray: 1, 96;
1709
+ stroke-dashoffset: 0;
1710
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1751
1711
  }
1752
1712
 
1753
- .Switch .switch-input:checked + .switch-label .toggle--on {
1754
- display: inline-block;
1713
+ @keyframes rotate {
1714
+ 100% {
1715
+ transform: rotate(360deg);
1716
+ }
1755
1717
  }
1756
-
1757
- .Switch .switch-input:checked + .switch-label .toggle--off {
1758
- display: none;
1718
+ @keyframes dash {
1719
+ 0% {
1720
+ stroke-dasharray: 1, 96;
1721
+ stroke-dashoffset: 0;
1722
+ }
1723
+ 50% {
1724
+ stroke-dasharray: 43, 96;
1725
+ stroke-dashoffset: -17px;
1726
+ }
1727
+ 100% {
1728
+ stroke-dasharray: 43, 96;
1729
+ stroke-dashoffset: -53px;
1730
+ }
1759
1731
  }
1760
-
1761
1732
  .ScrollableTable .Scrollable .scrollbar {
1762
1733
  top: 56px;
1763
1734
  }
@@ -1888,56 +1859,84 @@
1888
1859
  margin: 0;
1889
1860
  }
1890
1861
 
1891
- .SpinningProgress {
1892
- width: 48px;
1893
- height: 48px;
1862
+ .Switch {
1863
+ display: inline-flex;
1864
+ padding-top: 5px;
1865
+ }
1866
+
1867
+ .Switch .switch-input {
1868
+ display: none;
1869
+ }
1870
+
1871
+ .Switch .switch-label {
1894
1872
  position: relative;
1895
- margin: 0 auto;
1873
+ display: inline-flex;
1874
+ align-items: center;
1875
+ min-width: 38px;
1876
+ height: 24px;
1877
+ cursor: pointer;
1878
+ font-weight: 500;
1879
+ text-align: left;
1880
+ user-select: none;
1881
+ margin: 0;
1882
+ padding: 0;
1883
+ padding-left: 44px;
1884
+ box-sizing: border-box;
1896
1885
  }
1897
1886
 
1898
- .SpinningProgress:before {
1887
+ .Switch .switch-label:before, .Switch .switch-label:after {
1899
1888
  content: "";
1900
- display: block;
1901
- padding-top: 100%;
1889
+ box-sizing: border-box;
1890
+ position: absolute;
1891
+ margin: 0;
1892
+ outline: 0;
1893
+ top: 50%;
1894
+ transform: translate(0, -50%);
1895
+ transition: all 0.3s ease;
1902
1896
  }
1903
1897
 
1904
- .SpinningProgress .circular {
1905
- animation: rotate 2s linear infinite;
1906
- height: 100%;
1907
- transform-origin: center center;
1908
- width: 100%;
1909
- position: absolute;
1910
- top: 0;
1911
- bottom: 0;
1898
+ .Switch .switch-label:before {
1899
+ left: 1px;
1900
+ width: 34px;
1901
+ height: 14px;
1902
+ background-color: #9E9E9E;
1903
+ border-radius: 8px;
1904
+ }
1905
+
1906
+ .Switch .switch-label:after {
1912
1907
  left: 0;
1913
- right: 0;
1914
- margin: auto;
1908
+ width: 20px;
1909
+ height: 20px;
1910
+ background-color: #FAFAFA;
1911
+ border-radius: 50%;
1912
+ 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);
1915
1913
  }
1916
1914
 
1917
- .SpinningProgress .line {
1918
- stroke: black;
1919
- stroke-width: 2px;
1920
- stroke-dasharray: 1, 96;
1921
- stroke-dashoffset: 0;
1922
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1915
+ .Switch .switch-label .toggle--on {
1916
+ display: none;
1923
1917
  }
1924
1918
 
1925
- @keyframes rotate {
1926
- 100% {
1927
- transform: rotate(360deg);
1928
- }
1919
+ .Switch .switch-label .toggle--off {
1920
+ display: inline-block;
1929
1921
  }
1930
- @keyframes dash {
1931
- 0% {
1932
- stroke-dasharray: 1, 96;
1933
- stroke-dashoffset: 0;
1934
- }
1935
- 50% {
1936
- stroke-dasharray: 43, 96;
1937
- stroke-dashoffset: -17px;
1938
- }
1939
- 100% {
1940
- stroke-dasharray: 43, 96;
1941
- stroke-dashoffset: -53px;
1942
- }
1922
+
1923
+ .Switch .switch-label .label {
1924
+ margin-right: 5px;
1925
+ }
1926
+
1927
+ .Switch .switch-input:checked + .switch-label:before {
1928
+ background-color: #A5D6A7;
1929
+ }
1930
+
1931
+ .Switch .switch-input:checked + .switch-label:after {
1932
+ background-color: #4CAF50;
1933
+ transform: translate(80%, -50%);
1934
+ }
1935
+
1936
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1937
+ display: inline-block;
1938
+ }
1939
+
1940
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1941
+ display: none;
1943
1942
  }