react-ui-basics 0.0.161 → 0.0.164

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,166 +1,52 @@
1
- .Button {
2
- position: relative;
3
- min-width: 64px;
4
- min-height: 36px;
5
- height: 24px;
6
- margin: 0px;
7
- padding: 0px 16px;
8
- border: none;
9
- outline: none;
10
- font-size: 14px;
11
- font-weight: 500;
12
- letter-spacing: 1.25px;
13
- background: #dfdfdf;
14
- text-transform: uppercase;
15
- font-family: Roboto, sans-serif;
16
- display: inline-flex;
17
- justify-content: center;
18
- align-items: center;
19
- cursor: pointer;
1
+ .DialogModal {
20
2
  overflow: hidden;
21
- user-select: none;
22
- border-radius: 3px;
23
- transition: all 0.2s ease;
24
- }
25
-
26
- .Button.flat {
27
- background-color: transparent;
28
- }
29
-
30
- .Button.flat:hover {
31
- background-color: rgba(0, 0, 0, 0.05);
32
- }
33
-
34
- .Button.green {
35
- background-color: #43a047;
36
- color: white;
37
- }
38
-
39
- .Button.green:hover {
40
- background-color: #3b8e3f;
41
- }
42
-
43
- .Button.blue {
44
- background-color: #039be5;
45
- color: white;
46
- }
47
-
48
- .Button.blue:hover {
49
- background-color: #038acc;
50
- }
51
-
52
- .Button.red {
53
- background-color: #e53935;
54
- color: white;
55
- }
56
-
57
- .Button.red:hover {
58
- background-color: #e2231e;
59
- }
60
-
61
- .Button.black {
62
- background-color: #1e252d;
63
- color: white;
64
- }
65
-
66
- .Button.black:hover {
67
- background-color: #14181e;
68
- }
69
-
70
- .Button.gray {
71
- background: #D9D9D9;
72
- color: #999999;
73
- }
74
-
75
- .Button.gray:hover {
76
- background-color: #cccccc;
77
- }
78
-
79
- .Button.small {
80
- padding: 0px 8px;
81
- min-height: 16px;
82
- min-width: 16px;
83
- }
84
-
85
- .Button > .material-icons {
86
- margin-right: 10px;
87
3
  }
88
4
 
89
- .Button.round {
90
- padding: 0px;
91
- min-width: 36px;
92
- border-radius: 50%;
5
+ .DialogModal .content {
6
+ top: 20vh;
93
7
  }
94
8
 
95
- .Button.round > .material-icons {
96
- margin: 0px;
9
+ .Dialog {
10
+ background-color: white;
11
+ min-width: 460px;
12
+ max-width: 40vw;
13
+ padding: 15px;
97
14
  }
98
15
 
99
- .Button .ripple {
100
- position: absolute;
101
- background: rgba(0, 0, 0, 0.1);
102
- border-radius: 100%;
103
- transform: scale(0);
104
- pointer-events: none;
105
- transition: opacity 0.2s ease-out;
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;
106
23
  }
107
24
 
108
- .Button .ripple.show {
109
- animation: ripple 0.35s ease-out;
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;
110
33
  }
111
34
 
112
- .Button:active .ripple.showed {
113
- opacity: 1;
35
+ .Dialog > div.row {
36
+ margin-bottom: 15px;
114
37
  }
115
38
 
116
- .Button:focus .ripple.focused {
117
- opacity: 1;
118
- transition: opacity 0.2s ease-out, transform 0.2s ease-out;
119
- transform: scale(1);
120
- animation: resize 1.25s ease-out infinite;
121
- animation-delay: 0.2s;
122
- animation-direction: alternate;
39
+ .Dialog > div.row:last-child {
40
+ margin-bottom: 0;
123
41
  }
124
42
 
125
- .Button .ripple.showed {
126
- transform: scale(2);
43
+ .animated {
44
+ transition: opacity 250ms ease;
127
45
  opacity: 0;
128
46
  }
129
47
 
130
- @keyframes ripple {
131
- to {
132
- transform: scale(2);
133
- }
134
- }
135
- @keyframes resize {
136
- to {
137
- transform: scale(0.9);
138
- }
139
- }
140
- .Button.raised {
141
- transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
142
- }
143
-
144
- .Button.raised:hover {
145
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
146
- }
147
-
148
- .Button.raised:active {
149
- box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
150
- }
151
-
152
- .Button.disabled {
153
- box-shadow: none;
154
- background: #D9D9D9;
155
- color: #999999;
156
- }
157
-
158
- .Button.disabled:hover {
159
- background-color: #cccccc;
160
- }
161
-
162
- .Button::-moz-focus-inner {
163
- border: 0;
48
+ .animated.mounting, .animated.mounted {
49
+ opacity: 1;
164
50
  }
165
51
 
166
52
  .AutocompleteSelect {
@@ -458,6 +344,19 @@
458
344
  position: absolute;
459
345
  }
460
346
 
347
+ .CircleProgress {
348
+ width: 48px;
349
+ height: 48px;
350
+ }
351
+
352
+ .CircleProgress .line {
353
+ stroke-width: 2px;
354
+ stroke: black;
355
+ stroke-linecap: square;
356
+ fill: none;
357
+ transition: stroke-dashoffset 0.2s ease;
358
+ }
359
+
461
360
  .Checkbox {
462
361
  position: relative;
463
362
  white-space: pre;
@@ -525,176 +424,201 @@
525
424
  background: rgba(0, 0, 0, 0.26);
526
425
  }
527
426
 
528
- .CircleProgress {
529
- width: 48px;
530
- height: 48px;
427
+ .DNDContainer {
428
+ position: relative;
531
429
  }
532
430
 
533
- .CircleProgress .line {
534
- stroke-width: 2px;
535
- stroke: black;
536
- stroke-linecap: square;
537
- fill: none;
538
- transition: stroke-dashoffset 0.2s ease;
431
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
432
+ cursor: pointer;
539
433
  }
540
434
 
541
- .animated {
542
- transition: opacity 250ms ease;
543
- opacity: 0;
435
+ .DNDContainer .Draggable.placeholder {
436
+ opacity: 0.2;
544
437
  }
545
438
 
546
- .animated.mounting, .animated.mounted {
547
- opacity: 1;
439
+ .DNDContainer .Draggable.copy {
440
+ position: absolute;
441
+ box-sizing: border-box;
442
+ will-change: transform;
443
+ opacity: 0;
548
444
  }
549
445
 
550
- .DialogModal {
551
- overflow: hidden;
446
+ .DNDContainer .Draggable.dragged {
447
+ z-index: 10;
552
448
  }
553
449
 
554
- .DialogModal .content {
555
- top: 20vh;
450
+ .DNDContainer .overlay {
451
+ position: absolute;
452
+ top: 0;
453
+ left: 0;
454
+ right: 0;
455
+ bottom: 0;
456
+ pointer-events: none;
556
457
  }
557
458
 
558
- .Dialog {
559
- background-color: white;
560
- min-width: 460px;
561
- max-width: 40vw;
562
- padding: 15px;
459
+ .Button {
460
+ position: relative;
461
+ min-width: 64px;
462
+ min-height: 36px;
463
+ height: 24px;
464
+ margin: 0px;
465
+ padding: 0px 16px;
466
+ border: none;
467
+ outline: none;
468
+ font-size: 14px;
469
+ font-weight: 500;
470
+ letter-spacing: 1.25px;
471
+ background: #dfdfdf;
472
+ text-transform: uppercase;
473
+ font-family: Roboto, sans-serif;
474
+ display: inline-flex;
475
+ justify-content: center;
476
+ align-items: center;
477
+ cursor: pointer;
478
+ overflow: hidden;
479
+ user-select: none;
480
+ border-radius: 3px;
481
+ transition: all 0.2s ease;
563
482
  }
564
483
 
565
- .Dialog .title {
566
- margin-bottom: 15px;
567
- padding: 20px 50px 0px 30px;
568
- font-size: 1.25rem;
569
- line-height: 2rem;
570
- font-weight: 400;
571
- letter-spacing: 0.0125em;
484
+ .Button.flat {
485
+ background-color: transparent;
572
486
  }
573
487
 
574
- .Dialog .description {
575
- color: rgba(0, 0, 0, 0.54);
576
- font-size: 1rem;
577
- line-height: 1.5rem;
578
- font-weight: 400;
579
- letter-spacing: 0.03125em;
580
- margin-top: 20px;
581
- padding: 0 24px 24px;
488
+ .Button.flat:hover {
489
+ background-color: rgba(0, 0, 0, 0.05);
582
490
  }
583
491
 
584
- .Dialog > div.row {
585
- margin-bottom: 15px;
492
+ .Button.green {
493
+ background-color: #43a047;
494
+ color: white;
586
495
  }
587
496
 
588
- .Dialog > div.row:last-child {
589
- margin-bottom: 0;
497
+ .Button.green:hover {
498
+ background-color: #3b8e3f;
590
499
  }
591
500
 
592
- .DropFileInput {
593
- flex-grow: 1;
501
+ .Button.blue {
502
+ background-color: #039be5;
503
+ color: white;
594
504
  }
595
505
 
596
- .DropFileInput .Dropzone {
597
- border: 1px dashed #808080;
598
- padding: 12px;
599
- display: flex;
600
- flex-flow: row nowrap;
601
- justify-content: center;
602
- 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;
506
+ .Button.blue:hover {
507
+ background-color: #038acc;
613
508
  }
614
509
 
615
- .DropFileInput .Dropzone .icon.withText {
510
+ .Button.red {
511
+ background-color: #e53935;
512
+ color: white;
513
+ }
514
+
515
+ .Button.red:hover {
516
+ background-color: #e2231e;
517
+ }
518
+
519
+ .Button.black {
520
+ background-color: #1e252d;
521
+ color: white;
522
+ }
523
+
524
+ .Button.black:hover {
525
+ background-color: #14181e;
526
+ }
527
+
528
+ .Button.gray {
529
+ background: #D9D9D9;
530
+ color: #999999;
531
+ }
532
+
533
+ .Button.gray:hover {
534
+ background-color: #cccccc;
535
+ }
536
+
537
+ .Button.small {
538
+ padding: 0px 8px;
539
+ min-height: 16px;
540
+ min-width: 16px;
541
+ }
542
+
543
+ .Button > .material-icons {
616
544
  margin-right: 10px;
617
545
  }
618
546
 
619
- .FilteredList {
620
- max-height: 250px;
621
- position: relative;
547
+ .Button.round {
548
+ padding: 0px;
549
+ min-width: 36px;
550
+ border-radius: 50%;
622
551
  }
623
552
 
624
- .FilteredList.popup {
625
- padding: 0;
626
- visibility: hidden;
627
- position: absolute;
628
- background: white;
629
- z-index: 4;
630
- 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);
631
- transition: all 0.2s ease-out;
632
- top: calc(100% + 4px);
633
- opacity: 0;
634
- border-radius: 2px;
553
+ .Button.round > .material-icons {
554
+ margin: 0px;
635
555
  }
636
556
 
637
- .FilteredList.popup.visible {
638
- opacity: 1;
639
- visibility: visible;
557
+ .Button .ripple {
558
+ position: absolute;
559
+ background: rgba(0, 0, 0, 0.1);
560
+ border-radius: 100%;
561
+ transform: scale(0);
562
+ pointer-events: none;
563
+ transition: opacity 0.2s ease-out;
640
564
  }
641
565
 
642
- .FilteredList.inline {
643
- max-height: 225px;
644
- margin-top: 5px;
566
+ .Button .ripple.show {
567
+ animation: ripple 0.35s ease-out;
645
568
  }
646
569
 
647
- .FilteredList .child {
648
- display: flex;
649
- flex-flow: row nowrap;
650
- align-items: center;
651
- white-space: nowrap;
652
- font-size: 14px;
653
- color: #222222;
654
- height: 30px;
655
- padding: 5px 10px;
656
- padding-right: 15px;
657
- cursor: pointer;
658
- overflow: hidden;
659
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
660
- border-left: 5px solid #4AC263;
661
- padding-left: 15px;
662
- margin-left: -5px;
570
+ .Button:active .ripple.showed {
571
+ opacity: 1;
663
572
  }
664
573
 
665
- .FilteredList .child.hidden {
666
- height: 0 !important;
667
- padding: 0 !important;
574
+ .Button:focus .ripple.focused {
575
+ opacity: 1;
576
+ transition: opacity 0.2s ease-out, transform 0.2s ease-out;
577
+ transform: scale(1);
578
+ animation: resize 1.25s ease-out infinite;
579
+ animation-delay: 0.2s;
580
+ animation-direction: alternate;
668
581
  }
669
582
 
670
- .FilteredList .child.selected {
671
- background-color: #F0F0F0;
672
- padding-left: 10px;
673
- margin-left: 0px;
583
+ .Button .ripple.showed {
584
+ transform: scale(2);
585
+ opacity: 0;
674
586
  }
675
587
 
676
- .FilteredList .child.active {
677
- background-color: #eeeeee;
588
+ @keyframes ripple {
589
+ to {
590
+ transform: scale(2);
591
+ }
592
+ }
593
+ @keyframes resize {
594
+ to {
595
+ transform: scale(0.9);
596
+ }
597
+ }
598
+ .Button.raised {
599
+ transition: color 0.2s ease-out, background-color 0.2s ease-out, box-shadow 280ms cubic-bezier(0.4, 0, 0.2, 1);
678
600
  }
679
601
 
680
- .FilteredList .child {
681
- margin-top: 8px;
602
+ .Button.raised:hover {
603
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.25);
682
604
  }
683
605
 
684
- .FilteredList .child.hidden {
685
- margin-top: 0;
606
+ .Button.raised:active {
607
+ box-shadow: 0px 2px 3px rgba(0, 0, 0, 0.35);
686
608
  }
687
609
 
688
- .FilteredList .child:not(.hidden) ~ .child {
689
- margin-top: 0;
610
+ .Button.disabled {
611
+ box-shadow: none;
612
+ background: #D9D9D9;
613
+ color: #999999;
690
614
  }
691
615
 
692
- .FilteredList .child:not(.hidden) ~ .child:last-child {
693
- margin-bottom: 8px;
616
+ .Button.disabled:hover {
617
+ background-color: #cccccc;
694
618
  }
695
619
 
696
- .FilteredList .child:not(.hidden):last-child {
697
- margin-bottom: 8px;
620
+ .Button::-moz-focus-inner {
621
+ border: 0;
698
622
  }
699
623
 
700
624
  .Dropzone {
@@ -757,38 +681,6 @@
757
681
  z-index: 1;
758
682
  }
759
683
 
760
- .DNDContainer {
761
- position: relative;
762
- }
763
-
764
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
765
- cursor: pointer;
766
- }
767
-
768
- .DNDContainer .Draggable.placeholder {
769
- opacity: 0.2;
770
- }
771
-
772
- .DNDContainer .Draggable.copy {
773
- position: absolute;
774
- box-sizing: border-box;
775
- will-change: transform;
776
- opacity: 0;
777
- }
778
-
779
- .DNDContainer .Draggable.dragged {
780
- z-index: 10;
781
- }
782
-
783
- .DNDContainer .overlay {
784
- position: absolute;
785
- top: 0;
786
- left: 0;
787
- right: 0;
788
- bottom: 0;
789
- pointer-events: none;
790
- }
791
-
792
684
  .FormUploadProgress {
793
685
  position: absolute;
794
686
  left: 0;
@@ -1117,41 +1009,126 @@
1117
1009
  font-size: 24px;
1118
1010
  }
1119
1011
 
1120
- .ModalMenu {
1121
- position: absolute;
1122
- top: 10px;
1123
- right: 50px;
1012
+ .DropFileInput {
1013
+ flex-grow: 1;
1124
1014
  }
1125
1015
 
1126
- .ModalMenu .material-icons {
1127
- color: #818181;
1016
+ .DropFileInput .Dropzone {
1017
+ border: 1px dashed #808080;
1018
+ padding: 12px;
1019
+ display: flex;
1020
+ flex-flow: row nowrap;
1021
+ justify-content: center;
1022
+ align-items: center;
1023
+ color: gray;
1024
+ cursor: pointer;
1025
+ border-radius: 3px;
1026
+ font-weight: normal;
1027
+ line-height: 22px;
1028
+ font-size: 14px;
1029
+ color: #7E7E7E;
1030
+ max-width: 100%;
1031
+ word-break: break-all;
1032
+ word-break: break-word;
1128
1033
  }
1129
1034
 
1130
- .ModalMenu .Button.animated {
1131
- position: absolute;
1132
- transition: opacity 150ms ease-in, right 200ms ease-in;
1133
- opacity: 0;
1134
- right: 0;
1135
- top: 0;
1136
- }
1035
+ .DropFileInput .Dropzone .icon.withText {
1036
+ margin-right: 10px;
1037
+ }
1137
1038
 
1138
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1039
+ .Scrollable {
1040
+ max-height: 250px;
1041
+ max-width: 250px;
1042
+ padding-right: 5px;
1043
+ position: relative;
1044
+ display: flex;
1045
+ flex-flow: column;
1046
+ align-items: stretch;
1047
+ overflow: hidden;
1048
+ }
1049
+
1050
+ .Scrollable:hover > .scrollbar.auto {
1051
+ transition-delay: 0s;
1139
1052
  opacity: 1;
1140
1053
  }
1141
1054
 
1142
- .ModalMenu .Button.animated.unmounting {
1143
- transition: opacity 100ms ease-out, right 200ms ease-out;
1055
+ .Scrollable .viewport {
1056
+ overflow-y: scroll;
1057
+ overflow-x: scroll;
1058
+ max-height: 100%;
1059
+ scroll-behavior: smooth;
1060
+ scrollbar-width: none;
1144
1061
  }
1145
1062
 
1146
- .ModalMenu .Button.active {
1147
- background: #EBEBEB;
1063
+ .Scrollable .viewport::-webkit-scrollbar {
1064
+ display: none;
1148
1065
  }
1149
1066
 
1150
- .ModalMenu .separator {
1151
- height: 24px;
1152
- width: 1px;
1153
- background-color: #D9D9D9;
1154
- margin-left: 4px;
1067
+ .Scrollable.without-scroll-horizontal {
1068
+ max-width: unset;
1069
+ }
1070
+
1071
+ .Scrollable.without-scroll {
1072
+ padding-right: 0;
1073
+ max-height: unset;
1074
+ }
1075
+
1076
+ .Scrollable.without-scroll > .viewport {
1077
+ padding-right: 0;
1078
+ margin-right: 0;
1079
+ }
1080
+
1081
+ .Scrollable.without-scroll > .scrollbar {
1082
+ visibility: hidden;
1083
+ }
1084
+
1085
+ .Scrollable .scrollbar {
1086
+ position: absolute;
1087
+ right: 0px;
1088
+ top: 0px;
1089
+ width: 5px;
1090
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1091
+ transition-delay: 0.5s;
1092
+ z-index: 1;
1093
+ }
1094
+
1095
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1096
+ opacity: 0;
1097
+ }
1098
+
1099
+ .Scrollable .scrollbar .thumb {
1100
+ background-color: rgba(0, 0, 0, 0.3);
1101
+ width: 5px;
1102
+ position: absolute;
1103
+ right: 0px;
1104
+ top: 0px;
1105
+ user-select: none;
1106
+ will-change: top;
1107
+ border-radius: 2px;
1108
+ }
1109
+
1110
+ .Scrollable .scrollbar .thumb:hover {
1111
+ background-color: rgba(0, 0, 0, 0.5);
1112
+ }
1113
+
1114
+ .Scrollable .scrollbar .thumb:active {
1115
+ background-color: rgba(0, 0, 0, 0.7);
1116
+ }
1117
+
1118
+ .Scrollable .scrollbar.horizontal {
1119
+ left: 0px;
1120
+ right: 0px;
1121
+ height: 5px;
1122
+ bottom: 0;
1123
+ width: unset;
1124
+ top: unset;
1125
+ }
1126
+
1127
+ .Scrollable .scrollbar.horizontal .thumb {
1128
+ height: 5px;
1129
+ left: 0px;
1130
+ bottom: 0px;
1131
+ will-change: left;
1155
1132
  }
1156
1133
 
1157
1134
  .Modal {
@@ -1224,99 +1201,168 @@
1224
1201
  position: absolute;
1225
1202
  }
1226
1203
 
1227
- .Scrollable {
1228
- max-height: 250px;
1229
- max-width: 250px;
1230
- padding-right: 5px;
1231
- position: relative;
1232
- display: flex;
1233
- flex-flow: column;
1234
- align-items: stretch;
1204
+ .ModalMenu {
1205
+ position: absolute;
1206
+ top: 10px;
1207
+ right: 50px;
1208
+ }
1209
+
1210
+ .ModalMenu .material-icons {
1211
+ color: #818181;
1212
+ }
1213
+
1214
+ .ModalMenu .Button.animated {
1215
+ position: absolute;
1216
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1217
+ opacity: 0;
1218
+ right: 0;
1219
+ top: 0;
1220
+ }
1221
+
1222
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1223
+ opacity: 1;
1224
+ }
1225
+
1226
+ .ModalMenu .Button.animated.unmounting {
1227
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1228
+ }
1229
+
1230
+ .ModalMenu .Button.active {
1231
+ background: #EBEBEB;
1232
+ }
1233
+
1234
+ .ModalMenu .separator {
1235
+ height: 24px;
1236
+ width: 1px;
1237
+ background-color: #D9D9D9;
1238
+ margin-left: 4px;
1239
+ }
1240
+
1241
+ .Snackbar {
1242
+ transform: translateX(-50%);
1235
1243
  overflow: hidden;
1244
+ background-color: #323232;
1245
+ padding: 14px 24px 14px 24px;
1246
+ color: #fff;
1247
+ min-width: 288px;
1248
+ max-width: 568px;
1249
+ position: fixed;
1250
+ bottom: -50px;
1251
+ left: 50%;
1252
+ display: flex;
1253
+ flex-wrap: nowrap;
1254
+ align-items: center;
1255
+ opacity: 0;
1256
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1257
+ border-radius: 4px;
1258
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1236
1259
  }
1237
1260
 
1238
- .Scrollable:hover > .scrollbar.auto {
1239
- transition-delay: 0s;
1261
+ .Snackbar.shown {
1262
+ bottom: 15px;
1240
1263
  opacity: 1;
1241
1264
  }
1242
1265
 
1243
- .Scrollable .viewport {
1244
- overflow-y: scroll;
1245
- overflow-x: scroll;
1246
- max-height: 100%;
1247
- scroll-behavior: smooth;
1248
- scrollbar-width: none;
1266
+ .Snackbar .message {
1267
+ overflow: hidden;
1268
+ line-height: 1.2em;
1269
+ min-height: 1.2em;
1270
+ max-height: 2.4em;
1271
+ flex: 1;
1249
1272
  }
1250
1273
 
1251
- .Scrollable .viewport::-webkit-scrollbar {
1252
- display: none;
1274
+ .Snackbar .action {
1275
+ text-transform: uppercase;
1276
+ font-weight: bold;
1277
+ margin-left: 48px;
1278
+ color: #bf3727;
1253
1279
  }
1254
1280
 
1255
- .Scrollable.without-scroll-horizontal {
1256
- max-width: unset;
1281
+ .Snackbar .action a {
1282
+ text-decoration: none;
1283
+ color: #bf3727;
1257
1284
  }
1258
1285
 
1259
- .Scrollable.without-scroll {
1260
- padding-right: 0;
1261
- max-height: unset;
1286
+ .Switch {
1287
+ display: inline-flex;
1288
+ padding-top: 5px;
1262
1289
  }
1263
1290
 
1264
- .Scrollable.without-scroll > .viewport {
1265
- padding-right: 0;
1266
- margin-right: 0;
1291
+ .Switch .switch-input {
1292
+ display: none;
1267
1293
  }
1268
1294
 
1269
- .Scrollable.without-scroll > .scrollbar {
1270
- visibility: hidden;
1295
+ .Switch .switch-label {
1296
+ position: relative;
1297
+ display: inline-flex;
1298
+ align-items: center;
1299
+ min-width: 38px;
1300
+ height: 24px;
1301
+ cursor: pointer;
1302
+ font-weight: 500;
1303
+ text-align: left;
1304
+ user-select: none;
1305
+ margin: 0;
1306
+ padding: 0;
1307
+ padding-left: 44px;
1308
+ box-sizing: border-box;
1271
1309
  }
1272
1310
 
1273
- .Scrollable .scrollbar {
1311
+ .Switch .switch-label:before, .Switch .switch-label:after {
1312
+ content: "";
1313
+ box-sizing: border-box;
1274
1314
  position: absolute;
1275
- right: 0px;
1276
- top: 0px;
1277
- width: 5px;
1278
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1279
- transition-delay: 0.5s;
1280
- z-index: 1;
1315
+ margin: 0;
1316
+ outline: 0;
1317
+ top: 50%;
1318
+ transform: translate(0, -50%);
1319
+ transition: all 0.3s ease;
1281
1320
  }
1282
1321
 
1283
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1284
- opacity: 0;
1322
+ .Switch .switch-label:before {
1323
+ left: 1px;
1324
+ width: 34px;
1325
+ height: 14px;
1326
+ background-color: #9E9E9E;
1327
+ border-radius: 8px;
1285
1328
  }
1286
1329
 
1287
- .Scrollable .scrollbar .thumb {
1288
- background-color: rgba(0, 0, 0, 0.3);
1289
- width: 5px;
1290
- position: absolute;
1291
- right: 0px;
1292
- top: 0px;
1293
- user-select: none;
1294
- will-change: top;
1295
- border-radius: 2px;
1330
+ .Switch .switch-label:after {
1331
+ left: 0;
1332
+ width: 20px;
1333
+ height: 20px;
1334
+ background-color: #FAFAFA;
1335
+ border-radius: 50%;
1336
+ box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.14), 0 2px 2px 0 rgba(0, 0, 0, 0.098), 0 1px 5px 0 rgba(0, 0, 0, 0.084);
1296
1337
  }
1297
1338
 
1298
- .Scrollable .scrollbar .thumb:hover {
1299
- background-color: rgba(0, 0, 0, 0.5);
1339
+ .Switch .switch-label .toggle--on {
1340
+ display: none;
1300
1341
  }
1301
1342
 
1302
- .Scrollable .scrollbar .thumb:active {
1303
- background-color: rgba(0, 0, 0, 0.7);
1343
+ .Switch .switch-label .toggle--off {
1344
+ display: inline-block;
1304
1345
  }
1305
1346
 
1306
- .Scrollable .scrollbar.horizontal {
1307
- left: 0px;
1308
- right: 0px;
1309
- height: 5px;
1310
- bottom: 0;
1311
- width: unset;
1312
- top: unset;
1347
+ .Switch .switch-label .label {
1348
+ margin-right: 5px;
1313
1349
  }
1314
1350
 
1315
- .Scrollable .scrollbar.horizontal .thumb {
1316
- height: 5px;
1317
- left: 0px;
1318
- bottom: 0px;
1319
- will-change: left;
1351
+ .Switch .switch-input:checked + .switch-label:before {
1352
+ background-color: #A5D6A7;
1353
+ }
1354
+
1355
+ .Switch .switch-input:checked + .switch-label:after {
1356
+ background-color: #4CAF50;
1357
+ transform: translate(80%, -50%);
1358
+ }
1359
+
1360
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1361
+ display: inline-block;
1362
+ }
1363
+
1364
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1365
+ display: none;
1320
1366
  }
1321
1367
 
1322
1368
  .TextField {
@@ -1515,157 +1561,103 @@
1515
1561
  stroke-dashoffset: -53px;
1516
1562
  }
1517
1563
  }
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;
1564
+ .DNDContainer .DroppableList .Draggable {
1565
+ transform: unset;
1566
+ transition: unset;
1540
1567
  opacity: 1;
1541
1568
  }
1542
1569
 
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;
1570
+ .DNDContainer .DroppableList .Draggable.dragged {
1571
+ transition: unset !important;
1561
1572
  }
1562
1573
 
1563
- .Switch {
1564
- display: inline-flex;
1565
- padding-top: 5px;
1574
+ .DNDContainer .DroppableList.hover .Draggable {
1575
+ transition: transform 0.2s ease-in;
1566
1576
  }
1567
1577
 
1568
- .Switch .switch-input {
1569
- display: none;
1578
+ .DNDContainer .DroppableList.resetting .Draggable {
1579
+ transition: transform 0.1s ease-in;
1570
1580
  }
1571
1581
 
1572
- .Switch .switch-label {
1582
+ .FilteredList {
1583
+ max-height: 250px;
1573
1584
  position: relative;
1574
- display: inline-flex;
1575
- align-items: center;
1576
- min-width: 38px;
1577
- height: 24px;
1578
- cursor: pointer;
1579
- font-weight: 500;
1580
- text-align: left;
1581
- user-select: none;
1582
- margin: 0;
1583
- padding: 0;
1584
- padding-left: 44px;
1585
- box-sizing: border-box;
1586
1585
  }
1587
1586
 
1588
- .Switch .switch-label:before, .Switch .switch-label:after {
1589
- content: "";
1590
- box-sizing: border-box;
1587
+ .FilteredList.popup {
1588
+ padding: 0;
1589
+ visibility: hidden;
1591
1590
  position: absolute;
1592
- margin: 0;
1593
- outline: 0;
1594
- top: 50%;
1595
- transform: translate(0, -50%);
1596
- transition: all 0.3s ease;
1597
- }
1598
-
1599
- .Switch .switch-label:before {
1600
- left: 1px;
1601
- width: 34px;
1602
- height: 14px;
1603
- background-color: #9E9E9E;
1604
- border-radius: 8px;
1605
- }
1606
-
1607
- .Switch .switch-label:after {
1608
- left: 0;
1609
- width: 20px;
1610
- height: 20px;
1611
- background-color: #FAFAFA;
1612
- border-radius: 50%;
1613
- 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);
1614
- }
1615
-
1616
- .Switch .switch-label .toggle--on {
1617
- display: none;
1618
- }
1619
-
1620
- .Switch .switch-label .toggle--off {
1621
- display: inline-block;
1591
+ background: white;
1592
+ z-index: 4;
1593
+ 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);
1594
+ transition: all 0.2s ease-out;
1595
+ top: calc(100% + 4px);
1596
+ opacity: 0;
1597
+ border-radius: 2px;
1622
1598
  }
1623
1599
 
1624
- .Switch .switch-label .label {
1625
- margin-right: 5px;
1600
+ .FilteredList.popup.visible {
1601
+ opacity: 1;
1602
+ visibility: visible;
1626
1603
  }
1627
1604
 
1628
- .Switch .switch-input:checked + .switch-label:before {
1629
- background-color: #A5D6A7;
1605
+ .FilteredList.inline {
1606
+ max-height: 225px;
1607
+ margin-top: 5px;
1630
1608
  }
1631
1609
 
1632
- .Switch .switch-input:checked + .switch-label:after {
1633
- background-color: #4CAF50;
1634
- transform: translate(80%, -50%);
1610
+ .FilteredList .child {
1611
+ display: flex;
1612
+ flex-flow: row nowrap;
1613
+ align-items: center;
1614
+ white-space: nowrap;
1615
+ font-size: 14px;
1616
+ color: #222222;
1617
+ height: 30px;
1618
+ padding: 5px 10px;
1619
+ padding-right: 15px;
1620
+ cursor: pointer;
1621
+ overflow: hidden;
1622
+ transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1623
+ border-left: 5px solid #4AC263;
1624
+ padding-left: 15px;
1625
+ margin-left: -5px;
1635
1626
  }
1636
1627
 
1637
- .Switch .switch-input:checked + .switch-label .toggle--on {
1638
- display: inline-block;
1628
+ .FilteredList .child.hidden {
1629
+ height: 0 !important;
1630
+ padding: 0 !important;
1639
1631
  }
1640
1632
 
1641
- .Switch .switch-input:checked + .switch-label .toggle--off {
1642
- display: none;
1633
+ .FilteredList .child.selected {
1634
+ background-color: #F0F0F0;
1635
+ padding-left: 10px;
1636
+ margin-left: 0px;
1643
1637
  }
1644
1638
 
1645
- .DNDContainer .DroppableList .Draggable {
1646
- transform: unset;
1647
- transition: unset;
1648
- opacity: 1;
1639
+ .FilteredList .child.active {
1640
+ background-color: #eeeeee;
1649
1641
  }
1650
1642
 
1651
- .DNDContainer .DroppableList .Draggable.dragged {
1652
- transition: unset !important;
1643
+ .FilteredList .child {
1644
+ margin-top: 8px;
1653
1645
  }
1654
1646
 
1655
- .DNDContainer .DroppableList.hover .Draggable {
1656
- transition: transform 0.2s ease-in;
1647
+ .FilteredList .child.hidden {
1648
+ margin-top: 0;
1657
1649
  }
1658
1650
 
1659
- .DNDContainer .DroppableList.resetting .Draggable {
1660
- transition: transform 0.1s ease-in;
1651
+ .FilteredList .child:not(.hidden) ~ .child {
1652
+ margin-top: 0;
1661
1653
  }
1662
1654
 
1663
- .ScrollableTable .Scrollable .scrollbar {
1664
- top: 56px;
1655
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1656
+ margin-bottom: 8px;
1665
1657
  }
1666
1658
 
1667
- .ScrollableTable .Table {
1668
- position: static;
1659
+ .FilteredList .child:not(.hidden):last-child {
1660
+ margin-bottom: 8px;
1669
1661
  }
1670
1662
 
1671
1663
  .Table {
@@ -1780,4 +1772,12 @@
1780
1772
  height: 20px;
1781
1773
  padding: 0px;
1782
1774
  background-color: #f0f0f0;
1775
+ }
1776
+
1777
+ .ScrollableTable .Scrollable .scrollbar {
1778
+ top: 56px;
1779
+ }
1780
+
1781
+ .ScrollableTable .Table {
1782
+ position: static;
1783
1783
  }