react-ui-basics 0.0.200 → 0.0.202

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,236 @@
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
+ .Checkbox {
168
+ position: relative;
169
+ white-space: pre;
170
+ }
171
+
172
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
173
+ box-sizing: border-box;
174
+ }
175
+
176
+ .Checkbox label {
177
+ font-family: Roboto, sans-serif;
178
+ font-size: 14px;
179
+ color: #1e252d;
180
+ cursor: pointer;
181
+ }
182
+
183
+ .Checkbox label:before, .Checkbox label:after {
184
+ content: "";
185
+ position: absolute;
186
+ left: 0;
187
+ top: 0;
188
+ }
189
+
190
+ .Checkbox label:before {
191
+ width: 20px;
192
+ height: 20px;
193
+ background: #fff;
194
+ border: 2px solid #252525;
195
+ border-radius: 2px;
196
+ cursor: pointer;
197
+ transition: background 0.3s;
198
+ }
199
+
200
+ .Checkbox input[type=checkbox] {
201
+ outline: 0;
202
+ margin-right: 10px;
203
+ visibility: hidden;
204
+ }
205
+
206
+ .Checkbox input[type=checkbox]:checked + label:before {
207
+ background: #4AC263;
208
+ border: none;
209
+ }
210
+
211
+ .Checkbox input[type=checkbox]:checked + label:after {
212
+ transform: rotate(-45deg);
213
+ top: 6px;
214
+ left: 4px;
215
+ width: 12px;
216
+ height: 6px;
217
+ border: 2px solid #fff;
218
+ border-top-style: none;
219
+ border-right-style: none;
220
+ }
221
+
222
+ .Checkbox input[type=checkbox]:disabled + label {
223
+ color: gray;
224
+ }
225
+
226
+ .Checkbox input[type=checkbox]:disabled + label:before {
227
+ border-color: rgba(0, 0, 0, 0.26);
228
+ }
229
+
230
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
231
+ background: rgba(0, 0, 0, 0.26);
232
+ }
233
+
1
234
  .AutocompleteSelect {
2
235
  display: inline-flex;
3
236
  flex-flow: column;
@@ -293,250 +526,137 @@
293
526
  position: absolute;
294
527
  }
295
528
 
296
- .CircleProgress {
297
- width: 48px;
298
- height: 48px;
529
+ .animated {
530
+ transition: opacity 250ms ease;
531
+ opacity: 0;
299
532
  }
300
533
 
301
- .CircleProgress .line {
302
- stroke-width: 2px;
303
- stroke: black;
304
- stroke-linecap: square;
305
- fill: none;
306
- transition: stroke-dashoffset 0.2s ease;
534
+ .animated.mounting, .animated.mounted {
535
+ opacity: 1;
307
536
  }
308
537
 
309
- .Button {
538
+ .Dropzone {
310
539
  position: relative;
311
- min-width: 64px;
312
- min-height: 36px;
313
- height: 24px;
314
- margin: 0px;
315
- padding: 0px 16px;
316
- border: none;
317
- outline: none;
318
- font-size: 14px;
319
- font-weight: 500;
320
- letter-spacing: 1.25px;
321
- background: #dfdfdf;
322
- text-transform: uppercase;
323
- font-family: Roboto, sans-serif;
324
- -webkit-tap-highlight-color: transparent;
325
- display: inline-flex;
326
- justify-content: center;
327
- align-items: center;
328
- cursor: pointer;
329
- overflow: hidden;
330
- user-select: none;
331
- border-radius: 3px;
332
- transition: all 0.2s ease;
333
- }
334
-
335
- .Button.flat {
336
- background-color: transparent;
337
- }
338
-
339
- .Button.flat:hover {
340
- background-color: rgba(0, 0, 0, 0.05);
341
- }
342
-
343
- .Button.green {
344
- background-color: #43a047;
345
- color: white;
346
- }
347
-
348
- .Button.green:hover {
349
- background-color: #3b8e3f;
350
- }
351
-
352
- .Button.blue {
353
- background-color: #039be5;
354
- color: white;
355
- }
356
-
357
- .Button.blue:hover {
358
- background-color: #038acc;
359
- }
360
-
361
- .Button.red {
362
- background-color: #e53935;
363
- color: white;
364
- }
365
-
366
- .Button.red:hover {
367
- background-color: #e2231e;
368
- }
369
-
370
- .Button.black {
371
- background-color: #1e252d;
372
- color: white;
373
- }
374
-
375
- .Button.black:hover {
376
- background-color: #14181e;
377
- }
378
-
379
- .Button.gray {
380
- background: #D9D9D9;
381
- color: #999999;
382
- }
383
-
384
- .Button.gray:hover {
385
- background-color: #cccccc;
386
- }
387
-
388
- .Button.small {
389
- padding: 0px 8px;
390
- min-height: 16px;
391
- min-width: 16px;
392
- }
393
-
394
- .Button > .material-icons {
395
- margin-right: 10px;
396
- }
397
-
398
- .Button.round {
399
- padding: 0px;
400
- min-width: 36px;
401
- border-radius: 50%;
402
540
  }
403
541
 
404
- .Button.round > .material-icons {
405
- margin: 0px;
406
- }
407
-
408
- .Button .ripple {
542
+ .Dropzone > .overlay {
409
543
  position: absolute;
410
- background: rgba(0, 0, 0, 0.1);
411
- border-radius: 100%;
412
- transform: scale(0);
413
- pointer-events: none;
414
- transition: opacity 0.2s ease-out;
415
- }
416
-
417
- .Button .ripple.show {
418
- animation: ripple 0.35s ease-out;
419
- }
420
-
421
- .Button:active .ripple.showed {
422
- opacity: 1;
423
- }
424
-
425
- .Button:focus .ripple.focused {
426
- opacity: 1;
427
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
428
- transform: scale(1);
429
- animation: resize 1.25s ease-out infinite;
430
- animation-delay: 0.2s;
431
- animation-direction: alternate;
432
- }
433
-
434
- .Button .ripple.showed {
435
- transform: scale(2);
544
+ left: 0;
545
+ right: 0;
546
+ top: 0;
547
+ bottom: 0;
548
+ background-color: #38ADC4;
549
+ z-index: 1;
436
550
  opacity: 0;
551
+ transition: all 0.2s ease;
552
+ transition-delay: 100ms;
553
+ visibility: hidden;
554
+ display: flex;
555
+ justify-content: center;
556
+ align-items: center;
437
557
  }
438
558
 
439
- @keyframes ripple {
440
- to {
441
- transform: scale(2);
442
- }
443
- }
444
- @keyframes resize {
445
- to {
446
- transform: scale(0.9);
447
- }
448
- }
449
- .Button.raised {
450
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
451
- }
452
-
453
- .Button.raised:hover {
454
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
455
- }
456
-
457
- .Button.raised:active {
458
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
459
- }
460
-
461
- .Button.disabled {
462
- box-shadow: none;
463
- background: #D9D9D9;
464
- color: #999999;
465
- }
466
-
467
- .Button.disabled:hover {
468
- background-color: #cccccc;
469
- }
470
-
471
- .Button::-moz-focus-inner {
472
- border: 0;
473
- }
474
-
475
- .Checkbox {
476
- position: relative;
477
- white-space: pre;
559
+ .Dropzone > .overlay .drop {
560
+ border-radius: 4px;
561
+ border: 1px dashed #FFFFFF;
562
+ position: absolute;
563
+ top: 18px;
564
+ left: 18px;
565
+ right: 18px;
566
+ bottom: 18px;
567
+ display: flex;
568
+ justify-content: center;
569
+ align-items: center;
570
+ font-weight: 500;
571
+ font-size: 18px;
572
+ color: #FFFFFF;
478
573
  }
479
574
 
480
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
481
- box-sizing: border-box;
575
+ .Dropzone.dragging > .overlay {
576
+ opacity: 0.7;
577
+ visibility: visible;
578
+ transition-delay: 0s;
482
579
  }
483
580
 
484
- .Checkbox label {
485
- font-family: Roboto, sans-serif;
486
- font-size: 14px;
487
- color: #1e252d;
488
- cursor: pointer;
581
+ .Dropzone.dragging > * {
582
+ pointer-events: none;
489
583
  }
490
584
 
491
- .Checkbox label:before, .Checkbox label:after {
492
- content: "";
585
+ .Dropzone > input.file {
493
586
  position: absolute;
494
587
  left: 0;
588
+ right: 0;
495
589
  top: 0;
590
+ bottom: 0;
591
+ width: 100%;
592
+ height: 100%;
593
+ opacity: 0;
594
+ cursor: pointer;
595
+ z-index: 1;
496
596
  }
497
597
 
498
- .Checkbox label:before {
499
- width: 20px;
500
- height: 20px;
501
- background: #fff;
502
- border: 2px solid #252525;
503
- border-radius: 2px;
598
+ .DropFileInput {
599
+ flex-grow: 1;
600
+ }
601
+
602
+ .DropFileInput .Dropzone {
603
+ border: 1px dashed #808080;
604
+ padding: 12px;
605
+ display: flex;
606
+ flex-flow: row nowrap;
607
+ justify-content: center;
608
+ align-items: center;
609
+ color: gray;
504
610
  cursor: pointer;
505
- transition: background 0.3s;
611
+ border-radius: 3px;
612
+ font-weight: normal;
613
+ line-height: 22px;
614
+ font-size: 14px;
615
+ color: #7E7E7E;
616
+ max-width: 100%;
617
+ word-break: break-all;
618
+ word-break: break-word;
506
619
  }
507
620
 
508
- .Checkbox input[type=checkbox] {
509
- outline: 0;
621
+ .DropFileInput .Dropzone .icon.withText {
510
622
  margin-right: 10px;
511
- visibility: hidden;
512
623
  }
513
624
 
514
- .Checkbox input[type=checkbox]:checked + label:before {
515
- background: #4AC263;
516
- border: none;
625
+ .CircleProgress {
626
+ width: 48px;
627
+ height: 48px;
517
628
  }
518
629
 
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;
630
+ .CircleProgress .line {
631
+ stroke-width: 2px;
632
+ stroke: black;
633
+ stroke-linecap: square;
634
+ fill: none;
635
+ transition: stroke-dashoffset 0.2s ease;
528
636
  }
529
637
 
530
- .Checkbox input[type=checkbox]:disabled + label {
531
- color: gray;
638
+ .Button.FloatingActionButton {
639
+ position: absolute;
640
+ right: 16px;
641
+ bottom: 16px;
642
+ width: 56px;
643
+ height: 56px;
644
+ padding: 16px;
645
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
532
646
  }
533
647
 
534
- .Checkbox input[type=checkbox]:disabled + label:before {
535
- border-color: rgba(0, 0, 0, 0.26);
648
+ .Button.FloatingActionButton.raised {
649
+ 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);
536
650
  }
537
651
 
538
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
539
- background: rgba(0, 0, 0, 0.26);
652
+ .Button.FloatingActionButton.mini {
653
+ width: 40px;
654
+ height: 40px;
655
+ padding: 8px;
656
+ }
657
+
658
+ .Button.FloatingActionButton.hidden {
659
+ bottom: -100px;
540
660
  }
541
661
 
542
662
  .FilteredList {
@@ -624,15 +744,6 @@
624
744
  margin-bottom: 8px;
625
745
  }
626
746
 
627
- .animated {
628
- transition: opacity 250ms ease;
629
- opacity: 0;
630
- }
631
-
632
- .animated.mounting, .animated.mounted {
633
- opacity: 1;
634
- }
635
-
636
747
  .DialogModal {
637
748
  overflow: hidden;
638
749
  }
@@ -675,66 +786,6 @@
675
786
  margin-bottom: 0;
676
787
  }
677
788
 
678
- .Dropzone {
679
- position: relative;
680
- }
681
-
682
- .Dropzone > .overlay {
683
- position: absolute;
684
- left: 0;
685
- right: 0;
686
- top: 0;
687
- bottom: 0;
688
- background-color: #38ADC4;
689
- z-index: 1;
690
- opacity: 0;
691
- transition: all 0.2s ease;
692
- transition-delay: 100ms;
693
- visibility: hidden;
694
- display: flex;
695
- justify-content: center;
696
- align-items: center;
697
- }
698
-
699
- .Dropzone > .overlay .drop {
700
- border-radius: 4px;
701
- border: 1px dashed #FFFFFF;
702
- position: absolute;
703
- top: 18px;
704
- left: 18px;
705
- right: 18px;
706
- bottom: 18px;
707
- display: flex;
708
- justify-content: center;
709
- align-items: center;
710
- font-weight: 500;
711
- font-size: 18px;
712
- color: #FFFFFF;
713
- }
714
-
715
- .Dropzone.dragging > .overlay {
716
- opacity: 0.7;
717
- visibility: visible;
718
- transition-delay: 0s;
719
- }
720
-
721
- .Dropzone.dragging > * {
722
- pointer-events: none;
723
- }
724
-
725
- .Dropzone > input.file {
726
- position: absolute;
727
- left: 0;
728
- right: 0;
729
- top: 0;
730
- bottom: 0;
731
- width: 100%;
732
- height: 100%;
733
- opacity: 0;
734
- cursor: pointer;
735
- z-index: 1;
736
- }
737
-
738
789
  .FormUploadProgress {
739
790
  position: absolute;
740
791
  left: 0;
@@ -804,170 +855,99 @@
804
855
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
805
856
  }
806
857
 
807
- .Button.FloatingActionButton {
808
- position: absolute;
809
- right: 16px;
810
- bottom: 16px;
811
- width: 56px;
812
- height: 56px;
813
- padding: 16px;
814
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
815
- }
816
-
817
- .Button.FloatingActionButton.raised {
818
- 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);
819
- }
820
-
821
- .Button.FloatingActionButton.mini {
822
- width: 40px;
823
- height: 40px;
824
- padding: 8px;
825
- }
826
-
827
- .Button.FloatingActionButton.hidden {
828
- bottom: -100px;
829
- }
830
-
831
- .Snackbar {
832
- transform: translateX(-50%);
833
- overflow: hidden;
834
- background-color: #323232;
835
- padding: 14px 24px 14px 24px;
836
- color: #fff;
837
- min-width: 288px;
838
- max-width: 568px;
839
- position: fixed;
840
- bottom: -50px;
841
- left: 50%;
858
+ .Scrollable {
859
+ max-height: 250px;
860
+ max-width: 250px;
861
+ padding-right: 5px;
862
+ position: relative;
842
863
  display: flex;
843
- flex-wrap: nowrap;
844
- align-items: center;
845
- opacity: 0;
846
- transition: bottom 0.25s ease, opacity 0.2s ease;
847
- border-radius: 4px;
848
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
849
- }
850
-
851
- .Snackbar.shown {
852
- bottom: 15px;
853
- opacity: 1;
854
- }
855
-
856
- .Snackbar .message {
864
+ flex-flow: column;
865
+ align-items: stretch;
857
866
  overflow: hidden;
858
- line-height: 1.2em;
859
- min-height: 1.2em;
860
- max-height: 2.4em;
861
- flex: 1;
862
- }
863
-
864
- .Snackbar .action {
865
- text-transform: uppercase;
866
- font-weight: bold;
867
- margin-left: 48px;
868
- color: #bf3727;
869
- }
870
-
871
- .Snackbar .action a {
872
- text-decoration: none;
873
- color: #bf3727;
874
867
  }
875
868
 
876
- .DropFileInput {
877
- flex-grow: 1;
869
+ .Scrollable:hover > .scrollbar.auto {
870
+ transition-delay: 0s;
871
+ opacity: 1;
878
872
  }
879
873
 
880
- .DropFileInput .Dropzone {
881
- border: 1px dashed #808080;
882
- padding: 12px;
883
- display: flex;
884
- flex-flow: row nowrap;
885
- justify-content: center;
886
- align-items: center;
887
- color: gray;
888
- cursor: pointer;
889
- border-radius: 3px;
890
- font-weight: normal;
891
- line-height: 22px;
892
- font-size: 14px;
893
- color: #7E7E7E;
894
- max-width: 100%;
895
- word-break: break-all;
896
- word-break: break-word;
874
+ .Scrollable .viewport {
875
+ overflow-y: scroll;
876
+ overflow-x: scroll;
877
+ max-height: 100%;
878
+ scroll-behavior: smooth;
879
+ scrollbar-width: none;
897
880
  }
898
881
 
899
- .DropFileInput .Dropzone .icon.withText {
900
- margin-right: 10px;
882
+ .Scrollable .viewport::-webkit-scrollbar {
883
+ display: none;
901
884
  }
902
885
 
903
- .Modal {
904
- display: block;
905
- position: fixed;
906
- top: 0;
907
- left: 0;
908
- right: 0;
909
- bottom: 100%;
910
- overflow-y: scroll;
911
- transition: bottom 0ms linear;
912
- transition-delay: 0.2s;
886
+ .Scrollable.without-scroll-horizontal {
887
+ max-width: unset;
913
888
  }
914
889
 
915
- .Modal.show {
916
- transition-delay: 0s;
917
- bottom: 0;
890
+ .Scrollable.without-scroll {
891
+ padding-right: 0;
892
+ max-height: unset;
918
893
  }
919
894
 
920
- .Modal > .overlay {
921
- position: fixed;
922
- top: 0;
923
- bottom: 100%;
924
- left: 0;
925
- right: 0;
926
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
927
- opacity: 0;
928
- background-color: black;
929
- pointer-events: none;
895
+ .Scrollable.without-scroll > .viewport {
896
+ padding-right: 0;
897
+ margin-right: 0;
930
898
  }
931
899
 
932
- .Modal > .overlay.show {
933
- opacity: 0.5;
934
- bottom: 0;
900
+ .Scrollable.without-scroll > .scrollbar {
901
+ visibility: hidden;
935
902
  }
936
903
 
937
- .Modal > .content {
938
- left: 50%;
939
- top: 10vh;
940
- margin-bottom: 10vh;
941
- font-size: 16px;
942
- padding: 0;
904
+ .Scrollable .scrollbar {
905
+ position: absolute;
906
+ right: 0px;
907
+ top: 0px;
908
+ width: 5px;
909
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
910
+ transition-delay: 0.5s;
911
+ z-index: 1;
912
+ }
913
+
914
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
943
915
  opacity: 0;
944
- transition: opacity 0.25s ease, transform 0.25s ease;
945
- transform: scaleY(0) translateY(-200px) translateX(-50%);
946
- transform-origin: top;
916
+ }
917
+
918
+ .Scrollable .scrollbar .thumb {
919
+ background-color: rgba(0, 0, 0, 0.3);
920
+ width: 5px;
947
921
  position: absolute;
922
+ right: 0px;
923
+ top: 0px;
924
+ user-select: none;
925
+ will-change: top;
948
926
  border-radius: 2px;
949
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
950
927
  }
951
928
 
952
- .Modal > .content.show {
953
- opacity: 1;
954
- transform: scaleY(1) translateY(0px) translateX(-50%);
929
+ .Scrollable .scrollbar .thumb:hover {
930
+ background-color: rgba(0, 0, 0, 0.5);
955
931
  }
956
932
 
957
- .Modal > .content > .Scrollable {
958
- overflow: visible;
959
- max-height: 80vh;
933
+ .Scrollable .scrollbar .thumb:active {
934
+ background-color: rgba(0, 0, 0, 0.7);
960
935
  }
961
936
 
962
- .Modal > .content > .Scrollable > .viewport {
963
- min-width: 10px;
964
- min-height: 10px;
937
+ .Scrollable .scrollbar.horizontal {
938
+ left: 0px;
939
+ right: 0px;
940
+ height: 5px;
941
+ bottom: 0;
942
+ width: unset;
943
+ top: unset;
965
944
  }
966
945
 
967
- .Modal > .content > .Button.close {
968
- top: 10px;
969
- right: 10px;
970
- position: absolute;
946
+ .Scrollable .scrollbar.horizontal .thumb {
947
+ height: 5px;
948
+ left: 0px;
949
+ bottom: 0px;
950
+ will-change: left;
971
951
  }
972
952
 
973
953
  .ImageGallery {
@@ -1242,6 +1222,76 @@
1242
1222
  margin-left: 4px;
1243
1223
  }
1244
1224
 
1225
+ .Modal {
1226
+ display: block;
1227
+ position: fixed;
1228
+ top: 0;
1229
+ left: 0;
1230
+ right: 0;
1231
+ bottom: 100%;
1232
+ overflow-y: scroll;
1233
+ transition: bottom 0ms linear;
1234
+ transition-delay: 0.2s;
1235
+ }
1236
+
1237
+ .Modal.show {
1238
+ transition-delay: 0s;
1239
+ bottom: 0;
1240
+ }
1241
+
1242
+ .Modal > .overlay {
1243
+ position: fixed;
1244
+ top: 0;
1245
+ bottom: 100%;
1246
+ left: 0;
1247
+ right: 0;
1248
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1249
+ opacity: 0;
1250
+ background-color: black;
1251
+ pointer-events: none;
1252
+ }
1253
+
1254
+ .Modal > .overlay.show {
1255
+ opacity: 0.5;
1256
+ bottom: 0;
1257
+ }
1258
+
1259
+ .Modal > .content {
1260
+ left: 50%;
1261
+ top: 10vh;
1262
+ margin-bottom: 10vh;
1263
+ font-size: 16px;
1264
+ padding: 0;
1265
+ opacity: 0;
1266
+ transition: opacity 0.25s ease, transform 0.25s ease;
1267
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1268
+ transform-origin: top;
1269
+ position: absolute;
1270
+ border-radius: 2px;
1271
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1272
+ }
1273
+
1274
+ .Modal > .content.show {
1275
+ opacity: 1;
1276
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1277
+ }
1278
+
1279
+ .Modal > .content > .Scrollable {
1280
+ overflow: visible;
1281
+ max-height: 80vh;
1282
+ }
1283
+
1284
+ .Modal > .content > .Scrollable > .viewport {
1285
+ min-width: 10px;
1286
+ min-height: 10px;
1287
+ }
1288
+
1289
+ .Modal > .content > .Button.close {
1290
+ top: 10px;
1291
+ right: 10px;
1292
+ position: absolute;
1293
+ }
1294
+
1245
1295
  .Switch {
1246
1296
  display: inline-flex;
1247
1297
  padding-top: 5px;
@@ -1292,131 +1342,36 @@
1292
1342
  height: 20px;
1293
1343
  background-color: #FAFAFA;
1294
1344
  border-radius: 50%;
1295
- 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);
1296
- }
1297
-
1298
- .Switch .switch-label .toggle--on {
1299
- display: none;
1300
- }
1301
-
1302
- .Switch .switch-label .toggle--off {
1303
- display: inline-block;
1304
- }
1305
-
1306
- .Switch .switch-label .label {
1307
- margin-right: 5px;
1308
- }
1309
-
1310
- .Switch .switch-input:checked + .switch-label:before {
1311
- background-color: #A5D6A7;
1312
- }
1313
-
1314
- .Switch .switch-input:checked + .switch-label:after {
1315
- background-color: #4CAF50;
1316
- transform: translate(80%, -50%);
1317
- }
1318
-
1319
- .Switch .switch-input:checked + .switch-label .toggle--on {
1320
- display: inline-block;
1321
- }
1322
-
1323
- .Switch .switch-input:checked + .switch-label .toggle--off {
1324
- display: none;
1325
- }
1326
-
1327
- .Scrollable {
1328
- max-height: 250px;
1329
- max-width: 250px;
1330
- padding-right: 5px;
1331
- position: relative;
1332
- display: flex;
1333
- flex-flow: column;
1334
- align-items: stretch;
1335
- overflow: hidden;
1336
- }
1337
-
1338
- .Scrollable:hover > .scrollbar.auto {
1339
- transition-delay: 0s;
1340
- opacity: 1;
1341
- }
1342
-
1343
- .Scrollable .viewport {
1344
- overflow-y: scroll;
1345
- overflow-x: scroll;
1346
- max-height: 100%;
1347
- scroll-behavior: smooth;
1348
- scrollbar-width: none;
1349
- }
1350
-
1351
- .Scrollable .viewport::-webkit-scrollbar {
1352
- display: none;
1353
- }
1354
-
1355
- .Scrollable.without-scroll-horizontal {
1356
- max-width: unset;
1357
- }
1358
-
1359
- .Scrollable.without-scroll {
1360
- padding-right: 0;
1361
- max-height: unset;
1362
- }
1363
-
1364
- .Scrollable.without-scroll > .viewport {
1365
- padding-right: 0;
1366
- margin-right: 0;
1367
- }
1368
-
1369
- .Scrollable.without-scroll > .scrollbar {
1370
- visibility: hidden;
1371
- }
1372
-
1373
- .Scrollable .scrollbar {
1374
- position: absolute;
1375
- right: 0px;
1376
- top: 0px;
1377
- width: 5px;
1378
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1379
- transition-delay: 0.5s;
1380
- z-index: 1;
1345
+ 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);
1381
1346
  }
1382
1347
 
1383
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1384
- opacity: 0;
1348
+ .Switch .switch-label .toggle--on {
1349
+ display: none;
1385
1350
  }
1386
1351
 
1387
- .Scrollable .scrollbar .thumb {
1388
- background-color: rgba(0, 0, 0, 0.3);
1389
- width: 5px;
1390
- position: absolute;
1391
- right: 0px;
1392
- top: 0px;
1393
- user-select: none;
1394
- will-change: top;
1395
- border-radius: 2px;
1352
+ .Switch .switch-label .toggle--off {
1353
+ display: inline-block;
1396
1354
  }
1397
1355
 
1398
- .Scrollable .scrollbar .thumb:hover {
1399
- background-color: rgba(0, 0, 0, 0.5);
1356
+ .Switch .switch-label .label {
1357
+ margin-right: 5px;
1400
1358
  }
1401
1359
 
1402
- .Scrollable .scrollbar .thumb:active {
1403
- background-color: rgba(0, 0, 0, 0.7);
1360
+ .Switch .switch-input:checked + .switch-label:before {
1361
+ background-color: #A5D6A7;
1404
1362
  }
1405
1363
 
1406
- .Scrollable .scrollbar.horizontal {
1407
- left: 0px;
1408
- right: 0px;
1409
- height: 5px;
1410
- bottom: 0;
1411
- width: unset;
1412
- top: unset;
1364
+ .Switch .switch-input:checked + .switch-label:after {
1365
+ background-color: #4CAF50;
1366
+ transform: translate(80%, -50%);
1413
1367
  }
1414
1368
 
1415
- .Scrollable .scrollbar.horizontal .thumb {
1416
- height: 5px;
1417
- left: 0px;
1418
- bottom: 0px;
1419
- will-change: left;
1369
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1370
+ display: inline-block;
1371
+ }
1372
+
1373
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1374
+ display: none;
1420
1375
  }
1421
1376
 
1422
1377
  .TextField {
@@ -1562,24 +1517,6 @@
1562
1517
  animation-name: shake;
1563
1518
  }
1564
1519
 
1565
- .DNDContainer .DroppableList .Draggable {
1566
- transform: unset;
1567
- transition: unset;
1568
- opacity: 1;
1569
- }
1570
-
1571
- .DNDContainer .DroppableList .Draggable.dragged {
1572
- transition: unset !important;
1573
- }
1574
-
1575
- .DNDContainer .DroppableList.hover .Draggable {
1576
- transition: transform 0.2s ease-in;
1577
- }
1578
-
1579
- .DNDContainer .DroppableList.resetting .Draggable {
1580
- transition: transform 0.1s ease-in;
1581
- }
1582
-
1583
1520
  .SpinningProgress {
1584
1521
  width: 48px;
1585
1522
  height: 48px;
@@ -1633,6 +1570,94 @@
1633
1570
  stroke-dashoffset: -53px;
1634
1571
  }
1635
1572
  }
1573
+ .DNDContainer .DroppableList .Draggable {
1574
+ transform: unset;
1575
+ transition: unset;
1576
+ opacity: 1;
1577
+ }
1578
+
1579
+ .DNDContainer .DroppableList .Draggable.dragged {
1580
+ transition: unset !important;
1581
+ }
1582
+
1583
+ .DNDContainer .DroppableList.hover .Draggable {
1584
+ transition: transform 0.2s ease-in;
1585
+ }
1586
+
1587
+ .DNDContainer .DroppableList.resetting .Draggable {
1588
+ transition: transform 0.1s ease-in;
1589
+ }
1590
+
1591
+ .Snackbar {
1592
+ transform: translateX(-50%);
1593
+ overflow: hidden;
1594
+ background-color: #323232;
1595
+ padding: 14px 24px 14px 24px;
1596
+ color: #fff;
1597
+ min-width: 288px;
1598
+ max-width: 568px;
1599
+ position: fixed;
1600
+ bottom: -50px;
1601
+ left: 50%;
1602
+ display: flex;
1603
+ flex-wrap: nowrap;
1604
+ align-items: center;
1605
+ opacity: 0;
1606
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1607
+ border-radius: 4px;
1608
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1609
+ }
1610
+
1611
+ .Snackbar.shown {
1612
+ bottom: 15px;
1613
+ opacity: 1;
1614
+ }
1615
+
1616
+ .Snackbar .message {
1617
+ overflow: hidden;
1618
+ line-height: 1.2em;
1619
+ min-height: 1.2em;
1620
+ max-height: 2.4em;
1621
+ flex: 1;
1622
+ }
1623
+
1624
+ .Snackbar .action {
1625
+ text-transform: uppercase;
1626
+ font-weight: bold;
1627
+ margin-left: 48px;
1628
+ color: #bf3727;
1629
+ }
1630
+
1631
+ .Snackbar .action a {
1632
+ text-decoration: none;
1633
+ color: #bf3727;
1634
+ }
1635
+
1636
+ .CalendarMonthView {
1637
+ display: flex;
1638
+ flex-flow: column nowrap;
1639
+ height: 100%;
1640
+ }
1641
+
1642
+ .CalendarMonthView > .row {
1643
+ display: flex;
1644
+ flex-flow: row nowrap;
1645
+ }
1646
+
1647
+ .CalendarMonthView .days {
1648
+ flex-grow: 1;
1649
+ position: relative;
1650
+ }
1651
+
1652
+ .CalendarMonthView .day, .CalendarMonthView .header {
1653
+ flex-grow: 1;
1654
+ flex-basis: 1px;
1655
+ }
1656
+
1657
+ .CalendarMonthView .day {
1658
+ height: 100%;
1659
+ }
1660
+
1636
1661
  .DatePicker {
1637
1662
  position: relative;
1638
1663
  }
@@ -1750,71 +1775,6 @@
1750
1775
  background-color: #51adf6;
1751
1776
  }
1752
1777
 
1753
- .CalendarMonthView {
1754
- display: flex;
1755
- flex-flow: column nowrap;
1756
- height: 100%;
1757
- }
1758
-
1759
- .CalendarMonthView > .row {
1760
- display: flex;
1761
- flex-flow: row nowrap;
1762
- }
1763
-
1764
- .CalendarMonthView .days {
1765
- flex-grow: 1;
1766
- position: relative;
1767
- }
1768
-
1769
- .CalendarMonthView .day, .CalendarMonthView .header {
1770
- flex-grow: 1;
1771
- flex-basis: 1px;
1772
- }
1773
-
1774
- .CalendarMonthView .day {
1775
- height: 100%;
1776
- }
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
- .ScrollableTable .Scrollable .scrollbar {
1811
- top: 56px;
1812
- }
1813
-
1814
- .ScrollableTable .Table {
1815
- position: static;
1816
- }
1817
-
1818
1778
  .Table {
1819
1779
  font-family: Roboto, sans-serif;
1820
1780
  font-size: 14px;
@@ -1935,4 +1895,44 @@
1935
1895
 
1936
1896
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1937
1897
  margin: 0;
1898
+ }
1899
+
1900
+ .DNDContainer {
1901
+ position: relative;
1902
+ }
1903
+
1904
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1905
+ cursor: pointer;
1906
+ }
1907
+
1908
+ .DNDContainer .Draggable.placeholder {
1909
+ opacity: 0.2;
1910
+ }
1911
+
1912
+ .DNDContainer .Draggable.copy {
1913
+ position: absolute;
1914
+ box-sizing: border-box;
1915
+ will-change: transform;
1916
+ opacity: 0;
1917
+ }
1918
+
1919
+ .DNDContainer .Draggable.dragged {
1920
+ z-index: 10;
1921
+ }
1922
+
1923
+ .DNDContainer .overlay {
1924
+ position: absolute;
1925
+ top: 0;
1926
+ left: 0;
1927
+ right: 0;
1928
+ bottom: 0;
1929
+ pointer-events: none;
1930
+ }
1931
+
1932
+ .ScrollableTable .Scrollable .scrollbar {
1933
+ top: 56px;
1934
+ }
1935
+
1936
+ .ScrollableTable .Table {
1937
+ position: static;
1938
1938
  }