react-ui-basics 0.0.219 → 0.0.220

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.
Files changed (48) hide show
  1. package/Button.d.ts +24 -0
  2. package/Button.js +45 -75
  3. package/Button.js.map +1 -1
  4. package/DNDContainer.js +10 -5
  5. package/DNDContainer.js.map +1 -1
  6. package/DNDDraggable.d.ts +29 -0
  7. package/DNDDraggable.js +27 -44
  8. package/DNDDraggable.js.map +1 -1
  9. package/DNDDroppable.d.ts +28 -0
  10. package/DNDDroppable.js +32 -46
  11. package/DNDDroppable.js.map +1 -1
  12. package/DroppableHorizontalList.js +28 -27
  13. package/DroppableHorizontalList.js.map +1 -1
  14. package/DroppableList.js +29 -34
  15. package/DroppableList.js.map +1 -1
  16. package/Dropzone.js.map +1 -1
  17. package/ReactConstants.js +1 -1
  18. package/ReactConstants.js.map +1 -1
  19. package/ScrollableTable.d.ts +4 -2
  20. package/ScrollableTable.js +5 -6
  21. package/ScrollableTable.js.map +1 -1
  22. package/Table.js +1 -1
  23. package/Table.js.map +1 -1
  24. package/TextField.d.ts +36 -0
  25. package/TextField.js +73 -134
  26. package/TextField.js.map +1 -1
  27. package/Tools.d.ts +1 -1
  28. package/Tools.js +1 -1
  29. package/Tools.js.map +1 -1
  30. package/bundle.css +739 -739
  31. package/package.json +1 -1
  32. package/src/Button.tsx +97 -0
  33. package/src/DNDContainer.tsx +19 -10
  34. package/src/{DNDDraggable.js → DNDDraggable.tsx} +35 -9
  35. package/src/{DNDDroppable.js → DNDDroppable.tsx} +35 -8
  36. package/src/DroppableHorizontalList.js +33 -32
  37. package/src/DroppableList.js +34 -41
  38. package/src/Dropzone.tsx +1 -1
  39. package/src/ReactConstants.ts +5 -3
  40. package/src/ScrollableTable.tsx +7 -7
  41. package/src/Table.tsx +3 -3
  42. package/src/{TextField.js → TextField.tsx} +42 -44
  43. package/src/Tools.ts +2 -2
  44. package/src/store/Store.test.js +1 -1
  45. package/src/store/Store.ts +3 -1
  46. package/store/Store.js +1 -0
  47. package/store/Store.js.map +1 -1
  48. package/src/Button.js +0 -98
package/bundle.css CHANGED
@@ -1,169 +1,3 @@
1
- .Button {
2
- position: relative;
3
- min-width: 64px;
4
- min-height: 36px;
5
- height: 24px;
6
- margin: 0px;
7
- padding: 0px 16px;
8
- border: none;
9
- outline: none;
10
- font-size: 14px;
11
- font-weight: 500;
12
- letter-spacing: 1.25px;
13
- background: #dfdfdf;
14
- text-transform: uppercase;
15
- font-family: Roboto, sans-serif;
16
- -webkit-tap-highlight-color: transparent;
17
- display: inline-flex;
18
- justify-content: center;
19
- align-items: center;
20
- cursor: pointer;
21
- overflow: hidden;
22
- user-select: none;
23
- border-radius: 3px;
24
- transition: all 0.2s ease;
25
- }
26
-
27
- .Button.flat {
28
- background-color: transparent;
29
- }
30
-
31
- .Button.flat:hover {
32
- background-color: rgba(0, 0, 0, 0.05);
33
- }
34
-
35
- .Button.green {
36
- background-color: #43a047;
37
- color: white;
38
- }
39
-
40
- .Button.green:hover {
41
- background-color: #3b8e3f;
42
- }
43
-
44
- .Button.blue {
45
- background-color: #039be5;
46
- color: white;
47
- }
48
-
49
- .Button.blue:hover {
50
- background-color: #038acc;
51
- }
52
-
53
- .Button.red {
54
- background-color: #e53935;
55
- color: white;
56
- }
57
-
58
- .Button.red:hover {
59
- background-color: #e2231e;
60
- }
61
-
62
- .Button.black {
63
- background-color: #1e252d;
64
- color: white;
65
- }
66
-
67
- .Button.black:hover {
68
- background-color: #14181e;
69
- }
70
-
71
- .Button.gray {
72
- background: #D9D9D9;
73
- color: #999999;
74
- }
75
-
76
- .Button.gray:hover {
77
- background-color: #cccccc;
78
- }
79
-
80
- .Button.small {
81
- padding: 0px 8px;
82
- min-height: 16px;
83
- min-width: 16px;
84
- }
85
-
86
- .Button > .material-icons {
87
- margin-right: 10px;
88
- }
89
-
90
- .Button.round {
91
- padding: 0px;
92
- min-width: 36px;
93
- border-radius: 50%;
94
- }
95
-
96
- .Button.round > .material-icons {
97
- margin: 0px;
98
- }
99
-
100
- .Button .ripple {
101
- position: absolute;
102
- background: rgba(0, 0, 0, 0.1);
103
- border-radius: 100%;
104
- transform: scale(0);
105
- pointer-events: none;
106
- transition: opacity 0.2s ease-out;
107
- }
108
-
109
- .Button .ripple.show {
110
- animation: ripple 0.35s ease-out;
111
- }
112
-
113
- .Button:active .ripple.showed {
114
- opacity: 1;
115
- }
116
-
117
- .Button:focus .ripple.focused {
118
- opacity: 1;
119
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
120
- transform: scale(1);
121
- animation: resize 1.25s ease-out infinite;
122
- animation-delay: 0.2s;
123
- animation-direction: alternate;
124
- }
125
-
126
- .Button .ripple.showed {
127
- transform: scale(2);
128
- opacity: 0;
129
- }
130
-
131
- @keyframes ripple {
132
- to {
133
- transform: scale(2);
134
- }
135
- }
136
- @keyframes resize {
137
- to {
138
- transform: scale(0.9);
139
- }
140
- }
141
- .Button.raised {
142
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
143
- }
144
-
145
- .Button.raised:hover {
146
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
147
- }
148
-
149
- .Button.raised:active {
150
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
151
- }
152
-
153
- .Button.disabled {
154
- box-shadow: none;
155
- background: #D9D9D9;
156
- color: #999999;
157
- }
158
-
159
- .Button.disabled:hover {
160
- background-color: #cccccc;
161
- }
162
-
163
- .Button::-moz-focus-inner {
164
- border: 0;
165
- }
166
-
167
1
  .animated {
168
2
  transition: opacity 250ms ease;
169
3
  opacity: 0;
@@ -468,48 +302,6 @@
468
302
  position: absolute;
469
303
  }
470
304
 
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
-
513
305
  .FilteredList {
514
306
  max-height: 250px;
515
307
  position: relative;
@@ -595,44 +387,212 @@
595
387
  margin-bottom: 8px;
596
388
  }
597
389
 
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;
390
+ .Scrollable {
391
+ max-height: 250px;
392
+ max-width: 250px;
393
+ padding-right: 5px;
394
+ position: relative;
395
+ display: flex;
396
+ flex-flow: column;
397
+ align-items: stretch;
398
+ overflow: hidden;
608
399
  }
609
400
 
610
- .Modal.show {
401
+ .Scrollable:hover > .scrollbar.auto {
611
402
  transition-delay: 0s;
612
- bottom: 0;
403
+ opacity: 1;
613
404
  }
614
405
 
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;
406
+ .Scrollable .viewport {
407
+ overflow-y: scroll;
408
+ overflow-x: scroll;
409
+ max-height: 100%;
410
+ scroll-behavior: smooth;
411
+ scrollbar-width: none;
625
412
  }
626
413
 
627
- .Modal > .overlay.show {
628
- opacity: 0.5;
629
- bottom: 0;
414
+ .Scrollable .viewport::-webkit-scrollbar {
415
+ display: none;
630
416
  }
631
417
 
632
- .Modal > .content {
633
- left: 50%;
634
- top: 10vh;
635
- margin-bottom: 10vh;
418
+ .Scrollable.without-scroll-horizontal {
419
+ max-width: unset;
420
+ }
421
+
422
+ .Scrollable.undefined-horizontal {
423
+ max-width: unset;
424
+ }
425
+
426
+ .Scrollable.without-scroll {
427
+ padding-right: 0;
428
+ max-height: unset;
429
+ }
430
+
431
+ .Scrollable.without-scroll > .viewport {
432
+ padding-right: 0;
433
+ margin-right: 0;
434
+ }
435
+
436
+ .Scrollable.without-scroll > .scrollbar {
437
+ visibility: hidden;
438
+ }
439
+
440
+ .Scrollable .scrollbar {
441
+ position: absolute;
442
+ right: 0px;
443
+ top: 0px;
444
+ width: 5px;
445
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
446
+ transition-delay: 0.5s;
447
+ z-index: 1;
448
+ }
449
+
450
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
451
+ opacity: 0;
452
+ }
453
+
454
+ .Scrollable .scrollbar .thumb {
455
+ background-color: rgba(0, 0, 0, 0.3);
456
+ width: 5px;
457
+ position: absolute;
458
+ right: 0px;
459
+ top: 0px;
460
+ user-select: none;
461
+ will-change: top;
462
+ border-radius: 2px;
463
+ }
464
+
465
+ .Scrollable .scrollbar .thumb:hover {
466
+ background-color: rgba(0, 0, 0, 0.5);
467
+ }
468
+
469
+ .Scrollable .scrollbar .thumb:active {
470
+ background-color: rgba(0, 0, 0, 0.7);
471
+ }
472
+
473
+ .Scrollable .scrollbar.horizontal {
474
+ left: 0px;
475
+ right: 0px;
476
+ height: 5px;
477
+ bottom: 0;
478
+ width: unset;
479
+ top: unset;
480
+ }
481
+
482
+ .Scrollable .scrollbar.horizontal .thumb {
483
+ height: 5px;
484
+ left: 0px;
485
+ bottom: 0px;
486
+ will-change: left;
487
+ }
488
+
489
+ .FormUploadProgress {
490
+ position: absolute;
491
+ left: 0;
492
+ right: 0;
493
+ top: 0;
494
+ bottom: 0;
495
+ background-color: rgba(255, 255, 255, 0.6);
496
+ z-index: 2;
497
+ }
498
+
499
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
500
+ transition-delay: 500ms;
501
+ }
502
+
503
+ .FormUploadProgress .wrapper {
504
+ position: sticky;
505
+ top: 40%;
506
+ margin-top: 40%;
507
+ margin-left: 50%;
508
+ transform: translateX(-50%);
509
+ display: flex;
510
+ flex-flow: column;
511
+ justify-content: center;
512
+ align-items: center;
513
+ }
514
+
515
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
516
+ position: absolute;
517
+ width: 107px;
518
+ height: 107px;
519
+ top: 0;
520
+ left: 0;
521
+ }
522
+
523
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
524
+ stroke: #2196F3;
525
+ }
526
+
527
+ .FormUploadProgress .wrapper > .progress {
528
+ width: 107px;
529
+ height: 107px;
530
+ min-height: 107px;
531
+ display: flex;
532
+ justify-content: center;
533
+ align-items: center;
534
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
535
+ border-radius: 50%;
536
+ background: white;
537
+ position: relative;
538
+ }
539
+
540
+ .FormUploadProgress .wrapper > .progress > .value {
541
+ display: inline-block;
542
+ margin-top: 5px;
543
+ font-weight: bold;
544
+ line-height: 16px;
545
+ font-size: 13px;
546
+ text-align: center;
547
+ color: #818181;
548
+ }
549
+
550
+ .FormUploadProgress .wrapper .cancel {
551
+ min-width: 107px;
552
+ margin-top: 20px;
553
+ background-color: white;
554
+ color: #F96B5C;
555
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
556
+ }
557
+
558
+ .Modal {
559
+ display: block;
560
+ position: fixed;
561
+ top: 0;
562
+ left: 0;
563
+ right: 0;
564
+ bottom: 100%;
565
+ overflow-y: scroll;
566
+ transition: bottom 0ms linear;
567
+ transition-delay: 0.2s;
568
+ }
569
+
570
+ .Modal.show {
571
+ transition-delay: 0s;
572
+ bottom: 0;
573
+ }
574
+
575
+ .Modal > .overlay {
576
+ position: fixed;
577
+ top: 0;
578
+ bottom: 100%;
579
+ left: 0;
580
+ right: 0;
581
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
582
+ opacity: 0;
583
+ background-color: black;
584
+ pointer-events: none;
585
+ }
586
+
587
+ .Modal > .overlay.show {
588
+ opacity: 0.5;
589
+ bottom: 0;
590
+ }
591
+
592
+ .Modal > .content {
593
+ left: 50%;
594
+ top: 10vh;
595
+ margin-bottom: 10vh;
636
596
  font-size: 16px;
637
597
  padding: 0;
638
598
  opacity: 0;
@@ -665,6 +625,48 @@
665
625
  position: absolute;
666
626
  }
667
627
 
628
+ .DialogModal {
629
+ overflow: hidden;
630
+ }
631
+
632
+ .DialogModal .content {
633
+ top: 20vh;
634
+ }
635
+
636
+ .Dialog {
637
+ background-color: white;
638
+ min-width: 460px;
639
+ max-width: 40vw;
640
+ padding: 15px;
641
+ }
642
+
643
+ .Dialog .title {
644
+ margin-bottom: 15px;
645
+ padding: 20px 50px 0px 30px;
646
+ font-size: 1.25rem;
647
+ line-height: 2rem;
648
+ font-weight: 400;
649
+ letter-spacing: 0.0125em;
650
+ }
651
+
652
+ .Dialog .description {
653
+ color: rgba(0, 0, 0, 0.54);
654
+ font-size: 1rem;
655
+ line-height: 1.5rem;
656
+ font-weight: 400;
657
+ letter-spacing: 0.03125em;
658
+ margin-top: 20px;
659
+ padding: 0 24px 24px;
660
+ }
661
+
662
+ .Dialog > div.row {
663
+ margin-bottom: 15px;
664
+ }
665
+
666
+ .Dialog > div.row:last-child {
667
+ margin-bottom: 0;
668
+ }
669
+
668
670
  .ImageGallery {
669
671
  position: fixed;
670
672
  top: 0;
@@ -900,470 +902,442 @@
900
902
  font-size: 24px;
901
903
  }
902
904
 
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;
905
+ .DNDContainer .DroppableList .Draggable {
906
+ transform: unset;
907
+ transition: unset;
908
+ opacity: 1;
911
909
  }
912
910
 
913
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
914
- transition-delay: 500ms;
911
+ .DNDContainer .DroppableList .Draggable.dragged {
912
+ transition: unset !important;
915
913
  }
916
914
 
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;
915
+ .DNDContainer .DroppableList.hover .Draggable {
916
+ transition: transform 0.2s ease-in;
927
917
  }
928
918
 
929
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
930
- position: absolute;
931
- width: 107px;
932
- height: 107px;
933
- top: 0;
934
- left: 0;
919
+ .DNDContainer .DroppableList.resetting .Draggable {
920
+ transition: transform 0.1s ease-in;
935
921
  }
936
922
 
937
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
938
- stroke: #2196F3;
923
+ .Checkbox {
924
+ position: relative;
925
+ white-space: pre;
939
926
  }
940
927
 
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;
928
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
929
+ box-sizing: border-box;
952
930
  }
953
931
 
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;
932
+ .Checkbox label {
933
+ font-family: Roboto, sans-serif;
934
+ font-size: 14px;
935
+ color: #1e252d;
936
+ cursor: pointer;
962
937
  }
963
938
 
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);
939
+ .Checkbox label:before, .Checkbox label:after {
940
+ content: "";
941
+ position: absolute;
942
+ left: 0;
943
+ top: 0;
970
944
  }
971
945
 
972
- .Scrollable {
973
- max-height: 250px;
974
- max-width: 250px;
975
- padding-right: 5px;
976
- position: relative;
977
- display: flex;
978
- flex-flow: column;
979
- align-items: stretch;
980
- overflow: hidden;
946
+ .Checkbox label:before {
947
+ width: 20px;
948
+ height: 20px;
949
+ background: #fff;
950
+ border: 2px solid #252525;
951
+ border-radius: 2px;
952
+ cursor: pointer;
953
+ transition: background 0.3s;
981
954
  }
982
955
 
983
- .Scrollable:hover > .scrollbar.auto {
984
- transition-delay: 0s;
985
- opacity: 1;
956
+ .Checkbox input[type=checkbox] {
957
+ outline: 0;
958
+ margin-right: 10px;
959
+ visibility: hidden;
986
960
  }
987
961
 
988
- .Scrollable .viewport {
989
- overflow-y: scroll;
990
- overflow-x: scroll;
991
- max-height: 100%;
992
- scroll-behavior: smooth;
993
- scrollbar-width: none;
962
+ .Checkbox input[type=checkbox]:checked + label:before {
963
+ background: #4AC263;
964
+ border: none;
994
965
  }
995
966
 
996
- .Scrollable .viewport::-webkit-scrollbar {
997
- display: none;
967
+ .Checkbox input[type=checkbox]:checked + label:after {
968
+ transform: rotate(-45deg);
969
+ top: 6px;
970
+ left: 4px;
971
+ width: 12px;
972
+ height: 6px;
973
+ border: 2px solid #fff;
974
+ border-top-style: none;
975
+ border-right-style: none;
998
976
  }
999
977
 
1000
- .Scrollable.without-scroll-horizontal {
1001
- max-width: unset;
978
+ .Checkbox input[type=checkbox]:disabled + label {
979
+ color: gray;
1002
980
  }
1003
981
 
1004
- .Scrollable.undefined-horizontal {
1005
- max-width: unset;
982
+ .Checkbox input[type=checkbox]:disabled + label:before {
983
+ border-color: rgba(0, 0, 0, 0.26);
1006
984
  }
1007
985
 
1008
- .Scrollable.without-scroll {
1009
- padding-right: 0;
1010
- max-height: unset;
986
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
987
+ background: rgba(0, 0, 0, 0.26);
1011
988
  }
1012
989
 
1013
- .Scrollable.without-scroll > .viewport {
1014
- padding-right: 0;
1015
- margin-right: 0;
990
+ .CircleProgress {
991
+ width: 48px;
992
+ height: 48px;
1016
993
  }
1017
994
 
1018
- .Scrollable.without-scroll > .scrollbar {
1019
- visibility: hidden;
995
+ .CircleProgress .line {
996
+ stroke-width: 2px;
997
+ stroke: black;
998
+ stroke-linecap: square;
999
+ fill: none;
1000
+ transition: stroke-dashoffset 0.2s ease;
1020
1001
  }
1021
1002
 
1022
- .Scrollable .scrollbar {
1023
- position: absolute;
1024
- right: 0px;
1025
- top: 0px;
1026
- width: 5px;
1027
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1028
- transition-delay: 0.5s;
1029
- z-index: 1;
1003
+ .DatePicker {
1004
+ position: relative;
1030
1005
  }
1031
1006
 
1032
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1033
- opacity: 0;
1007
+ .DatePicker > .TextField {
1008
+ width: 200px;
1009
+ margin-bottom: 0px;
1034
1010
  }
1035
1011
 
1036
- .Scrollable .scrollbar .thumb {
1037
- background-color: rgba(0, 0, 0, 0.3);
1038
- width: 5px;
1039
- position: absolute;
1040
- right: 0px;
1041
- top: 0px;
1042
- user-select: none;
1043
- will-change: top;
1044
- border-radius: 2px;
1012
+ .DatePicker > .TextField input {
1013
+ text-align: center;
1045
1014
  }
1046
1015
 
1047
- .Scrollable .scrollbar .thumb:hover {
1048
- background-color: rgba(0, 0, 0, 0.5);
1016
+ .calendar {
1017
+ user-select: none;
1018
+ position: absolute;
1019
+ top: 33px;
1020
+ z-index: 10;
1021
+ 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);
1022
+ border-radius: 4px;
1023
+ overflow: hidden;
1024
+ transition: 0.2s all ease;
1025
+ opacity: 0;
1026
+ visibility: hidden;
1049
1027
  }
1050
1028
 
1051
- .Scrollable .scrollbar .thumb:active {
1052
- background-color: rgba(0, 0, 0, 0.7);
1029
+ .calendar.focused {
1030
+ opacity: 1;
1031
+ visibility: visible;
1053
1032
  }
1054
1033
 
1055
- .Scrollable .scrollbar.horizontal {
1056
- left: 0px;
1057
- right: 0px;
1058
- height: 5px;
1059
- bottom: 0;
1060
- width: unset;
1061
- top: unset;
1034
+ .calendar .monthSelect {
1035
+ align-items: center;
1036
+ margin-bottom: 0;
1037
+ background: white;
1038
+ font-size: 12px;
1039
+ color: rgb(170, 170, 170);
1040
+ padding-right: 16px;
1041
+ padding-left: 16px;
1042
+ height: 40px;
1062
1043
  }
1063
1044
 
1064
- .Scrollable .scrollbar.horizontal .thumb {
1065
- height: 5px;
1066
- left: 0px;
1067
- bottom: 0px;
1068
- will-change: left;
1045
+ .calendar .monthSelect span {
1046
+ margin-right: auto;
1069
1047
  }
1070
1048
 
1071
- .TextField {
1072
- position: relative;
1073
- width: 100%;
1049
+ .calendar .monthSelect .Button {
1050
+ min-width: 25px;
1051
+ min-height: 25px;
1074
1052
  }
1075
1053
 
1076
- .TextField > label {
1077
- font-family: Roboto, sans-serif;
1078
- color: rgba(0, 0, 0, 0.3);
1054
+ .calendar .monthSelect .Button .material-icons {
1079
1055
  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;
1087
1056
  }
1088
1057
 
1089
- .TextField > input {
1090
- font-family: Roboto, sans-serif;
1091
- color: #1e252d;
1092
- height: 19px;
1093
- font-size: 16px;
1094
- width: 100%;
1095
- border: 0px;
1096
- padding-bottom: 4px;
1097
- padding-top: 0;
1098
- outline-color: rgba(0, 0, 0, 0);
1058
+ .calendar .monthSelect .Button.disabled {
1059
+ background: transparent;
1099
1060
  }
1100
1061
 
1101
- .TextField > input:focus {
1102
- outline: none;
1062
+ .calendar .CalendarMonthView {
1063
+ background: white;
1103
1064
  }
1104
1065
 
1105
- .TextField > input:disabled {
1106
- color: gray;
1107
- background-color: white;
1066
+ .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
1067
+ margin-bottom: 0;
1108
1068
  }
1109
1069
 
1110
- .TextField > input:disabled + .border {
1111
- height: 0px;
1112
- border-bottom: 2px dotted rgb(224, 224, 224);
1070
+ .calendar .CalendarMonthView .header {
1071
+ font-size: 12px;
1072
+ font-weight: bold;
1073
+ text-align: center;
1074
+ text-transform: uppercase;
1075
+ margin: 5px;
1113
1076
  }
1114
1077
 
1115
- .TextField > input::placeholder {
1116
- font-family: Roboto, sans-serif;
1117
- color: rgba(0, 0, 0, 0.3);
1118
- opacity: 1;
1078
+ .calendar .CalendarMonthView .day {
1079
+ font-size: 10px;
1119
1080
  }
1120
1081
 
1121
- .TextField > .border {
1122
- border-bottom: 1px solid rgb(224, 224, 224);
1123
- height: 1px;
1124
- position: relative;
1082
+ .calendar .CalendarMonthView .day.notSelectedMonth {
1083
+ color: #969696;
1125
1084
  }
1126
1085
 
1127
- .TextField > .border .line {
1128
- left: 50%;
1129
- width: 0;
1130
- height: 2px;
1131
- min-height: 2px;
1132
- background-color: rgb(0, 188, 212);
1133
- transition: all 0.2s ease;
1134
- position: absolute;
1086
+ .calendar .CalendarMonthView .day span {
1087
+ display: inline-flex;
1088
+ justify-content: center;
1089
+ align-items: center;
1090
+ border-radius: 50%;
1091
+ width: 25px;
1092
+ height: 25px;
1093
+ margin: 5px;
1094
+ transition: 0.2s all ease;
1095
+ cursor: pointer;
1135
1096
  }
1136
1097
 
1137
- .TextField > .error {
1138
- text-align: left;
1139
- font-size: 10px;
1140
- min-height: 0;
1141
- line-height: 14px;
1142
- color: rgb(244, 67, 54);
1143
- visibility: hidden;
1144
- opacity: 0;
1145
- transition: all 0.2s ease;
1098
+ .calendar .CalendarMonthView .day span:hover {
1099
+ background-color: #e6e6e6;
1146
1100
  }
1147
1101
 
1148
- .TextField.focused > label, .TextField.withValue > label {
1149
- top: 4px;
1150
- font-size: 12px;
1151
- line-height: 14px;
1102
+ .calendar .CalendarMonthView .day span.inactive {
1103
+ color: lightgray;
1104
+ cursor: unset;
1152
1105
  }
1153
1106
 
1154
- .TextField.errored > .error {
1155
- visibility: visible;
1156
- opacity: 1;
1107
+ .calendar .CalendarMonthView .day span.inactive:hover {
1108
+ background: unset;
1157
1109
  }
1158
1110
 
1159
- .TextField.errored > .border {
1160
- border-bottom-color: rgb(244, 67, 54);
1111
+ .calendar .CalendarMonthView .day span.selected {
1112
+ color: white;
1113
+ background-color: #2196F3;
1161
1114
  }
1162
1115
 
1163
- .TextField.errored > label {
1164
- color: rgb(244, 67, 54);
1116
+ .calendar .CalendarMonthView .day span.selected:hover {
1117
+ background-color: #51adf6;
1165
1118
  }
1166
1119
 
1167
- .TextField.focused > label {
1168
- color: rgb(0, 188, 212);
1120
+ .CalendarMonthView {
1121
+ display: flex;
1122
+ flex-flow: column nowrap;
1123
+ height: 100%;
1169
1124
  }
1170
1125
 
1171
- .TextField.focused > .border .line {
1172
- left: 0;
1173
- width: 100%;
1126
+ .CalendarMonthView > .row {
1127
+ display: flex;
1128
+ flex-flow: row nowrap;
1174
1129
  }
1175
1130
 
1176
- .TextField.disabled label, .TextField.disabled input {
1177
- cursor: not-allowed;
1131
+ .CalendarMonthView .days {
1132
+ flex-grow: 1;
1133
+ position: relative;
1178
1134
  }
1179
1135
 
1180
- .TextField.withLabel {
1181
- margin-top: 15px;
1136
+ .CalendarMonthView .day, .CalendarMonthView .header {
1137
+ flex-grow: 1;
1138
+ flex-basis: 1px;
1182
1139
  }
1183
1140
 
1184
- .TextField input::-webkit-contacts-auto-fill-button {
1185
- visibility: hidden;
1186
- display: none !important;
1187
- pointer-events: none;
1141
+ .CalendarMonthView .day {
1142
+ height: 100%;
1143
+ }
1144
+
1145
+ .DNDContainer {
1146
+ position: relative;
1147
+ }
1148
+
1149
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1150
+ cursor: pointer;
1151
+ }
1152
+
1153
+ .DNDContainer .Draggable.placeholder {
1154
+ opacity: 0.2;
1155
+ }
1156
+
1157
+ .DNDContainer .Draggable.copy {
1188
1158
  position: absolute;
1189
- right: 0;
1159
+ box-sizing: border-box;
1160
+ will-change: transform;
1161
+ opacity: 0;
1190
1162
  }
1191
1163
 
1192
- .TextField input:-webkit-autofill {
1193
- -webkit-box-shadow: inset 0 0 0px 9999px white;
1164
+ .DNDContainer .Draggable.dragged {
1165
+ z-index: 10;
1194
1166
  }
1195
1167
 
1196
- @keyframes shake {
1197
- 0%, 100% {
1198
- transform: translateX(0);
1199
- }
1200
- 20%, 60% {
1201
- transform: translateX(-5px);
1202
- }
1203
- 40%, 80% {
1204
- transform: translateX(5px);
1205
- }
1168
+ .DNDContainer .overlay {
1169
+ position: absolute;
1170
+ top: 0;
1171
+ left: 0;
1172
+ right: 0;
1173
+ bottom: 0;
1174
+ pointer-events: none;
1206
1175
  }
1207
- .TextField .shake {
1208
- animation-duration: 0.5s;
1209
- animation-fill-mode: both;
1210
- animation-timing-function: ease-in-out;
1211
- animation-name: shake;
1176
+
1177
+ .Button {
1178
+ position: relative;
1179
+ min-width: 64px;
1180
+ min-height: 36px;
1181
+ height: 24px;
1182
+ margin: 0px;
1183
+ padding: 0px 16px;
1184
+ border: none;
1185
+ outline: none;
1186
+ font-size: 14px;
1187
+ font-weight: 500;
1188
+ letter-spacing: 1.25px;
1189
+ background: #dfdfdf;
1190
+ text-transform: uppercase;
1191
+ font-family: Roboto, sans-serif;
1192
+ -webkit-tap-highlight-color: transparent;
1193
+ display: inline-flex;
1194
+ justify-content: center;
1195
+ align-items: center;
1196
+ cursor: pointer;
1197
+ overflow: hidden;
1198
+ user-select: none;
1199
+ border-radius: 3px;
1200
+ transition: all 0.2s ease;
1212
1201
  }
1213
1202
 
1214
- .DNDContainer .DroppableList .Draggable {
1215
- transform: unset;
1216
- transition: unset;
1217
- opacity: 1;
1203
+ .Button.flat {
1204
+ background-color: transparent;
1218
1205
  }
1219
1206
 
1220
- .DNDContainer .DroppableList .Draggable.dragged {
1221
- transition: unset !important;
1207
+ .Button.flat:hover {
1208
+ background-color: rgba(0, 0, 0, 0.05);
1222
1209
  }
1223
1210
 
1224
- .DNDContainer .DroppableList.hover .Draggable {
1225
- transition: transform 0.2s ease-in;
1211
+ .Button.green {
1212
+ background-color: #43a047;
1213
+ color: white;
1226
1214
  }
1227
1215
 
1228
- .DNDContainer .DroppableList.resetting .Draggable {
1229
- transition: transform 0.1s ease-in;
1216
+ .Button.green:hover {
1217
+ background-color: #3b8e3f;
1230
1218
  }
1231
1219
 
1232
- .CircleProgress {
1233
- width: 48px;
1234
- height: 48px;
1220
+ .Button.blue {
1221
+ background-color: #039be5;
1222
+ color: white;
1235
1223
  }
1236
1224
 
1237
- .CircleProgress .line {
1238
- stroke-width: 2px;
1239
- stroke: black;
1240
- stroke-linecap: square;
1241
- fill: none;
1242
- transition: stroke-dashoffset 0.2s ease;
1225
+ .Button.blue:hover {
1226
+ background-color: #038acc;
1243
1227
  }
1244
1228
 
1245
- .Checkbox {
1246
- position: relative;
1247
- white-space: pre;
1229
+ .Button.red {
1230
+ background-color: #e53935;
1231
+ color: white;
1248
1232
  }
1249
1233
 
1250
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
1251
- box-sizing: border-box;
1234
+ .Button.red:hover {
1235
+ background-color: #e2231e;
1252
1236
  }
1253
1237
 
1254
- .Checkbox label {
1255
- font-family: Roboto, sans-serif;
1256
- font-size: 14px;
1257
- color: #1e252d;
1258
- cursor: pointer;
1238
+ .Button.black {
1239
+ background-color: #1e252d;
1240
+ color: white;
1259
1241
  }
1260
1242
 
1261
- .Checkbox label:before, .Checkbox label:after {
1262
- content: "";
1263
- position: absolute;
1264
- left: 0;
1265
- top: 0;
1243
+ .Button.black:hover {
1244
+ background-color: #14181e;
1266
1245
  }
1267
1246
 
1268
- .Checkbox label:before {
1269
- width: 20px;
1270
- height: 20px;
1271
- background: #fff;
1272
- border: 2px solid #252525;
1273
- border-radius: 2px;
1274
- cursor: pointer;
1275
- transition: background 0.3s;
1247
+ .Button.gray {
1248
+ background: #D9D9D9;
1249
+ color: #999999;
1276
1250
  }
1277
1251
 
1278
- .Checkbox input[type=checkbox] {
1279
- outline: 0;
1280
- margin-right: 10px;
1281
- visibility: hidden;
1252
+ .Button.gray:hover {
1253
+ background-color: #cccccc;
1282
1254
  }
1283
1255
 
1284
- .Checkbox input[type=checkbox]:checked + label:before {
1285
- background: #4AC263;
1286
- border: none;
1256
+ .Button.small {
1257
+ padding: 0px 8px;
1258
+ min-height: 16px;
1259
+ min-width: 16px;
1287
1260
  }
1288
1261
 
1289
- .Checkbox input[type=checkbox]:checked + label:after {
1290
- transform: rotate(-45deg);
1291
- top: 6px;
1292
- left: 4px;
1293
- width: 12px;
1294
- height: 6px;
1295
- border: 2px solid #fff;
1296
- border-top-style: none;
1297
- border-right-style: none;
1262
+ .Button > .material-icons {
1263
+ margin-right: 10px;
1298
1264
  }
1299
1265
 
1300
- .Checkbox input[type=checkbox]:disabled + label {
1301
- color: gray;
1266
+ .Button.round {
1267
+ padding: 0px;
1268
+ min-width: 36px;
1269
+ border-radius: 50%;
1302
1270
  }
1303
1271
 
1304
- .Checkbox input[type=checkbox]:disabled + label:before {
1305
- border-color: rgba(0, 0, 0, 0.26);
1272
+ .Button.round > .material-icons {
1273
+ margin: 0px;
1306
1274
  }
1307
1275
 
1308
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
1309
- background: rgba(0, 0, 0, 0.26);
1276
+ .Button .ripple {
1277
+ position: absolute;
1278
+ background: rgba(0, 0, 0, 0.1);
1279
+ border-radius: 100%;
1280
+ transform: scale(0);
1281
+ pointer-events: none;
1282
+ transition: opacity 0.2s ease-out;
1310
1283
  }
1311
1284
 
1312
- .CalendarMonthView {
1313
- display: flex;
1314
- flex-flow: column nowrap;
1315
- height: 100%;
1285
+ .Button .ripple.show {
1286
+ animation: ripple 0.35s ease-out;
1316
1287
  }
1317
1288
 
1318
- .CalendarMonthView > .row {
1319
- display: flex;
1320
- flex-flow: row nowrap;
1289
+ .Button:active .ripple.showed {
1290
+ opacity: 1;
1321
1291
  }
1322
1292
 
1323
- .CalendarMonthView .days {
1324
- flex-grow: 1;
1325
- position: relative;
1293
+ .Button:focus .ripple.focused {
1294
+ opacity: 1;
1295
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
1296
+ transform: scale(1);
1297
+ animation: resize 1.25s ease-out infinite;
1298
+ animation-delay: 0.2s;
1299
+ animation-direction: alternate;
1326
1300
  }
1327
1301
 
1328
- .CalendarMonthView .day, .CalendarMonthView .header {
1329
- flex-grow: 1;
1330
- flex-basis: 1px;
1302
+ .Button .ripple.showed {
1303
+ transform: scale(2);
1304
+ opacity: 0;
1331
1305
  }
1332
1306
 
1333
- .CalendarMonthView .day {
1334
- height: 100%;
1307
+ @keyframes ripple {
1308
+ to {
1309
+ transform: scale(2);
1310
+ }
1335
1311
  }
1336
-
1337
- .DNDContainer {
1338
- position: relative;
1312
+ @keyframes resize {
1313
+ to {
1314
+ transform: scale(0.9);
1315
+ }
1316
+ }
1317
+ .Button.raised {
1318
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
1339
1319
  }
1340
1320
 
1341
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1342
- cursor: pointer;
1321
+ .Button.raised:hover {
1322
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
1343
1323
  }
1344
1324
 
1345
- .DNDContainer .Draggable.placeholder {
1346
- opacity: 0.2;
1325
+ .Button.raised:active {
1326
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
1347
1327
  }
1348
1328
 
1349
- .DNDContainer .Draggable.copy {
1350
- position: absolute;
1351
- box-sizing: border-box;
1352
- will-change: transform;
1353
- opacity: 0;
1329
+ .Button.disabled {
1330
+ box-shadow: none;
1331
+ background: #D9D9D9;
1332
+ color: #999999;
1354
1333
  }
1355
1334
 
1356
- .DNDContainer .Draggable.dragged {
1357
- z-index: 10;
1335
+ .Button.disabled:hover {
1336
+ background-color: #cccccc;
1358
1337
  }
1359
1338
 
1360
- .DNDContainer .overlay {
1361
- position: absolute;
1362
- top: 0;
1363
- left: 0;
1364
- right: 0;
1365
- bottom: 0;
1366
- pointer-events: none;
1339
+ .Button::-moz-focus-inner {
1340
+ border: 0;
1367
1341
  }
1368
1342
 
1369
1343
  .DropFileInput {
@@ -1393,121 +1367,101 @@
1393
1367
  margin-right: 10px;
1394
1368
  }
1395
1369
 
1396
- .DatePicker {
1397
- position: relative;
1398
- }
1399
-
1400
- .DatePicker > .TextField {
1401
- width: 200px;
1402
- margin-bottom: 0px;
1370
+ .ModalMenu {
1371
+ position: absolute;
1372
+ top: 10px;
1373
+ right: 50px;
1403
1374
  }
1404
1375
 
1405
- .DatePicker > .TextField input {
1406
- text-align: center;
1376
+ .ModalMenu .material-icons {
1377
+ color: #818181;
1407
1378
  }
1408
1379
 
1409
- .calendar {
1410
- user-select: none;
1380
+ .ModalMenu .Button.animated {
1411
1381
  position: absolute;
1412
- top: 33px;
1413
- z-index: 10;
1414
- 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);
1415
- border-radius: 4px;
1416
- overflow: hidden;
1417
- transition: 0.2s all ease;
1382
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1418
1383
  opacity: 0;
1419
- visibility: hidden;
1384
+ right: 0;
1385
+ top: 0;
1420
1386
  }
1421
1387
 
1422
- .calendar.focused {
1388
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1423
1389
  opacity: 1;
1424
- visibility: visible;
1425
- }
1426
-
1427
- .calendar .monthSelect {
1428
- align-items: center;
1429
- margin-bottom: 0;
1430
- background: white;
1431
- font-size: 12px;
1432
- color: rgb(170, 170, 170);
1433
- padding-right: 16px;
1434
- padding-left: 16px;
1435
- height: 40px;
1436
1390
  }
1437
1391
 
1438
- .calendar .monthSelect span {
1439
- margin-right: auto;
1440
- }
1441
-
1442
- .calendar .monthSelect .Button {
1443
- min-width: 25px;
1444
- min-height: 25px;
1445
- }
1446
-
1447
- .calendar .monthSelect .Button .material-icons {
1448
- font-size: 16px;
1449
- }
1450
-
1451
- .calendar .monthSelect .Button.disabled {
1452
- background: transparent;
1453
- }
1454
-
1455
- .calendar .CalendarMonthView {
1456
- background: white;
1457
- }
1458
-
1459
- .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
1460
- margin-bottom: 0;
1392
+ .ModalMenu .Button.animated.unmounting {
1393
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1461
1394
  }
1462
1395
 
1463
- .calendar .CalendarMonthView .header {
1464
- font-size: 12px;
1465
- font-weight: bold;
1466
- text-align: center;
1467
- text-transform: uppercase;
1468
- margin: 5px;
1396
+ .ModalMenu .Button.active {
1397
+ background: #EBEBEB;
1469
1398
  }
1470
1399
 
1471
- .calendar .CalendarMonthView .day {
1472
- font-size: 10px;
1400
+ .ModalMenu .separator {
1401
+ height: 24px;
1402
+ width: 1px;
1403
+ background-color: #D9D9D9;
1404
+ margin-left: 4px;
1473
1405
  }
1474
1406
 
1475
- .calendar .CalendarMonthView .day.notSelectedMonth {
1476
- color: #969696;
1407
+ .Dropzone {
1408
+ position: relative;
1477
1409
  }
1478
1410
 
1479
- .calendar .CalendarMonthView .day span {
1480
- display: inline-flex;
1411
+ .Dropzone > .overlay {
1412
+ position: absolute;
1413
+ left: 0;
1414
+ right: 0;
1415
+ top: 0;
1416
+ bottom: 0;
1417
+ background-color: #38ADC4;
1418
+ z-index: 1;
1419
+ opacity: 0;
1420
+ transition: all 0.2s ease;
1421
+ transition-delay: 100ms;
1422
+ visibility: hidden;
1423
+ display: flex;
1481
1424
  justify-content: center;
1482
1425
  align-items: center;
1483
- border-radius: 50%;
1484
- width: 25px;
1485
- height: 25px;
1486
- margin: 5px;
1487
- transition: 0.2s all ease;
1488
- cursor: pointer;
1489
- }
1490
-
1491
- .calendar .CalendarMonthView .day span:hover {
1492
- background-color: #e6e6e6;
1493
1426
  }
1494
1427
 
1495
- .calendar .CalendarMonthView .day span.inactive {
1496
- color: lightgray;
1497
- cursor: unset;
1428
+ .Dropzone > .overlay .drop {
1429
+ border-radius: 4px;
1430
+ border: 1px dashed #FFFFFF;
1431
+ position: absolute;
1432
+ top: 18px;
1433
+ left: 18px;
1434
+ right: 18px;
1435
+ bottom: 18px;
1436
+ display: flex;
1437
+ justify-content: center;
1438
+ align-items: center;
1439
+ font-weight: 500;
1440
+ font-size: 18px;
1441
+ color: #FFFFFF;
1498
1442
  }
1499
1443
 
1500
- .calendar .CalendarMonthView .day span.inactive:hover {
1501
- background: unset;
1444
+ .Dropzone.dragging > .overlay {
1445
+ opacity: 0.7;
1446
+ visibility: visible;
1447
+ transition-delay: 0s;
1502
1448
  }
1503
-
1504
- .calendar .CalendarMonthView .day span.selected {
1505
- color: white;
1506
- background-color: #2196F3;
1449
+
1450
+ .Dropzone.dragging > * {
1451
+ pointer-events: none;
1507
1452
  }
1508
1453
 
1509
- .calendar .CalendarMonthView .day span.selected:hover {
1510
- background-color: #51adf6;
1454
+ .Dropzone > input.file {
1455
+ position: absolute;
1456
+ left: 0;
1457
+ right: 0;
1458
+ top: 0;
1459
+ bottom: 0;
1460
+ width: 100%;
1461
+ height: 100%;
1462
+ opacity: 0;
1463
+ cursor: pointer;
1464
+ z-index: 1;
1511
1465
  }
1512
1466
 
1513
1467
  .Button.FloatingActionButton {
@@ -1534,43 +1488,6 @@
1534
1488
  bottom: -100px;
1535
1489
  }
1536
1490
 
1537
- .ModalMenu {
1538
- position: absolute;
1539
- top: 10px;
1540
- right: 50px;
1541
- }
1542
-
1543
- .ModalMenu .material-icons {
1544
- color: #818181;
1545
- }
1546
-
1547
- .ModalMenu .Button.animated {
1548
- position: absolute;
1549
- transition: opacity 150ms ease-in, right 200ms ease-in;
1550
- opacity: 0;
1551
- right: 0;
1552
- top: 0;
1553
- }
1554
-
1555
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1556
- opacity: 1;
1557
- }
1558
-
1559
- .ModalMenu .Button.animated.unmounting {
1560
- transition: opacity 100ms ease-out, right 200ms ease-out;
1561
- }
1562
-
1563
- .ModalMenu .Button.active {
1564
- background: #EBEBEB;
1565
- }
1566
-
1567
- .ModalMenu .separator {
1568
- height: 24px;
1569
- width: 1px;
1570
- background-color: #D9D9D9;
1571
- margin-left: 4px;
1572
- }
1573
-
1574
1491
  .Snackbar {
1575
1492
  transform: translateX(-50%);
1576
1493
  overflow: hidden;
@@ -1616,66 +1533,6 @@
1616
1533
  color: #bf3727;
1617
1534
  }
1618
1535
 
1619
- .Dropzone {
1620
- position: relative;
1621
- }
1622
-
1623
- .Dropzone > .overlay {
1624
- position: absolute;
1625
- left: 0;
1626
- right: 0;
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;
1638
- }
1639
-
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;
1650
- align-items: center;
1651
- font-weight: 500;
1652
- font-size: 18px;
1653
- color: #FFFFFF;
1654
- }
1655
-
1656
- .Dropzone.dragging > .overlay {
1657
- opacity: 0.7;
1658
- visibility: visible;
1659
- transition-delay: 0s;
1660
- }
1661
-
1662
- .Dropzone.dragging > * {
1663
- pointer-events: none;
1664
- }
1665
-
1666
- .Dropzone > input.file {
1667
- position: absolute;
1668
- left: 0;
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;
1677
- }
1678
-
1679
1536
  .SpinningProgress {
1680
1537
  width: 48px;
1681
1538
  height: 48px;
@@ -1939,4 +1796,147 @@
1939
1796
 
1940
1797
  .Switch .switch-input:checked + .switch-label .toggle--off {
1941
1798
  display: none;
1799
+ }
1800
+
1801
+ .TextField {
1802
+ position: relative;
1803
+ width: 100%;
1804
+ }
1805
+
1806
+ .TextField > label {
1807
+ font-family: Roboto, sans-serif;
1808
+ color: rgba(0, 0, 0, 0.3);
1809
+ font-size: 16px;
1810
+ position: absolute;
1811
+ left: 0px;
1812
+ top: 16px;
1813
+ margin-top: -16px;
1814
+ transition: all 0.2s ease;
1815
+ user-select: none;
1816
+ cursor: text;
1817
+ }
1818
+
1819
+ .TextField > input {
1820
+ font-family: Roboto, sans-serif;
1821
+ color: #1e252d;
1822
+ height: 19px;
1823
+ font-size: 16px;
1824
+ width: 100%;
1825
+ border: 0px;
1826
+ padding-bottom: 4px;
1827
+ padding-top: 0;
1828
+ outline-color: rgba(0, 0, 0, 0);
1829
+ }
1830
+
1831
+ .TextField > input:focus {
1832
+ outline: none;
1833
+ }
1834
+
1835
+ .TextField > input:disabled {
1836
+ color: gray;
1837
+ background-color: white;
1838
+ }
1839
+
1840
+ .TextField > input:disabled + .border {
1841
+ height: 0px;
1842
+ border-bottom: 2px dotted rgb(224, 224, 224);
1843
+ }
1844
+
1845
+ .TextField > input::placeholder {
1846
+ font-family: Roboto, sans-serif;
1847
+ color: rgba(0, 0, 0, 0.3);
1848
+ opacity: 1;
1849
+ }
1850
+
1851
+ .TextField > .border {
1852
+ border-bottom: 1px solid rgb(224, 224, 224);
1853
+ height: 1px;
1854
+ position: relative;
1855
+ }
1856
+
1857
+ .TextField > .border .line {
1858
+ left: 50%;
1859
+ width: 0;
1860
+ height: 2px;
1861
+ min-height: 2px;
1862
+ background-color: rgb(0, 188, 212);
1863
+ transition: all 0.2s ease;
1864
+ position: absolute;
1865
+ }
1866
+
1867
+ .TextField > .error {
1868
+ text-align: left;
1869
+ font-size: 10px;
1870
+ min-height: 0;
1871
+ line-height: 14px;
1872
+ color: rgb(244, 67, 54);
1873
+ visibility: hidden;
1874
+ opacity: 0;
1875
+ transition: all 0.2s ease;
1876
+ }
1877
+
1878
+ .TextField.focused > label, .TextField.withValue > label {
1879
+ top: 4px;
1880
+ font-size: 12px;
1881
+ line-height: 14px;
1882
+ }
1883
+
1884
+ .TextField.errored > .error {
1885
+ visibility: visible;
1886
+ opacity: 1;
1887
+ }
1888
+
1889
+ .TextField.errored > .border {
1890
+ border-bottom-color: rgb(244, 67, 54);
1891
+ }
1892
+
1893
+ .TextField.errored > label {
1894
+ color: rgb(244, 67, 54);
1895
+ }
1896
+
1897
+ .TextField.focused > label {
1898
+ color: rgb(0, 188, 212);
1899
+ }
1900
+
1901
+ .TextField.focused > .border .line {
1902
+ left: 0;
1903
+ width: 100%;
1904
+ }
1905
+
1906
+ .TextField.disabled label, .TextField.disabled input {
1907
+ cursor: not-allowed;
1908
+ }
1909
+
1910
+ .TextField.withLabel {
1911
+ margin-top: 15px;
1912
+ }
1913
+
1914
+ .TextField input::-webkit-contacts-auto-fill-button {
1915
+ visibility: hidden;
1916
+ display: none !important;
1917
+ pointer-events: none;
1918
+ position: absolute;
1919
+ right: 0;
1920
+ }
1921
+
1922
+ .TextField input:-webkit-autofill {
1923
+ -webkit-box-shadow: inset 0 0 0px 9999px white;
1924
+ }
1925
+
1926
+ @keyframes shake {
1927
+ 0%, 100% {
1928
+ transform: translateX(0);
1929
+ }
1930
+ 20%, 60% {
1931
+ transform: translateX(-5px);
1932
+ }
1933
+ 40%, 80% {
1934
+ transform: translateX(5px);
1935
+ }
1936
+ }
1937
+ .TextField .shake {
1938
+ animation-duration: 0.5s;
1939
+ animation-fill-mode: both;
1940
+ animation-timing-function: ease-in-out;
1941
+ animation-name: shake;
1942
1942
  }