react-ui-basics 0.0.156 → 0.0.157

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,157 +1,3 @@
1
- .CircleProgress {
2
- width: 48px;
3
- height: 48px;
4
- }
5
-
6
- .CircleProgress .line {
7
- stroke-width: 2px;
8
- stroke: black;
9
- stroke-linecap: square;
10
- fill: none;
11
- transition: stroke-dashoffset 0.2s ease;
12
- }
13
-
14
- .DNDContainer {
15
- position: relative;
16
- }
17
-
18
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
19
- cursor: pointer;
20
- }
21
-
22
- .DNDContainer .Draggable.placeholder {
23
- opacity: 0.2;
24
- }
25
-
26
- .DNDContainer .Draggable.copy {
27
- position: absolute;
28
- box-sizing: border-box;
29
- will-change: transform;
30
- opacity: 0;
31
- }
32
-
33
- .DNDContainer .Draggable.dragged {
34
- z-index: 10;
35
- }
36
-
37
- .DNDContainer .overlay {
38
- position: absolute;
39
- top: 0;
40
- left: 0;
41
- right: 0;
42
- bottom: 0;
43
- pointer-events: none;
44
- }
45
-
46
- .Checkbox {
47
- position: relative;
48
- white-space: pre;
49
- }
50
-
51
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
52
- box-sizing: border-box;
53
- }
54
-
55
- .Checkbox label {
56
- font-family: Roboto, sans-serif;
57
- font-size: 14px;
58
- color: #1e252d;
59
- cursor: pointer;
60
- }
61
-
62
- .Checkbox label:before, .Checkbox label:after {
63
- content: "";
64
- position: absolute;
65
- left: 0;
66
- top: 0;
67
- }
68
-
69
- .Checkbox label:before {
70
- width: 20px;
71
- height: 20px;
72
- background: #fff;
73
- border: 2px solid #252525;
74
- border-radius: 2px;
75
- cursor: pointer;
76
- transition: background 0.3s;
77
- }
78
-
79
- .Checkbox input[type=checkbox] {
80
- outline: 0;
81
- margin-right: 10px;
82
- visibility: hidden;
83
- }
84
-
85
- .Checkbox input[type=checkbox]:checked + label:before {
86
- background: #4AC263;
87
- border: none;
88
- }
89
-
90
- .Checkbox input[type=checkbox]:checked + label:after {
91
- transform: rotate(-45deg);
92
- top: 6px;
93
- left: 4px;
94
- width: 12px;
95
- height: 6px;
96
- border: 2px solid #fff;
97
- border-top-style: none;
98
- border-right-style: none;
99
- }
100
-
101
- .Checkbox input[type=checkbox]:disabled + label {
102
- color: gray;
103
- }
104
-
105
- .Checkbox input[type=checkbox]:disabled + label:before {
106
- border-color: rgba(0, 0, 0, 0.26);
107
- }
108
-
109
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
110
- background: rgba(0, 0, 0, 0.26);
111
- }
112
-
113
- .DialogModal {
114
- overflow: hidden;
115
- }
116
-
117
- .DialogModal .content {
118
- top: 20vh;
119
- }
120
-
121
- .Dialog {
122
- background-color: white;
123
- min-width: 460px;
124
- max-width: 40vw;
125
- padding: 15px;
126
- }
127
-
128
- .Dialog .title {
129
- margin-bottom: 15px;
130
- padding: 20px 50px 0px 30px;
131
- font-size: 1.25rem;
132
- line-height: 2rem;
133
- font-weight: 400;
134
- letter-spacing: 0.0125em;
135
- }
136
-
137
- .Dialog .description {
138
- color: rgba(0, 0, 0, 0.54);
139
- font-size: 1rem;
140
- line-height: 1.5rem;
141
- font-weight: 400;
142
- letter-spacing: 0.03125em;
143
- margin-top: 20px;
144
- padding: 0 24px 24px;
145
- }
146
-
147
- .Dialog > div.row {
148
- margin-bottom: 15px;
149
- }
150
-
151
- .Dialog > div.row:last-child {
152
- margin-bottom: 0;
153
- }
154
-
155
1
  .AutocompleteSelect {
156
2
  display: inline-flex;
157
3
  flex-flow: column;
@@ -456,87 +302,145 @@
456
302
  opacity: 1;
457
303
  }
458
304
 
459
- .DropFileInput {
460
- flex-grow: 1;
305
+ .Checkbox {
306
+ position: relative;
307
+ white-space: pre;
461
308
  }
462
309
 
463
- .DropFileInput .Dropzone {
464
- border: 1px dashed #808080;
465
- padding: 12px;
466
- display: flex;
467
- flex-flow: row nowrap;
468
- justify-content: center;
469
- align-items: center;
470
- color: gray;
471
- cursor: pointer;
472
- border-radius: 3px;
473
- font-weight: normal;
474
- line-height: 22px;
475
- font-size: 14px;
476
- color: #7E7E7E;
477
- max-width: 100%;
478
- word-break: break-all;
479
- word-break: break-word;
310
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
311
+ box-sizing: border-box;
480
312
  }
481
313
 
482
- .DropFileInput .Dropzone .icon.withText {
483
- margin-right: 10px;
314
+ .Checkbox label {
315
+ font-family: Roboto, sans-serif;
316
+ font-size: 14px;
317
+ color: #1e252d;
318
+ cursor: pointer;
484
319
  }
485
320
 
486
- .Button.FloatingActionButton {
321
+ .Checkbox label:before, .Checkbox label:after {
322
+ content: "";
487
323
  position: absolute;
488
- right: 16px;
489
- bottom: 16px;
490
- width: 56px;
491
- height: 56px;
492
- padding: 16px;
493
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
324
+ left: 0;
325
+ top: 0;
494
326
  }
495
327
 
496
- .Button.FloatingActionButton.raised {
497
- 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);
328
+ .Checkbox label:before {
329
+ width: 20px;
330
+ height: 20px;
331
+ background: #fff;
332
+ border: 2px solid #252525;
333
+ border-radius: 2px;
334
+ cursor: pointer;
335
+ transition: background 0.3s;
498
336
  }
499
337
 
500
- .Button.FloatingActionButton.mini {
501
- width: 40px;
502
- height: 40px;
503
- padding: 8px;
338
+ .Checkbox input[type=checkbox] {
339
+ outline: 0;
340
+ margin-right: 10px;
341
+ visibility: hidden;
504
342
  }
505
343
 
506
- .Button.FloatingActionButton.hidden {
507
- bottom: -100px;
344
+ .Checkbox input[type=checkbox]:checked + label:before {
345
+ background: #4AC263;
346
+ border: none;
508
347
  }
509
348
 
510
- .Button {
511
- position: relative;
512
- min-width: 64px;
513
- min-height: 36px;
514
- height: 24px;
515
- margin: 0px;
516
- padding: 0px 16px;
517
- border: none;
518
- outline: none;
519
- font-size: 14px;
520
- font-weight: 500;
521
- letter-spacing: 1.25px;
522
- background: #dfdfdf;
523
- text-transform: uppercase;
524
- font-family: Roboto, sans-serif;
525
- display: inline-flex;
526
- justify-content: center;
527
- align-items: center;
528
- cursor: pointer;
529
- overflow: hidden;
530
- user-select: none;
531
- border-radius: 3px;
532
- transition: all 0.2s ease;
349
+ .Checkbox input[type=checkbox]:checked + label:after {
350
+ transform: rotate(-45deg);
351
+ top: 6px;
352
+ left: 4px;
353
+ width: 12px;
354
+ height: 6px;
355
+ border: 2px solid #fff;
356
+ border-top-style: none;
357
+ border-right-style: none;
533
358
  }
534
359
 
535
- .Button.flat {
536
- background-color: transparent;
360
+ .Checkbox input[type=checkbox]:disabled + label {
361
+ color: gray;
537
362
  }
538
363
 
539
- .Button.flat:hover {
364
+ .Checkbox input[type=checkbox]:disabled + label:before {
365
+ border-color: rgba(0, 0, 0, 0.26);
366
+ }
367
+
368
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
369
+ background: rgba(0, 0, 0, 0.26);
370
+ }
371
+
372
+ .DialogModal {
373
+ overflow: hidden;
374
+ }
375
+
376
+ .DialogModal .content {
377
+ top: 20vh;
378
+ }
379
+
380
+ .Dialog {
381
+ background-color: white;
382
+ min-width: 460px;
383
+ max-width: 40vw;
384
+ padding: 15px;
385
+ }
386
+
387
+ .Dialog .title {
388
+ margin-bottom: 15px;
389
+ padding: 20px 50px 0px 30px;
390
+ font-size: 1.25rem;
391
+ line-height: 2rem;
392
+ font-weight: 400;
393
+ letter-spacing: 0.0125em;
394
+ }
395
+
396
+ .Dialog .description {
397
+ color: rgba(0, 0, 0, 0.54);
398
+ font-size: 1rem;
399
+ line-height: 1.5rem;
400
+ font-weight: 400;
401
+ letter-spacing: 0.03125em;
402
+ margin-top: 20px;
403
+ padding: 0 24px 24px;
404
+ }
405
+
406
+ .Dialog > div.row {
407
+ margin-bottom: 15px;
408
+ }
409
+
410
+ .Dialog > div.row:last-child {
411
+ margin-bottom: 0;
412
+ }
413
+
414
+ .Button {
415
+ position: relative;
416
+ min-width: 64px;
417
+ min-height: 36px;
418
+ height: 24px;
419
+ margin: 0px;
420
+ padding: 0px 16px;
421
+ border: none;
422
+ outline: none;
423
+ font-size: 14px;
424
+ font-weight: 500;
425
+ letter-spacing: 1.25px;
426
+ background: #dfdfdf;
427
+ text-transform: uppercase;
428
+ font-family: Roboto, sans-serif;
429
+ display: inline-flex;
430
+ justify-content: center;
431
+ align-items: center;
432
+ cursor: pointer;
433
+ overflow: hidden;
434
+ user-select: none;
435
+ border-radius: 3px;
436
+ transition: all 0.2s ease;
437
+ }
438
+
439
+ .Button.flat {
440
+ background-color: transparent;
441
+ }
442
+
443
+ .Button.flat:hover {
540
444
  background-color: rgba(0, 0, 0, 0.05);
541
445
  }
542
446
 
@@ -672,236 +576,138 @@
672
576
  border: 0;
673
577
  }
674
578
 
675
- .FilteredList {
676
- max-height: 250px;
579
+ .DNDContainer {
677
580
  position: relative;
678
581
  }
679
582
 
680
- .FilteredList.popup {
681
- padding: 0;
682
- visibility: hidden;
683
- position: absolute;
684
- background: white;
685
- z-index: 4;
686
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
687
- transition: all 0.2s ease-out;
688
- top: calc(100% + 4px);
689
- opacity: 0;
690
- border-radius: 2px;
583
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
584
+ cursor: pointer;
691
585
  }
692
586
 
693
- .FilteredList.popup.visible {
694
- opacity: 1;
695
- visibility: visible;
587
+ .DNDContainer .Draggable.placeholder {
588
+ opacity: 0.2;
696
589
  }
697
590
 
698
- .FilteredList.inline {
699
- max-height: 225px;
700
- margin-top: 5px;
591
+ .DNDContainer .Draggable.copy {
592
+ position: absolute;
593
+ box-sizing: border-box;
594
+ will-change: transform;
595
+ opacity: 0;
701
596
  }
702
597
 
703
- .FilteredList .child {
704
- display: flex;
705
- flex-flow: row nowrap;
706
- align-items: center;
707
- white-space: nowrap;
708
- font-size: 14px;
709
- color: #222222;
710
- height: 30px;
711
- padding: 5px 10px;
712
- padding-right: 15px;
713
- cursor: pointer;
714
- overflow: hidden;
715
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
716
- border-left: 5px solid #4AC263;
717
- padding-left: 15px;
718
- margin-left: -5px;
598
+ .DNDContainer .Draggable.dragged {
599
+ z-index: 10;
719
600
  }
720
601
 
721
- .FilteredList .child.hidden {
722
- height: 0 !important;
723
- padding: 0 !important;
602
+ .DNDContainer .overlay {
603
+ position: absolute;
604
+ top: 0;
605
+ left: 0;
606
+ right: 0;
607
+ bottom: 0;
608
+ pointer-events: none;
724
609
  }
725
610
 
726
- .FilteredList .child.selected {
727
- background-color: #F0F0F0;
728
- padding-left: 10px;
729
- margin-left: 0px;
611
+ .Button.FloatingActionButton {
612
+ position: absolute;
613
+ right: 16px;
614
+ bottom: 16px;
615
+ width: 56px;
616
+ height: 56px;
617
+ padding: 16px;
618
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
730
619
  }
731
620
 
732
- .FilteredList .child.active {
733
- background-color: #eeeeee;
621
+ .Button.FloatingActionButton.raised {
622
+ 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);
734
623
  }
735
624
 
736
- .FilteredList .child {
737
- margin-top: 8px;
625
+ .Button.FloatingActionButton.mini {
626
+ width: 40px;
627
+ height: 40px;
628
+ padding: 8px;
738
629
  }
739
630
 
740
- .FilteredList .child.hidden {
741
- margin-top: 0;
631
+ .Button.FloatingActionButton.hidden {
632
+ bottom: -100px;
742
633
  }
743
634
 
744
- .FilteredList .child:not(.hidden) ~ .child {
745
- margin-top: 0;
635
+ .CircleProgress {
636
+ width: 48px;
637
+ height: 48px;
746
638
  }
747
639
 
748
- .FilteredList .child:not(.hidden) ~ .child:last-child {
749
- margin-bottom: 8px;
640
+ .CircleProgress .line {
641
+ stroke-width: 2px;
642
+ stroke: black;
643
+ stroke-linecap: square;
644
+ fill: none;
645
+ transition: stroke-dashoffset 0.2s ease;
750
646
  }
751
647
 
752
- .FilteredList .child:not(.hidden):last-child {
753
- margin-bottom: 8px;
648
+ .DropFileInput {
649
+ flex-grow: 1;
754
650
  }
755
651
 
756
- .Dropzone {
757
- position: relative;
652
+ .DropFileInput .Dropzone {
653
+ border: 1px dashed #808080;
654
+ padding: 12px;
655
+ display: flex;
656
+ flex-flow: row nowrap;
657
+ justify-content: center;
658
+ align-items: center;
659
+ color: gray;
660
+ cursor: pointer;
661
+ border-radius: 3px;
662
+ font-weight: normal;
663
+ line-height: 22px;
664
+ font-size: 14px;
665
+ color: #7E7E7E;
666
+ max-width: 100%;
667
+ word-break: break-all;
668
+ word-break: break-word;
758
669
  }
759
670
 
760
- .Dropzone > .overlay {
671
+ .DropFileInput .Dropzone .icon.withText {
672
+ margin-right: 10px;
673
+ }
674
+
675
+ .FormUploadProgress {
761
676
  position: absolute;
762
677
  left: 0;
763
678
  right: 0;
764
679
  top: 0;
765
680
  bottom: 0;
766
- background-color: #38ADC4;
767
- z-index: 1;
768
- opacity: 0;
769
- transition: all 0.2s ease;
770
- transition-delay: 100ms;
771
- visibility: hidden;
772
- display: flex;
773
- justify-content: center;
774
- align-items: center;
681
+ background-color: rgba(255, 255, 255, 0.6);
682
+ z-index: 2;
775
683
  }
776
684
 
777
- .Dropzone > .overlay .drop {
778
- border-radius: 4px;
779
- border: 1px dashed #FFFFFF;
780
- position: absolute;
781
- top: 18px;
782
- left: 18px;
783
- right: 18px;
784
- bottom: 18px;
685
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
686
+ transition-delay: 500ms;
687
+ }
688
+
689
+ .FormUploadProgress .wrapper {
690
+ position: sticky;
691
+ top: 40%;
692
+ margin-top: 40%;
693
+ margin-left: 50%;
694
+ transform: translateX(-50%);
785
695
  display: flex;
696
+ flex-flow: column;
786
697
  justify-content: center;
787
698
  align-items: center;
788
- font-weight: 500;
789
- font-size: 18px;
790
- color: #FFFFFF;
791
699
  }
792
700
 
793
- .Dropzone.dragging > .overlay {
794
- opacity: 0.7;
795
- visibility: visible;
796
- transition-delay: 0s;
701
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
702
+ position: absolute;
703
+ width: 107px;
704
+ height: 107px;
705
+ top: 0;
706
+ left: 0;
797
707
  }
798
708
 
799
- .Dropzone.dragging > * {
800
- pointer-events: none;
801
- }
802
-
803
- .Dropzone > input.file {
804
- position: absolute;
805
- left: 0;
806
- right: 0;
807
- top: 0;
808
- bottom: 0;
809
- width: 100%;
810
- height: 100%;
811
- opacity: 0;
812
- cursor: pointer;
813
- z-index: 1;
814
- }
815
-
816
- .SpinningProgress {
817
- width: 48px;
818
- height: 48px;
819
- position: relative;
820
- margin: 0 auto;
821
- }
822
-
823
- .SpinningProgress:before {
824
- content: "";
825
- display: block;
826
- padding-top: 100%;
827
- }
828
-
829
- .SpinningProgress .circular {
830
- animation: rotate 2s linear infinite;
831
- height: 100%;
832
- transform-origin: center center;
833
- width: 100%;
834
- position: absolute;
835
- top: 0;
836
- bottom: 0;
837
- left: 0;
838
- right: 0;
839
- margin: auto;
840
- }
841
-
842
- .SpinningProgress .line {
843
- stroke: black;
844
- stroke-width: 2px;
845
- stroke-dasharray: 1, 96;
846
- stroke-dashoffset: 0;
847
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
848
- }
849
-
850
- @keyframes rotate {
851
- 100% {
852
- transform: rotate(360deg);
853
- }
854
- }
855
- @keyframes dash {
856
- 0% {
857
- stroke-dasharray: 1, 96;
858
- stroke-dashoffset: 0;
859
- }
860
- 50% {
861
- stroke-dasharray: 43, 96;
862
- stroke-dashoffset: -17px;
863
- }
864
- 100% {
865
- stroke-dasharray: 43, 96;
866
- stroke-dashoffset: -53px;
867
- }
868
- }
869
- .FormUploadProgress {
870
- position: absolute;
871
- left: 0;
872
- right: 0;
873
- top: 0;
874
- bottom: 0;
875
- background-color: rgba(255, 255, 255, 0.6);
876
- z-index: 2;
877
- }
878
-
879
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
880
- transition-delay: 500ms;
881
- }
882
-
883
- .FormUploadProgress .wrapper {
884
- position: sticky;
885
- top: 40%;
886
- margin-top: 40%;
887
- margin-left: 50%;
888
- transform: translateX(-50%);
889
- display: flex;
890
- flex-flow: column;
891
- justify-content: center;
892
- align-items: center;
893
- }
894
-
895
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
896
- position: absolute;
897
- width: 107px;
898
- height: 107px;
899
- top: 0;
900
- left: 0;
901
- }
902
-
903
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
904
- stroke: #2196F3;
709
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
710
+ stroke: #2196F3;
905
711
  }
906
712
 
907
713
  .FormUploadProgress .wrapper > .progress {
@@ -935,88 +741,6 @@
935
741
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
936
742
  }
937
743
 
938
- .Snackbar {
939
- transform: translateX(-50%);
940
- overflow: hidden;
941
- background-color: #323232;
942
- padding: 14px 24px 14px 24px;
943
- color: #fff;
944
- min-width: 288px;
945
- max-width: 568px;
946
- position: fixed;
947
- bottom: -50px;
948
- left: 50%;
949
- display: flex;
950
- flex-wrap: nowrap;
951
- align-items: center;
952
- opacity: 0;
953
- transition: bottom 0.25s ease, opacity 0.2s ease;
954
- border-radius: 4px;
955
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
956
- }
957
-
958
- .Snackbar.shown {
959
- bottom: 15px;
960
- opacity: 1;
961
- }
962
-
963
- .Snackbar .message {
964
- overflow: hidden;
965
- line-height: 1.2em;
966
- min-height: 1.2em;
967
- max-height: 2.4em;
968
- flex: 1;
969
- }
970
-
971
- .Snackbar .action {
972
- text-transform: uppercase;
973
- font-weight: bold;
974
- margin-left: 48px;
975
- color: #bf3727;
976
- }
977
-
978
- .Snackbar .action a {
979
- text-decoration: none;
980
- color: #bf3727;
981
- }
982
-
983
- .ModalMenu {
984
- position: absolute;
985
- top: 10px;
986
- right: 50px;
987
- }
988
-
989
- .ModalMenu .material-icons {
990
- color: #818181;
991
- }
992
-
993
- .ModalMenu .Button.animated {
994
- position: absolute;
995
- transition: opacity 150ms ease-in, right 200ms ease-in;
996
- opacity: 0;
997
- right: 0;
998
- top: 0;
999
- }
1000
-
1001
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1002
- opacity: 1;
1003
- }
1004
-
1005
- .ModalMenu .Button.animated.unmounting {
1006
- transition: opacity 100ms ease-out, right 200ms ease-out;
1007
- }
1008
-
1009
- .ModalMenu .Button.active {
1010
- background: #EBEBEB;
1011
- }
1012
-
1013
- .ModalMenu .separator {
1014
- height: 24px;
1015
- width: 1px;
1016
- background-color: #D9D9D9;
1017
- margin-left: 4px;
1018
- }
1019
-
1020
744
  .Modal {
1021
745
  display: block;
1022
746
  position: fixed;
@@ -1087,99 +811,41 @@
1087
811
  position: absolute;
1088
812
  }
1089
813
 
1090
- .Scrollable {
1091
- max-height: 250px;
1092
- max-width: 250px;
1093
- padding-right: 5px;
1094
- position: relative;
1095
- display: flex;
1096
- flex-flow: column;
1097
- align-items: stretch;
1098
- overflow: hidden;
1099
- }
1100
-
1101
- .Scrollable:hover > .scrollbar.auto {
1102
- transition-delay: 0s;
1103
- opacity: 1;
1104
- }
1105
-
1106
- .Scrollable .viewport {
1107
- overflow-y: scroll;
1108
- overflow-x: scroll;
1109
- max-height: 100%;
1110
- scroll-behavior: smooth;
1111
- scrollbar-width: none;
1112
- }
1113
-
1114
- .Scrollable .viewport::-webkit-scrollbar {
1115
- display: none;
1116
- }
1117
-
1118
- .Scrollable.without-scroll-horizontal {
1119
- max-width: unset;
1120
- }
1121
-
1122
- .Scrollable.without-scroll {
1123
- padding-right: 0;
1124
- max-height: unset;
1125
- }
1126
-
1127
- .Scrollable.without-scroll > .viewport {
1128
- padding-right: 0;
1129
- margin-right: 0;
1130
- }
1131
-
1132
- .Scrollable.without-scroll > .scrollbar {
1133
- visibility: hidden;
1134
- }
1135
-
1136
- .Scrollable .scrollbar {
814
+ .ModalMenu {
1137
815
  position: absolute;
1138
- right: 0px;
1139
- top: 0px;
1140
- width: 5px;
1141
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1142
- transition-delay: 0.5s;
1143
- z-index: 1;
816
+ top: 10px;
817
+ right: 50px;
1144
818
  }
1145
819
 
1146
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1147
- opacity: 0;
820
+ .ModalMenu .material-icons {
821
+ color: #818181;
1148
822
  }
1149
823
 
1150
- .Scrollable .scrollbar .thumb {
1151
- background-color: rgba(0, 0, 0, 0.3);
1152
- width: 5px;
824
+ .ModalMenu .Button.animated {
1153
825
  position: absolute;
1154
- right: 0px;
1155
- top: 0px;
1156
- user-select: none;
1157
- will-change: top;
1158
- border-radius: 2px;
826
+ transition: opacity 150ms ease-in, right 200ms ease-in;
827
+ opacity: 0;
828
+ right: 0;
829
+ top: 0;
1159
830
  }
1160
831
 
1161
- .Scrollable .scrollbar .thumb:hover {
1162
- background-color: rgba(0, 0, 0, 0.5);
832
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
833
+ opacity: 1;
1163
834
  }
1164
835
 
1165
- .Scrollable .scrollbar .thumb:active {
1166
- background-color: rgba(0, 0, 0, 0.7);
836
+ .ModalMenu .Button.animated.unmounting {
837
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1167
838
  }
1168
839
 
1169
- .Scrollable .scrollbar.horizontal {
1170
- left: 0px;
1171
- right: 0px;
1172
- height: 5px;
1173
- bottom: 0;
1174
- width: unset;
1175
- top: unset;
840
+ .ModalMenu .Button.active {
841
+ background: #EBEBEB;
1176
842
  }
1177
843
 
1178
- .Scrollable .scrollbar.horizontal .thumb {
1179
- height: 5px;
1180
- left: 0px;
1181
- bottom: 0px;
1182
- will-change: left;
844
+ .ModalMenu .separator {
845
+ height: 24px;
846
+ width: 1px;
847
+ background-color: #D9D9D9;
848
+ margin-left: 4px;
1183
849
  }
1184
850
 
1185
851
  .ImageGallery {
@@ -1417,106 +1083,362 @@
1417
1083
  font-size: 24px;
1418
1084
  }
1419
1085
 
1420
- .DNDContainer .DroppableList .Draggable {
1421
- transform: unset;
1422
- transition: unset;
1423
- opacity: 1;
1086
+ .Switch {
1087
+ display: inline-flex;
1088
+ padding-top: 5px;
1089
+ }
1090
+
1091
+ .Switch .switch-input {
1092
+ display: none;
1093
+ }
1094
+
1095
+ .Switch .switch-label {
1096
+ position: relative;
1097
+ display: inline-flex;
1098
+ align-items: center;
1099
+ min-width: 38px;
1100
+ height: 24px;
1101
+ cursor: pointer;
1102
+ font-weight: 500;
1103
+ text-align: left;
1104
+ user-select: none;
1105
+ margin: 0;
1106
+ padding: 0;
1107
+ padding-left: 44px;
1108
+ box-sizing: border-box;
1109
+ }
1110
+
1111
+ .Switch .switch-label:before, .Switch .switch-label:after {
1112
+ content: "";
1113
+ box-sizing: border-box;
1114
+ position: absolute;
1115
+ margin: 0;
1116
+ outline: 0;
1117
+ top: 50%;
1118
+ transform: translate(0, -50%);
1119
+ transition: all 0.3s ease;
1120
+ }
1121
+
1122
+ .Switch .switch-label:before {
1123
+ left: 1px;
1124
+ width: 34px;
1125
+ height: 14px;
1126
+ background-color: #9E9E9E;
1127
+ border-radius: 8px;
1128
+ }
1129
+
1130
+ .Switch .switch-label:after {
1131
+ left: 0;
1132
+ width: 20px;
1133
+ height: 20px;
1134
+ background-color: #FAFAFA;
1135
+ border-radius: 50%;
1136
+ 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);
1137
+ }
1138
+
1139
+ .Switch .switch-label .toggle--on {
1140
+ display: none;
1141
+ }
1142
+
1143
+ .Switch .switch-label .toggle--off {
1144
+ display: inline-block;
1145
+ }
1146
+
1147
+ .Switch .switch-label .label {
1148
+ margin-right: 5px;
1149
+ }
1150
+
1151
+ .Switch .switch-input:checked + .switch-label:before {
1152
+ background-color: #A5D6A7;
1153
+ }
1154
+
1155
+ .Switch .switch-input:checked + .switch-label:after {
1156
+ background-color: #4CAF50;
1157
+ transform: translate(80%, -50%);
1158
+ }
1159
+
1160
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1161
+ display: inline-block;
1162
+ }
1163
+
1164
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1165
+ display: none;
1166
+ }
1167
+
1168
+ .FilteredList {
1169
+ max-height: 250px;
1170
+ position: relative;
1171
+ }
1172
+
1173
+ .FilteredList.popup {
1174
+ padding: 0;
1175
+ visibility: hidden;
1176
+ position: absolute;
1177
+ background: white;
1178
+ z-index: 4;
1179
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
1180
+ transition: all 0.2s ease-out;
1181
+ top: calc(100% + 4px);
1182
+ opacity: 0;
1183
+ border-radius: 2px;
1184
+ }
1185
+
1186
+ .FilteredList.popup.visible {
1187
+ opacity: 1;
1188
+ visibility: visible;
1189
+ }
1190
+
1191
+ .FilteredList.inline {
1192
+ max-height: 225px;
1193
+ margin-top: 5px;
1194
+ }
1195
+
1196
+ .FilteredList .child {
1197
+ display: flex;
1198
+ flex-flow: row nowrap;
1199
+ align-items: center;
1200
+ white-space: nowrap;
1201
+ font-size: 14px;
1202
+ color: #222222;
1203
+ height: 30px;
1204
+ padding: 5px 10px;
1205
+ padding-right: 15px;
1206
+ cursor: pointer;
1207
+ overflow: hidden;
1208
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1209
+ border-left: 5px solid #4AC263;
1210
+ padding-left: 15px;
1211
+ margin-left: -5px;
1212
+ }
1213
+
1214
+ .FilteredList .child.hidden {
1215
+ height: 0 !important;
1216
+ padding: 0 !important;
1217
+ }
1218
+
1219
+ .FilteredList .child.selected {
1220
+ background-color: #F0F0F0;
1221
+ padding-left: 10px;
1222
+ margin-left: 0px;
1223
+ }
1224
+
1225
+ .FilteredList .child.active {
1226
+ background-color: #eeeeee;
1227
+ }
1228
+
1229
+ .FilteredList .child {
1230
+ margin-top: 8px;
1231
+ }
1232
+
1233
+ .FilteredList .child.hidden {
1234
+ margin-top: 0;
1235
+ }
1236
+
1237
+ .FilteredList .child:not(.hidden) ~ .child {
1238
+ margin-top: 0;
1239
+ }
1240
+
1241
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1242
+ margin-bottom: 8px;
1243
+ }
1244
+
1245
+ .FilteredList .child:not(.hidden):last-child {
1246
+ margin-bottom: 8px;
1247
+ }
1248
+
1249
+ .Scrollable {
1250
+ max-height: 250px;
1251
+ max-width: 250px;
1252
+ padding-right: 5px;
1253
+ position: relative;
1254
+ display: flex;
1255
+ flex-flow: column;
1256
+ align-items: stretch;
1257
+ overflow: hidden;
1258
+ }
1259
+
1260
+ .Scrollable:hover > .scrollbar.auto {
1261
+ transition-delay: 0s;
1262
+ opacity: 1;
1263
+ }
1264
+
1265
+ .Scrollable .viewport {
1266
+ overflow-y: scroll;
1267
+ overflow-x: scroll;
1268
+ max-height: 100%;
1269
+ scroll-behavior: smooth;
1270
+ scrollbar-width: none;
1271
+ }
1272
+
1273
+ .Scrollable .viewport::-webkit-scrollbar {
1274
+ display: none;
1275
+ }
1276
+
1277
+ .Scrollable.without-scroll-horizontal {
1278
+ max-width: unset;
1279
+ }
1280
+
1281
+ .Scrollable.without-scroll {
1282
+ padding-right: 0;
1283
+ max-height: unset;
1284
+ }
1285
+
1286
+ .Scrollable.without-scroll > .viewport {
1287
+ padding-right: 0;
1288
+ margin-right: 0;
1289
+ }
1290
+
1291
+ .Scrollable.without-scroll > .scrollbar {
1292
+ visibility: hidden;
1293
+ }
1294
+
1295
+ .Scrollable .scrollbar {
1296
+ position: absolute;
1297
+ right: 0px;
1298
+ top: 0px;
1299
+ width: 5px;
1300
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1301
+ transition-delay: 0.5s;
1302
+ z-index: 1;
1303
+ }
1304
+
1305
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1306
+ opacity: 0;
1424
1307
  }
1425
1308
 
1426
- .DNDContainer .DroppableList .Draggable.dragged {
1427
- transition: unset !important;
1309
+ .Scrollable .scrollbar .thumb {
1310
+ background-color: rgba(0, 0, 0, 0.3);
1311
+ width: 5px;
1312
+ position: absolute;
1313
+ right: 0px;
1314
+ top: 0px;
1315
+ user-select: none;
1316
+ will-change: top;
1317
+ border-radius: 2px;
1428
1318
  }
1429
1319
 
1430
- .DNDContainer .DroppableList.hover .Draggable {
1431
- transition: transform 0.2s ease-in;
1320
+ .Scrollable .scrollbar .thumb:hover {
1321
+ background-color: rgba(0, 0, 0, 0.5);
1432
1322
  }
1433
1323
 
1434
- .DNDContainer .DroppableList.resetting .Draggable {
1435
- transition: transform 0.1s ease-in;
1324
+ .Scrollable .scrollbar .thumb:active {
1325
+ background-color: rgba(0, 0, 0, 0.7);
1436
1326
  }
1437
1327
 
1438
- .Switch {
1439
- display: inline-flex;
1440
- padding-top: 5px;
1328
+ .Scrollable .scrollbar.horizontal {
1329
+ left: 0px;
1330
+ right: 0px;
1331
+ height: 5px;
1332
+ bottom: 0;
1333
+ width: unset;
1334
+ top: unset;
1441
1335
  }
1442
1336
 
1443
- .Switch .switch-input {
1444
- display: none;
1337
+ .Scrollable .scrollbar.horizontal .thumb {
1338
+ height: 5px;
1339
+ left: 0px;
1340
+ bottom: 0px;
1341
+ will-change: left;
1445
1342
  }
1446
1343
 
1447
- .Switch .switch-label {
1448
- position: relative;
1449
- display: inline-flex;
1344
+ .Snackbar {
1345
+ transform: translateX(-50%);
1346
+ overflow: hidden;
1347
+ background-color: #323232;
1348
+ padding: 14px 24px 14px 24px;
1349
+ color: #fff;
1350
+ min-width: 288px;
1351
+ max-width: 568px;
1352
+ position: fixed;
1353
+ bottom: -50px;
1354
+ left: 50%;
1355
+ display: flex;
1356
+ flex-wrap: nowrap;
1450
1357
  align-items: center;
1451
- min-width: 38px;
1452
- height: 24px;
1453
- cursor: pointer;
1454
- font-weight: 500;
1455
- text-align: left;
1456
- user-select: none;
1457
- margin: 0;
1458
- padding: 0;
1459
- padding-left: 44px;
1460
- box-sizing: border-box;
1358
+ opacity: 0;
1359
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1360
+ border-radius: 4px;
1361
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1461
1362
  }
1462
1363
 
1463
- .Switch .switch-label:before, .Switch .switch-label:after {
1464
- content: "";
1465
- box-sizing: border-box;
1466
- position: absolute;
1467
- margin: 0;
1468
- outline: 0;
1469
- top: 50%;
1470
- transform: translate(0, -50%);
1471
- transition: all 0.3s ease;
1364
+ .Snackbar.shown {
1365
+ bottom: 15px;
1366
+ opacity: 1;
1472
1367
  }
1473
1368
 
1474
- .Switch .switch-label:before {
1475
- left: 1px;
1476
- width: 34px;
1477
- height: 14px;
1478
- background-color: #9E9E9E;
1479
- border-radius: 8px;
1369
+ .Snackbar .message {
1370
+ overflow: hidden;
1371
+ line-height: 1.2em;
1372
+ min-height: 1.2em;
1373
+ max-height: 2.4em;
1374
+ flex: 1;
1480
1375
  }
1481
1376
 
1482
- .Switch .switch-label:after {
1483
- left: 0;
1484
- width: 20px;
1485
- height: 20px;
1486
- background-color: #FAFAFA;
1487
- border-radius: 50%;
1488
- 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);
1377
+ .Snackbar .action {
1378
+ text-transform: uppercase;
1379
+ font-weight: bold;
1380
+ margin-left: 48px;
1381
+ color: #bf3727;
1489
1382
  }
1490
1383
 
1491
- .Switch .switch-label .toggle--on {
1492
- display: none;
1384
+ .Snackbar .action a {
1385
+ text-decoration: none;
1386
+ color: #bf3727;
1493
1387
  }
1494
1388
 
1495
- .Switch .switch-label .toggle--off {
1496
- display: inline-block;
1389
+ .SpinningProgress {
1390
+ width: 48px;
1391
+ height: 48px;
1392
+ position: relative;
1393
+ margin: 0 auto;
1497
1394
  }
1498
1395
 
1499
- .Switch .switch-label .label {
1500
- margin-right: 5px;
1396
+ .SpinningProgress:before {
1397
+ content: "";
1398
+ display: block;
1399
+ padding-top: 100%;
1501
1400
  }
1502
1401
 
1503
- .Switch .switch-input:checked + .switch-label:before {
1504
- background-color: #A5D6A7;
1402
+ .SpinningProgress .circular {
1403
+ animation: rotate 2s linear infinite;
1404
+ height: 100%;
1405
+ transform-origin: center center;
1406
+ width: 100%;
1407
+ position: absolute;
1408
+ top: 0;
1409
+ bottom: 0;
1410
+ left: 0;
1411
+ right: 0;
1412
+ margin: auto;
1505
1413
  }
1506
1414
 
1507
- .Switch .switch-input:checked + .switch-label:after {
1508
- background-color: #4CAF50;
1509
- transform: translate(80%, -50%);
1415
+ .SpinningProgress .line {
1416
+ stroke: black;
1417
+ stroke-width: 2px;
1418
+ stroke-dasharray: 1, 96;
1419
+ stroke-dashoffset: 0;
1420
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1510
1421
  }
1511
1422
 
1512
- .Switch .switch-input:checked + .switch-label .toggle--on {
1513
- display: inline-block;
1423
+ @keyframes rotate {
1424
+ 100% {
1425
+ transform: rotate(360deg);
1426
+ }
1514
1427
  }
1515
-
1516
- .Switch .switch-input:checked + .switch-label .toggle--off {
1517
- display: none;
1428
+ @keyframes dash {
1429
+ 0% {
1430
+ stroke-dasharray: 1, 96;
1431
+ stroke-dashoffset: 0;
1432
+ }
1433
+ 50% {
1434
+ stroke-dasharray: 43, 96;
1435
+ stroke-dashoffset: -17px;
1436
+ }
1437
+ 100% {
1438
+ stroke-dasharray: 43, 96;
1439
+ stroke-dashoffset: -53px;
1440
+ }
1518
1441
  }
1519
-
1520
1442
  .TextField {
1521
1443
  position: relative;
1522
1444
  width: 100%;
@@ -1660,6 +1582,84 @@
1660
1582
  animation-name: shake;
1661
1583
  }
1662
1584
 
1585
+ .Dropzone {
1586
+ position: relative;
1587
+ }
1588
+
1589
+ .Dropzone > .overlay {
1590
+ position: absolute;
1591
+ left: 0;
1592
+ right: 0;
1593
+ top: 0;
1594
+ bottom: 0;
1595
+ background-color: #38ADC4;
1596
+ z-index: 1;
1597
+ opacity: 0;
1598
+ transition: all 0.2s ease;
1599
+ transition-delay: 100ms;
1600
+ visibility: hidden;
1601
+ display: flex;
1602
+ justify-content: center;
1603
+ align-items: center;
1604
+ }
1605
+
1606
+ .Dropzone > .overlay .drop {
1607
+ border-radius: 4px;
1608
+ border: 1px dashed #FFFFFF;
1609
+ position: absolute;
1610
+ top: 18px;
1611
+ left: 18px;
1612
+ right: 18px;
1613
+ bottom: 18px;
1614
+ display: flex;
1615
+ justify-content: center;
1616
+ align-items: center;
1617
+ font-weight: 500;
1618
+ font-size: 18px;
1619
+ color: #FFFFFF;
1620
+ }
1621
+
1622
+ .Dropzone.dragging > .overlay {
1623
+ opacity: 0.7;
1624
+ visibility: visible;
1625
+ transition-delay: 0s;
1626
+ }
1627
+
1628
+ .Dropzone.dragging > * {
1629
+ pointer-events: none;
1630
+ }
1631
+
1632
+ .Dropzone > input.file {
1633
+ position: absolute;
1634
+ left: 0;
1635
+ right: 0;
1636
+ top: 0;
1637
+ bottom: 0;
1638
+ width: 100%;
1639
+ height: 100%;
1640
+ opacity: 0;
1641
+ cursor: pointer;
1642
+ z-index: 1;
1643
+ }
1644
+
1645
+ .DNDContainer .DroppableList .Draggable {
1646
+ transform: unset;
1647
+ transition: unset;
1648
+ opacity: 1;
1649
+ }
1650
+
1651
+ .DNDContainer .DroppableList .Draggable.dragged {
1652
+ transition: unset !important;
1653
+ }
1654
+
1655
+ .DNDContainer .DroppableList.hover .Draggable {
1656
+ transition: transform 0.2s ease-in;
1657
+ }
1658
+
1659
+ .DNDContainer .DroppableList.resetting .Draggable {
1660
+ transition: transform 0.1s ease-in;
1661
+ }
1662
+
1663
1663
  .ScrollableTable .Scrollable .scrollbar {
1664
1664
  top: 56px;
1665
1665
  }