react-ui-basics 0.0.142 → 0.0.143

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,134 @@
1
+ .animated {
2
+ transition: opacity 250ms ease;
3
+ opacity: 0;
4
+ }
5
+
6
+ .animated.mounting, .animated.mounted {
7
+ opacity: 1;
8
+ }
9
+
10
+ .DialogModal {
11
+ overflow: hidden;
12
+ }
13
+
14
+ .DialogModal .content {
15
+ top: 20vh;
16
+ }
17
+
18
+ .Dialog {
19
+ background-color: white;
20
+ min-width: 460px;
21
+ max-width: 40vw;
22
+ padding: 15px;
23
+ }
24
+
25
+ .Dialog .title {
26
+ margin-bottom: 15px;
27
+ padding: 20px 50px 0px 30px;
28
+ font-size: 1.25rem;
29
+ line-height: 2rem;
30
+ font-weight: 400;
31
+ letter-spacing: 0.0125em;
32
+ }
33
+
34
+ .Dialog .description {
35
+ color: rgba(0, 0, 0, 0.54);
36
+ font-size: 1rem;
37
+ line-height: 1.5rem;
38
+ font-weight: 400;
39
+ letter-spacing: 0.03125em;
40
+ margin-top: 20px;
41
+ padding: 0 24px 24px;
42
+ }
43
+
44
+ .Dialog > div.row {
45
+ margin-bottom: 15px;
46
+ }
47
+
48
+ .Dialog > div.row:last-child {
49
+ margin-bottom: 0;
50
+ }
51
+
52
+ .CircleProgress {
53
+ width: 48px;
54
+ height: 48px;
55
+ }
56
+
57
+ .CircleProgress .line {
58
+ stroke-width: 2px;
59
+ stroke: black;
60
+ stroke-linecap: square;
61
+ fill: none;
62
+ transition: stroke-dashoffset 0.2s ease;
63
+ }
64
+
65
+ .Checkbox {
66
+ position: relative;
67
+ white-space: pre;
68
+ }
69
+
70
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
71
+ box-sizing: border-box;
72
+ }
73
+
74
+ .Checkbox label {
75
+ font-family: Roboto, sans-serif;
76
+ font-size: 14px;
77
+ color: #1e252d;
78
+ cursor: pointer;
79
+ }
80
+
81
+ .Checkbox label:before, .Checkbox label:after {
82
+ content: "";
83
+ position: absolute;
84
+ left: 0;
85
+ top: 0;
86
+ }
87
+
88
+ .Checkbox label:before {
89
+ width: 20px;
90
+ height: 20px;
91
+ background: #fff;
92
+ border: 2px solid #252525;
93
+ border-radius: 2px;
94
+ cursor: pointer;
95
+ transition: background 0.3s;
96
+ }
97
+
98
+ .Checkbox input[type=checkbox] {
99
+ outline: 0;
100
+ margin-right: 10px;
101
+ visibility: hidden;
102
+ }
103
+
104
+ .Checkbox input[type=checkbox]:checked + label:before {
105
+ background: #4AC263;
106
+ border: none;
107
+ }
108
+
109
+ .Checkbox input[type=checkbox]:checked + label:after {
110
+ transform: rotate(-45deg);
111
+ top: 6px;
112
+ left: 4px;
113
+ width: 12px;
114
+ height: 6px;
115
+ border: 2px solid #fff;
116
+ border-top-style: none;
117
+ border-right-style: none;
118
+ }
119
+
120
+ .Checkbox input[type=checkbox]:disabled + label {
121
+ color: gray;
122
+ }
123
+
124
+ .Checkbox input[type=checkbox]:disabled + label:before {
125
+ border-color: rgba(0, 0, 0, 0.26);
126
+ }
127
+
128
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
129
+ background: rgba(0, 0, 0, 0.26);
130
+ }
131
+
1
132
  .Button {
2
133
  position: relative;
3
134
  min-width: 64px;
@@ -163,182 +294,110 @@
163
294
  border: 0;
164
295
  }
165
296
 
166
- .Checkbox {
297
+ .DNDContainer {
167
298
  position: relative;
168
- white-space: pre;
169
299
  }
170
300
 
171
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
301
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
302
+ cursor: pointer;
303
+ }
304
+
305
+ .DNDContainer .Draggable.placeholder {
306
+ opacity: 0.2;
307
+ }
308
+
309
+ .DNDContainer .Draggable.copy {
310
+ position: absolute;
172
311
  box-sizing: border-box;
312
+ will-change: transform;
313
+ opacity: 0;
173
314
  }
174
315
 
175
- .Checkbox label {
176
- font-family: Roboto, sans-serif;
177
- font-size: 14px;
178
- color: #1e252d;
179
- cursor: pointer;
316
+ .DNDContainer .Draggable.dragged {
317
+ z-index: 10;
180
318
  }
181
319
 
182
- .Checkbox label:before, .Checkbox label:after {
183
- content: "";
320
+ .DNDContainer .overlay {
184
321
  position: absolute;
185
- left: 0;
186
322
  top: 0;
323
+ left: 0;
324
+ right: 0;
325
+ bottom: 0;
326
+ pointer-events: none;
187
327
  }
188
328
 
189
- .Checkbox label:before {
190
- width: 20px;
191
- height: 20px;
192
- background: #fff;
193
- border: 2px solid #252525;
194
- border-radius: 2px;
329
+ .DropFileInput {
330
+ flex-grow: 1;
331
+ }
332
+
333
+ .DropFileInput .Dropzone {
334
+ border: 1px dashed #808080;
335
+ padding: 12px;
336
+ display: flex;
337
+ flex-flow: row nowrap;
338
+ justify-content: center;
339
+ align-items: center;
340
+ color: gray;
195
341
  cursor: pointer;
196
- transition: background 0.3s;
342
+ border-radius: 3px;
343
+ font-weight: normal;
344
+ line-height: 22px;
345
+ font-size: 14px;
346
+ color: #7E7E7E;
347
+ max-width: 100%;
348
+ word-break: break-all;
349
+ word-break: break-word;
197
350
  }
198
351
 
199
- .Checkbox input[type=checkbox] {
200
- outline: 0;
352
+ .DropFileInput .Dropzone .icon.withText {
201
353
  margin-right: 10px;
202
- visibility: hidden;
203
354
  }
204
355
 
205
- .Checkbox input[type=checkbox]:checked + label:before {
206
- background: #4AC263;
207
- border: none;
356
+ .AutocompleteSelect {
357
+ display: inline-flex;
358
+ flex-flow: column;
359
+ justify-content: center;
360
+ position: relative;
361
+ min-width: 250px;
362
+ min-height: 36px;
363
+ user-select: none;
208
364
  }
209
365
 
210
- .Checkbox input[type=checkbox]:checked + label:after {
211
- transform: rotate(-45deg);
212
- top: 6px;
213
- left: 4px;
214
- width: 12px;
215
- height: 6px;
216
- border: 2px solid #fff;
217
- border-top-style: none;
218
- border-right-style: none;
366
+ @keyframes clockwise {
367
+ 0% {
368
+ -webkit-transform: rotate(-90deg);
369
+ }
370
+ 100% {
371
+ -webkit-transform: translateX(0px);
372
+ }
219
373
  }
220
-
221
- .Checkbox input[type=checkbox]:disabled + label {
222
- color: gray;
374
+ @keyframes anticlockwise {
375
+ 0% {
376
+ -webkit-transform: rotate(90deg);
377
+ }
378
+ 100% {
379
+ -webkit-transform: translateX(0px);
380
+ }
223
381
  }
224
-
225
- .Checkbox input[type=checkbox]:disabled + label:before {
226
- border-color: rgba(0, 0, 0, 0.26);
382
+ .AutocompleteSelect > .input {
383
+ width: 100%;
227
384
  }
228
385
 
229
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
230
- background: rgba(0, 0, 0, 0.26);
386
+ .AutocompleteSelect .Scrollable {
387
+ padding-right: 0;
388
+ min-width: 100%;
231
389
  }
232
390
 
233
- .animated {
234
- transition: opacity 250ms ease;
235
- opacity: 0;
391
+ .AutocompleteSelect.inline-multiple > .label {
392
+ top: -12px;
236
393
  }
237
394
 
238
- .animated.mounting, .animated.mounted {
239
- opacity: 1;
395
+ .AutocompleteSelect.inline-multiple > .selected {
396
+ flex-flow: row wrap;
240
397
  }
241
398
 
242
- .CircleProgress {
243
- width: 48px;
244
- height: 48px;
245
- }
246
-
247
- .CircleProgress .line {
248
- stroke-width: 2px;
249
- stroke: black;
250
- stroke-linecap: square;
251
- fill: none;
252
- transition: stroke-dashoffset 0.2s ease;
253
- }
254
-
255
- .DialogModal {
256
- overflow: hidden;
257
- }
258
-
259
- .DialogModal .content {
260
- top: 20vh;
261
- }
262
-
263
- .Dialog {
264
- background-color: white;
265
- min-width: 460px;
266
- max-width: 40vw;
267
- padding: 15px;
268
- }
269
-
270
- .Dialog .title {
271
- margin-bottom: 15px;
272
- padding: 20px 50px 0px 30px;
273
- font-size: 1.25rem;
274
- line-height: 2rem;
275
- font-weight: 400;
276
- letter-spacing: 0.0125em;
277
- }
278
-
279
- .Dialog .description {
280
- color: rgba(0, 0, 0, 0.54);
281
- font-size: 1rem;
282
- line-height: 1.5rem;
283
- font-weight: 400;
284
- letter-spacing: 0.03125em;
285
- margin-top: 20px;
286
- padding: 0 24px 24px;
287
- }
288
-
289
- .Dialog > div.row {
290
- margin-bottom: 15px;
291
- }
292
-
293
- .Dialog > div.row:last-child {
294
- margin-bottom: 0;
295
- }
296
-
297
- .AutocompleteSelect {
298
- display: inline-flex;
299
- flex-flow: column;
300
- justify-content: center;
301
- position: relative;
302
- min-width: 250px;
303
- min-height: 36px;
304
- user-select: none;
305
- }
306
-
307
- @keyframes clockwise {
308
- 0% {
309
- -webkit-transform: rotate(-90deg);
310
- }
311
- 100% {
312
- -webkit-transform: translateX(0px);
313
- }
314
- }
315
- @keyframes anticlockwise {
316
- 0% {
317
- -webkit-transform: rotate(90deg);
318
- }
319
- 100% {
320
- -webkit-transform: translateX(0px);
321
- }
322
- }
323
- .AutocompleteSelect > .input {
324
- width: 100%;
325
- }
326
-
327
- .AutocompleteSelect .Scrollable {
328
- padding-right: 0;
329
- min-width: 100%;
330
- }
331
-
332
- .AutocompleteSelect.inline-multiple > .label {
333
- top: -12px;
334
- }
335
-
336
- .AutocompleteSelect.inline-multiple > .selected {
337
- flex-flow: row wrap;
338
- }
339
-
340
- .AutocompleteSelect.multiple-mini-inline {
341
- height: 42px;
399
+ .AutocompleteSelect.multiple-mini-inline {
400
+ height: 42px;
342
401
  }
343
402
 
344
403
  .AutocompleteSelect.multiple-mini-inline > .label {
@@ -589,63 +648,64 @@
589
648
  position: absolute;
590
649
  }
591
650
 
592
- .DropFileInput {
593
- flex-grow: 1;
651
+ .Dropzone {
652
+ position: relative;
594
653
  }
595
654
 
596
- .DropFileInput .Dropzone {
597
- border: 1px dashed #808080;
598
- padding: 12px;
655
+ .Dropzone > .overlay {
656
+ position: absolute;
657
+ left: 0;
658
+ right: 0;
659
+ top: 0;
660
+ bottom: 0;
661
+ background-color: #38ADC4;
662
+ z-index: 1;
663
+ opacity: 0;
664
+ transition: all 0.2s ease;
665
+ transition-delay: 100ms;
666
+ visibility: hidden;
599
667
  display: flex;
600
- flex-flow: row nowrap;
601
668
  justify-content: center;
602
669
  align-items: center;
603
- color: gray;
604
- cursor: pointer;
605
- border-radius: 3px;
606
- font-weight: normal;
607
- line-height: 22px;
608
- font-size: 14px;
609
- color: #7E7E7E;
610
- max-width: 100%;
611
- word-break: break-all;
612
- word-break: break-word;
613
- }
614
-
615
- .DropFileInput .Dropzone .icon.withText {
616
- margin-right: 10px;
617
- }
618
-
619
- .DNDContainer {
620
- position: relative;
621
- }
622
-
623
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
624
- cursor: pointer;
625
670
  }
626
671
 
627
- .DNDContainer .Draggable.placeholder {
628
- opacity: 0.2;
672
+ .Dropzone > .overlay .drop {
673
+ border-radius: 4px;
674
+ border: 1px dashed #FFFFFF;
675
+ position: absolute;
676
+ top: 18px;
677
+ left: 18px;
678
+ right: 18px;
679
+ bottom: 18px;
680
+ display: flex;
681
+ justify-content: center;
682
+ align-items: center;
683
+ font-weight: 500;
684
+ font-size: 18px;
685
+ color: #FFFFFF;
629
686
  }
630
687
 
631
- .DNDContainer .Draggable.copy {
632
- position: absolute;
633
- box-sizing: border-box;
634
- will-change: transform;
635
- opacity: 0;
688
+ .Dropzone.dragging > .overlay {
689
+ opacity: 0.7;
690
+ visibility: visible;
691
+ transition-delay: 0s;
636
692
  }
637
693
 
638
- .DNDContainer .Draggable.dragged {
639
- z-index: 10;
694
+ .Dropzone.dragging > * {
695
+ pointer-events: none;
640
696
  }
641
697
 
642
- .DNDContainer .overlay {
698
+ .Dropzone > input.file {
643
699
  position: absolute;
644
- top: 0;
645
700
  left: 0;
646
701
  right: 0;
702
+ top: 0;
647
703
  bottom: 0;
648
- pointer-events: none;
704
+ width: 100%;
705
+ height: 100%;
706
+ opacity: 0;
707
+ cursor: pointer;
708
+ z-index: 1;
649
709
  }
650
710
 
651
711
  .FilteredList {
@@ -729,66 +789,6 @@
729
789
  margin-bottom: 8px;
730
790
  }
731
791
 
732
- .Dropzone {
733
- position: relative;
734
- }
735
-
736
- .Dropzone > .overlay {
737
- position: absolute;
738
- left: 0;
739
- right: 0;
740
- top: 0;
741
- bottom: 0;
742
- background-color: #38ADC4;
743
- z-index: 1;
744
- opacity: 0;
745
- transition: all 0.2s ease;
746
- transition-delay: 100ms;
747
- visibility: hidden;
748
- display: flex;
749
- justify-content: center;
750
- align-items: center;
751
- }
752
-
753
- .Dropzone > .overlay .drop {
754
- border-radius: 4px;
755
- border: 1px dashed #FFFFFF;
756
- position: absolute;
757
- top: 18px;
758
- left: 18px;
759
- right: 18px;
760
- bottom: 18px;
761
- display: flex;
762
- justify-content: center;
763
- align-items: center;
764
- font-weight: 500;
765
- font-size: 18px;
766
- color: #FFFFFF;
767
- }
768
-
769
- .Dropzone.dragging > .overlay {
770
- opacity: 0.7;
771
- visibility: visible;
772
- transition-delay: 0s;
773
- }
774
-
775
- .Dropzone.dragging > * {
776
- pointer-events: none;
777
- }
778
-
779
- .Dropzone > input.file {
780
- position: absolute;
781
- left: 0;
782
- right: 0;
783
- top: 0;
784
- bottom: 0;
785
- width: 100%;
786
- height: 100%;
787
- opacity: 0;
788
- cursor: pointer;
789
- z-index: 1;
790
- }
791
-
792
792
  .Button.FloatingActionButton {
793
793
  position: absolute;
794
794
  right: 16px;
@@ -813,24 +813,93 @@
813
813
  bottom: -100px;
814
814
  }
815
815
 
816
- .ImageGallery {
817
- position: fixed;
818
- top: 0;
816
+ .FormUploadProgress {
817
+ position: absolute;
819
818
  left: 0;
820
- bottom: 0;
821
819
  right: 0;
822
- z-index: 1000;
823
- background-color: rgba(0, 0, 0, 0.01);
824
- user-select: none;
820
+ top: 0;
821
+ bottom: 0;
822
+ background-color: rgba(255, 255, 255, 0.6);
823
+ z-index: 2;
825
824
  }
826
825
 
827
- .ImageGallery:focus {
828
- outline-width: 0px;
826
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
827
+ transition-delay: 500ms;
829
828
  }
830
829
 
831
- .ImageGallery.animated {
832
- transition: background-color 0.25s ease;
833
- opacity: 1;
830
+ .FormUploadProgress .wrapper {
831
+ position: sticky;
832
+ top: 40%;
833
+ margin-top: 40%;
834
+ margin-left: 50%;
835
+ transform: translateX(-50%);
836
+ display: flex;
837
+ flex-flow: column;
838
+ justify-content: center;
839
+ align-items: center;
840
+ }
841
+
842
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
843
+ position: absolute;
844
+ width: 107px;
845
+ height: 107px;
846
+ top: 0;
847
+ left: 0;
848
+ }
849
+
850
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
851
+ stroke: #2196F3;
852
+ }
853
+
854
+ .FormUploadProgress .wrapper > .progress {
855
+ width: 107px;
856
+ height: 107px;
857
+ min-height: 107px;
858
+ display: flex;
859
+ justify-content: center;
860
+ align-items: center;
861
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
862
+ border-radius: 50%;
863
+ background: white;
864
+ position: relative;
865
+ }
866
+
867
+ .FormUploadProgress .wrapper > .progress > .value {
868
+ display: inline-block;
869
+ margin-top: 5px;
870
+ font-weight: bold;
871
+ line-height: 16px;
872
+ font-size: 13px;
873
+ text-align: center;
874
+ color: #818181;
875
+ }
876
+
877
+ .FormUploadProgress .wrapper .cancel {
878
+ min-width: 107px;
879
+ margin-top: 20px;
880
+ background-color: white;
881
+ color: #F96B5C;
882
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
883
+ }
884
+
885
+ .ImageGallery {
886
+ position: fixed;
887
+ top: 0;
888
+ left: 0;
889
+ bottom: 0;
890
+ right: 0;
891
+ z-index: 1000;
892
+ background-color: rgba(0, 0, 0, 0.01);
893
+ user-select: none;
894
+ }
895
+
896
+ .ImageGallery:focus {
897
+ outline-width: 0px;
898
+ }
899
+
900
+ .ImageGallery.animated {
901
+ transition: background-color 0.25s ease;
902
+ opacity: 1;
834
903
  }
835
904
 
836
905
  .ImageGallery.mounting, .ImageGallery.mounted {
@@ -1048,73 +1117,111 @@
1048
1117
  font-size: 24px;
1049
1118
  }
1050
1119
 
1051
- .FormUploadProgress {
1052
- position: absolute;
1120
+ .Modal {
1121
+ display: block;
1122
+ position: fixed;
1123
+ top: 0;
1053
1124
  left: 0;
1054
1125
  right: 0;
1126
+ bottom: 100%;
1127
+ overflow-y: scroll;
1128
+ transition: bottom 0ms linear;
1129
+ transition-delay: 0.2s;
1130
+ }
1131
+
1132
+ .Modal.show {
1133
+ transition-delay: 0s;
1134
+ bottom: 0;
1135
+ }
1136
+
1137
+ .Modal > .overlay {
1138
+ position: fixed;
1055
1139
  top: 0;
1140
+ bottom: 100%;
1141
+ left: 0;
1142
+ right: 0;
1143
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1144
+ opacity: 0;
1145
+ background-color: black;
1146
+ pointer-events: none;
1147
+ }
1148
+
1149
+ .Modal > .overlay.show {
1150
+ opacity: 0.5;
1056
1151
  bottom: 0;
1057
- background-color: rgba(255, 255, 255, 0.6);
1058
- z-index: 2;
1059
1152
  }
1060
1153
 
1061
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1062
- transition-delay: 500ms;
1154
+ .Modal > .content {
1155
+ left: 50%;
1156
+ top: 10vh;
1157
+ margin-bottom: 10vh;
1158
+ font-size: 16px;
1159
+ padding: 0;
1160
+ opacity: 0;
1161
+ transition: opacity 0.25s ease, transform 0.25s ease;
1162
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1163
+ transform-origin: top;
1164
+ position: absolute;
1165
+ border-radius: 2px;
1166
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1063
1167
  }
1064
1168
 
1065
- .FormUploadProgress .wrapper {
1066
- position: sticky;
1067
- top: 40%;
1068
- margin-top: 40%;
1069
- margin-left: 50%;
1070
- transform: translateX(-50%);
1071
- display: flex;
1072
- flex-flow: column;
1073
- justify-content: center;
1074
- align-items: center;
1169
+ .Modal > .content.show {
1170
+ opacity: 1;
1171
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1075
1172
  }
1076
1173
 
1077
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1174
+ .Modal > .content > .Scrollable {
1175
+ overflow: visible;
1176
+ max-height: 80vh;
1177
+ }
1178
+
1179
+ .Modal > .content > .Scrollable > .viewport {
1180
+ min-width: 10px;
1181
+ min-height: 10px;
1182
+ }
1183
+
1184
+ .Modal > .content > .Button.close {
1185
+ top: 10px;
1186
+ right: 10px;
1078
1187
  position: absolute;
1079
- width: 107px;
1080
- height: 107px;
1188
+ }
1189
+
1190
+ .ModalMenu {
1191
+ position: absolute;
1192
+ top: 10px;
1193
+ right: 50px;
1194
+ }
1195
+
1196
+ .ModalMenu .material-icons {
1197
+ color: #818181;
1198
+ }
1199
+
1200
+ .ModalMenu .Button.animated {
1201
+ position: absolute;
1202
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1203
+ opacity: 0;
1204
+ right: 0;
1081
1205
  top: 0;
1082
- left: 0;
1083
1206
  }
1084
1207
 
1085
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1086
- stroke: #2196F3;
1208
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1209
+ opacity: 1;
1087
1210
  }
1088
1211
 
1089
- .FormUploadProgress .wrapper > .progress {
1090
- width: 107px;
1091
- height: 107px;
1092
- min-height: 107px;
1093
- display: flex;
1094
- justify-content: center;
1095
- align-items: center;
1096
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1097
- border-radius: 50%;
1098
- background: white;
1099
- position: relative;
1212
+ .ModalMenu .Button.animated.unmounting {
1213
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1100
1214
  }
1101
1215
 
1102
- .FormUploadProgress .wrapper > .progress > .value {
1103
- display: inline-block;
1104
- margin-top: 5px;
1105
- font-weight: bold;
1106
- line-height: 16px;
1107
- font-size: 13px;
1108
- text-align: center;
1109
- color: #818181;
1216
+ .ModalMenu .Button.active {
1217
+ background: #EBEBEB;
1110
1218
  }
1111
1219
 
1112
- .FormUploadProgress .wrapper .cancel {
1113
- min-width: 107px;
1114
- margin-top: 20px;
1115
- background-color: white;
1116
- color: #F96B5C;
1117
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1220
+ .ModalMenu .separator {
1221
+ height: 24px;
1222
+ width: 1px;
1223
+ background-color: #D9D9D9;
1224
+ margin-left: 4px;
1118
1225
  }
1119
1226
 
1120
1227
  .Scrollable {
@@ -1212,111 +1319,131 @@
1212
1319
  will-change: left;
1213
1320
  }
1214
1321
 
1215
- .ModalMenu {
1216
- position: absolute;
1217
- top: 10px;
1218
- right: 50px;
1219
- }
1220
-
1221
- .ModalMenu .material-icons {
1222
- color: #818181;
1223
- }
1224
-
1225
- .ModalMenu .Button.animated {
1226
- position: absolute;
1227
- transition: opacity 150ms ease-in, right 200ms ease-in;
1322
+ .Snackbar {
1323
+ transform: translateX(-50%);
1324
+ overflow: hidden;
1325
+ background-color: #323232;
1326
+ padding: 14px 24px 14px 24px;
1327
+ color: #fff;
1328
+ min-width: 288px;
1329
+ max-width: 568px;
1330
+ position: fixed;
1331
+ bottom: -50px;
1332
+ left: 50%;
1333
+ display: flex;
1334
+ flex-wrap: nowrap;
1335
+ align-items: center;
1228
1336
  opacity: 0;
1229
- right: 0;
1230
- top: 0;
1337
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1338
+ border-radius: 4px;
1339
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1231
1340
  }
1232
1341
 
1233
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1342
+ .Snackbar.shown {
1343
+ bottom: 15px;
1234
1344
  opacity: 1;
1235
1345
  }
1236
1346
 
1237
- .ModalMenu .Button.animated.unmounting {
1238
- transition: opacity 100ms ease-out, right 200ms ease-out;
1347
+ .Snackbar .message {
1348
+ overflow: hidden;
1349
+ line-height: 1.2em;
1350
+ min-height: 1.2em;
1351
+ max-height: 2.4em;
1352
+ flex: 1;
1239
1353
  }
1240
1354
 
1241
- .ModalMenu .Button.active {
1242
- background: #EBEBEB;
1355
+ .Snackbar .action {
1356
+ text-transform: uppercase;
1357
+ font-weight: bold;
1358
+ margin-left: 48px;
1359
+ color: #bf3727;
1243
1360
  }
1244
1361
 
1245
- .ModalMenu .separator {
1362
+ .Snackbar .action a {
1363
+ text-decoration: none;
1364
+ color: #bf3727;
1365
+ }
1366
+
1367
+ .Switch {
1368
+ display: inline-flex;
1369
+ padding-top: 5px;
1370
+ }
1371
+
1372
+ .Switch .switch-input {
1373
+ display: none;
1374
+ }
1375
+
1376
+ .Switch .switch-label {
1377
+ position: relative;
1378
+ display: inline-flex;
1379
+ align-items: center;
1380
+ min-width: 38px;
1246
1381
  height: 24px;
1247
- width: 1px;
1248
- background-color: #D9D9D9;
1249
- margin-left: 4px;
1382
+ cursor: pointer;
1383
+ font-weight: 500;
1384
+ text-align: left;
1385
+ user-select: none;
1386
+ margin: 0;
1387
+ padding: 0;
1388
+ padding-left: 44px;
1389
+ box-sizing: border-box;
1250
1390
  }
1251
1391
 
1252
- .Modal {
1253
- display: block;
1254
- position: fixed;
1255
- top: 0;
1256
- left: 0;
1257
- right: 0;
1258
- bottom: 100%;
1259
- overflow-y: scroll;
1260
- transition: bottom 0ms linear;
1261
- transition-delay: 0.2s;
1392
+ .Switch .switch-label:before, .Switch .switch-label:after {
1393
+ content: "";
1394
+ box-sizing: border-box;
1395
+ position: absolute;
1396
+ margin: 0;
1397
+ outline: 0;
1398
+ top: 50%;
1399
+ transform: translate(0, -50%);
1400
+ transition: all 0.3s ease;
1262
1401
  }
1263
1402
 
1264
- .Modal.show {
1265
- transition-delay: 0s;
1266
- bottom: 0;
1403
+ .Switch .switch-label:before {
1404
+ left: 1px;
1405
+ width: 34px;
1406
+ height: 14px;
1407
+ background-color: #9E9E9E;
1408
+ border-radius: 8px;
1267
1409
  }
1268
1410
 
1269
- .Modal > .overlay {
1270
- position: fixed;
1271
- top: 0;
1272
- bottom: 100%;
1411
+ .Switch .switch-label:after {
1273
1412
  left: 0;
1274
- right: 0;
1275
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1276
- opacity: 0;
1277
- background-color: black;
1278
- pointer-events: none;
1413
+ width: 20px;
1414
+ height: 20px;
1415
+ background-color: #FAFAFA;
1416
+ border-radius: 50%;
1417
+ 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);
1279
1418
  }
1280
1419
 
1281
- .Modal > .overlay.show {
1282
- opacity: 0.5;
1283
- bottom: 0;
1420
+ .Switch .switch-label .toggle--on {
1421
+ display: none;
1284
1422
  }
1285
1423
 
1286
- .Modal > .content {
1287
- left: 50%;
1288
- top: 10vh;
1289
- margin-bottom: 10vh;
1290
- font-size: 16px;
1291
- padding: 0;
1292
- opacity: 0;
1293
- transition: opacity 0.25s ease, transform 0.25s ease;
1294
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1295
- transform-origin: top;
1296
- position: absolute;
1297
- border-radius: 2px;
1298
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1424
+ .Switch .switch-label .toggle--off {
1425
+ display: inline-block;
1299
1426
  }
1300
1427
 
1301
- .Modal > .content.show {
1302
- opacity: 1;
1303
- transform: scaleY(1) translateY(0px) translateX(-50%);
1428
+ .Switch .switch-label .label {
1429
+ margin-right: 5px;
1304
1430
  }
1305
1431
 
1306
- .Modal > .content > .Scrollable {
1307
- overflow: visible;
1308
- max-height: 80vh;
1432
+ .Switch .switch-input:checked + .switch-label:before {
1433
+ background-color: #A5D6A7;
1309
1434
  }
1310
1435
 
1311
- .Modal > .content > .Scrollable > .viewport {
1312
- min-width: 10px;
1313
- min-height: 10px;
1436
+ .Switch .switch-input:checked + .switch-label:after {
1437
+ background-color: #4CAF50;
1438
+ transform: translate(80%, -50%);
1314
1439
  }
1315
1440
 
1316
- .Modal > .content > .Button.close {
1317
- top: 10px;
1318
- right: 10px;
1319
- position: absolute;
1441
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1442
+ display: inline-block;
1443
+ }
1444
+
1445
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1446
+ display: none;
1320
1447
  }
1321
1448
 
1322
1449
  .SpinningProgress {
@@ -1372,6 +1499,120 @@
1372
1499
  stroke-dashoffset: -53px;
1373
1500
  }
1374
1501
  }
1502
+ .Table {
1503
+ font-family: Roboto, sans-serif;
1504
+ font-size: 14px;
1505
+ color: #1e252d;
1506
+ border-spacing: 0;
1507
+ border-collapse: collapse;
1508
+ width: 100%;
1509
+ position: relative;
1510
+ }
1511
+
1512
+ .Table td, .Table th {
1513
+ padding: 5px;
1514
+ font-weight: 500;
1515
+ color: #2e2e2e;
1516
+ }
1517
+
1518
+ .Table td {
1519
+ height: 48px;
1520
+ border-bottom: 1px solid #ebebeb;
1521
+ border-top: 1px solid #ebebeb;
1522
+ }
1523
+
1524
+ .Table td:first-child {
1525
+ padding-left: 45px;
1526
+ }
1527
+
1528
+ .Table td:last-child {
1529
+ padding-right: 45px;
1530
+ }
1531
+
1532
+ .Table th {
1533
+ color: #808080;
1534
+ height: 55px;
1535
+ padding: 0px;
1536
+ }
1537
+
1538
+ .Table th .sortable {
1539
+ cursor: pointer;
1540
+ }
1541
+
1542
+ .Table th .sortable.active {
1543
+ font-weight: bold;
1544
+ }
1545
+
1546
+ .Table th .sortable.active .material-icons {
1547
+ font-size: 16px;
1548
+ }
1549
+
1550
+ .Table th .sortable.false {
1551
+ padding-right: 22px;
1552
+ }
1553
+
1554
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1555
+ padding-left: 45px;
1556
+ }
1557
+
1558
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1559
+ padding-right: 45px;
1560
+ }
1561
+
1562
+ .Table th .hidden {
1563
+ color: transparent;
1564
+ height: 0px;
1565
+ padding: 5px;
1566
+ }
1567
+
1568
+ .Table th .fixed {
1569
+ font-weight: normal;
1570
+ display: flex;
1571
+ flex-flow: row;
1572
+ justify-items: center;
1573
+ align-items: center;
1574
+ text-align: left;
1575
+ height: 56px;
1576
+ padding: 0px 5px;
1577
+ background-color: white;
1578
+ position: absolute;
1579
+ top: 0px;
1580
+ z-index: 1;
1581
+ box-sizing: border-box;
1582
+ border-bottom: 1px solid #ebebeb;
1583
+ border-top: 1px solid #ebebeb;
1584
+ }
1585
+
1586
+ .Table tbody tr:hover {
1587
+ background-color: #f2f2f2;
1588
+ }
1589
+
1590
+ .Table tbody tr.disabled td {
1591
+ color: #93a4b7;
1592
+ }
1593
+
1594
+ .Table .ro {
1595
+ color: #47576a;
1596
+ }
1597
+
1598
+ .Table .editable {
1599
+ cursor: pointer;
1600
+ }
1601
+
1602
+ .Table .editable > .TextField {
1603
+ height: 20px !important;
1604
+ margin: 0px;
1605
+ position: relative;
1606
+ display: block;
1607
+ }
1608
+
1609
+ .Table .editable > .TextField input {
1610
+ width: 100%;
1611
+ height: 20px;
1612
+ padding: 0px;
1613
+ background-color: #f0f0f0;
1614
+ }
1615
+
1375
1616
  .TextField {
1376
1617
  position: relative;
1377
1618
  width: 100%;
@@ -1515,163 +1756,12 @@
1515
1756
  animation-name: shake;
1516
1757
  }
1517
1758
 
1518
- .Snackbar {
1519
- transform: translateX(-50%);
1520
- overflow: hidden;
1521
- background-color: #323232;
1522
- padding: 14px 24px 14px 24px;
1523
- color: #fff;
1524
- min-width: 288px;
1525
- max-width: 568px;
1526
- position: fixed;
1527
- bottom: -50px;
1528
- left: 50%;
1529
- display: flex;
1530
- flex-wrap: nowrap;
1531
- align-items: center;
1532
- opacity: 0;
1533
- transition: bottom 0.25s ease, opacity 0.2s ease;
1534
- border-radius: 4px;
1535
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1536
- }
1537
-
1538
- .Snackbar.shown {
1539
- bottom: 15px;
1540
- opacity: 1;
1541
- }
1542
-
1543
- .Snackbar .message {
1544
- overflow: hidden;
1545
- line-height: 1.2em;
1546
- min-height: 1.2em;
1547
- max-height: 2.4em;
1548
- flex: 1;
1549
- }
1550
-
1551
- .Snackbar .action {
1552
- text-transform: uppercase;
1553
- font-weight: bold;
1554
- margin-left: 48px;
1555
- color: #bf3727;
1556
- }
1557
-
1558
- .Snackbar .action a {
1559
- text-decoration: none;
1560
- color: #bf3727;
1561
- }
1562
-
1563
- .Table {
1564
- font-family: Roboto, sans-serif;
1565
- font-size: 14px;
1566
- color: #1e252d;
1567
- border-spacing: 0;
1568
- border-collapse: collapse;
1569
- width: 100%;
1570
- position: relative;
1571
- }
1572
-
1573
- .Table td, .Table th {
1574
- padding: 5px;
1575
- font-weight: 500;
1576
- color: #2e2e2e;
1577
- }
1578
-
1579
- .Table td {
1580
- height: 48px;
1581
- border-bottom: 1px solid #ebebeb;
1582
- border-top: 1px solid #ebebeb;
1583
- }
1584
-
1585
- .Table td:first-child {
1586
- padding-left: 45px;
1587
- }
1588
-
1589
- .Table td:last-child {
1590
- padding-right: 45px;
1591
- }
1592
-
1593
- .Table th {
1594
- color: #808080;
1595
- height: 55px;
1596
- padding: 0px;
1597
- }
1598
-
1599
- .Table th .sortable {
1600
- cursor: pointer;
1601
- }
1602
-
1603
- .Table th .sortable.active {
1604
- font-weight: bold;
1605
- }
1606
-
1607
- .Table th .sortable.active .material-icons {
1608
- font-size: 16px;
1609
- }
1610
-
1611
- .Table th .sortable.false {
1612
- padding-right: 22px;
1613
- }
1614
-
1615
- .Table th:first-child .hidden, .Table th:first-child .fixed {
1616
- padding-left: 45px;
1617
- }
1618
-
1619
- .Table th:last-child .hidden, .Table th:last-child .fixed {
1620
- padding-right: 45px;
1621
- }
1622
-
1623
- .Table th .hidden {
1624
- color: transparent;
1625
- height: 0px;
1626
- padding: 5px;
1627
- }
1628
-
1629
- .Table th .fixed {
1630
- font-weight: normal;
1631
- display: flex;
1632
- flex-flow: row;
1633
- justify-items: center;
1634
- align-items: center;
1635
- text-align: left;
1636
- height: 56px;
1637
- padding: 0px 5px;
1638
- background-color: white;
1639
- position: absolute;
1640
- top: 0px;
1641
- z-index: 1;
1642
- box-sizing: border-box;
1643
- border-bottom: 1px solid #ebebeb;
1644
- border-top: 1px solid #ebebeb;
1645
- }
1646
-
1647
- .Table tbody tr:hover {
1648
- background-color: #f2f2f2;
1649
- }
1650
-
1651
- .Table tbody tr.disabled td {
1652
- color: #93a4b7;
1653
- }
1654
-
1655
- .Table .ro {
1656
- color: #47576a;
1657
- }
1658
-
1659
- .Table .editable {
1660
- cursor: pointer;
1661
- }
1662
-
1663
- .Table .editable > .TextField {
1664
- height: 20px !important;
1665
- margin: 0px;
1666
- position: relative;
1667
- display: block;
1759
+ .ScrollableTable .Scrollable .scrollbar {
1760
+ top: 56px;
1668
1761
  }
1669
1762
 
1670
- .Table .editable > .TextField input {
1671
- width: 100%;
1672
- height: 20px;
1673
- padding: 0px;
1674
- background-color: #f0f0f0;
1763
+ .ScrollableTable .Table {
1764
+ position: static;
1675
1765
  }
1676
1766
 
1677
1767
  .DNDContainer .DroppableList .Draggable {
@@ -1690,94 +1780,4 @@
1690
1780
 
1691
1781
  .DNDContainer .DroppableList.resetting .Draggable {
1692
1782
  transition: transform 0.1s ease-in;
1693
- }
1694
-
1695
- .ScrollableTable .Scrollable .scrollbar {
1696
- top: 56px;
1697
- }
1698
-
1699
- .ScrollableTable .Table {
1700
- position: static;
1701
- }
1702
-
1703
- .Switch {
1704
- display: inline-flex;
1705
- padding-top: 5px;
1706
- }
1707
-
1708
- .Switch .switch-input {
1709
- display: none;
1710
- }
1711
-
1712
- .Switch .switch-label {
1713
- position: relative;
1714
- display: inline-flex;
1715
- align-items: center;
1716
- min-width: 38px;
1717
- height: 24px;
1718
- cursor: pointer;
1719
- font-weight: 500;
1720
- text-align: left;
1721
- user-select: none;
1722
- margin: 0;
1723
- padding: 0;
1724
- padding-left: 44px;
1725
- box-sizing: border-box;
1726
- }
1727
-
1728
- .Switch .switch-label:before, .Switch .switch-label:after {
1729
- content: "";
1730
- box-sizing: border-box;
1731
- position: absolute;
1732
- margin: 0;
1733
- outline: 0;
1734
- top: 50%;
1735
- transform: translate(0, -50%);
1736
- transition: all 0.3s ease;
1737
- }
1738
-
1739
- .Switch .switch-label:before {
1740
- left: 1px;
1741
- width: 34px;
1742
- height: 14px;
1743
- background-color: #9E9E9E;
1744
- border-radius: 8px;
1745
- }
1746
-
1747
- .Switch .switch-label:after {
1748
- left: 0;
1749
- width: 20px;
1750
- height: 20px;
1751
- background-color: #FAFAFA;
1752
- border-radius: 50%;
1753
- 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);
1754
- }
1755
-
1756
- .Switch .switch-label .toggle--on {
1757
- display: none;
1758
- }
1759
-
1760
- .Switch .switch-label .toggle--off {
1761
- display: inline-block;
1762
- }
1763
-
1764
- .Switch .switch-label .label {
1765
- margin-right: 5px;
1766
- }
1767
-
1768
- .Switch .switch-input:checked + .switch-label:before {
1769
- background-color: #A5D6A7;
1770
- }
1771
-
1772
- .Switch .switch-input:checked + .switch-label:after {
1773
- background-color: #4CAF50;
1774
- transform: translate(80%, -50%);
1775
- }
1776
-
1777
- .Switch .switch-input:checked + .switch-label .toggle--on {
1778
- display: inline-block;
1779
- }
1780
-
1781
- .Switch .switch-input:checked + .switch-label .toggle--off {
1782
- display: none;
1783
1783
  }