react-ui-basics 0.0.174 → 0.0.175

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,10 +1,43 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
1
+ .DialogModal {
2
+ overflow: hidden;
4
3
  }
5
4
 
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
5
+ .DialogModal .content {
6
+ top: 20vh;
7
+ }
8
+
9
+ .Dialog {
10
+ background-color: white;
11
+ min-width: 460px;
12
+ max-width: 40vw;
13
+ padding: 15px;
14
+ }
15
+
16
+ .Dialog .title {
17
+ margin-bottom: 15px;
18
+ padding: 20px 50px 0px 30px;
19
+ font-size: 1.25rem;
20
+ line-height: 2rem;
21
+ font-weight: 400;
22
+ letter-spacing: 0.0125em;
23
+ }
24
+
25
+ .Dialog .description {
26
+ color: rgba(0, 0, 0, 0.54);
27
+ font-size: 1rem;
28
+ line-height: 1.5rem;
29
+ font-weight: 400;
30
+ letter-spacing: 0.03125em;
31
+ margin-top: 20px;
32
+ padding: 0 24px 24px;
33
+ }
34
+
35
+ .Dialog > div.row {
36
+ margin-bottom: 15px;
37
+ }
38
+
39
+ .Dialog > div.row:last-child {
40
+ margin-bottom: 0;
8
41
  }
9
42
 
10
43
  .Button {
@@ -173,73 +206,6 @@
173
206
  border: 0;
174
207
  }
175
208
 
176
- .Checkbox {
177
- position: relative;
178
- white-space: pre;
179
- }
180
-
181
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
182
- box-sizing: border-box;
183
- }
184
-
185
- .Checkbox label {
186
- font-family: Roboto, sans-serif;
187
- font-size: 14px;
188
- color: #1e252d;
189
- cursor: pointer;
190
- }
191
-
192
- .Checkbox label:before, .Checkbox label:after {
193
- content: "";
194
- position: absolute;
195
- left: 0;
196
- top: 0;
197
- }
198
-
199
- .Checkbox label:before {
200
- width: 20px;
201
- height: 20px;
202
- background: #fff;
203
- border: 2px solid #252525;
204
- border-radius: 2px;
205
- cursor: pointer;
206
- transition: background 0.3s;
207
- }
208
-
209
- .Checkbox input[type=checkbox] {
210
- outline: 0;
211
- margin-right: 10px;
212
- visibility: hidden;
213
- }
214
-
215
- .Checkbox input[type=checkbox]:checked + label:before {
216
- background: #4AC263;
217
- border: none;
218
- }
219
-
220
- .Checkbox input[type=checkbox]:checked + label:after {
221
- transform: rotate(-45deg);
222
- top: 6px;
223
- left: 4px;
224
- width: 12px;
225
- height: 6px;
226
- border: 2px solid #fff;
227
- border-top-style: none;
228
- border-right-style: none;
229
- }
230
-
231
- .Checkbox input[type=checkbox]:disabled + label {
232
- color: gray;
233
- }
234
-
235
- .Checkbox input[type=checkbox]:disabled + label:before {
236
- border-color: rgba(0, 0, 0, 0.26);
237
- }
238
-
239
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
240
- background: rgba(0, 0, 0, 0.26);
241
- }
242
-
243
209
  .AutocompleteSelect {
244
210
  display: inline-flex;
245
211
  flex-flow: column;
@@ -535,6 +501,82 @@
535
501
  position: absolute;
536
502
  }
537
503
 
504
+ .animated {
505
+ transition: opacity 250ms ease;
506
+ opacity: 0;
507
+ }
508
+
509
+ .animated.mounting, .animated.mounted {
510
+ opacity: 1;
511
+ }
512
+
513
+ .Checkbox {
514
+ position: relative;
515
+ white-space: pre;
516
+ }
517
+
518
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
519
+ box-sizing: border-box;
520
+ }
521
+
522
+ .Checkbox label {
523
+ font-family: Roboto, sans-serif;
524
+ font-size: 14px;
525
+ color: #1e252d;
526
+ cursor: pointer;
527
+ }
528
+
529
+ .Checkbox label:before, .Checkbox label:after {
530
+ content: "";
531
+ position: absolute;
532
+ left: 0;
533
+ top: 0;
534
+ }
535
+
536
+ .Checkbox label:before {
537
+ width: 20px;
538
+ height: 20px;
539
+ background: #fff;
540
+ border: 2px solid #252525;
541
+ border-radius: 2px;
542
+ cursor: pointer;
543
+ transition: background 0.3s;
544
+ }
545
+
546
+ .Checkbox input[type=checkbox] {
547
+ outline: 0;
548
+ margin-right: 10px;
549
+ visibility: hidden;
550
+ }
551
+
552
+ .Checkbox input[type=checkbox]:checked + label:before {
553
+ background: #4AC263;
554
+ border: none;
555
+ }
556
+
557
+ .Checkbox input[type=checkbox]:checked + label:after {
558
+ transform: rotate(-45deg);
559
+ top: 6px;
560
+ left: 4px;
561
+ width: 12px;
562
+ height: 6px;
563
+ border: 2px solid #fff;
564
+ border-top-style: none;
565
+ border-right-style: none;
566
+ }
567
+
568
+ .Checkbox input[type=checkbox]:disabled + label {
569
+ color: gray;
570
+ }
571
+
572
+ .Checkbox input[type=checkbox]:disabled + label:before {
573
+ border-color: rgba(0, 0, 0, 0.26);
574
+ }
575
+
576
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
577
+ background: rgba(0, 0, 0, 0.26);
578
+ }
579
+
538
580
  .DNDContainer {
539
581
  position: relative;
540
582
  }
@@ -567,48 +609,6 @@
567
609
  pointer-events: none;
568
610
  }
569
611
 
570
- .DialogModal {
571
- overflow: hidden;
572
- }
573
-
574
- .DialogModal .content {
575
- top: 20vh;
576
- }
577
-
578
- .Dialog {
579
- background-color: white;
580
- min-width: 460px;
581
- max-width: 40vw;
582
- padding: 15px;
583
- }
584
-
585
- .Dialog .title {
586
- margin-bottom: 15px;
587
- padding: 20px 50px 0px 30px;
588
- font-size: 1.25rem;
589
- line-height: 2rem;
590
- font-weight: 400;
591
- letter-spacing: 0.0125em;
592
- }
593
-
594
- .Dialog .description {
595
- color: rgba(0, 0, 0, 0.54);
596
- font-size: 1rem;
597
- line-height: 1.5rem;
598
- font-weight: 400;
599
- letter-spacing: 0.03125em;
600
- margin-top: 20px;
601
- padding: 0 24px 24px;
602
- }
603
-
604
- .Dialog > div.row {
605
- margin-bottom: 15px;
606
- }
607
-
608
- .Dialog > div.row:last-child {
609
- margin-bottom: 0;
610
- }
611
-
612
612
  .CircleProgress {
613
613
  width: 48px;
614
614
  height: 48px;
@@ -622,15 +622,126 @@
622
622
  transition: stroke-dashoffset 0.2s ease;
623
623
  }
624
624
 
625
- .Scrollable {
626
- max-height: 250px;
627
- max-width: 250px;
628
- padding-right: 5px;
629
- position: relative;
625
+ .DropFileInput {
626
+ flex-grow: 1;
627
+ }
628
+
629
+ .DropFileInput .Dropzone {
630
+ border: 1px dashed #808080;
631
+ padding: 12px;
630
632
  display: flex;
631
- flex-flow: column;
632
- align-items: stretch;
633
- overflow: hidden;
633
+ flex-flow: row nowrap;
634
+ justify-content: center;
635
+ align-items: center;
636
+ color: gray;
637
+ cursor: pointer;
638
+ border-radius: 3px;
639
+ font-weight: normal;
640
+ line-height: 22px;
641
+ font-size: 14px;
642
+ color: #7E7E7E;
643
+ max-width: 100%;
644
+ word-break: break-all;
645
+ word-break: break-word;
646
+ }
647
+
648
+ .DropFileInput .Dropzone .icon.withText {
649
+ margin-right: 10px;
650
+ }
651
+
652
+ .Dropzone {
653
+ position: relative;
654
+ }
655
+
656
+ .Dropzone > .overlay {
657
+ position: absolute;
658
+ left: 0;
659
+ right: 0;
660
+ top: 0;
661
+ bottom: 0;
662
+ background-color: #38ADC4;
663
+ z-index: 1;
664
+ opacity: 0;
665
+ transition: all 0.2s ease;
666
+ transition-delay: 100ms;
667
+ visibility: hidden;
668
+ display: flex;
669
+ justify-content: center;
670
+ align-items: center;
671
+ }
672
+
673
+ .Dropzone > .overlay .drop {
674
+ border-radius: 4px;
675
+ border: 1px dashed #FFFFFF;
676
+ position: absolute;
677
+ top: 18px;
678
+ left: 18px;
679
+ right: 18px;
680
+ bottom: 18px;
681
+ display: flex;
682
+ justify-content: center;
683
+ align-items: center;
684
+ font-weight: 500;
685
+ font-size: 18px;
686
+ color: #FFFFFF;
687
+ }
688
+
689
+ .Dropzone.dragging > .overlay {
690
+ opacity: 0.7;
691
+ visibility: visible;
692
+ transition-delay: 0s;
693
+ }
694
+
695
+ .Dropzone.dragging > * {
696
+ pointer-events: none;
697
+ }
698
+
699
+ .Dropzone > input.file {
700
+ position: absolute;
701
+ left: 0;
702
+ right: 0;
703
+ top: 0;
704
+ bottom: 0;
705
+ width: 100%;
706
+ height: 100%;
707
+ opacity: 0;
708
+ cursor: pointer;
709
+ z-index: 1;
710
+ }
711
+
712
+ .Button.FloatingActionButton {
713
+ position: absolute;
714
+ right: 16px;
715
+ bottom: 16px;
716
+ width: 56px;
717
+ height: 56px;
718
+ padding: 16px;
719
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
720
+ }
721
+
722
+ .Button.FloatingActionButton.raised {
723
+ 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);
724
+ }
725
+
726
+ .Button.FloatingActionButton.mini {
727
+ width: 40px;
728
+ height: 40px;
729
+ padding: 8px;
730
+ }
731
+
732
+ .Button.FloatingActionButton.hidden {
733
+ bottom: -100px;
734
+ }
735
+
736
+ .Scrollable {
737
+ max-height: 250px;
738
+ max-width: 250px;
739
+ padding-right: 5px;
740
+ position: relative;
741
+ display: flex;
742
+ flex-flow: column;
743
+ align-items: stretch;
744
+ overflow: hidden;
634
745
  }
635
746
 
636
747
  .Scrollable:hover > .scrollbar.auto {
@@ -717,55 +828,85 @@
717
828
  will-change: left;
718
829
  }
719
830
 
720
- .Button.FloatingActionButton {
721
- position: absolute;
722
- right: 16px;
723
- bottom: 16px;
724
- width: 56px;
725
- height: 56px;
726
- padding: 16px;
727
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
728
- }
729
-
730
- .Button.FloatingActionButton.raised {
731
- 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);
831
+ .FilteredList {
832
+ max-height: 250px;
833
+ position: relative;
732
834
  }
733
835
 
734
- .Button.FloatingActionButton.mini {
735
- width: 40px;
736
- height: 40px;
737
- padding: 8px;
836
+ .FilteredList.popup {
837
+ padding: 0;
838
+ visibility: hidden;
839
+ position: absolute;
840
+ background: white;
841
+ z-index: 4;
842
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
843
+ transition: all 0.2s ease-out;
844
+ top: calc(100% + 4px);
845
+ opacity: 0;
846
+ border-radius: 2px;
738
847
  }
739
848
 
740
- .Button.FloatingActionButton.hidden {
741
- bottom: -100px;
849
+ .FilteredList.popup.visible {
850
+ opacity: 1;
851
+ visibility: visible;
742
852
  }
743
853
 
744
- .DropFileInput {
745
- flex-grow: 1;
854
+ .FilteredList.inline {
855
+ max-height: 225px;
856
+ margin-top: 5px;
746
857
  }
747
858
 
748
- .DropFileInput .Dropzone {
749
- border: 1px dashed #808080;
750
- padding: 12px;
859
+ .FilteredList .child {
751
860
  display: flex;
752
861
  flex-flow: row nowrap;
753
- justify-content: center;
754
862
  align-items: center;
755
- color: gray;
756
- cursor: pointer;
757
- border-radius: 3px;
758
- font-weight: normal;
759
- line-height: 22px;
863
+ white-space: nowrap;
760
864
  font-size: 14px;
761
- color: #7E7E7E;
762
- max-width: 100%;
763
- word-break: break-all;
764
- word-break: break-word;
865
+ color: #222222;
866
+ height: 30px;
867
+ padding: 5px 10px;
868
+ padding-right: 15px;
869
+ cursor: pointer;
870
+ overflow: hidden;
871
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
872
+ border-left: 5px solid #4AC263;
873
+ padding-left: 15px;
874
+ margin-left: -5px;
765
875
  }
766
876
 
767
- .DropFileInput .Dropzone .icon.withText {
768
- margin-right: 10px;
877
+ .FilteredList .child.hidden {
878
+ height: 0 !important;
879
+ padding: 0 !important;
880
+ }
881
+
882
+ .FilteredList .child.selected {
883
+ background-color: #F0F0F0;
884
+ padding-left: 10px;
885
+ margin-left: 0px;
886
+ }
887
+
888
+ .FilteredList .child.active {
889
+ background-color: #eeeeee;
890
+ }
891
+
892
+ .FilteredList .child {
893
+ margin-top: 8px;
894
+ }
895
+
896
+ .FilteredList .child.hidden {
897
+ margin-top: 0;
898
+ }
899
+
900
+ .FilteredList .child:not(.hidden) ~ .child {
901
+ margin-top: 0;
902
+ }
903
+
904
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
905
+ margin-bottom: 8px;
906
+ }
907
+
908
+ .FilteredList .child:not(.hidden):last-child {
909
+ margin-bottom: 8px;
769
910
  }
770
911
 
771
912
  .ImageGallery {
@@ -1003,147 +1144,42 @@
1003
1144
  font-size: 24px;
1004
1145
  }
1005
1146
 
1006
- .Dropzone {
1007
- position: relative;
1008
- }
1009
-
1010
- .Dropzone > .overlay {
1147
+ .FormUploadProgress {
1011
1148
  position: absolute;
1012
1149
  left: 0;
1013
1150
  right: 0;
1014
1151
  top: 0;
1015
1152
  bottom: 0;
1016
- background-color: #38ADC4;
1017
- z-index: 1;
1018
- opacity: 0;
1019
- transition: all 0.2s ease;
1020
- transition-delay: 100ms;
1021
- visibility: hidden;
1022
- display: flex;
1023
- justify-content: center;
1024
- align-items: center;
1153
+ background-color: rgba(255, 255, 255, 0.6);
1154
+ z-index: 2;
1025
1155
  }
1026
1156
 
1027
- .Dropzone > .overlay .drop {
1028
- border-radius: 4px;
1029
- border: 1px dashed #FFFFFF;
1030
- position: absolute;
1031
- top: 18px;
1032
- left: 18px;
1033
- right: 18px;
1034
- bottom: 18px;
1157
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1158
+ transition-delay: 500ms;
1159
+ }
1160
+
1161
+ .FormUploadProgress .wrapper {
1162
+ position: sticky;
1163
+ top: 40%;
1164
+ margin-top: 40%;
1165
+ margin-left: 50%;
1166
+ transform: translateX(-50%);
1035
1167
  display: flex;
1168
+ flex-flow: column;
1036
1169
  justify-content: center;
1037
1170
  align-items: center;
1038
- font-weight: 500;
1039
- font-size: 18px;
1040
- color: #FFFFFF;
1041
1171
  }
1042
1172
 
1043
- .Dropzone.dragging > .overlay {
1044
- opacity: 0.7;
1045
- visibility: visible;
1046
- transition-delay: 0s;
1173
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1174
+ position: absolute;
1175
+ width: 107px;
1176
+ height: 107px;
1177
+ top: 0;
1178
+ left: 0;
1047
1179
  }
1048
1180
 
1049
- .Dropzone.dragging > * {
1050
- pointer-events: none;
1051
- }
1052
-
1053
- .Dropzone > input.file {
1054
- position: absolute;
1055
- left: 0;
1056
- right: 0;
1057
- top: 0;
1058
- bottom: 0;
1059
- width: 100%;
1060
- height: 100%;
1061
- opacity: 0;
1062
- cursor: pointer;
1063
- z-index: 1;
1064
- }
1065
-
1066
- .Snackbar {
1067
- transform: translateX(-50%);
1068
- overflow: hidden;
1069
- background-color: #323232;
1070
- padding: 14px 24px 14px 24px;
1071
- color: #fff;
1072
- min-width: 288px;
1073
- max-width: 568px;
1074
- position: fixed;
1075
- bottom: -50px;
1076
- left: 50%;
1077
- display: flex;
1078
- flex-wrap: nowrap;
1079
- align-items: center;
1080
- opacity: 0;
1081
- transition: bottom 0.25s ease, opacity 0.2s ease;
1082
- border-radius: 4px;
1083
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1084
- }
1085
-
1086
- .Snackbar.shown {
1087
- bottom: 15px;
1088
- opacity: 1;
1089
- }
1090
-
1091
- .Snackbar .message {
1092
- overflow: hidden;
1093
- line-height: 1.2em;
1094
- min-height: 1.2em;
1095
- max-height: 2.4em;
1096
- flex: 1;
1097
- }
1098
-
1099
- .Snackbar .action {
1100
- text-transform: uppercase;
1101
- font-weight: bold;
1102
- margin-left: 48px;
1103
- color: #bf3727;
1104
- }
1105
-
1106
- .Snackbar .action a {
1107
- text-decoration: none;
1108
- color: #bf3727;
1109
- }
1110
-
1111
- .FormUploadProgress {
1112
- position: absolute;
1113
- left: 0;
1114
- right: 0;
1115
- top: 0;
1116
- bottom: 0;
1117
- background-color: rgba(255, 255, 255, 0.6);
1118
- z-index: 2;
1119
- }
1120
-
1121
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1122
- transition-delay: 500ms;
1123
- }
1124
-
1125
- .FormUploadProgress .wrapper {
1126
- position: sticky;
1127
- top: 40%;
1128
- margin-top: 40%;
1129
- margin-left: 50%;
1130
- transform: translateX(-50%);
1131
- display: flex;
1132
- flex-flow: column;
1133
- justify-content: center;
1134
- align-items: center;
1135
- }
1136
-
1137
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1138
- position: absolute;
1139
- width: 107px;
1140
- height: 107px;
1141
- top: 0;
1142
- left: 0;
1143
- }
1144
-
1145
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1146
- stroke: #2196F3;
1181
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1182
+ stroke: #2196F3;
1147
1183
  }
1148
1184
 
1149
1185
  .FormUploadProgress .wrapper > .progress {
@@ -1177,6 +1213,43 @@
1177
1213
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1178
1214
  }
1179
1215
 
1216
+ .ModalMenu {
1217
+ position: absolute;
1218
+ top: 10px;
1219
+ right: 50px;
1220
+ }
1221
+
1222
+ .ModalMenu .material-icons {
1223
+ color: #818181;
1224
+ }
1225
+
1226
+ .ModalMenu .Button.animated {
1227
+ position: absolute;
1228
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1229
+ opacity: 0;
1230
+ right: 0;
1231
+ top: 0;
1232
+ }
1233
+
1234
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1235
+ opacity: 1;
1236
+ }
1237
+
1238
+ .ModalMenu .Button.animated.unmounting {
1239
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1240
+ }
1241
+
1242
+ .ModalMenu .Button.active {
1243
+ background: #EBEBEB;
1244
+ }
1245
+
1246
+ .ModalMenu .separator {
1247
+ height: 24px;
1248
+ width: 1px;
1249
+ background-color: #D9D9D9;
1250
+ margin-left: 4px;
1251
+ }
1252
+
1180
1253
  .Modal {
1181
1254
  display: block;
1182
1255
  position: fixed;
@@ -1247,41 +1320,86 @@
1247
1320
  position: absolute;
1248
1321
  }
1249
1322
 
1250
- .ModalMenu {
1251
- position: absolute;
1252
- top: 10px;
1253
- right: 50px;
1323
+ .Switch {
1324
+ display: inline-flex;
1325
+ padding-top: 5px;
1254
1326
  }
1255
1327
 
1256
- .ModalMenu .material-icons {
1257
- color: #818181;
1328
+ .Switch .switch-input {
1329
+ display: none;
1258
1330
  }
1259
1331
 
1260
- .ModalMenu .Button.animated {
1332
+ .Switch .switch-label {
1333
+ position: relative;
1334
+ display: inline-flex;
1335
+ align-items: center;
1336
+ min-width: 38px;
1337
+ height: 24px;
1338
+ cursor: pointer;
1339
+ font-weight: 500;
1340
+ text-align: left;
1341
+ user-select: none;
1342
+ margin: 0;
1343
+ padding: 0;
1344
+ padding-left: 44px;
1345
+ box-sizing: border-box;
1346
+ }
1347
+
1348
+ .Switch .switch-label:before, .Switch .switch-label:after {
1349
+ content: "";
1350
+ box-sizing: border-box;
1261
1351
  position: absolute;
1262
- transition: opacity 150ms ease-in, right 200ms ease-in;
1263
- opacity: 0;
1264
- right: 0;
1265
- top: 0;
1352
+ margin: 0;
1353
+ outline: 0;
1354
+ top: 50%;
1355
+ transform: translate(0, -50%);
1356
+ transition: all 0.3s ease;
1266
1357
  }
1267
1358
 
1268
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1269
- opacity: 1;
1359
+ .Switch .switch-label:before {
1360
+ left: 1px;
1361
+ width: 34px;
1362
+ height: 14px;
1363
+ background-color: #9E9E9E;
1364
+ border-radius: 8px;
1270
1365
  }
1271
1366
 
1272
- .ModalMenu .Button.animated.unmounting {
1273
- transition: opacity 100ms ease-out, right 200ms ease-out;
1367
+ .Switch .switch-label:after {
1368
+ left: 0;
1369
+ width: 20px;
1370
+ height: 20px;
1371
+ background-color: #FAFAFA;
1372
+ border-radius: 50%;
1373
+ 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);
1274
1374
  }
1275
1375
 
1276
- .ModalMenu .Button.active {
1277
- background: #EBEBEB;
1376
+ .Switch .switch-label .toggle--on {
1377
+ display: none;
1278
1378
  }
1279
1379
 
1280
- .ModalMenu .separator {
1281
- height: 24px;
1282
- width: 1px;
1283
- background-color: #D9D9D9;
1284
- margin-left: 4px;
1380
+ .Switch .switch-label .toggle--off {
1381
+ display: inline-block;
1382
+ }
1383
+
1384
+ .Switch .switch-label .label {
1385
+ margin-right: 5px;
1386
+ }
1387
+
1388
+ .Switch .switch-input:checked + .switch-label:before {
1389
+ background-color: #A5D6A7;
1390
+ }
1391
+
1392
+ .Switch .switch-input:checked + .switch-label:after {
1393
+ background-color: #4CAF50;
1394
+ transform: translate(80%, -50%);
1395
+ }
1396
+
1397
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1398
+ display: inline-block;
1399
+ }
1400
+
1401
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1402
+ display: none;
1285
1403
  }
1286
1404
 
1287
1405
  .TextField {
@@ -1427,22 +1545,49 @@
1427
1545
  animation-name: shake;
1428
1546
  }
1429
1547
 
1430
- .DNDContainer .DroppableList .Draggable {
1431
- transform: unset;
1432
- transition: unset;
1548
+ .Snackbar {
1549
+ transform: translateX(-50%);
1550
+ overflow: hidden;
1551
+ background-color: #323232;
1552
+ padding: 14px 24px 14px 24px;
1553
+ color: #fff;
1554
+ min-width: 288px;
1555
+ max-width: 568px;
1556
+ position: fixed;
1557
+ bottom: -50px;
1558
+ left: 50%;
1559
+ display: flex;
1560
+ flex-wrap: nowrap;
1561
+ align-items: center;
1562
+ opacity: 0;
1563
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1564
+ border-radius: 4px;
1565
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1566
+ }
1567
+
1568
+ .Snackbar.shown {
1569
+ bottom: 15px;
1433
1570
  opacity: 1;
1434
1571
  }
1435
1572
 
1436
- .DNDContainer .DroppableList .Draggable.dragged {
1437
- transition: unset !important;
1573
+ .Snackbar .message {
1574
+ overflow: hidden;
1575
+ line-height: 1.2em;
1576
+ min-height: 1.2em;
1577
+ max-height: 2.4em;
1578
+ flex: 1;
1438
1579
  }
1439
1580
 
1440
- .DNDContainer .DroppableList.hover .Draggable {
1441
- transition: transform 0.2s ease-in;
1581
+ .Snackbar .action {
1582
+ text-transform: uppercase;
1583
+ font-weight: bold;
1584
+ margin-left: 48px;
1585
+ color: #bf3727;
1442
1586
  }
1443
1587
 
1444
- .DNDContainer .DroppableList.resetting .Draggable {
1445
- transition: transform 0.1s ease-in;
1588
+ .Snackbar .action a {
1589
+ text-decoration: none;
1590
+ color: #bf3727;
1446
1591
  }
1447
1592
 
1448
1593
  .SpinningProgress {
@@ -1498,175 +1643,22 @@
1498
1643
  stroke-dashoffset: -53px;
1499
1644
  }
1500
1645
  }
1501
- .Switch {
1502
- display: inline-flex;
1503
- padding-top: 5px;
1504
- }
1505
-
1506
- .Switch .switch-input {
1507
- display: none;
1508
- }
1509
-
1510
- .Switch .switch-label {
1511
- position: relative;
1512
- display: inline-flex;
1513
- align-items: center;
1514
- min-width: 38px;
1515
- height: 24px;
1516
- cursor: pointer;
1517
- font-weight: 500;
1518
- text-align: left;
1519
- user-select: none;
1520
- margin: 0;
1521
- padding: 0;
1522
- padding-left: 44px;
1523
- box-sizing: border-box;
1524
- }
1525
-
1526
- .Switch .switch-label:before, .Switch .switch-label:after {
1527
- content: "";
1528
- box-sizing: border-box;
1529
- position: absolute;
1530
- margin: 0;
1531
- outline: 0;
1532
- top: 50%;
1533
- transform: translate(0, -50%);
1534
- transition: all 0.3s ease;
1535
- }
1536
-
1537
- .Switch .switch-label:before {
1538
- left: 1px;
1539
- width: 34px;
1540
- height: 14px;
1541
- background-color: #9E9E9E;
1542
- border-radius: 8px;
1543
- }
1544
-
1545
- .Switch .switch-label:after {
1546
- left: 0;
1547
- width: 20px;
1548
- height: 20px;
1549
- background-color: #FAFAFA;
1550
- border-radius: 50%;
1551
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1552
- }
1553
-
1554
- .Switch .switch-label .toggle--on {
1555
- display: none;
1556
- }
1557
-
1558
- .Switch .switch-label .toggle--off {
1559
- display: inline-block;
1560
- }
1561
-
1562
- .Switch .switch-label .label {
1563
- margin-right: 5px;
1564
- }
1565
-
1566
- .Switch .switch-input:checked + .switch-label:before {
1567
- background-color: #A5D6A7;
1568
- }
1569
-
1570
- .Switch .switch-input:checked + .switch-label:after {
1571
- background-color: #4CAF50;
1572
- transform: translate(80%, -50%);
1573
- }
1574
-
1575
- .Switch .switch-input:checked + .switch-label .toggle--on {
1576
- display: inline-block;
1577
- }
1578
-
1579
- .Switch .switch-input:checked + .switch-label .toggle--off {
1580
- display: none;
1581
- }
1582
-
1583
- .FilteredList {
1584
- max-height: 250px;
1585
- position: relative;
1586
- }
1587
-
1588
- .FilteredList.popup {
1589
- padding: 0;
1590
- visibility: hidden;
1591
- position: absolute;
1592
- background: white;
1593
- z-index: 4;
1594
- box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
1595
- transition: all 0.2s ease-out;
1596
- top: calc(100% + 4px);
1597
- opacity: 0;
1598
- border-radius: 2px;
1599
- }
1600
-
1601
- .FilteredList.popup.visible {
1646
+ .DNDContainer .DroppableList .Draggable {
1647
+ transform: unset;
1648
+ transition: unset;
1602
1649
  opacity: 1;
1603
- visibility: visible;
1604
- }
1605
-
1606
- .FilteredList.inline {
1607
- max-height: 225px;
1608
- margin-top: 5px;
1609
- }
1610
-
1611
- .FilteredList .child {
1612
- display: flex;
1613
- flex-flow: row nowrap;
1614
- align-items: center;
1615
- white-space: nowrap;
1616
- font-size: 14px;
1617
- color: #222222;
1618
- height: 30px;
1619
- padding: 5px 10px;
1620
- padding-right: 15px;
1621
- cursor: pointer;
1622
- overflow: hidden;
1623
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1624
- border-left: 5px solid #4AC263;
1625
- padding-left: 15px;
1626
- margin-left: -5px;
1627
- }
1628
-
1629
- .FilteredList .child.hidden {
1630
- height: 0 !important;
1631
- padding: 0 !important;
1632
- }
1633
-
1634
- .FilteredList .child.selected {
1635
- background-color: #F0F0F0;
1636
- padding-left: 10px;
1637
- margin-left: 0px;
1638
- }
1639
-
1640
- .FilteredList .child.active {
1641
- background-color: #eeeeee;
1642
- }
1643
-
1644
- .FilteredList .child {
1645
- margin-top: 8px;
1646
1650
  }
1647
1651
 
1648
- .FilteredList .child.hidden {
1649
- margin-top: 0;
1650
- }
1651
-
1652
- .FilteredList .child:not(.hidden) ~ .child {
1653
- margin-top: 0;
1654
- }
1655
-
1656
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1657
- margin-bottom: 8px;
1658
- }
1659
-
1660
- .FilteredList .child:not(.hidden):last-child {
1661
- margin-bottom: 8px;
1652
+ .DNDContainer .DroppableList .Draggable.dragged {
1653
+ transition: unset !important;
1662
1654
  }
1663
1655
 
1664
- .ScrollableTable .Scrollable .scrollbar {
1665
- top: 56px;
1656
+ .DNDContainer .DroppableList.hover .Draggable {
1657
+ transition: transform 0.2s ease-in;
1666
1658
  }
1667
1659
 
1668
- .ScrollableTable .Table {
1669
- position: static;
1660
+ .DNDContainer .DroppableList.resetting .Draggable {
1661
+ transition: transform 0.1s ease-in;
1670
1662
  }
1671
1663
 
1672
1664
  .Table {
@@ -1781,4 +1773,12 @@
1781
1773
  height: 20px;
1782
1774
  padding: 0px;
1783
1775
  background-color: #f0f0f0;
1776
+ }
1777
+
1778
+ .ScrollableTable .Scrollable .scrollbar {
1779
+ top: 56px;
1780
+ }
1781
+
1782
+ .ScrollableTable .Table {
1783
+ position: static;
1784
1784
  }