react-ui-basics 0.0.202 → 0.0.204

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,236 +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
- .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
-
234
1
  .AutocompleteSelect {
235
2
  display: inline-flex;
236
3
  flex-flow: column;
@@ -535,128 +302,292 @@
535
302
  opacity: 1;
536
303
  }
537
304
 
538
- .Dropzone {
305
+ .Checkbox {
539
306
  position: relative;
307
+ white-space: pre;
540
308
  }
541
309
 
542
- .Dropzone > .overlay {
310
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
311
+ box-sizing: border-box;
312
+ }
313
+
314
+ .Checkbox label {
315
+ font-family: Roboto, sans-serif;
316
+ font-size: 14px;
317
+ color: #1e252d;
318
+ cursor: pointer;
319
+ }
320
+
321
+ .Checkbox label:before, .Checkbox label:after {
322
+ content: "";
543
323
  position: absolute;
544
324
  left: 0;
545
- right: 0;
546
325
  top: 0;
547
- bottom: 0;
548
- background-color: #38ADC4;
549
- z-index: 1;
550
- opacity: 0;
551
- transition: all 0.2s ease;
552
- transition-delay: 100ms;
326
+ }
327
+
328
+ .Checkbox label:before {
329
+ width: 20px;
330
+ height: 20px;
331
+ background: #fff;
332
+ border: 2px solid #252525;
333
+ border-radius: 2px;
334
+ cursor: pointer;
335
+ transition: background 0.3s;
336
+ }
337
+
338
+ .Checkbox input[type=checkbox] {
339
+ outline: 0;
340
+ margin-right: 10px;
553
341
  visibility: hidden;
554
- display: flex;
555
- justify-content: center;
556
- align-items: center;
557
342
  }
558
343
 
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;
344
+ .Checkbox input[type=checkbox]:checked + label:before {
345
+ background: #4AC263;
346
+ border: none;
573
347
  }
574
348
 
575
- .Dropzone.dragging > .overlay {
576
- opacity: 0.7;
577
- visibility: visible;
578
- transition-delay: 0s;
349
+ .Checkbox input[type=checkbox]:checked + label:after {
350
+ transform: rotate(-45deg);
351
+ top: 6px;
352
+ left: 4px;
353
+ width: 12px;
354
+ height: 6px;
355
+ border: 2px solid #fff;
356
+ border-top-style: none;
357
+ border-right-style: none;
579
358
  }
580
359
 
581
- .Dropzone.dragging > * {
582
- pointer-events: none;
360
+ .Checkbox input[type=checkbox]:disabled + label {
361
+ color: gray;
583
362
  }
584
363
 
585
- .Dropzone > input.file {
586
- position: absolute;
587
- left: 0;
588
- right: 0;
589
- top: 0;
590
- bottom: 0;
591
- width: 100%;
592
- height: 100%;
593
- opacity: 0;
594
- cursor: pointer;
595
- z-index: 1;
364
+ .Checkbox input[type=checkbox]:disabled + label:before {
365
+ border-color: rgba(0, 0, 0, 0.26);
596
366
  }
597
367
 
598
- .DropFileInput {
599
- flex-grow: 1;
368
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
369
+ background: rgba(0, 0, 0, 0.26);
600
370
  }
601
371
 
602
- .DropFileInput .Dropzone {
603
- border: 1px dashed #808080;
604
- padding: 12px;
605
- display: flex;
606
- flex-flow: row nowrap;
372
+ .DialogModal {
373
+ overflow: hidden;
374
+ }
375
+
376
+ .DialogModal .content {
377
+ top: 20vh;
378
+ }
379
+
380
+ .Dialog {
381
+ background-color: white;
382
+ min-width: 460px;
383
+ max-width: 40vw;
384
+ padding: 15px;
385
+ }
386
+
387
+ .Dialog .title {
388
+ margin-bottom: 15px;
389
+ padding: 20px 50px 0px 30px;
390
+ font-size: 1.25rem;
391
+ line-height: 2rem;
392
+ font-weight: 400;
393
+ letter-spacing: 0.0125em;
394
+ }
395
+
396
+ .Dialog .description {
397
+ color: rgba(0, 0, 0, 0.54);
398
+ font-size: 1rem;
399
+ line-height: 1.5rem;
400
+ font-weight: 400;
401
+ letter-spacing: 0.03125em;
402
+ margin-top: 20px;
403
+ padding: 0 24px 24px;
404
+ }
405
+
406
+ .Dialog > div.row {
407
+ margin-bottom: 15px;
408
+ }
409
+
410
+ .Dialog > div.row:last-child {
411
+ margin-bottom: 0;
412
+ }
413
+
414
+ .Button {
415
+ position: relative;
416
+ min-width: 64px;
417
+ min-height: 36px;
418
+ height: 24px;
419
+ margin: 0px;
420
+ padding: 0px 16px;
421
+ border: none;
422
+ outline: none;
423
+ font-size: 14px;
424
+ font-weight: 500;
425
+ letter-spacing: 1.25px;
426
+ background: #dfdfdf;
427
+ text-transform: uppercase;
428
+ font-family: Roboto, sans-serif;
429
+ -webkit-tap-highlight-color: transparent;
430
+ display: inline-flex;
607
431
  justify-content: center;
608
432
  align-items: center;
609
- color: gray;
610
433
  cursor: pointer;
434
+ overflow: hidden;
435
+ user-select: none;
611
436
  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;
437
+ transition: all 0.2s ease;
619
438
  }
620
439
 
621
- .DropFileInput .Dropzone .icon.withText {
440
+ .Button.flat {
441
+ background-color: transparent;
442
+ }
443
+
444
+ .Button.flat:hover {
445
+ background-color: rgba(0, 0, 0, 0.05);
446
+ }
447
+
448
+ .Button.green {
449
+ background-color: #43a047;
450
+ color: white;
451
+ }
452
+
453
+ .Button.green:hover {
454
+ background-color: #3b8e3f;
455
+ }
456
+
457
+ .Button.blue {
458
+ background-color: #039be5;
459
+ color: white;
460
+ }
461
+
462
+ .Button.blue:hover {
463
+ background-color: #038acc;
464
+ }
465
+
466
+ .Button.red {
467
+ background-color: #e53935;
468
+ color: white;
469
+ }
470
+
471
+ .Button.red:hover {
472
+ background-color: #e2231e;
473
+ }
474
+
475
+ .Button.black {
476
+ background-color: #1e252d;
477
+ color: white;
478
+ }
479
+
480
+ .Button.black:hover {
481
+ background-color: #14181e;
482
+ }
483
+
484
+ .Button.gray {
485
+ background: #D9D9D9;
486
+ color: #999999;
487
+ }
488
+
489
+ .Button.gray:hover {
490
+ background-color: #cccccc;
491
+ }
492
+
493
+ .Button.small {
494
+ padding: 0px 8px;
495
+ min-height: 16px;
496
+ min-width: 16px;
497
+ }
498
+
499
+ .Button > .material-icons {
622
500
  margin-right: 10px;
623
501
  }
624
502
 
625
- .CircleProgress {
626
- width: 48px;
627
- height: 48px;
503
+ .Button.round {
504
+ padding: 0px;
505
+ min-width: 36px;
506
+ border-radius: 50%;
628
507
  }
629
508
 
630
- .CircleProgress .line {
631
- stroke-width: 2px;
632
- stroke: black;
633
- stroke-linecap: square;
634
- fill: none;
635
- transition: stroke-dashoffset 0.2s ease;
509
+ .Button.round > .material-icons {
510
+ margin: 0px;
636
511
  }
637
512
 
638
- .Button.FloatingActionButton {
513
+ .Button .ripple {
639
514
  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);
515
+ background: rgba(0, 0, 0, 0.1);
516
+ border-radius: 100%;
517
+ transform: scale(0);
518
+ pointer-events: none;
519
+ transition: opacity 0.2s ease-out;
646
520
  }
647
521
 
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);
522
+ .Button .ripple.show {
523
+ animation: ripple 0.35s ease-out;
650
524
  }
651
525
 
652
- .Button.FloatingActionButton.mini {
653
- width: 40px;
654
- height: 40px;
655
- padding: 8px;
526
+ .Button:active .ripple.showed {
527
+ opacity: 1;
656
528
  }
657
529
 
658
- .Button.FloatingActionButton.hidden {
659
- bottom: -100px;
530
+ .Button:focus .ripple.focused {
531
+ opacity: 1;
532
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
533
+ transform: scale(1);
534
+ animation: resize 1.25s ease-out infinite;
535
+ animation-delay: 0.2s;
536
+ animation-direction: alternate;
537
+ }
538
+
539
+ .Button .ripple.showed {
540
+ transform: scale(2);
541
+ opacity: 0;
542
+ }
543
+
544
+ @keyframes ripple {
545
+ to {
546
+ transform: scale(2);
547
+ }
548
+ }
549
+ @keyframes resize {
550
+ to {
551
+ transform: scale(0.9);
552
+ }
553
+ }
554
+ .Button.raised {
555
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
556
+ }
557
+
558
+ .Button.raised:hover {
559
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
560
+ }
561
+
562
+ .Button.raised:active {
563
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
564
+ }
565
+
566
+ .Button.disabled {
567
+ box-shadow: none;
568
+ background: #D9D9D9;
569
+ color: #999999;
570
+ }
571
+
572
+ .Button.disabled:hover {
573
+ background-color: #cccccc;
574
+ }
575
+
576
+ .Button::-moz-focus-inner {
577
+ border: 0;
578
+ }
579
+
580
+ .CircleProgress {
581
+ width: 48px;
582
+ height: 48px;
583
+ }
584
+
585
+ .CircleProgress .line {
586
+ stroke-width: 2px;
587
+ stroke: black;
588
+ stroke-linecap: square;
589
+ fill: none;
590
+ transition: stroke-dashoffset 0.2s ease;
660
591
  }
661
592
 
662
593
  .FilteredList {
@@ -744,46 +675,150 @@
744
675
  margin-bottom: 8px;
745
676
  }
746
677
 
747
- .DialogModal {
748
- overflow: hidden;
678
+ .DropFileInput {
679
+ flex-grow: 1;
680
+ }
681
+
682
+ .DropFileInput .Dropzone {
683
+ border: 1px dashed #808080;
684
+ padding: 12px;
685
+ display: flex;
686
+ flex-flow: row nowrap;
687
+ justify-content: center;
688
+ align-items: center;
689
+ color: gray;
690
+ cursor: pointer;
691
+ border-radius: 3px;
692
+ font-weight: normal;
693
+ line-height: 22px;
694
+ font-size: 14px;
695
+ color: #7E7E7E;
696
+ max-width: 100%;
697
+ word-break: break-all;
698
+ word-break: break-word;
699
+ }
700
+
701
+ .DropFileInput .Dropzone .icon.withText {
702
+ margin-right: 10px;
703
+ }
704
+
705
+ .Button.FloatingActionButton {
706
+ position: absolute;
707
+ right: 16px;
708
+ bottom: 16px;
709
+ width: 56px;
710
+ height: 56px;
711
+ padding: 16px;
712
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
713
+ }
714
+
715
+ .Button.FloatingActionButton.raised {
716
+ 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);
717
+ }
718
+
719
+ .Button.FloatingActionButton.mini {
720
+ width: 40px;
721
+ height: 40px;
722
+ padding: 8px;
723
+ }
724
+
725
+ .Button.FloatingActionButton.hidden {
726
+ bottom: -100px;
727
+ }
728
+
729
+ .Scrollable {
730
+ max-height: 250px;
731
+ max-width: 250px;
732
+ padding-right: 5px;
733
+ position: relative;
734
+ display: flex;
735
+ flex-flow: column;
736
+ align-items: stretch;
737
+ overflow: hidden;
738
+ }
739
+
740
+ .Scrollable:hover > .scrollbar.auto {
741
+ transition-delay: 0s;
742
+ opacity: 1;
743
+ }
744
+
745
+ .Scrollable .viewport {
746
+ overflow-y: scroll;
747
+ overflow-x: scroll;
748
+ max-height: 100%;
749
+ scroll-behavior: smooth;
750
+ scrollbar-width: none;
751
+ }
752
+
753
+ .Scrollable .viewport::-webkit-scrollbar {
754
+ display: none;
755
+ }
756
+
757
+ .Scrollable.without-scroll-horizontal {
758
+ max-width: unset;
759
+ }
760
+
761
+ .Scrollable.without-scroll {
762
+ padding-right: 0;
763
+ max-height: unset;
764
+ }
765
+
766
+ .Scrollable.without-scroll > .viewport {
767
+ padding-right: 0;
768
+ margin-right: 0;
769
+ }
770
+
771
+ .Scrollable.without-scroll > .scrollbar {
772
+ visibility: hidden;
773
+ }
774
+
775
+ .Scrollable .scrollbar {
776
+ position: absolute;
777
+ right: 0px;
778
+ top: 0px;
779
+ width: 5px;
780
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
781
+ transition-delay: 0.5s;
782
+ z-index: 1;
749
783
  }
750
784
 
751
- .DialogModal .content {
752
- top: 20vh;
785
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
786
+ opacity: 0;
753
787
  }
754
788
 
755
- .Dialog {
756
- background-color: white;
757
- min-width: 460px;
758
- max-width: 40vw;
759
- padding: 15px;
789
+ .Scrollable .scrollbar .thumb {
790
+ background-color: rgba(0, 0, 0, 0.3);
791
+ width: 5px;
792
+ position: absolute;
793
+ right: 0px;
794
+ top: 0px;
795
+ user-select: none;
796
+ will-change: top;
797
+ border-radius: 2px;
760
798
  }
761
799
 
762
- .Dialog .title {
763
- margin-bottom: 15px;
764
- padding: 20px 50px 0px 30px;
765
- font-size: 1.25rem;
766
- line-height: 2rem;
767
- font-weight: 400;
768
- letter-spacing: 0.0125em;
800
+ .Scrollable .scrollbar .thumb:hover {
801
+ background-color: rgba(0, 0, 0, 0.5);
769
802
  }
770
803
 
771
- .Dialog .description {
772
- color: rgba(0, 0, 0, 0.54);
773
- font-size: 1rem;
774
- line-height: 1.5rem;
775
- font-weight: 400;
776
- letter-spacing: 0.03125em;
777
- margin-top: 20px;
778
- padding: 0 24px 24px;
804
+ .Scrollable .scrollbar .thumb:active {
805
+ background-color: rgba(0, 0, 0, 0.7);
779
806
  }
780
807
 
781
- .Dialog > div.row {
782
- margin-bottom: 15px;
808
+ .Scrollable .scrollbar.horizontal {
809
+ left: 0px;
810
+ right: 0px;
811
+ height: 5px;
812
+ bottom: 0;
813
+ width: unset;
814
+ top: unset;
783
815
  }
784
816
 
785
- .Dialog > div.row:last-child {
786
- margin-bottom: 0;
817
+ .Scrollable .scrollbar.horizontal .thumb {
818
+ height: 5px;
819
+ left: 0px;
820
+ bottom: 0px;
821
+ will-change: left;
787
822
  }
788
823
 
789
824
  .FormUploadProgress {
@@ -855,99 +890,216 @@
855
890
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
856
891
  }
857
892
 
858
- .Scrollable {
859
- max-height: 250px;
860
- max-width: 250px;
861
- padding-right: 5px;
893
+ .Dropzone {
862
894
  position: relative;
895
+ }
896
+
897
+ .Dropzone > .overlay {
898
+ position: absolute;
899
+ left: 0;
900
+ right: 0;
901
+ top: 0;
902
+ bottom: 0;
903
+ background-color: #38ADC4;
904
+ z-index: 1;
905
+ opacity: 0;
906
+ transition: all 0.2s ease;
907
+ transition-delay: 100ms;
908
+ visibility: hidden;
863
909
  display: flex;
864
- flex-flow: column;
865
- align-items: stretch;
866
- overflow: hidden;
910
+ justify-content: center;
911
+ align-items: center;
867
912
  }
868
913
 
869
- .Scrollable:hover > .scrollbar.auto {
914
+ .Dropzone > .overlay .drop {
915
+ border-radius: 4px;
916
+ border: 1px dashed #FFFFFF;
917
+ position: absolute;
918
+ top: 18px;
919
+ left: 18px;
920
+ right: 18px;
921
+ bottom: 18px;
922
+ display: flex;
923
+ justify-content: center;
924
+ align-items: center;
925
+ font-weight: 500;
926
+ font-size: 18px;
927
+ color: #FFFFFF;
928
+ }
929
+
930
+ .Dropzone.dragging > .overlay {
931
+ opacity: 0.7;
932
+ visibility: visible;
870
933
  transition-delay: 0s;
934
+ }
935
+
936
+ .Dropzone.dragging > * {
937
+ pointer-events: none;
938
+ }
939
+
940
+ .Dropzone > input.file {
941
+ position: absolute;
942
+ left: 0;
943
+ right: 0;
944
+ top: 0;
945
+ bottom: 0;
946
+ width: 100%;
947
+ height: 100%;
948
+ opacity: 0;
949
+ cursor: pointer;
950
+ z-index: 1;
951
+ }
952
+
953
+ .Snackbar {
954
+ transform: translateX(-50%);
955
+ overflow: hidden;
956
+ background-color: #323232;
957
+ padding: 14px 24px 14px 24px;
958
+ color: #fff;
959
+ min-width: 288px;
960
+ max-width: 568px;
961
+ position: fixed;
962
+ bottom: -50px;
963
+ left: 50%;
964
+ display: flex;
965
+ flex-wrap: nowrap;
966
+ align-items: center;
967
+ opacity: 0;
968
+ transition: bottom 0.25s ease, opacity 0.2s ease;
969
+ border-radius: 4px;
970
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
971
+ }
972
+
973
+ .Snackbar.shown {
974
+ bottom: 15px;
871
975
  opacity: 1;
872
976
  }
873
977
 
874
- .Scrollable .viewport {
978
+ .Snackbar .message {
979
+ overflow: hidden;
980
+ line-height: 1.2em;
981
+ min-height: 1.2em;
982
+ max-height: 2.4em;
983
+ flex: 1;
984
+ }
985
+
986
+ .Snackbar .action {
987
+ text-transform: uppercase;
988
+ font-weight: bold;
989
+ margin-left: 48px;
990
+ color: #bf3727;
991
+ }
992
+
993
+ .Snackbar .action a {
994
+ text-decoration: none;
995
+ color: #bf3727;
996
+ }
997
+
998
+ .Modal {
999
+ display: block;
1000
+ position: fixed;
1001
+ top: 0;
1002
+ left: 0;
1003
+ right: 0;
1004
+ bottom: 100%;
875
1005
  overflow-y: scroll;
876
- overflow-x: scroll;
877
- max-height: 100%;
878
- scroll-behavior: smooth;
879
- scrollbar-width: none;
1006
+ transition: bottom 0ms linear;
1007
+ transition-delay: 0.2s;
880
1008
  }
881
1009
 
882
- .Scrollable .viewport::-webkit-scrollbar {
883
- display: none;
1010
+ .Modal.show {
1011
+ transition-delay: 0s;
1012
+ bottom: 0;
884
1013
  }
885
1014
 
886
- .Scrollable.without-scroll-horizontal {
887
- max-width: unset;
1015
+ .Modal > .overlay {
1016
+ position: fixed;
1017
+ top: 0;
1018
+ bottom: 100%;
1019
+ left: 0;
1020
+ right: 0;
1021
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1022
+ opacity: 0;
1023
+ background-color: black;
1024
+ pointer-events: none;
888
1025
  }
889
1026
 
890
- .Scrollable.without-scroll {
891
- padding-right: 0;
892
- max-height: unset;
1027
+ .Modal > .overlay.show {
1028
+ opacity: 0.5;
1029
+ bottom: 0;
893
1030
  }
894
1031
 
895
- .Scrollable.without-scroll > .viewport {
896
- padding-right: 0;
897
- margin-right: 0;
1032
+ .Modal > .content {
1033
+ left: 50%;
1034
+ top: 10vh;
1035
+ margin-bottom: 10vh;
1036
+ font-size: 16px;
1037
+ padding: 0;
1038
+ opacity: 0;
1039
+ transition: opacity 0.25s ease, transform 0.25s ease;
1040
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1041
+ transform-origin: top;
1042
+ position: absolute;
1043
+ border-radius: 2px;
1044
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
898
1045
  }
899
1046
 
900
- .Scrollable.without-scroll > .scrollbar {
901
- visibility: hidden;
1047
+ .Modal > .content.show {
1048
+ opacity: 1;
1049
+ transform: scaleY(1) translateY(0px) translateX(-50%);
902
1050
  }
903
1051
 
904
- .Scrollable .scrollbar {
1052
+ .Modal > .content > .Scrollable {
1053
+ overflow: visible;
1054
+ max-height: 80vh;
1055
+ }
1056
+
1057
+ .Modal > .content > .Scrollable > .viewport {
1058
+ min-width: 10px;
1059
+ min-height: 10px;
1060
+ }
1061
+
1062
+ .Modal > .content > .Button.close {
1063
+ top: 10px;
1064
+ right: 10px;
905
1065
  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
1066
  }
913
1067
 
914
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
915
- opacity: 0;
1068
+ .ModalMenu {
1069
+ position: absolute;
1070
+ top: 10px;
1071
+ right: 50px;
1072
+ }
1073
+
1074
+ .ModalMenu .material-icons {
1075
+ color: #818181;
916
1076
  }
917
1077
 
918
- .Scrollable .scrollbar .thumb {
919
- background-color: rgba(0, 0, 0, 0.3);
920
- width: 5px;
1078
+ .ModalMenu .Button.animated {
921
1079
  position: absolute;
922
- right: 0px;
923
- top: 0px;
924
- user-select: none;
925
- will-change: top;
926
- border-radius: 2px;
1080
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1081
+ opacity: 0;
1082
+ right: 0;
1083
+ top: 0;
927
1084
  }
928
1085
 
929
- .Scrollable .scrollbar .thumb:hover {
930
- background-color: rgba(0, 0, 0, 0.5);
1086
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1087
+ opacity: 1;
931
1088
  }
932
1089
 
933
- .Scrollable .scrollbar .thumb:active {
934
- background-color: rgba(0, 0, 0, 0.7);
1090
+ .ModalMenu .Button.animated.unmounting {
1091
+ transition: opacity 100ms ease-out, right 200ms ease-out;
935
1092
  }
936
1093
 
937
- .Scrollable .scrollbar.horizontal {
938
- left: 0px;
939
- right: 0px;
940
- height: 5px;
941
- bottom: 0;
942
- width: unset;
943
- top: unset;
1094
+ .ModalMenu .Button.active {
1095
+ background: #EBEBEB;
944
1096
  }
945
1097
 
946
- .Scrollable .scrollbar.horizontal .thumb {
947
- height: 5px;
948
- left: 0px;
949
- bottom: 0px;
950
- will-change: left;
1098
+ .ModalMenu .separator {
1099
+ height: 24px;
1100
+ width: 1px;
1101
+ background-color: #D9D9D9;
1102
+ margin-left: 4px;
951
1103
  }
952
1104
 
953
1105
  .ImageGallery {
@@ -1185,113 +1337,6 @@
1185
1337
  font-size: 24px;
1186
1338
  }
1187
1339
 
1188
- .ModalMenu {
1189
- position: absolute;
1190
- top: 10px;
1191
- right: 50px;
1192
- }
1193
-
1194
- .ModalMenu .material-icons {
1195
- color: #818181;
1196
- }
1197
-
1198
- .ModalMenu .Button.animated {
1199
- position: absolute;
1200
- transition: opacity 150ms ease-in, right 200ms ease-in;
1201
- opacity: 0;
1202
- right: 0;
1203
- top: 0;
1204
- }
1205
-
1206
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1207
- opacity: 1;
1208
- }
1209
-
1210
- .ModalMenu .Button.animated.unmounting {
1211
- transition: opacity 100ms ease-out, right 200ms ease-out;
1212
- }
1213
-
1214
- .ModalMenu .Button.active {
1215
- background: #EBEBEB;
1216
- }
1217
-
1218
- .ModalMenu .separator {
1219
- height: 24px;
1220
- width: 1px;
1221
- background-color: #D9D9D9;
1222
- margin-left: 4px;
1223
- }
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
-
1295
1340
  .Switch {
1296
1341
  display: inline-flex;
1297
1342
  padding-top: 5px;
@@ -1588,51 +1633,6 @@
1588
1633
  transition: transform 0.1s ease-in;
1589
1634
  }
1590
1635
 
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
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
  }
@@ -1897,38 +1929,6 @@
1897
1929
  margin: 0;
1898
1930
  }
1899
1931
 
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
1932
  .ScrollableTable .Scrollable .scrollbar {
1933
1933
  top: 56px;
1934
1934
  }