react-ui-basics 0.0.192 → 0.0.193

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,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
  .AutocompleteSelect {
168
2
  display: inline-flex;
169
3
  flex-flow: column;
@@ -459,82 +293,327 @@
459
293
  position: absolute;
460
294
  }
461
295
 
462
- .Checkbox {
296
+ .Button {
463
297
  position: relative;
464
- white-space: pre;
465
- }
466
-
467
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
468
- box-sizing: border-box;
469
- }
470
-
471
- .Checkbox label {
472
- font-family: Roboto, sans-serif;
298
+ min-width: 64px;
299
+ min-height: 36px;
300
+ height: 24px;
301
+ margin: 0px;
302
+ padding: 0px 16px;
303
+ border: none;
304
+ outline: none;
473
305
  font-size: 14px;
474
- color: #1e252d;
306
+ font-weight: 500;
307
+ letter-spacing: 1.25px;
308
+ background: #dfdfdf;
309
+ text-transform: uppercase;
310
+ font-family: Roboto, sans-serif;
311
+ -webkit-tap-highlight-color: transparent;
312
+ display: inline-flex;
313
+ justify-content: center;
314
+ align-items: center;
475
315
  cursor: pointer;
316
+ overflow: hidden;
317
+ user-select: none;
318
+ border-radius: 3px;
319
+ transition: all 0.2s ease;
476
320
  }
477
321
 
478
- .Checkbox label:before, .Checkbox label:after {
479
- content: "";
480
- position: absolute;
481
- left: 0;
482
- top: 0;
322
+ .Button.flat {
323
+ background-color: transparent;
483
324
  }
484
325
 
485
- .Checkbox label:before {
486
- width: 20px;
487
- height: 20px;
488
- background: #fff;
489
- border: 2px solid #252525;
490
- border-radius: 2px;
491
- cursor: pointer;
492
- transition: background 0.3s;
326
+ .Button.flat:hover {
327
+ background-color: rgba(0, 0, 0, 0.05);
493
328
  }
494
329
 
495
- .Checkbox input[type=checkbox] {
496
- outline: 0;
497
- margin-right: 10px;
498
- visibility: hidden;
330
+ .Button.green {
331
+ background-color: #43a047;
332
+ color: white;
499
333
  }
500
334
 
501
- .Checkbox input[type=checkbox]:checked + label:before {
502
- background: #4AC263;
503
- border: none;
335
+ .Button.green:hover {
336
+ background-color: #3b8e3f;
504
337
  }
505
338
 
506
- .Checkbox input[type=checkbox]:checked + label:after {
507
- transform: rotate(-45deg);
508
- top: 6px;
509
- left: 4px;
510
- width: 12px;
511
- height: 6px;
512
- border: 2px solid #fff;
513
- border-top-style: none;
514
- border-right-style: none;
339
+ .Button.blue {
340
+ background-color: #039be5;
341
+ color: white;
515
342
  }
516
343
 
517
- .Checkbox input[type=checkbox]:disabled + label {
518
- color: gray;
344
+ .Button.blue:hover {
345
+ background-color: #038acc;
519
346
  }
520
347
 
521
- .Checkbox input[type=checkbox]:disabled + label:before {
522
- border-color: rgba(0, 0, 0, 0.26);
348
+ .Button.red {
349
+ background-color: #e53935;
350
+ color: white;
523
351
  }
524
352
 
525
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
526
- background: rgba(0, 0, 0, 0.26);
353
+ .Button.red:hover {
354
+ background-color: #e2231e;
527
355
  }
528
356
 
529
- .animated {
530
- transition: opacity 250ms ease;
531
- opacity: 0;
532
- }
357
+ .Button.black {
358
+ background-color: #1e252d;
359
+ color: white;
360
+ }
361
+
362
+ .Button.black:hover {
363
+ background-color: #14181e;
364
+ }
365
+
366
+ .Button.gray {
367
+ background: #D9D9D9;
368
+ color: #999999;
369
+ }
370
+
371
+ .Button.gray:hover {
372
+ background-color: #cccccc;
373
+ }
374
+
375
+ .Button.small {
376
+ padding: 0px 8px;
377
+ min-height: 16px;
378
+ min-width: 16px;
379
+ }
380
+
381
+ .Button > .material-icons {
382
+ margin-right: 10px;
383
+ }
384
+
385
+ .Button.round {
386
+ padding: 0px;
387
+ min-width: 36px;
388
+ border-radius: 50%;
389
+ }
390
+
391
+ .Button.round > .material-icons {
392
+ margin: 0px;
393
+ }
394
+
395
+ .Button .ripple {
396
+ position: absolute;
397
+ background: rgba(0, 0, 0, 0.1);
398
+ border-radius: 100%;
399
+ transform: scale(0);
400
+ pointer-events: none;
401
+ transition: opacity 0.2s ease-out;
402
+ }
403
+
404
+ .Button .ripple.show {
405
+ animation: ripple 0.35s ease-out;
406
+ }
407
+
408
+ .Button:active .ripple.showed {
409
+ opacity: 1;
410
+ }
411
+
412
+ .Button:focus .ripple.focused {
413
+ opacity: 1;
414
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
415
+ transform: scale(1);
416
+ animation: resize 1.25s ease-out infinite;
417
+ animation-delay: 0.2s;
418
+ animation-direction: alternate;
419
+ }
420
+
421
+ .Button .ripple.showed {
422
+ transform: scale(2);
423
+ opacity: 0;
424
+ }
425
+
426
+ @keyframes ripple {
427
+ to {
428
+ transform: scale(2);
429
+ }
430
+ }
431
+ @keyframes resize {
432
+ to {
433
+ transform: scale(0.9);
434
+ }
435
+ }
436
+ .Button.raised {
437
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
438
+ }
439
+
440
+ .Button.raised:hover {
441
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
442
+ }
443
+
444
+ .Button.raised:active {
445
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
446
+ }
447
+
448
+ .Button.disabled {
449
+ box-shadow: none;
450
+ background: #D9D9D9;
451
+ color: #999999;
452
+ }
453
+
454
+ .Button.disabled:hover {
455
+ background-color: #cccccc;
456
+ }
457
+
458
+ .Button::-moz-focus-inner {
459
+ border: 0;
460
+ }
461
+
462
+ .CircleProgress {
463
+ width: 48px;
464
+ height: 48px;
465
+ }
466
+
467
+ .CircleProgress .line {
468
+ stroke-width: 2px;
469
+ stroke: black;
470
+ stroke-linecap: square;
471
+ fill: none;
472
+ transition: stroke-dashoffset 0.2s ease;
473
+ }
474
+
475
+ .Checkbox {
476
+ position: relative;
477
+ white-space: pre;
478
+ }
479
+
480
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
481
+ box-sizing: border-box;
482
+ }
483
+
484
+ .Checkbox label {
485
+ font-family: Roboto, sans-serif;
486
+ font-size: 14px;
487
+ color: #1e252d;
488
+ cursor: pointer;
489
+ }
490
+
491
+ .Checkbox label:before, .Checkbox label:after {
492
+ content: "";
493
+ position: absolute;
494
+ left: 0;
495
+ top: 0;
496
+ }
497
+
498
+ .Checkbox label:before {
499
+ width: 20px;
500
+ height: 20px;
501
+ background: #fff;
502
+ border: 2px solid #252525;
503
+ border-radius: 2px;
504
+ cursor: pointer;
505
+ transition: background 0.3s;
506
+ }
507
+
508
+ .Checkbox input[type=checkbox] {
509
+ outline: 0;
510
+ margin-right: 10px;
511
+ visibility: hidden;
512
+ }
513
+
514
+ .Checkbox input[type=checkbox]:checked + label:before {
515
+ background: #4AC263;
516
+ border: none;
517
+ }
518
+
519
+ .Checkbox input[type=checkbox]:checked + label:after {
520
+ transform: rotate(-45deg);
521
+ top: 6px;
522
+ left: 4px;
523
+ width: 12px;
524
+ height: 6px;
525
+ border: 2px solid #fff;
526
+ border-top-style: none;
527
+ border-right-style: none;
528
+ }
529
+
530
+ .Checkbox input[type=checkbox]:disabled + label {
531
+ color: gray;
532
+ }
533
+
534
+ .Checkbox input[type=checkbox]:disabled + label:before {
535
+ border-color: rgba(0, 0, 0, 0.26);
536
+ }
537
+
538
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
539
+ background: rgba(0, 0, 0, 0.26);
540
+ }
541
+
542
+ .DialogModal {
543
+ overflow: hidden;
544
+ }
545
+
546
+ .DialogModal .content {
547
+ top: 20vh;
548
+ }
549
+
550
+ .Dialog {
551
+ background-color: white;
552
+ min-width: 460px;
553
+ max-width: 40vw;
554
+ padding: 15px;
555
+ }
556
+
557
+ .Dialog .title {
558
+ margin-bottom: 15px;
559
+ padding: 20px 50px 0px 30px;
560
+ font-size: 1.25rem;
561
+ line-height: 2rem;
562
+ font-weight: 400;
563
+ letter-spacing: 0.0125em;
564
+ }
565
+
566
+ .Dialog .description {
567
+ color: rgba(0, 0, 0, 0.54);
568
+ font-size: 1rem;
569
+ line-height: 1.5rem;
570
+ font-weight: 400;
571
+ letter-spacing: 0.03125em;
572
+ margin-top: 20px;
573
+ padding: 0 24px 24px;
574
+ }
575
+
576
+ .Dialog > div.row {
577
+ margin-bottom: 15px;
578
+ }
579
+
580
+ .Dialog > div.row:last-child {
581
+ margin-bottom: 0;
582
+ }
583
+
584
+ .animated {
585
+ transition: opacity 250ms ease;
586
+ opacity: 0;
587
+ }
533
588
 
534
589
  .animated.mounting, .animated.mounted {
535
590
  opacity: 1;
536
591
  }
537
592
 
593
+ .Button.FloatingActionButton {
594
+ position: absolute;
595
+ right: 16px;
596
+ bottom: 16px;
597
+ width: 56px;
598
+ height: 56px;
599
+ padding: 16px;
600
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
601
+ }
602
+
603
+ .Button.FloatingActionButton.raised {
604
+ 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);
605
+ }
606
+
607
+ .Button.FloatingActionButton.mini {
608
+ width: 40px;
609
+ height: 40px;
610
+ padding: 8px;
611
+ }
612
+
613
+ .Button.FloatingActionButton.hidden {
614
+ bottom: -100px;
615
+ }
616
+
538
617
  .FilteredList {
539
618
  max-height: 250px;
540
619
  position: relative;
@@ -620,59 +699,31 @@
620
699
  margin-bottom: 8px;
621
700
  }
622
701
 
623
- .DialogModal {
624
- overflow: hidden;
625
- }
626
-
627
- .DialogModal .content {
628
- top: 20vh;
629
- }
630
-
631
- .Dialog {
632
- background-color: white;
633
- min-width: 460px;
634
- max-width: 40vw;
635
- padding: 15px;
636
- }
637
-
638
- .Dialog .title {
639
- margin-bottom: 15px;
640
- padding: 20px 50px 0px 30px;
641
- font-size: 1.25rem;
642
- line-height: 2rem;
643
- font-weight: 400;
644
- letter-spacing: 0.0125em;
645
- }
646
-
647
- .Dialog .description {
648
- color: rgba(0, 0, 0, 0.54);
649
- font-size: 1rem;
650
- line-height: 1.5rem;
651
- font-weight: 400;
652
- letter-spacing: 0.03125em;
653
- margin-top: 20px;
654
- padding: 0 24px 24px;
655
- }
656
-
657
- .Dialog > div.row {
658
- margin-bottom: 15px;
659
- }
660
-
661
- .Dialog > div.row:last-child {
662
- margin-bottom: 0;
702
+ .DropFileInput {
703
+ flex-grow: 1;
663
704
  }
664
705
 
665
- .CircleProgress {
666
- width: 48px;
667
- height: 48px;
706
+ .DropFileInput .Dropzone {
707
+ border: 1px dashed #808080;
708
+ padding: 12px;
709
+ display: flex;
710
+ flex-flow: row nowrap;
711
+ justify-content: center;
712
+ align-items: center;
713
+ color: gray;
714
+ cursor: pointer;
715
+ border-radius: 3px;
716
+ font-weight: normal;
717
+ line-height: 22px;
718
+ font-size: 14px;
719
+ color: #7E7E7E;
720
+ max-width: 100%;
721
+ word-break: break-all;
722
+ word-break: break-word;
668
723
  }
669
724
 
670
- .CircleProgress .line {
671
- stroke-width: 2px;
672
- stroke: black;
673
- stroke-linecap: square;
674
- fill: none;
675
- transition: stroke-dashoffset 0.2s ease;
725
+ .DropFileInput .Dropzone .icon.withText {
726
+ margin-right: 10px;
676
727
  }
677
728
 
678
729
  .Dropzone {
@@ -732,316 +783,76 @@
732
783
  height: 100%;
733
784
  opacity: 0;
734
785
  cursor: pointer;
735
- z-index: 1;
736
- }
737
-
738
- .DropFileInput {
739
- flex-grow: 1;
740
- }
741
-
742
- .DropFileInput .Dropzone {
743
- border: 1px dashed #808080;
744
- padding: 12px;
745
- display: flex;
746
- flex-flow: row nowrap;
747
- justify-content: center;
748
- align-items: center;
749
- color: gray;
750
- cursor: pointer;
751
- border-radius: 3px;
752
- font-weight: normal;
753
- line-height: 22px;
754
- font-size: 14px;
755
- color: #7E7E7E;
756
- max-width: 100%;
757
- word-break: break-all;
758
- word-break: break-word;
759
- }
760
-
761
- .DropFileInput .Dropzone .icon.withText {
762
- margin-right: 10px;
763
- }
764
-
765
- .FormUploadProgress {
766
- position: absolute;
767
- left: 0;
768
- right: 0;
769
- top: 0;
770
- bottom: 0;
771
- background-color: rgba(255, 255, 255, 0.6);
772
- z-index: 2;
773
- }
774
-
775
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
776
- transition-delay: 500ms;
777
- }
778
-
779
- .FormUploadProgress .wrapper {
780
- position: sticky;
781
- top: 40%;
782
- margin-top: 40%;
783
- margin-left: 50%;
784
- transform: translateX(-50%);
785
- display: flex;
786
- flex-flow: column;
787
- justify-content: center;
788
- align-items: center;
789
- }
790
-
791
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
792
- position: absolute;
793
- width: 107px;
794
- height: 107px;
795
- top: 0;
796
- left: 0;
797
- }
798
-
799
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
800
- stroke: #2196F3;
801
- }
802
-
803
- .FormUploadProgress .wrapper > .progress {
804
- width: 107px;
805
- height: 107px;
806
- min-height: 107px;
807
- display: flex;
808
- justify-content: center;
809
- align-items: center;
810
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
811
- border-radius: 50%;
812
- background: white;
813
- position: relative;
814
- }
815
-
816
- .FormUploadProgress .wrapper > .progress > .value {
817
- display: inline-block;
818
- margin-top: 5px;
819
- font-weight: bold;
820
- line-height: 16px;
821
- font-size: 13px;
822
- text-align: center;
823
- color: #818181;
824
- }
825
-
826
- .FormUploadProgress .wrapper .cancel {
827
- min-width: 107px;
828
- margin-top: 20px;
829
- background-color: white;
830
- color: #F96B5C;
831
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
832
- }
833
-
834
- .Button.FloatingActionButton {
835
- position: absolute;
836
- right: 16px;
837
- bottom: 16px;
838
- width: 56px;
839
- height: 56px;
840
- padding: 16px;
841
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
842
- }
843
-
844
- .Button.FloatingActionButton.raised {
845
- 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);
846
- }
847
-
848
- .Button.FloatingActionButton.mini {
849
- width: 40px;
850
- height: 40px;
851
- padding: 8px;
852
- }
853
-
854
- .Button.FloatingActionButton.hidden {
855
- bottom: -100px;
856
- }
857
-
858
- .ModalMenu {
859
- position: absolute;
860
- top: 10px;
861
- right: 50px;
862
- }
863
-
864
- .ModalMenu .material-icons {
865
- color: #818181;
866
- }
867
-
868
- .ModalMenu .Button.animated {
869
- position: absolute;
870
- transition: opacity 150ms ease-in, right 200ms ease-in;
871
- opacity: 0;
872
- right: 0;
873
- top: 0;
874
- }
875
-
876
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
877
- opacity: 1;
878
- }
879
-
880
- .ModalMenu .Button.animated.unmounting {
881
- transition: opacity 100ms ease-out, right 200ms ease-out;
882
- }
883
-
884
- .ModalMenu .Button.active {
885
- background: #EBEBEB;
886
- }
887
-
888
- .ModalMenu .separator {
889
- height: 24px;
890
- width: 1px;
891
- background-color: #D9D9D9;
892
- margin-left: 4px;
893
- }
894
-
895
- .Switch {
896
- display: inline-flex;
897
- padding-top: 5px;
898
- }
899
-
900
- .Switch .switch-input {
901
- display: none;
902
- }
903
-
904
- .Switch .switch-label {
905
- position: relative;
906
- display: inline-flex;
907
- align-items: center;
908
- min-width: 38px;
909
- height: 24px;
910
- cursor: pointer;
911
- font-weight: 500;
912
- text-align: left;
913
- user-select: none;
914
- margin: 0;
915
- padding: 0;
916
- padding-left: 44px;
917
- box-sizing: border-box;
918
- }
919
-
920
- .Switch .switch-label:before, .Switch .switch-label:after {
921
- content: "";
922
- box-sizing: border-box;
923
- position: absolute;
924
- margin: 0;
925
- outline: 0;
926
- top: 50%;
927
- transform: translate(0, -50%);
928
- transition: all 0.3s ease;
929
- }
930
-
931
- .Switch .switch-label:before {
932
- left: 1px;
933
- width: 34px;
934
- height: 14px;
935
- background-color: #9E9E9E;
936
- border-radius: 8px;
937
- }
938
-
939
- .Switch .switch-label:after {
940
- left: 0;
941
- width: 20px;
942
- height: 20px;
943
- background-color: #FAFAFA;
944
- border-radius: 50%;
945
- 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);
946
- }
947
-
948
- .Switch .switch-label .toggle--on {
949
- display: none;
950
- }
951
-
952
- .Switch .switch-label .toggle--off {
953
- display: inline-block;
954
- }
955
-
956
- .Switch .switch-label .label {
957
- margin-right: 5px;
958
- }
959
-
960
- .Switch .switch-input:checked + .switch-label:before {
961
- background-color: #A5D6A7;
962
- }
963
-
964
- .Switch .switch-input:checked + .switch-label:after {
965
- background-color: #4CAF50;
966
- transform: translate(80%, -50%);
967
- }
968
-
969
- .Switch .switch-input:checked + .switch-label .toggle--on {
970
- display: inline-block;
971
- }
972
-
973
- .Switch .switch-input:checked + .switch-label .toggle--off {
974
- display: none;
975
- }
976
-
977
- .Modal {
978
- display: block;
979
- position: fixed;
980
- top: 0;
981
- left: 0;
982
- right: 0;
983
- bottom: 100%;
984
- overflow-y: scroll;
985
- transition: bottom 0ms linear;
986
- transition-delay: 0.2s;
987
- }
988
-
989
- .Modal.show {
990
- transition-delay: 0s;
991
- bottom: 0;
786
+ z-index: 1;
992
787
  }
993
788
 
994
- .Modal > .overlay {
995
- position: fixed;
996
- top: 0;
997
- bottom: 100%;
789
+ .FormUploadProgress {
790
+ position: absolute;
998
791
  left: 0;
999
792
  right: 0;
1000
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1001
- opacity: 0;
1002
- background-color: black;
1003
- pointer-events: none;
793
+ top: 0;
794
+ bottom: 0;
795
+ background-color: rgba(255, 255, 255, 0.6);
796
+ z-index: 2;
1004
797
  }
1005
798
 
1006
- .Modal > .overlay.show {
1007
- opacity: 0.5;
1008
- bottom: 0;
799
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
800
+ transition-delay: 500ms;
1009
801
  }
1010
802
 
1011
- .Modal > .content {
1012
- left: 50%;
1013
- top: 10vh;
1014
- margin-bottom: 10vh;
1015
- font-size: 16px;
1016
- padding: 0;
1017
- opacity: 0;
1018
- transition: opacity 0.25s ease, transform 0.25s ease;
1019
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1020
- transform-origin: top;
803
+ .FormUploadProgress .wrapper {
804
+ position: sticky;
805
+ top: 40%;
806
+ margin-top: 40%;
807
+ margin-left: 50%;
808
+ transform: translateX(-50%);
809
+ display: flex;
810
+ flex-flow: column;
811
+ justify-content: center;
812
+ align-items: center;
813
+ }
814
+
815
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1021
816
  position: absolute;
1022
- border-radius: 2px;
1023
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
817
+ width: 107px;
818
+ height: 107px;
819
+ top: 0;
820
+ left: 0;
1024
821
  }
1025
822
 
1026
- .Modal > .content.show {
1027
- opacity: 1;
1028
- transform: scaleY(1) translateY(0px) translateX(-50%);
823
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
824
+ stroke: #2196F3;
1029
825
  }
1030
826
 
1031
- .Modal > .content > .Scrollable {
1032
- overflow: visible;
1033
- max-height: 80vh;
827
+ .FormUploadProgress .wrapper > .progress {
828
+ width: 107px;
829
+ height: 107px;
830
+ min-height: 107px;
831
+ display: flex;
832
+ justify-content: center;
833
+ align-items: center;
834
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
835
+ border-radius: 50%;
836
+ background: white;
837
+ position: relative;
1034
838
  }
1035
839
 
1036
- .Modal > .content > .Scrollable > .viewport {
1037
- min-width: 10px;
1038
- min-height: 10px;
840
+ .FormUploadProgress .wrapper > .progress > .value {
841
+ display: inline-block;
842
+ margin-top: 5px;
843
+ font-weight: bold;
844
+ line-height: 16px;
845
+ font-size: 13px;
846
+ text-align: center;
847
+ color: #818181;
1039
848
  }
1040
849
 
1041
- .Modal > .content > .Button.close {
1042
- top: 10px;
1043
- right: 10px;
1044
- position: absolute;
850
+ .FormUploadProgress .wrapper .cancel {
851
+ min-width: 107px;
852
+ margin-top: 20px;
853
+ background-color: white;
854
+ color: #F96B5C;
855
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1045
856
  }
1046
857
 
1047
858
  .ImageGallery {
@@ -1279,6 +1090,88 @@
1279
1090
  font-size: 24px;
1280
1091
  }
1281
1092
 
1093
+ .ModalMenu {
1094
+ position: absolute;
1095
+ top: 10px;
1096
+ right: 50px;
1097
+ }
1098
+
1099
+ .ModalMenu .material-icons {
1100
+ color: #818181;
1101
+ }
1102
+
1103
+ .ModalMenu .Button.animated {
1104
+ position: absolute;
1105
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1106
+ opacity: 0;
1107
+ right: 0;
1108
+ top: 0;
1109
+ }
1110
+
1111
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1112
+ opacity: 1;
1113
+ }
1114
+
1115
+ .ModalMenu .Button.animated.unmounting {
1116
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1117
+ }
1118
+
1119
+ .ModalMenu .Button.active {
1120
+ background: #EBEBEB;
1121
+ }
1122
+
1123
+ .ModalMenu .separator {
1124
+ height: 24px;
1125
+ width: 1px;
1126
+ background-color: #D9D9D9;
1127
+ margin-left: 4px;
1128
+ }
1129
+
1130
+ .Snackbar {
1131
+ transform: translateX(-50%);
1132
+ overflow: hidden;
1133
+ background-color: #323232;
1134
+ padding: 14px 24px 14px 24px;
1135
+ color: #fff;
1136
+ min-width: 288px;
1137
+ max-width: 568px;
1138
+ position: fixed;
1139
+ bottom: -50px;
1140
+ left: 50%;
1141
+ display: flex;
1142
+ flex-wrap: nowrap;
1143
+ align-items: center;
1144
+ opacity: 0;
1145
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1146
+ border-radius: 4px;
1147
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1148
+ }
1149
+
1150
+ .Snackbar.shown {
1151
+ bottom: 15px;
1152
+ opacity: 1;
1153
+ }
1154
+
1155
+ .Snackbar .message {
1156
+ overflow: hidden;
1157
+ line-height: 1.2em;
1158
+ min-height: 1.2em;
1159
+ max-height: 2.4em;
1160
+ flex: 1;
1161
+ }
1162
+
1163
+ .Snackbar .action {
1164
+ text-transform: uppercase;
1165
+ font-weight: bold;
1166
+ margin-left: 48px;
1167
+ color: #bf3727;
1168
+ }
1169
+
1170
+ .Snackbar .action a {
1171
+ text-decoration: none;
1172
+ color: #bf3727;
1173
+ }
1174
+
1282
1175
  .Scrollable {
1283
1176
  max-height: 250px;
1284
1177
  max-width: 250px;
@@ -1374,104 +1267,88 @@
1374
1267
  will-change: left;
1375
1268
  }
1376
1269
 
1377
- .Snackbar {
1378
- transform: translateX(-50%);
1379
- overflow: hidden;
1380
- background-color: #323232;
1381
- padding: 14px 24px 14px 24px;
1382
- color: #fff;
1383
- min-width: 288px;
1384
- max-width: 568px;
1385
- position: fixed;
1386
- bottom: -50px;
1387
- left: 50%;
1388
- display: flex;
1389
- flex-wrap: nowrap;
1270
+ .Switch {
1271
+ display: inline-flex;
1272
+ padding-top: 5px;
1273
+ }
1274
+
1275
+ .Switch .switch-input {
1276
+ display: none;
1277
+ }
1278
+
1279
+ .Switch .switch-label {
1280
+ position: relative;
1281
+ display: inline-flex;
1390
1282
  align-items: center;
1391
- opacity: 0;
1392
- transition: bottom 0.25s ease, opacity 0.2s ease;
1393
- border-radius: 4px;
1394
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1283
+ min-width: 38px;
1284
+ height: 24px;
1285
+ cursor: pointer;
1286
+ font-weight: 500;
1287
+ text-align: left;
1288
+ user-select: none;
1289
+ margin: 0;
1290
+ padding: 0;
1291
+ padding-left: 44px;
1292
+ box-sizing: border-box;
1395
1293
  }
1396
1294
 
1397
- .Snackbar.shown {
1398
- bottom: 15px;
1399
- opacity: 1;
1295
+ .Switch .switch-label:before, .Switch .switch-label:after {
1296
+ content: "";
1297
+ box-sizing: border-box;
1298
+ position: absolute;
1299
+ margin: 0;
1300
+ outline: 0;
1301
+ top: 50%;
1302
+ transform: translate(0, -50%);
1303
+ transition: all 0.3s ease;
1400
1304
  }
1401
1305
 
1402
- .Snackbar .message {
1403
- overflow: hidden;
1404
- line-height: 1.2em;
1405
- min-height: 1.2em;
1406
- max-height: 2.4em;
1407
- flex: 1;
1306
+ .Switch .switch-label:before {
1307
+ left: 1px;
1308
+ width: 34px;
1309
+ height: 14px;
1310
+ background-color: #9E9E9E;
1311
+ border-radius: 8px;
1408
1312
  }
1409
1313
 
1410
- .Snackbar .action {
1411
- text-transform: uppercase;
1412
- font-weight: bold;
1413
- margin-left: 48px;
1414
- color: #bf3727;
1314
+ .Switch .switch-label:after {
1315
+ left: 0;
1316
+ width: 20px;
1317
+ height: 20px;
1318
+ background-color: #FAFAFA;
1319
+ border-radius: 50%;
1320
+ 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);
1415
1321
  }
1416
1322
 
1417
- .Snackbar .action a {
1418
- text-decoration: none;
1419
- color: #bf3727;
1323
+ .Switch .switch-label .toggle--on {
1324
+ display: none;
1420
1325
  }
1421
1326
 
1422
- .SpinningProgress {
1423
- width: 48px;
1424
- height: 48px;
1425
- position: relative;
1426
- margin: 0 auto;
1327
+ .Switch .switch-label .toggle--off {
1328
+ display: inline-block;
1427
1329
  }
1428
1330
 
1429
- .SpinningProgress:before {
1430
- content: "";
1431
- display: block;
1432
- padding-top: 100%;
1331
+ .Switch .switch-label .label {
1332
+ margin-right: 5px;
1433
1333
  }
1434
1334
 
1435
- .SpinningProgress .circular {
1436
- animation: rotate 2s linear infinite;
1437
- height: 100%;
1438
- transform-origin: center center;
1439
- width: 100%;
1440
- position: absolute;
1441
- top: 0;
1442
- bottom: 0;
1443
- left: 0;
1444
- right: 0;
1445
- margin: auto;
1335
+ .Switch .switch-input:checked + .switch-label:before {
1336
+ background-color: #A5D6A7;
1446
1337
  }
1447
1338
 
1448
- .SpinningProgress .line {
1449
- stroke: black;
1450
- stroke-width: 2px;
1451
- stroke-dasharray: 1, 96;
1452
- stroke-dashoffset: 0;
1453
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1339
+ .Switch .switch-input:checked + .switch-label:after {
1340
+ background-color: #4CAF50;
1341
+ transform: translate(80%, -50%);
1454
1342
  }
1455
1343
 
1456
- @keyframes rotate {
1457
- 100% {
1458
- transform: rotate(360deg);
1459
- }
1344
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1345
+ display: inline-block;
1460
1346
  }
1461
- @keyframes dash {
1462
- 0% {
1463
- stroke-dasharray: 1, 96;
1464
- stroke-dashoffset: 0;
1465
- }
1466
- 50% {
1467
- stroke-dasharray: 43, 96;
1468
- stroke-dashoffset: -17px;
1469
- }
1470
- 100% {
1471
- stroke-dasharray: 43, 96;
1472
- stroke-dashoffset: -53px;
1473
- }
1347
+
1348
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1349
+ display: none;
1474
1350
  }
1351
+
1475
1352
  .TextField {
1476
1353
  position: relative;
1477
1354
  width: 100%;
@@ -1615,6 +1492,76 @@
1615
1492
  animation-name: shake;
1616
1493
  }
1617
1494
 
1495
+ .Modal {
1496
+ display: block;
1497
+ position: fixed;
1498
+ top: 0;
1499
+ left: 0;
1500
+ right: 0;
1501
+ bottom: 100%;
1502
+ overflow-y: scroll;
1503
+ transition: bottom 0ms linear;
1504
+ transition-delay: 0.2s;
1505
+ }
1506
+
1507
+ .Modal.show {
1508
+ transition-delay: 0s;
1509
+ bottom: 0;
1510
+ }
1511
+
1512
+ .Modal > .overlay {
1513
+ position: fixed;
1514
+ top: 0;
1515
+ bottom: 100%;
1516
+ left: 0;
1517
+ right: 0;
1518
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1519
+ opacity: 0;
1520
+ background-color: black;
1521
+ pointer-events: none;
1522
+ }
1523
+
1524
+ .Modal > .overlay.show {
1525
+ opacity: 0.5;
1526
+ bottom: 0;
1527
+ }
1528
+
1529
+ .Modal > .content {
1530
+ left: 50%;
1531
+ top: 10vh;
1532
+ margin-bottom: 10vh;
1533
+ font-size: 16px;
1534
+ padding: 0;
1535
+ opacity: 0;
1536
+ transition: opacity 0.25s ease, transform 0.25s ease;
1537
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1538
+ transform-origin: top;
1539
+ position: absolute;
1540
+ border-radius: 2px;
1541
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1542
+ }
1543
+
1544
+ .Modal > .content.show {
1545
+ opacity: 1;
1546
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1547
+ }
1548
+
1549
+ .Modal > .content > .Scrollable {
1550
+ overflow: visible;
1551
+ max-height: 80vh;
1552
+ }
1553
+
1554
+ .Modal > .content > .Scrollable > .viewport {
1555
+ min-width: 10px;
1556
+ min-height: 10px;
1557
+ }
1558
+
1559
+ .Modal > .content > .Button.close {
1560
+ top: 10px;
1561
+ right: 10px;
1562
+ position: absolute;
1563
+ }
1564
+
1618
1565
  .DNDContainer .DroppableList .Draggable {
1619
1566
  transform: unset;
1620
1567
  transition: unset;
@@ -1633,6 +1580,59 @@
1633
1580
  transition: transform 0.1s ease-in;
1634
1581
  }
1635
1582
 
1583
+ .SpinningProgress {
1584
+ width: 48px;
1585
+ height: 48px;
1586
+ position: relative;
1587
+ margin: 0 auto;
1588
+ }
1589
+
1590
+ .SpinningProgress:before {
1591
+ content: "";
1592
+ display: block;
1593
+ padding-top: 100%;
1594
+ }
1595
+
1596
+ .SpinningProgress .circular {
1597
+ animation: rotate 2s linear infinite;
1598
+ height: 100%;
1599
+ transform-origin: center center;
1600
+ width: 100%;
1601
+ position: absolute;
1602
+ top: 0;
1603
+ bottom: 0;
1604
+ left: 0;
1605
+ right: 0;
1606
+ margin: auto;
1607
+ }
1608
+
1609
+ .SpinningProgress .line {
1610
+ stroke: black;
1611
+ stroke-width: 2px;
1612
+ stroke-dasharray: 1, 96;
1613
+ stroke-dashoffset: 0;
1614
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1615
+ }
1616
+
1617
+ @keyframes rotate {
1618
+ 100% {
1619
+ transform: rotate(360deg);
1620
+ }
1621
+ }
1622
+ @keyframes dash {
1623
+ 0% {
1624
+ stroke-dasharray: 1, 96;
1625
+ stroke-dashoffset: 0;
1626
+ }
1627
+ 50% {
1628
+ stroke-dasharray: 43, 96;
1629
+ stroke-dashoffset: -17px;
1630
+ }
1631
+ 100% {
1632
+ stroke-dasharray: 43, 96;
1633
+ stroke-dashoffset: -53px;
1634
+ }
1635
+ }
1636
1636
  .CalendarMonthView {
1637
1637
  display: flex;
1638
1638
  flex-flow: column nowrap;
@@ -1658,6 +1658,38 @@
1658
1658
  height: 100%;
1659
1659
  }
1660
1660
 
1661
+ .DNDContainer {
1662
+ position: relative;
1663
+ }
1664
+
1665
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1666
+ cursor: pointer;
1667
+ }
1668
+
1669
+ .DNDContainer .Draggable.placeholder {
1670
+ opacity: 0.2;
1671
+ }
1672
+
1673
+ .DNDContainer .Draggable.copy {
1674
+ position: absolute;
1675
+ box-sizing: border-box;
1676
+ will-change: transform;
1677
+ opacity: 0;
1678
+ }
1679
+
1680
+ .DNDContainer .Draggable.dragged {
1681
+ z-index: 10;
1682
+ }
1683
+
1684
+ .DNDContainer .overlay {
1685
+ position: absolute;
1686
+ top: 0;
1687
+ left: 0;
1688
+ right: 0;
1689
+ bottom: 0;
1690
+ pointer-events: none;
1691
+ }
1692
+
1661
1693
  .DatePicker {
1662
1694
  position: relative;
1663
1695
  }
@@ -1775,46 +1807,6 @@
1775
1807
  background-color: #51adf6;
1776
1808
  }
1777
1809
 
1778
- .DNDContainer {
1779
- position: relative;
1780
- }
1781
-
1782
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1783
- cursor: pointer;
1784
- }
1785
-
1786
- .DNDContainer .Draggable.placeholder {
1787
- opacity: 0.2;
1788
- }
1789
-
1790
- .DNDContainer .Draggable.copy {
1791
- position: absolute;
1792
- box-sizing: border-box;
1793
- will-change: transform;
1794
- opacity: 0;
1795
- }
1796
-
1797
- .DNDContainer .Draggable.dragged {
1798
- z-index: 10;
1799
- }
1800
-
1801
- .DNDContainer .overlay {
1802
- position: absolute;
1803
- top: 0;
1804
- left: 0;
1805
- right: 0;
1806
- bottom: 0;
1807
- pointer-events: none;
1808
- }
1809
-
1810
- .ScrollableTable .Scrollable .scrollbar {
1811
- top: 56px;
1812
- }
1813
-
1814
- .ScrollableTable .Table {
1815
- position: static;
1816
- }
1817
-
1818
1810
  .Table {
1819
1811
  font-family: Roboto, sans-serif;
1820
1812
  font-size: 14px;
@@ -1935,4 +1927,12 @@
1935
1927
 
1936
1928
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1937
1929
  margin: 0;
1930
+ }
1931
+
1932
+ .ScrollableTable .Scrollable .scrollbar {
1933
+ top: 56px;
1934
+ }
1935
+
1936
+ .ScrollableTable .Table {
1937
+ position: static;
1938
1938
  }