react-ui-basics 0.0.193 → 0.0.195

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,3 +1,196 @@
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
+ .DropFileInput {
168
+ flex-grow: 1;
169
+ }
170
+
171
+ .DropFileInput .Dropzone {
172
+ border: 1px dashed #808080;
173
+ padding: 12px;
174
+ display: flex;
175
+ flex-flow: row nowrap;
176
+ justify-content: center;
177
+ align-items: center;
178
+ color: gray;
179
+ cursor: pointer;
180
+ border-radius: 3px;
181
+ font-weight: normal;
182
+ line-height: 22px;
183
+ font-size: 14px;
184
+ color: #7E7E7E;
185
+ max-width: 100%;
186
+ word-break: break-all;
187
+ word-break: break-word;
188
+ }
189
+
190
+ .DropFileInput .Dropzone .icon.withText {
191
+ margin-right: 10px;
192
+ }
193
+
1
194
  .AutocompleteSelect {
2
195
  display: inline-flex;
3
196
  flex-flow: column;
@@ -293,199 +486,42 @@
293
486
  position: absolute;
294
487
  }
295
488
 
296
- .Button {
297
- position: relative;
298
- min-width: 64px;
299
- min-height: 36px;
300
- height: 24px;
301
- margin: 0px;
302
- padding: 0px 16px;
303
- border: none;
304
- outline: none;
305
- font-size: 14px;
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;
315
- cursor: pointer;
316
- overflow: hidden;
317
- user-select: none;
318
- border-radius: 3px;
319
- transition: all 0.2s ease;
489
+ .CircleProgress {
490
+ width: 48px;
491
+ height: 48px;
320
492
  }
321
493
 
322
- .Button.flat {
323
- background-color: transparent;
494
+ .CircleProgress .line {
495
+ stroke-width: 2px;
496
+ stroke: black;
497
+ stroke-linecap: square;
498
+ fill: none;
499
+ transition: stroke-dashoffset 0.2s ease;
324
500
  }
325
501
 
326
- .Button.flat:hover {
327
- background-color: rgba(0, 0, 0, 0.05);
502
+ .animated {
503
+ transition: opacity 250ms ease;
504
+ opacity: 0;
328
505
  }
329
506
 
330
- .Button.green {
331
- background-color: #43a047;
332
- color: white;
507
+ .animated.mounting, .animated.mounted {
508
+ opacity: 1;
333
509
  }
334
510
 
335
- .Button.green:hover {
336
- background-color: #3b8e3f;
511
+ .Checkbox {
512
+ position: relative;
513
+ white-space: pre;
337
514
  }
338
515
 
339
- .Button.blue {
340
- background-color: #039be5;
341
- color: white;
516
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
517
+ box-sizing: border-box;
342
518
  }
343
519
 
344
- .Button.blue:hover {
345
- background-color: #038acc;
346
- }
347
-
348
- .Button.red {
349
- background-color: #e53935;
350
- color: white;
351
- }
352
-
353
- .Button.red:hover {
354
- background-color: #e2231e;
355
- }
356
-
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;
520
+ .Checkbox label {
521
+ font-family: Roboto, sans-serif;
522
+ font-size: 14px;
523
+ color: #1e252d;
524
+ cursor: pointer;
489
525
  }
490
526
 
491
527
  .Checkbox label:before, .Checkbox label:after {
@@ -581,278 +617,382 @@
581
617
  margin-bottom: 0;
582
618
  }
583
619
 
584
- .animated {
585
- transition: opacity 250ms ease;
586
- opacity: 0;
587
- }
588
-
589
- .animated.mounting, .animated.mounted {
590
- opacity: 1;
591
- }
592
-
593
- .Button.FloatingActionButton {
620
+ .FormUploadProgress {
594
621
  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);
622
+ left: 0;
623
+ right: 0;
624
+ top: 0;
625
+ bottom: 0;
626
+ background-color: rgba(255, 255, 255, 0.6);
627
+ z-index: 2;
601
628
  }
602
629
 
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);
630
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
631
+ transition-delay: 500ms;
605
632
  }
606
633
 
607
- .Button.FloatingActionButton.mini {
608
- width: 40px;
609
- height: 40px;
610
- padding: 8px;
634
+ .FormUploadProgress .wrapper {
635
+ position: sticky;
636
+ top: 40%;
637
+ margin-top: 40%;
638
+ margin-left: 50%;
639
+ transform: translateX(-50%);
640
+ display: flex;
641
+ flex-flow: column;
642
+ justify-content: center;
643
+ align-items: center;
611
644
  }
612
645
 
613
- .Button.FloatingActionButton.hidden {
614
- bottom: -100px;
646
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
647
+ position: absolute;
648
+ width: 107px;
649
+ height: 107px;
650
+ top: 0;
651
+ left: 0;
615
652
  }
616
653
 
617
- .FilteredList {
618
- max-height: 250px;
619
- position: relative;
654
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
655
+ stroke: #2196F3;
620
656
  }
621
657
 
622
- .FilteredList.popup {
623
- padding: 0;
624
- visibility: hidden;
625
- position: absolute;
658
+ .FormUploadProgress .wrapper > .progress {
659
+ width: 107px;
660
+ height: 107px;
661
+ min-height: 107px;
662
+ display: flex;
663
+ justify-content: center;
664
+ align-items: center;
665
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
666
+ border-radius: 50%;
626
667
  background: white;
627
- z-index: 4;
628
- 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);
629
- transition: all 0.2s ease-out;
630
- top: calc(100% + 4px);
631
- opacity: 0;
632
- border-radius: 2px;
668
+ position: relative;
633
669
  }
634
670
 
635
- .FilteredList.popup.visible {
636
- opacity: 1;
637
- visibility: visible;
671
+ .FormUploadProgress .wrapper > .progress > .value {
672
+ display: inline-block;
673
+ margin-top: 5px;
674
+ font-weight: bold;
675
+ line-height: 16px;
676
+ font-size: 13px;
677
+ text-align: center;
678
+ color: #818181;
638
679
  }
639
680
 
640
- .FilteredList.portal {
641
- transition: opacity 0.2s ease-out;
681
+ .FormUploadProgress .wrapper .cancel {
682
+ min-width: 107px;
683
+ margin-top: 20px;
684
+ background-color: white;
685
+ color: #F96B5C;
686
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
642
687
  }
643
688
 
644
- .FilteredList.inline {
645
- max-height: 225px;
646
- margin-top: 5px;
689
+ .Dropzone {
690
+ position: relative;
647
691
  }
648
692
 
649
- .FilteredList .child {
693
+ .Dropzone > .overlay {
694
+ position: absolute;
695
+ left: 0;
696
+ right: 0;
697
+ top: 0;
698
+ bottom: 0;
699
+ background-color: #38ADC4;
700
+ z-index: 1;
701
+ opacity: 0;
702
+ transition: all 0.2s ease;
703
+ transition-delay: 100ms;
704
+ visibility: hidden;
650
705
  display: flex;
651
- flex-flow: row nowrap;
706
+ justify-content: center;
652
707
  align-items: center;
653
- white-space: nowrap;
654
- font-size: 14px;
655
- color: rgb(34, 34, 34);
656
- height: 30px;
657
- padding: 5px 10px;
658
- padding-right: 15px;
708
+ }
709
+
710
+ .Dropzone > .overlay .drop {
711
+ border-radius: 4px;
712
+ border: 1px dashed #FFFFFF;
713
+ position: absolute;
714
+ top: 18px;
715
+ left: 18px;
716
+ right: 18px;
717
+ bottom: 18px;
718
+ display: flex;
719
+ justify-content: center;
720
+ align-items: center;
721
+ font-weight: 500;
722
+ font-size: 18px;
723
+ color: #FFFFFF;
724
+ }
725
+
726
+ .Dropzone.dragging > .overlay {
727
+ opacity: 0.7;
728
+ visibility: visible;
729
+ transition-delay: 0s;
730
+ }
731
+
732
+ .Dropzone.dragging > * {
733
+ pointer-events: none;
734
+ }
735
+
736
+ .Dropzone > input.file {
737
+ position: absolute;
738
+ left: 0;
739
+ right: 0;
740
+ top: 0;
741
+ bottom: 0;
742
+ width: 100%;
743
+ height: 100%;
744
+ opacity: 0;
659
745
  cursor: pointer;
746
+ z-index: 1;
747
+ }
748
+
749
+ .Snackbar {
750
+ transform: translateX(-50%);
660
751
  overflow: hidden;
661
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
662
- border-left: 5px solid #4AC263;
663
- padding-left: 15px;
664
- margin-left: -5px;
752
+ background-color: #323232;
753
+ padding: 14px 24px 14px 24px;
754
+ color: #fff;
755
+ min-width: 288px;
756
+ max-width: 568px;
757
+ position: fixed;
758
+ bottom: -50px;
759
+ left: 50%;
760
+ display: flex;
761
+ flex-wrap: nowrap;
762
+ align-items: center;
763
+ opacity: 0;
764
+ transition: bottom 0.25s ease, opacity 0.2s ease;
765
+ border-radius: 4px;
766
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
665
767
  }
666
768
 
667
- .FilteredList .child.hidden {
668
- height: 0 !important;
669
- padding: 0 !important;
769
+ .Snackbar.shown {
770
+ bottom: 15px;
771
+ opacity: 1;
670
772
  }
671
773
 
672
- .FilteredList .child.selected {
673
- background-color: #F0F0F0;
674
- padding-left: 10px;
675
- margin-left: 0px;
774
+ .Snackbar .message {
775
+ overflow: hidden;
776
+ line-height: 1.2em;
777
+ min-height: 1.2em;
778
+ max-height: 2.4em;
779
+ flex: 1;
676
780
  }
677
781
 
678
- .FilteredList .child.active {
679
- background-color: rgb(238, 238, 238);
782
+ .Snackbar .action {
783
+ text-transform: uppercase;
784
+ font-weight: bold;
785
+ margin-left: 48px;
786
+ color: #bf3727;
680
787
  }
681
788
 
682
- .FilteredList .child {
683
- margin-top: 8px;
789
+ .Snackbar .action a {
790
+ text-decoration: none;
791
+ color: #bf3727;
684
792
  }
685
793
 
686
- .FilteredList .child.hidden {
687
- margin-top: 0;
794
+ .Scrollable {
795
+ max-height: 250px;
796
+ max-width: 250px;
797
+ padding-right: 5px;
798
+ position: relative;
799
+ display: flex;
800
+ flex-flow: column;
801
+ align-items: stretch;
802
+ overflow: hidden;
688
803
  }
689
804
 
690
- .FilteredList .child:not(.hidden) ~ .child {
691
- margin-top: 0;
805
+ .Scrollable:hover > .scrollbar.auto {
806
+ transition-delay: 0s;
807
+ opacity: 1;
692
808
  }
693
809
 
694
- .FilteredList .child:not(.hidden) ~ .child:last-child {
695
- margin-bottom: 8px;
810
+ .Scrollable .viewport {
811
+ overflow-y: scroll;
812
+ overflow-x: scroll;
813
+ max-height: 100%;
814
+ scroll-behavior: smooth;
815
+ scrollbar-width: none;
696
816
  }
697
817
 
698
- .FilteredList .child:not(.hidden):last-child {
699
- margin-bottom: 8px;
818
+ .Scrollable .viewport::-webkit-scrollbar {
819
+ display: none;
700
820
  }
701
821
 
702
- .DropFileInput {
703
- flex-grow: 1;
822
+ .Scrollable.without-scroll-horizontal {
823
+ max-width: unset;
704
824
  }
705
825
 
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;
826
+ .Scrollable.without-scroll {
827
+ padding-right: 0;
828
+ max-height: unset;
723
829
  }
724
830
 
725
- .DropFileInput .Dropzone .icon.withText {
726
- margin-right: 10px;
831
+ .Scrollable.without-scroll > .viewport {
832
+ padding-right: 0;
833
+ margin-right: 0;
727
834
  }
728
835
 
729
- .Dropzone {
730
- position: relative;
836
+ .Scrollable.without-scroll > .scrollbar {
837
+ visibility: hidden;
731
838
  }
732
839
 
733
- .Dropzone > .overlay {
840
+ .Scrollable .scrollbar {
734
841
  position: absolute;
735
- left: 0;
736
- right: 0;
737
- top: 0;
738
- bottom: 0;
739
- background-color: #38ADC4;
842
+ right: 0px;
843
+ top: 0px;
844
+ width: 5px;
845
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
846
+ transition-delay: 0.5s;
740
847
  z-index: 1;
848
+ }
849
+
850
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
741
851
  opacity: 0;
742
- transition: all 0.2s ease;
743
- transition-delay: 100ms;
744
- visibility: hidden;
745
- display: flex;
746
- justify-content: center;
747
- align-items: center;
748
852
  }
749
853
 
750
- .Dropzone > .overlay .drop {
751
- border-radius: 4px;
752
- border: 1px dashed #FFFFFF;
854
+ .Scrollable .scrollbar .thumb {
855
+ background-color: rgba(0, 0, 0, 0.3);
856
+ width: 5px;
753
857
  position: absolute;
754
- top: 18px;
755
- left: 18px;
756
- right: 18px;
757
- bottom: 18px;
758
- display: flex;
759
- justify-content: center;
760
- align-items: center;
761
- font-weight: 500;
762
- font-size: 18px;
763
- color: #FFFFFF;
858
+ right: 0px;
859
+ top: 0px;
860
+ user-select: none;
861
+ will-change: top;
862
+ border-radius: 2px;
764
863
  }
765
864
 
766
- .Dropzone.dragging > .overlay {
767
- opacity: 0.7;
768
- visibility: visible;
769
- transition-delay: 0s;
865
+ .Scrollable .scrollbar .thumb:hover {
866
+ background-color: rgba(0, 0, 0, 0.5);
770
867
  }
771
868
 
772
- .Dropzone.dragging > * {
773
- pointer-events: none;
869
+ .Scrollable .scrollbar .thumb:active {
870
+ background-color: rgba(0, 0, 0, 0.7);
774
871
  }
775
872
 
776
- .Dropzone > input.file {
777
- position: absolute;
778
- left: 0;
779
- right: 0;
780
- top: 0;
873
+ .Scrollable .scrollbar.horizontal {
874
+ left: 0px;
875
+ right: 0px;
876
+ height: 5px;
781
877
  bottom: 0;
782
- width: 100%;
783
- height: 100%;
784
- opacity: 0;
785
- cursor: pointer;
786
- z-index: 1;
878
+ width: unset;
879
+ top: unset;
787
880
  }
788
881
 
789
- .FormUploadProgress {
882
+ .Scrollable .scrollbar.horizontal .thumb {
883
+ height: 5px;
884
+ left: 0px;
885
+ bottom: 0px;
886
+ will-change: left;
887
+ }
888
+
889
+ .FilteredList {
890
+ max-height: 250px;
891
+ position: relative;
892
+ }
893
+
894
+ .FilteredList.popup {
895
+ padding: 0;
896
+ visibility: hidden;
790
897
  position: absolute;
791
- left: 0;
792
- right: 0;
793
- top: 0;
794
- bottom: 0;
795
- background-color: rgba(255, 255, 255, 0.6);
796
- z-index: 2;
898
+ background: white;
899
+ z-index: 4;
900
+ 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);
901
+ transition: all 0.2s ease-out;
902
+ top: calc(100% + 4px);
903
+ opacity: 0;
904
+ border-radius: 2px;
797
905
  }
798
906
 
799
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
800
- transition-delay: 500ms;
907
+ .FilteredList.popup.visible {
908
+ opacity: 1;
909
+ visibility: visible;
801
910
  }
802
911
 
803
- .FormUploadProgress .wrapper {
804
- position: sticky;
805
- top: 40%;
806
- margin-top: 40%;
807
- margin-left: 50%;
808
- transform: translateX(-50%);
912
+ .FilteredList.portal {
913
+ transition: opacity 0.2s ease-out;
914
+ }
915
+
916
+ .FilteredList.inline {
917
+ max-height: 225px;
918
+ margin-top: 5px;
919
+ }
920
+
921
+ .FilteredList .child {
809
922
  display: flex;
810
- flex-flow: column;
811
- justify-content: center;
923
+ flex-flow: row nowrap;
812
924
  align-items: center;
925
+ white-space: nowrap;
926
+ font-size: 14px;
927
+ color: rgb(34, 34, 34);
928
+ height: 30px;
929
+ padding: 5px 10px;
930
+ padding-right: 15px;
931
+ cursor: pointer;
932
+ overflow: hidden;
933
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
934
+ border-left: 5px solid #4AC263;
935
+ padding-left: 15px;
936
+ margin-left: -5px;
937
+ }
938
+
939
+ .FilteredList .child.hidden {
940
+ height: 0 !important;
941
+ padding: 0 !important;
942
+ }
943
+
944
+ .FilteredList .child.selected {
945
+ background-color: #F0F0F0;
946
+ padding-left: 10px;
947
+ margin-left: 0px;
948
+ }
949
+
950
+ .FilteredList .child.active {
951
+ background-color: rgb(238, 238, 238);
952
+ }
953
+
954
+ .FilteredList .child {
955
+ margin-top: 8px;
956
+ }
957
+
958
+ .FilteredList .child.hidden {
959
+ margin-top: 0;
813
960
  }
814
961
 
815
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
816
- position: absolute;
817
- width: 107px;
818
- height: 107px;
819
- top: 0;
820
- left: 0;
962
+ .FilteredList .child:not(.hidden) ~ .child {
963
+ margin-top: 0;
821
964
  }
822
965
 
823
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
824
- stroke: #2196F3;
966
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
967
+ margin-bottom: 8px;
825
968
  }
826
969
 
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;
970
+ .FilteredList .child:not(.hidden):last-child {
971
+ margin-bottom: 8px;
838
972
  }
839
973
 
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;
974
+ .Button.FloatingActionButton {
975
+ position: absolute;
976
+ right: 16px;
977
+ bottom: 16px;
978
+ width: 56px;
979
+ height: 56px;
980
+ padding: 16px;
981
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
848
982
  }
849
983
 
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);
984
+ .Button.FloatingActionButton.raised {
985
+ 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);
986
+ }
987
+
988
+ .Button.FloatingActionButton.mini {
989
+ width: 40px;
990
+ height: 40px;
991
+ padding: 8px;
992
+ }
993
+
994
+ .Button.FloatingActionButton.hidden {
995
+ bottom: -100px;
856
996
  }
857
997
 
858
998
  .ImageGallery {
@@ -1127,226 +1267,74 @@
1127
1267
  margin-left: 4px;
1128
1268
  }
1129
1269
 
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;
1270
+ .Modal {
1271
+ display: block;
1138
1272
  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
-
1175
- .Scrollable {
1176
- max-height: 250px;
1177
- max-width: 250px;
1178
- padding-right: 5px;
1179
- position: relative;
1180
- display: flex;
1181
- flex-flow: column;
1182
- align-items: stretch;
1183
- overflow: hidden;
1184
- }
1185
-
1186
- .Scrollable:hover > .scrollbar.auto {
1187
- transition-delay: 0s;
1188
- opacity: 1;
1189
- }
1190
-
1191
- .Scrollable .viewport {
1192
- overflow-y: scroll;
1193
- overflow-x: scroll;
1194
- max-height: 100%;
1195
- scroll-behavior: smooth;
1196
- scrollbar-width: none;
1197
- }
1198
-
1199
- .Scrollable .viewport::-webkit-scrollbar {
1200
- display: none;
1201
- }
1202
-
1203
- .Scrollable.without-scroll-horizontal {
1204
- max-width: unset;
1205
- }
1206
-
1207
- .Scrollable.without-scroll {
1208
- padding-right: 0;
1209
- max-height: unset;
1210
- }
1211
-
1212
- .Scrollable.without-scroll > .viewport {
1213
- padding-right: 0;
1214
- margin-right: 0;
1215
- }
1216
-
1217
- .Scrollable.without-scroll > .scrollbar {
1218
- visibility: hidden;
1219
- }
1220
-
1221
- .Scrollable .scrollbar {
1222
- position: absolute;
1223
- right: 0px;
1224
- top: 0px;
1225
- width: 5px;
1226
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1227
- transition-delay: 0.5s;
1228
- z-index: 1;
1229
- }
1230
-
1231
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1232
- opacity: 0;
1233
- }
1234
-
1235
- .Scrollable .scrollbar .thumb {
1236
- background-color: rgba(0, 0, 0, 0.3);
1237
- width: 5px;
1238
- position: absolute;
1239
- right: 0px;
1240
- top: 0px;
1241
- user-select: none;
1242
- will-change: top;
1243
- border-radius: 2px;
1244
- }
1245
-
1246
- .Scrollable .scrollbar .thumb:hover {
1247
- background-color: rgba(0, 0, 0, 0.5);
1248
- }
1249
-
1250
- .Scrollable .scrollbar .thumb:active {
1251
- background-color: rgba(0, 0, 0, 0.7);
1252
- }
1253
-
1254
- .Scrollable .scrollbar.horizontal {
1255
- left: 0px;
1256
- right: 0px;
1257
- height: 5px;
1258
- bottom: 0;
1259
- width: unset;
1260
- top: unset;
1261
- }
1262
-
1263
- .Scrollable .scrollbar.horizontal .thumb {
1264
- height: 5px;
1265
- left: 0px;
1266
- bottom: 0px;
1267
- will-change: left;
1268
- }
1269
-
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;
1282
- align-items: center;
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;
1293
- }
1294
-
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;
1304
- }
1305
-
1306
- .Switch .switch-label:before {
1307
- left: 1px;
1308
- width: 34px;
1309
- height: 14px;
1310
- background-color: #9E9E9E;
1311
- border-radius: 8px;
1312
- }
1313
-
1314
- .Switch .switch-label:after {
1273
+ top: 0;
1315
1274
  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);
1275
+ right: 0;
1276
+ bottom: 100%;
1277
+ overflow-y: scroll;
1278
+ transition: bottom 0ms linear;
1279
+ transition-delay: 0.2s;
1321
1280
  }
1322
1281
 
1323
- .Switch .switch-label .toggle--on {
1324
- display: none;
1282
+ .Modal.show {
1283
+ transition-delay: 0s;
1284
+ bottom: 0;
1325
1285
  }
1326
1286
 
1327
- .Switch .switch-label .toggle--off {
1328
- display: inline-block;
1287
+ .Modal > .overlay {
1288
+ position: fixed;
1289
+ top: 0;
1290
+ bottom: 100%;
1291
+ left: 0;
1292
+ right: 0;
1293
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1294
+ opacity: 0;
1295
+ background-color: black;
1296
+ pointer-events: none;
1329
1297
  }
1330
1298
 
1331
- .Switch .switch-label .label {
1332
- margin-right: 5px;
1299
+ .Modal > .overlay.show {
1300
+ opacity: 0.5;
1301
+ bottom: 0;
1333
1302
  }
1334
1303
 
1335
- .Switch .switch-input:checked + .switch-label:before {
1336
- background-color: #A5D6A7;
1304
+ .Modal > .content {
1305
+ left: 50%;
1306
+ top: 10vh;
1307
+ margin-bottom: 10vh;
1308
+ font-size: 16px;
1309
+ padding: 0;
1310
+ opacity: 0;
1311
+ transition: opacity 0.25s ease, transform 0.25s ease;
1312
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1313
+ transform-origin: top;
1314
+ position: absolute;
1315
+ border-radius: 2px;
1316
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1337
1317
  }
1338
1318
 
1339
- .Switch .switch-input:checked + .switch-label:after {
1340
- background-color: #4CAF50;
1341
- transform: translate(80%, -50%);
1319
+ .Modal > .content.show {
1320
+ opacity: 1;
1321
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1342
1322
  }
1343
1323
 
1344
- .Switch .switch-input:checked + .switch-label .toggle--on {
1345
- display: inline-block;
1324
+ .Modal > .content > .Scrollable {
1325
+ overflow: visible;
1326
+ max-height: 80vh;
1346
1327
  }
1347
1328
 
1348
- .Switch .switch-input:checked + .switch-label .toggle--off {
1349
- display: none;
1329
+ .Modal > .content > .Scrollable > .viewport {
1330
+ min-width: 10px;
1331
+ min-height: 10px;
1332
+ }
1333
+
1334
+ .Modal > .content > .Button.close {
1335
+ top: 10px;
1336
+ right: 10px;
1337
+ position: absolute;
1350
1338
  }
1351
1339
 
1352
1340
  .TextField {
@@ -1492,92 +1480,104 @@
1492
1480
  animation-name: shake;
1493
1481
  }
1494
1482
 
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;
1483
+ .DNDContainer .DroppableList .Draggable {
1484
+ transform: unset;
1485
+ transition: unset;
1486
+ opacity: 1;
1505
1487
  }
1506
1488
 
1507
- .Modal.show {
1508
- transition-delay: 0s;
1509
- bottom: 0;
1489
+ .DNDContainer .DroppableList .Draggable.dragged {
1490
+ transition: unset !important;
1510
1491
  }
1511
1492
 
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;
1493
+ .DNDContainer .DroppableList.hover .Draggable {
1494
+ transition: transform 0.2s ease-in;
1522
1495
  }
1523
1496
 
1524
- .Modal > .overlay.show {
1525
- opacity: 0.5;
1526
- bottom: 0;
1497
+ .DNDContainer .DroppableList.resetting .Draggable {
1498
+ transition: transform 0.1s ease-in;
1527
1499
  }
1528
1500
 
1529
- .Modal > .content {
1530
- left: 50%;
1531
- top: 10vh;
1532
- margin-bottom: 10vh;
1533
- font-size: 16px;
1501
+ .Switch {
1502
+ display: inline-flex;
1503
+ padding-top: 5px;
1504
+ }
1505
+
1506
+ .Switch .switch-input {
1507
+ display: none;
1508
+ }
1509
+
1510
+ .Switch .switch-label {
1511
+ position: relative;
1512
+ display: inline-flex;
1513
+ align-items: center;
1514
+ min-width: 38px;
1515
+ height: 24px;
1516
+ cursor: pointer;
1517
+ font-weight: 500;
1518
+ text-align: left;
1519
+ user-select: none;
1520
+ margin: 0;
1534
1521
  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;
1522
+ padding-left: 44px;
1523
+ box-sizing: border-box;
1524
+ }
1525
+
1526
+ .Switch .switch-label:before, .Switch .switch-label:after {
1527
+ content: "";
1528
+ box-sizing: border-box;
1539
1529
  position: absolute;
1540
- border-radius: 2px;
1541
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1530
+ margin: 0;
1531
+ outline: 0;
1532
+ top: 50%;
1533
+ transform: translate(0, -50%);
1534
+ transition: all 0.3s ease;
1542
1535
  }
1543
1536
 
1544
- .Modal > .content.show {
1545
- opacity: 1;
1546
- transform: scaleY(1) translateY(0px) translateX(-50%);
1537
+ .Switch .switch-label:before {
1538
+ left: 1px;
1539
+ width: 34px;
1540
+ height: 14px;
1541
+ background-color: #9E9E9E;
1542
+ border-radius: 8px;
1547
1543
  }
1548
1544
 
1549
- .Modal > .content > .Scrollable {
1550
- overflow: visible;
1551
- max-height: 80vh;
1545
+ .Switch .switch-label:after {
1546
+ left: 0;
1547
+ width: 20px;
1548
+ height: 20px;
1549
+ background-color: #FAFAFA;
1550
+ border-radius: 50%;
1551
+ 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);
1552
1552
  }
1553
1553
 
1554
- .Modal > .content > .Scrollable > .viewport {
1555
- min-width: 10px;
1556
- min-height: 10px;
1554
+ .Switch .switch-label .toggle--on {
1555
+ display: none;
1557
1556
  }
1558
1557
 
1559
- .Modal > .content > .Button.close {
1560
- top: 10px;
1561
- right: 10px;
1562
- position: absolute;
1558
+ .Switch .switch-label .toggle--off {
1559
+ display: inline-block;
1563
1560
  }
1564
1561
 
1565
- .DNDContainer .DroppableList .Draggable {
1566
- transform: unset;
1567
- transition: unset;
1568
- opacity: 1;
1562
+ .Switch .switch-label .label {
1563
+ margin-right: 5px;
1569
1564
  }
1570
1565
 
1571
- .DNDContainer .DroppableList .Draggable.dragged {
1572
- transition: unset !important;
1566
+ .Switch .switch-input:checked + .switch-label:before {
1567
+ background-color: #A5D6A7;
1573
1568
  }
1574
1569
 
1575
- .DNDContainer .DroppableList.hover .Draggable {
1576
- transition: transform 0.2s ease-in;
1570
+ .Switch .switch-input:checked + .switch-label:after {
1571
+ background-color: #4CAF50;
1572
+ transform: translate(80%, -50%);
1577
1573
  }
1578
1574
 
1579
- .DNDContainer .DroppableList.resetting .Draggable {
1580
- transition: transform 0.1s ease-in;
1575
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1576
+ display: inline-block;
1577
+ }
1578
+
1579
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1580
+ display: none;
1581
1581
  }
1582
1582
 
1583
1583
  .SpinningProgress {
@@ -1658,38 +1658,6 @@
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
-
1693
1661
  .DatePicker {
1694
1662
  position: relative;
1695
1663
  }
@@ -1807,6 +1775,38 @@
1807
1775
  background-color: #51adf6;
1808
1776
  }
1809
1777
 
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
1810
  .Table {
1811
1811
  font-family: Roboto, sans-serif;
1812
1812
  font-size: 14px;