react-ui-basics 0.0.179 → 0.0.180

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,79 +1,3 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
4
- }
5
-
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
8
- }
9
-
10
- .Checkbox {
11
- position: relative;
12
- white-space: pre;
13
- }
14
-
15
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
16
- box-sizing: border-box;
17
- }
18
-
19
- .Checkbox label {
20
- font-family: Roboto, sans-serif;
21
- font-size: 14px;
22
- color: #1e252d;
23
- cursor: pointer;
24
- }
25
-
26
- .Checkbox label:before, .Checkbox label:after {
27
- content: "";
28
- position: absolute;
29
- left: 0;
30
- top: 0;
31
- }
32
-
33
- .Checkbox label:before {
34
- width: 20px;
35
- height: 20px;
36
- background: #fff;
37
- border: 2px solid #252525;
38
- border-radius: 2px;
39
- cursor: pointer;
40
- transition: background 0.3s;
41
- }
42
-
43
- .Checkbox input[type=checkbox] {
44
- outline: 0;
45
- margin-right: 10px;
46
- visibility: hidden;
47
- }
48
-
49
- .Checkbox input[type=checkbox]:checked + label:before {
50
- background: #4AC263;
51
- border: none;
52
- }
53
-
54
- .Checkbox input[type=checkbox]:checked + label:after {
55
- transform: rotate(-45deg);
56
- top: 6px;
57
- left: 4px;
58
- width: 12px;
59
- height: 6px;
60
- border: 2px solid #fff;
61
- border-top-style: none;
62
- border-right-style: none;
63
- }
64
-
65
- .Checkbox input[type=checkbox]:disabled + label {
66
- color: gray;
67
- }
68
-
69
- .Checkbox input[type=checkbox]:disabled + label:before {
70
- border-color: rgba(0, 0, 0, 0.26);
71
- }
72
-
73
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
74
- background: rgba(0, 0, 0, 0.26);
75
- }
76
-
77
1
  .Button {
78
2
  position: relative;
79
3
  min-width: 64px;
@@ -240,51 +164,6 @@
240
164
  border: 0;
241
165
  }
242
166
 
243
- .CircleProgress {
244
- width: 48px;
245
- height: 48px;
246
- }
247
-
248
- .CircleProgress .line {
249
- stroke-width: 2px;
250
- stroke: black;
251
- stroke-linecap: square;
252
- fill: none;
253
- transition: stroke-dashoffset 0.2s ease;
254
- }
255
-
256
- .DNDContainer {
257
- position: relative;
258
- }
259
-
260
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
261
- cursor: pointer;
262
- }
263
-
264
- .DNDContainer .Draggable.placeholder {
265
- opacity: 0.2;
266
- }
267
-
268
- .DNDContainer .Draggable.copy {
269
- position: absolute;
270
- box-sizing: border-box;
271
- will-change: transform;
272
- opacity: 0;
273
- }
274
-
275
- .DNDContainer .Draggable.dragged {
276
- z-index: 10;
277
- }
278
-
279
- .DNDContainer .overlay {
280
- position: absolute;
281
- top: 0;
282
- left: 0;
283
- right: 0;
284
- bottom: 0;
285
- pointer-events: none;
286
- }
287
-
288
167
  .AutocompleteSelect {
289
168
  display: inline-flex;
290
169
  flex-flow: column;
@@ -580,31 +459,93 @@
580
459
  position: absolute;
581
460
  }
582
461
 
583
- .DropFileInput {
584
- flex-grow: 1;
462
+ .animated {
463
+ transition: opacity 250ms ease;
464
+ opacity: 0;
585
465
  }
586
466
 
587
- .DropFileInput .Dropzone {
588
- border: 1px dashed #808080;
589
- padding: 12px;
590
- display: flex;
591
- flex-flow: row nowrap;
592
- justify-content: center;
593
- align-items: center;
594
- color: gray;
595
- cursor: pointer;
596
- border-radius: 3px;
597
- font-weight: normal;
598
- line-height: 22px;
467
+ .animated.mounting, .animated.mounted {
468
+ opacity: 1;
469
+ }
470
+
471
+ .CircleProgress {
472
+ width: 48px;
473
+ height: 48px;
474
+ }
475
+
476
+ .CircleProgress .line {
477
+ stroke-width: 2px;
478
+ stroke: black;
479
+ stroke-linecap: square;
480
+ fill: none;
481
+ transition: stroke-dashoffset 0.2s ease;
482
+ }
483
+
484
+ .Checkbox {
485
+ position: relative;
486
+ white-space: pre;
487
+ }
488
+
489
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
490
+ box-sizing: border-box;
491
+ }
492
+
493
+ .Checkbox label {
494
+ font-family: Roboto, sans-serif;
599
495
  font-size: 14px;
600
- color: #7E7E7E;
601
- max-width: 100%;
602
- word-break: break-all;
603
- word-break: break-word;
496
+ color: #1e252d;
497
+ cursor: pointer;
604
498
  }
605
499
 
606
- .DropFileInput .Dropzone .icon.withText {
500
+ .Checkbox label:before, .Checkbox label:after {
501
+ content: "";
502
+ position: absolute;
503
+ left: 0;
504
+ top: 0;
505
+ }
506
+
507
+ .Checkbox label:before {
508
+ width: 20px;
509
+ height: 20px;
510
+ background: #fff;
511
+ border: 2px solid #252525;
512
+ border-radius: 2px;
513
+ cursor: pointer;
514
+ transition: background 0.3s;
515
+ }
516
+
517
+ .Checkbox input[type=checkbox] {
518
+ outline: 0;
607
519
  margin-right: 10px;
520
+ visibility: hidden;
521
+ }
522
+
523
+ .Checkbox input[type=checkbox]:checked + label:before {
524
+ background: #4AC263;
525
+ border: none;
526
+ }
527
+
528
+ .Checkbox input[type=checkbox]:checked + label:after {
529
+ transform: rotate(-45deg);
530
+ top: 6px;
531
+ left: 4px;
532
+ width: 12px;
533
+ height: 6px;
534
+ border: 2px solid #fff;
535
+ border-top-style: none;
536
+ border-right-style: none;
537
+ }
538
+
539
+ .Checkbox input[type=checkbox]:disabled + label {
540
+ color: gray;
541
+ }
542
+
543
+ .Checkbox input[type=checkbox]:disabled + label:before {
544
+ border-color: rgba(0, 0, 0, 0.26);
545
+ }
546
+
547
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
548
+ background: rgba(0, 0, 0, 0.26);
608
549
  }
609
550
 
610
551
  .DialogModal {
@@ -649,260 +590,25 @@
649
590
  margin-bottom: 0;
650
591
  }
651
592
 
652
- .ImageGallery {
653
- position: fixed;
654
- top: 0;
655
- left: 0;
656
- bottom: 0;
657
- right: 0;
658
- z-index: 1000;
659
- background-color: rgba(0, 0, 0, 0.01);
660
- user-select: none;
661
- }
662
-
663
- .ImageGallery:focus {
664
- outline-width: 0px;
593
+ .Dropzone {
594
+ position: relative;
665
595
  }
666
596
 
667
- .ImageGallery.animated {
668
- transition: background-color 0.25s ease;
669
- opacity: 1;
670
- }
671
-
672
- .ImageGallery.mounting, .ImageGallery.mounted {
673
- background-color: rgba(0, 0, 0, 0.8);
674
- }
675
-
676
- .ImageGallery .image {
677
- position: absolute;
678
- cursor: grab;
679
- }
680
-
681
- .ImageGallery .image .counter {
682
- display: none;
683
- }
684
-
685
- .ImageGallery .image img {
686
- border-radius: 4px;
687
- max-width: 100%;
688
- min-width: 100%;
689
- }
690
-
691
- .ImageGallery .image.animated {
692
- transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
693
- will-change: top, left, width, height, opacity;
694
- }
695
-
696
- .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
697
- opacity: 1;
698
- }
699
-
700
- .ImageGallery .image.zoomed {
701
- text-align: center;
702
- overflow: hidden;
703
- }
704
-
705
- .ImageGallery .image.dragging {
706
- transition: none;
707
- cursor: move;
708
- }
709
-
710
- .ImageGallery .image .close {
711
- position: absolute;
712
- top: -18px;
713
- right: -18px;
714
- }
715
-
716
- .ImageGallery .image .spinner {
717
- position: absolute;
718
- top: 0;
719
- bottom: 0;
720
- left: 0;
721
- right: 0;
722
- background: rgba(0, 0, 0, 0.65);
723
- }
724
-
725
- .ImageGallery .image .spinner .SpinningProgress {
726
- position: absolute;
727
- top: 50%;
728
- left: 50%;
729
- margin-left: -24px;
730
- margin-top: -24px;
731
- }
732
-
733
- .ImageGallery .image .spinner .SpinningProgress .line {
734
- stroke: #2196F3;
735
- }
736
-
737
- .ImageGallery .Button.animated {
738
- transition: all 0.25s ease;
739
- opacity: 0;
740
- transform: scale(0);
741
- }
742
-
743
- .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
744
- opacity: 1;
745
- transform: scale(1);
746
- }
747
-
748
- .ImageGallery .Button {
749
- color: white;
750
- background: rgba(0, 0, 0, 0.4);
751
- }
752
-
753
- .ImageGallery .Button:hover {
754
- background: rgba(0, 0, 0, 0.7);
755
- }
756
-
757
- .ImageGallery > .arrow {
758
- position: absolute;
759
- top: 50%;
760
- height: 76px;
761
- width: 76px;
762
- margin-top: -38px;
763
- }
764
-
765
- .ImageGallery > .arrow.left {
766
- left: 5%;
767
- }
768
-
769
- .ImageGallery > .arrow.right {
770
- right: 5%;
771
- }
772
-
773
- .ImageGallery > .arrow .material-icons {
774
- font-size: 40px;
775
- }
776
-
777
- .ImageGallery .counter {
778
- position: absolute;
779
- top: 10px;
780
- left: 10px;
781
- color: white;
782
- font-size: 13px;
783
- }
784
-
785
- .ImageGallery .previews {
786
- height: 80px;
787
- position: absolute;
788
- bottom: 15px;
789
- left: 50%;
790
- transform: translateX(-50%);
791
- padding: 0 45px;
792
- }
793
-
794
- .ImageGallery .previews .viewport {
795
- overflow: hidden;
796
- position: relative;
797
- height: 100%;
798
- }
799
-
800
- .ImageGallery .previews .container {
801
- position: relative;
802
- display: flex;
803
- flex-flow: row nowrap;
804
- height: 100%;
805
- transition: left 0.25s ease;
806
- }
807
-
808
- .ImageGallery .previews .preview {
809
- position: relative;
810
- height: 100%;
811
- display: inline-block;
812
- width: 106.66px;
813
- overflow: hidden;
814
- margin-left: 12px;
815
- border-radius: 2px;
816
- cursor: pointer;
817
- box-sizing: border-box;
818
- }
819
-
820
- .ImageGallery .previews .preview:first-child {
821
- margin-left: 0;
822
- }
823
-
824
- .ImageGallery .previews .preview > .border {
825
- position: absolute;
826
- bottom: 0;
827
- width: 100%;
828
- height: 3px;
829
- }
830
-
831
- .ImageGallery .previews .preview > .border .line {
832
- left: 50%;
833
- width: 0;
834
- height: 3px;
835
- min-height: 3px;
836
- background-color: #4AC263;
837
- transition: all 0.2s ease;
838
- position: absolute;
839
- }
840
-
841
- .ImageGallery .previews .preview:after {
842
- content: "";
843
- position: absolute;
844
- top: 0;
845
- right: 0;
846
- bottom: 0;
847
- left: 0;
848
- background: rgba(0, 0, 0, 0.35);
849
- transition: background 0.2s ease;
850
- }
851
-
852
- .ImageGallery .previews .preview:hover:after {
853
- background: rgba(0, 0, 0, 0.1);
854
- }
855
-
856
- .ImageGallery .previews .preview.selected .border .line {
857
- left: 0;
858
- width: 100%;
859
- }
860
-
861
- .ImageGallery .previews .preview.selected:after {
862
- background: rgba(0, 0, 0, 0);
863
- }
864
-
865
- .ImageGallery .previews > .arrow {
866
- position: absolute;
867
- top: 50%;
868
- height: 30px;
869
- width: 30px;
870
- min-width: 30px;
871
- min-height: 30px;
872
- margin-top: -15px;
873
- }
874
-
875
- .ImageGallery .previews > .arrow.left {
876
- left: 0;
877
- }
878
-
879
- .ImageGallery .previews > .arrow.right {
880
- right: 0;
881
- }
882
-
883
- .ImageGallery .previews > .arrow .material-icons {
884
- font-size: 24px;
885
- }
886
-
887
- .Dropzone {
888
- position: relative;
889
- }
890
-
891
- .Dropzone > .overlay {
892
- position: absolute;
893
- left: 0;
894
- right: 0;
895
- top: 0;
896
- bottom: 0;
897
- background-color: #38ADC4;
898
- z-index: 1;
899
- opacity: 0;
900
- transition: all 0.2s ease;
901
- transition-delay: 100ms;
902
- visibility: hidden;
903
- display: flex;
904
- justify-content: center;
905
- align-items: center;
597
+ .Dropzone > .overlay {
598
+ position: absolute;
599
+ left: 0;
600
+ right: 0;
601
+ top: 0;
602
+ bottom: 0;
603
+ background-color: #38ADC4;
604
+ z-index: 1;
605
+ opacity: 0;
606
+ transition: all 0.2s ease;
607
+ transition-delay: 100ms;
608
+ visibility: hidden;
609
+ display: flex;
610
+ justify-content: center;
611
+ align-items: center;
906
612
  }
907
613
 
908
614
  .Dropzone > .overlay .drop {
@@ -1049,74 +755,100 @@
1049
755
  bottom: -100px;
1050
756
  }
1051
757
 
1052
- .Modal {
1053
- display: block;
1054
- position: fixed;
1055
- top: 0;
1056
- left: 0;
1057
- right: 0;
1058
- bottom: 100%;
1059
- overflow-y: scroll;
1060
- transition: bottom 0ms linear;
1061
- transition-delay: 0.2s;
1062
- }
1063
-
1064
- .Modal.show {
1065
- transition-delay: 0s;
1066
- bottom: 0;
758
+ .DropFileInput {
759
+ flex-grow: 1;
1067
760
  }
1068
761
 
1069
- .Modal > .overlay {
1070
- position: fixed;
1071
- top: 0;
1072
- bottom: 100%;
1073
- left: 0;
1074
- right: 0;
1075
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1076
- opacity: 0;
1077
- background-color: black;
1078
- pointer-events: none;
762
+ .DropFileInput .Dropzone {
763
+ border: 1px dashed #808080;
764
+ padding: 12px;
765
+ display: flex;
766
+ flex-flow: row nowrap;
767
+ justify-content: center;
768
+ align-items: center;
769
+ color: gray;
770
+ cursor: pointer;
771
+ border-radius: 3px;
772
+ font-weight: normal;
773
+ line-height: 22px;
774
+ font-size: 14px;
775
+ color: #7E7E7E;
776
+ max-width: 100%;
777
+ word-break: break-all;
778
+ word-break: break-word;
1079
779
  }
1080
780
 
1081
- .Modal > .overlay.show {
1082
- opacity: 0.5;
781
+ .DropFileInput .Dropzone .icon.withText {
782
+ margin-right: 10px;
783
+ }
784
+
785
+ .FormUploadProgress {
786
+ position: absolute;
787
+ left: 0;
788
+ right: 0;
789
+ top: 0;
1083
790
  bottom: 0;
791
+ background-color: rgba(255, 255, 255, 0.6);
792
+ z-index: 2;
1084
793
  }
1085
794
 
1086
- .Modal > .content {
1087
- left: 50%;
1088
- top: 10vh;
1089
- margin-bottom: 10vh;
1090
- font-size: 16px;
1091
- padding: 0;
1092
- opacity: 0;
1093
- transition: opacity 0.25s ease, transform 0.25s ease;
1094
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1095
- transform-origin: top;
795
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
796
+ transition-delay: 500ms;
797
+ }
798
+
799
+ .FormUploadProgress .wrapper {
800
+ position: sticky;
801
+ top: 40%;
802
+ margin-top: 40%;
803
+ margin-left: 50%;
804
+ transform: translateX(-50%);
805
+ display: flex;
806
+ flex-flow: column;
807
+ justify-content: center;
808
+ align-items: center;
809
+ }
810
+
811
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1096
812
  position: absolute;
1097
- border-radius: 2px;
1098
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
813
+ width: 107px;
814
+ height: 107px;
815
+ top: 0;
816
+ left: 0;
1099
817
  }
1100
818
 
1101
- .Modal > .content.show {
1102
- opacity: 1;
1103
- transform: scaleY(1) translateY(0px) translateX(-50%);
819
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
820
+ stroke: #2196F3;
1104
821
  }
1105
822
 
1106
- .Modal > .content > .Scrollable {
1107
- overflow: visible;
1108
- max-height: 80vh;
823
+ .FormUploadProgress .wrapper > .progress {
824
+ width: 107px;
825
+ height: 107px;
826
+ min-height: 107px;
827
+ display: flex;
828
+ justify-content: center;
829
+ align-items: center;
830
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
831
+ border-radius: 50%;
832
+ background: white;
833
+ position: relative;
1109
834
  }
1110
835
 
1111
- .Modal > .content > .Scrollable > .viewport {
1112
- min-width: 10px;
1113
- min-height: 10px;
836
+ .FormUploadProgress .wrapper > .progress > .value {
837
+ display: inline-block;
838
+ margin-top: 5px;
839
+ font-weight: bold;
840
+ line-height: 16px;
841
+ font-size: 13px;
842
+ text-align: center;
843
+ color: #818181;
1114
844
  }
1115
845
 
1116
- .Modal > .content > .Button.close {
1117
- top: 10px;
1118
- right: 10px;
1119
- position: absolute;
846
+ .FormUploadProgress .wrapper .cancel {
847
+ min-width: 107px;
848
+ margin-top: 20px;
849
+ background-color: white;
850
+ color: #F96B5C;
851
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1120
852
  }
1121
853
 
1122
854
  .Scrollable {
@@ -1214,118 +946,106 @@
1214
946
  will-change: left;
1215
947
  }
1216
948
 
1217
- .FormUploadProgress {
1218
- position: absolute;
1219
- left: 0;
1220
- right: 0;
1221
- top: 0;
1222
- bottom: 0;
1223
- background-color: rgba(255, 255, 255, 0.6);
1224
- z-index: 2;
949
+ .DNDContainer {
950
+ position: relative;
1225
951
  }
1226
952
 
1227
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1228
- transition-delay: 500ms;
953
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
954
+ cursor: pointer;
1229
955
  }
1230
956
 
1231
- .FormUploadProgress .wrapper {
1232
- position: sticky;
1233
- top: 40%;
1234
- margin-top: 40%;
1235
- margin-left: 50%;
1236
- transform: translateX(-50%);
1237
- display: flex;
1238
- flex-flow: column;
1239
- justify-content: center;
1240
- align-items: center;
957
+ .DNDContainer .Draggable.placeholder {
958
+ opacity: 0.2;
1241
959
  }
1242
960
 
1243
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
961
+ .DNDContainer .Draggable.copy {
962
+ position: absolute;
963
+ box-sizing: border-box;
964
+ will-change: transform;
965
+ opacity: 0;
966
+ }
967
+
968
+ .DNDContainer .Draggable.dragged {
969
+ z-index: 10;
970
+ }
971
+
972
+ .DNDContainer .overlay {
1244
973
  position: absolute;
1245
- width: 107px;
1246
- height: 107px;
1247
974
  top: 0;
1248
975
  left: 0;
976
+ right: 0;
977
+ bottom: 0;
978
+ pointer-events: none;
1249
979
  }
1250
980
 
1251
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1252
- stroke: #2196F3;
981
+ .Modal {
982
+ display: block;
983
+ position: fixed;
984
+ top: 0;
985
+ left: 0;
986
+ right: 0;
987
+ bottom: 100%;
988
+ overflow-y: scroll;
989
+ transition: bottom 0ms linear;
990
+ transition-delay: 0.2s;
1253
991
  }
1254
992
 
1255
- .FormUploadProgress .wrapper > .progress {
1256
- width: 107px;
1257
- height: 107px;
1258
- min-height: 107px;
1259
- display: flex;
1260
- justify-content: center;
1261
- align-items: center;
1262
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1263
- border-radius: 50%;
1264
- background: white;
1265
- position: relative;
993
+ .Modal.show {
994
+ transition-delay: 0s;
995
+ bottom: 0;
1266
996
  }
1267
997
 
1268
- .FormUploadProgress .wrapper > .progress > .value {
1269
- display: inline-block;
1270
- margin-top: 5px;
1271
- font-weight: bold;
1272
- line-height: 16px;
1273
- font-size: 13px;
1274
- text-align: center;
1275
- color: #818181;
998
+ .Modal > .overlay {
999
+ position: fixed;
1000
+ top: 0;
1001
+ bottom: 100%;
1002
+ left: 0;
1003
+ right: 0;
1004
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1005
+ opacity: 0;
1006
+ background-color: black;
1007
+ pointer-events: none;
1276
1008
  }
1277
1009
 
1278
- .FormUploadProgress .wrapper .cancel {
1279
- min-width: 107px;
1280
- margin-top: 20px;
1281
- background-color: white;
1282
- color: #F96B5C;
1283
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1010
+ .Modal > .overlay.show {
1011
+ opacity: 0.5;
1012
+ bottom: 0;
1284
1013
  }
1285
1014
 
1286
- .Snackbar {
1287
- transform: translateX(-50%);
1288
- overflow: hidden;
1289
- background-color: #323232;
1290
- padding: 14px 24px 14px 24px;
1291
- color: #fff;
1292
- min-width: 288px;
1293
- max-width: 568px;
1294
- position: fixed;
1295
- bottom: -50px;
1015
+ .Modal > .content {
1296
1016
  left: 50%;
1297
- display: flex;
1298
- flex-wrap: nowrap;
1299
- align-items: center;
1017
+ top: 10vh;
1018
+ margin-bottom: 10vh;
1019
+ font-size: 16px;
1020
+ padding: 0;
1300
1021
  opacity: 0;
1301
- transition: bottom 0.25s ease, opacity 0.2s ease;
1302
- border-radius: 4px;
1303
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1022
+ transition: opacity 0.25s ease, transform 0.25s ease;
1023
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1024
+ transform-origin: top;
1025
+ position: absolute;
1026
+ border-radius: 2px;
1027
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1304
1028
  }
1305
1029
 
1306
- .Snackbar.shown {
1307
- bottom: 15px;
1030
+ .Modal > .content.show {
1308
1031
  opacity: 1;
1032
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1309
1033
  }
1310
1034
 
1311
- .Snackbar .message {
1312
- overflow: hidden;
1313
- line-height: 1.2em;
1314
- min-height: 1.2em;
1315
- max-height: 2.4em;
1316
- flex: 1;
1035
+ .Modal > .content > .Scrollable {
1036
+ overflow: visible;
1037
+ max-height: 80vh;
1317
1038
  }
1318
1039
 
1319
- .Snackbar .action {
1320
- text-transform: uppercase;
1321
- font-weight: bold;
1322
- margin-left: 48px;
1323
- color: #bf3727;
1040
+ .Modal > .content > .Scrollable > .viewport {
1041
+ min-width: 10px;
1042
+ min-height: 10px;
1324
1043
  }
1325
1044
 
1326
- .Snackbar .action a {
1327
- text-decoration: none;
1328
- color: #bf3727;
1045
+ .Modal > .content > .Button.close {
1046
+ top: 10px;
1047
+ right: 10px;
1048
+ position: absolute;
1329
1049
  }
1330
1050
 
1331
1051
  .ModalMenu {
@@ -1365,86 +1085,49 @@
1365
1085
  margin-left: 4px;
1366
1086
  }
1367
1087
 
1368
- .Switch {
1369
- display: inline-flex;
1370
- padding-top: 5px;
1371
- }
1372
-
1373
- .Switch .switch-input {
1374
- display: none;
1375
- }
1376
-
1377
- .Switch .switch-label {
1378
- position: relative;
1379
- display: inline-flex;
1088
+ .Snackbar {
1089
+ transform: translateX(-50%);
1090
+ overflow: hidden;
1091
+ background-color: #323232;
1092
+ padding: 14px 24px 14px 24px;
1093
+ color: #fff;
1094
+ min-width: 288px;
1095
+ max-width: 568px;
1096
+ position: fixed;
1097
+ bottom: -50px;
1098
+ left: 50%;
1099
+ display: flex;
1100
+ flex-wrap: nowrap;
1380
1101
  align-items: center;
1381
- min-width: 38px;
1382
- height: 24px;
1383
- cursor: pointer;
1384
- font-weight: 500;
1385
- text-align: left;
1386
- user-select: none;
1387
- margin: 0;
1388
- padding: 0;
1389
- padding-left: 44px;
1390
- box-sizing: border-box;
1391
- }
1392
-
1393
- .Switch .switch-label:before, .Switch .switch-label:after {
1394
- content: "";
1395
- box-sizing: border-box;
1396
- position: absolute;
1397
- margin: 0;
1398
- outline: 0;
1399
- top: 50%;
1400
- transform: translate(0, -50%);
1401
- transition: all 0.3s ease;
1402
- }
1403
-
1404
- .Switch .switch-label:before {
1405
- left: 1px;
1406
- width: 34px;
1407
- height: 14px;
1408
- background-color: #9E9E9E;
1409
- border-radius: 8px;
1410
- }
1411
-
1412
- .Switch .switch-label:after {
1413
- left: 0;
1414
- width: 20px;
1415
- height: 20px;
1416
- background-color: #FAFAFA;
1417
- border-radius: 50%;
1418
- 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);
1419
- }
1420
-
1421
- .Switch .switch-label .toggle--on {
1422
- display: none;
1423
- }
1424
-
1425
- .Switch .switch-label .toggle--off {
1426
- display: inline-block;
1427
- }
1428
-
1429
- .Switch .switch-label .label {
1430
- margin-right: 5px;
1102
+ opacity: 0;
1103
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1104
+ border-radius: 4px;
1105
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1431
1106
  }
1432
1107
 
1433
- .Switch .switch-input:checked + .switch-label:before {
1434
- background-color: #A5D6A7;
1108
+ .Snackbar.shown {
1109
+ bottom: 15px;
1110
+ opacity: 1;
1435
1111
  }
1436
1112
 
1437
- .Switch .switch-input:checked + .switch-label:after {
1438
- background-color: #4CAF50;
1439
- transform: translate(80%, -50%);
1113
+ .Snackbar .message {
1114
+ overflow: hidden;
1115
+ line-height: 1.2em;
1116
+ min-height: 1.2em;
1117
+ max-height: 2.4em;
1118
+ flex: 1;
1440
1119
  }
1441
1120
 
1442
- .Switch .switch-input:checked + .switch-label .toggle--on {
1443
- display: inline-block;
1121
+ .Snackbar .action {
1122
+ text-transform: uppercase;
1123
+ font-weight: bold;
1124
+ margin-left: 48px;
1125
+ color: #bf3727;
1444
1126
  }
1445
1127
 
1446
- .Switch .switch-input:checked + .switch-label .toggle--off {
1447
- display: none;
1128
+ .Snackbar .action a {
1129
+ text-decoration: none;
1130
+ color: #bf3727;
1448
1131
  }
1449
1132
 
1450
1133
  .TextField {
@@ -1590,6 +1273,88 @@
1590
1273
  animation-name: shake;
1591
1274
  }
1592
1275
 
1276
+ .Switch {
1277
+ display: inline-flex;
1278
+ padding-top: 5px;
1279
+ }
1280
+
1281
+ .Switch .switch-input {
1282
+ display: none;
1283
+ }
1284
+
1285
+ .Switch .switch-label {
1286
+ position: relative;
1287
+ display: inline-flex;
1288
+ align-items: center;
1289
+ min-width: 38px;
1290
+ height: 24px;
1291
+ cursor: pointer;
1292
+ font-weight: 500;
1293
+ text-align: left;
1294
+ user-select: none;
1295
+ margin: 0;
1296
+ padding: 0;
1297
+ padding-left: 44px;
1298
+ box-sizing: border-box;
1299
+ }
1300
+
1301
+ .Switch .switch-label:before, .Switch .switch-label:after {
1302
+ content: "";
1303
+ box-sizing: border-box;
1304
+ position: absolute;
1305
+ margin: 0;
1306
+ outline: 0;
1307
+ top: 50%;
1308
+ transform: translate(0, -50%);
1309
+ transition: all 0.3s ease;
1310
+ }
1311
+
1312
+ .Switch .switch-label:before {
1313
+ left: 1px;
1314
+ width: 34px;
1315
+ height: 14px;
1316
+ background-color: #9E9E9E;
1317
+ border-radius: 8px;
1318
+ }
1319
+
1320
+ .Switch .switch-label:after {
1321
+ left: 0;
1322
+ width: 20px;
1323
+ height: 20px;
1324
+ background-color: #FAFAFA;
1325
+ border-radius: 50%;
1326
+ 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);
1327
+ }
1328
+
1329
+ .Switch .switch-label .toggle--on {
1330
+ display: none;
1331
+ }
1332
+
1333
+ .Switch .switch-label .toggle--off {
1334
+ display: inline-block;
1335
+ }
1336
+
1337
+ .Switch .switch-label .label {
1338
+ margin-right: 5px;
1339
+ }
1340
+
1341
+ .Switch .switch-input:checked + .switch-label:before {
1342
+ background-color: #A5D6A7;
1343
+ }
1344
+
1345
+ .Switch .switch-input:checked + .switch-label:after {
1346
+ background-color: #4CAF50;
1347
+ transform: translate(80%, -50%);
1348
+ }
1349
+
1350
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1351
+ display: inline-block;
1352
+ }
1353
+
1354
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1355
+ display: none;
1356
+ }
1357
+
1593
1358
  .SpinningProgress {
1594
1359
  width: 48px;
1595
1360
  height: 48px;
@@ -1661,6 +1426,241 @@
1661
1426
  transition: transform 0.1s ease-in;
1662
1427
  }
1663
1428
 
1429
+ .ImageGallery {
1430
+ position: fixed;
1431
+ top: 0;
1432
+ left: 0;
1433
+ bottom: 0;
1434
+ right: 0;
1435
+ z-index: 1000;
1436
+ background-color: rgba(0, 0, 0, 0.01);
1437
+ user-select: none;
1438
+ }
1439
+
1440
+ .ImageGallery:focus {
1441
+ outline-width: 0px;
1442
+ }
1443
+
1444
+ .ImageGallery.animated {
1445
+ transition: background-color 0.25s ease;
1446
+ opacity: 1;
1447
+ }
1448
+
1449
+ .ImageGallery.mounting, .ImageGallery.mounted {
1450
+ background-color: rgba(0, 0, 0, 0.8);
1451
+ }
1452
+
1453
+ .ImageGallery .image {
1454
+ position: absolute;
1455
+ cursor: grab;
1456
+ }
1457
+
1458
+ .ImageGallery .image .counter {
1459
+ display: none;
1460
+ }
1461
+
1462
+ .ImageGallery .image img {
1463
+ border-radius: 4px;
1464
+ max-width: 100%;
1465
+ min-width: 100%;
1466
+ }
1467
+
1468
+ .ImageGallery .image.animated {
1469
+ transition: top 0.25s ease, left 0.25s ease, width 0.25s ease, height 0.25s ease, opacity 0.25s ease;
1470
+ will-change: top, left, width, height, opacity;
1471
+ }
1472
+
1473
+ .ImageGallery .image.animated.mounting, .ImageGallery .image.animated.mounted, .ImageGallery .image.animated.unmounting {
1474
+ opacity: 1;
1475
+ }
1476
+
1477
+ .ImageGallery .image.zoomed {
1478
+ text-align: center;
1479
+ overflow: hidden;
1480
+ }
1481
+
1482
+ .ImageGallery .image.dragging {
1483
+ transition: none;
1484
+ cursor: move;
1485
+ }
1486
+
1487
+ .ImageGallery .image .close {
1488
+ position: absolute;
1489
+ top: -18px;
1490
+ right: -18px;
1491
+ }
1492
+
1493
+ .ImageGallery .image .spinner {
1494
+ position: absolute;
1495
+ top: 0;
1496
+ bottom: 0;
1497
+ left: 0;
1498
+ right: 0;
1499
+ background: rgba(0, 0, 0, 0.65);
1500
+ }
1501
+
1502
+ .ImageGallery .image .spinner .SpinningProgress {
1503
+ position: absolute;
1504
+ top: 50%;
1505
+ left: 50%;
1506
+ margin-left: -24px;
1507
+ margin-top: -24px;
1508
+ }
1509
+
1510
+ .ImageGallery .image .spinner .SpinningProgress .line {
1511
+ stroke: #2196F3;
1512
+ }
1513
+
1514
+ .ImageGallery .Button.animated {
1515
+ transition: all 0.25s ease;
1516
+ opacity: 0;
1517
+ transform: scale(0);
1518
+ }
1519
+
1520
+ .ImageGallery .Button.animated.mounted, .ImageGallery .Button.animated.mounting {
1521
+ opacity: 1;
1522
+ transform: scale(1);
1523
+ }
1524
+
1525
+ .ImageGallery .Button {
1526
+ color: white;
1527
+ background: rgba(0, 0, 0, 0.4);
1528
+ }
1529
+
1530
+ .ImageGallery .Button:hover {
1531
+ background: rgba(0, 0, 0, 0.7);
1532
+ }
1533
+
1534
+ .ImageGallery > .arrow {
1535
+ position: absolute;
1536
+ top: 50%;
1537
+ height: 76px;
1538
+ width: 76px;
1539
+ margin-top: -38px;
1540
+ }
1541
+
1542
+ .ImageGallery > .arrow.left {
1543
+ left: 5%;
1544
+ }
1545
+
1546
+ .ImageGallery > .arrow.right {
1547
+ right: 5%;
1548
+ }
1549
+
1550
+ .ImageGallery > .arrow .material-icons {
1551
+ font-size: 40px;
1552
+ }
1553
+
1554
+ .ImageGallery .counter {
1555
+ position: absolute;
1556
+ top: 10px;
1557
+ left: 10px;
1558
+ color: white;
1559
+ font-size: 13px;
1560
+ }
1561
+
1562
+ .ImageGallery .previews {
1563
+ height: 80px;
1564
+ position: absolute;
1565
+ bottom: 15px;
1566
+ left: 50%;
1567
+ transform: translateX(-50%);
1568
+ padding: 0 45px;
1569
+ }
1570
+
1571
+ .ImageGallery .previews .viewport {
1572
+ overflow: hidden;
1573
+ position: relative;
1574
+ height: 100%;
1575
+ }
1576
+
1577
+ .ImageGallery .previews .container {
1578
+ position: relative;
1579
+ display: flex;
1580
+ flex-flow: row nowrap;
1581
+ height: 100%;
1582
+ transition: left 0.25s ease;
1583
+ }
1584
+
1585
+ .ImageGallery .previews .preview {
1586
+ position: relative;
1587
+ height: 100%;
1588
+ display: inline-block;
1589
+ width: 106.66px;
1590
+ overflow: hidden;
1591
+ margin-left: 12px;
1592
+ border-radius: 2px;
1593
+ cursor: pointer;
1594
+ box-sizing: border-box;
1595
+ }
1596
+
1597
+ .ImageGallery .previews .preview:first-child {
1598
+ margin-left: 0;
1599
+ }
1600
+
1601
+ .ImageGallery .previews .preview > .border {
1602
+ position: absolute;
1603
+ bottom: 0;
1604
+ width: 100%;
1605
+ height: 3px;
1606
+ }
1607
+
1608
+ .ImageGallery .previews .preview > .border .line {
1609
+ left: 50%;
1610
+ width: 0;
1611
+ height: 3px;
1612
+ min-height: 3px;
1613
+ background-color: #4AC263;
1614
+ transition: all 0.2s ease;
1615
+ position: absolute;
1616
+ }
1617
+
1618
+ .ImageGallery .previews .preview:after {
1619
+ content: "";
1620
+ position: absolute;
1621
+ top: 0;
1622
+ right: 0;
1623
+ bottom: 0;
1624
+ left: 0;
1625
+ background: rgba(0, 0, 0, 0.35);
1626
+ transition: background 0.2s ease;
1627
+ }
1628
+
1629
+ .ImageGallery .previews .preview:hover:after {
1630
+ background: rgba(0, 0, 0, 0.1);
1631
+ }
1632
+
1633
+ .ImageGallery .previews .preview.selected .border .line {
1634
+ left: 0;
1635
+ width: 100%;
1636
+ }
1637
+
1638
+ .ImageGallery .previews .preview.selected:after {
1639
+ background: rgba(0, 0, 0, 0);
1640
+ }
1641
+
1642
+ .ImageGallery .previews > .arrow {
1643
+ position: absolute;
1644
+ top: 50%;
1645
+ height: 30px;
1646
+ width: 30px;
1647
+ min-width: 30px;
1648
+ min-height: 30px;
1649
+ margin-top: -15px;
1650
+ }
1651
+
1652
+ .ImageGallery .previews > .arrow.left {
1653
+ left: 0;
1654
+ }
1655
+
1656
+ .ImageGallery .previews > .arrow.right {
1657
+ right: 0;
1658
+ }
1659
+
1660
+ .ImageGallery .previews > .arrow .material-icons {
1661
+ font-size: 24px;
1662
+ }
1663
+
1664
1664
  .CalendarMonthView {
1665
1665
  display: flex;
1666
1666
  flex-flow: column nowrap;