react-ui-basics 0.0.229 → 0.0.231

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,12 @@
1
+ .animated {
2
+ transition: opacity 250ms ease;
3
+ opacity: 0;
4
+ }
5
+
6
+ .animated.mounting, .animated.mounted {
7
+ opacity: 1;
8
+ }
9
+
1
10
  .AutocompleteSelect {
2
11
  display: inline-flex;
3
12
  flex-flow: column;
@@ -293,15 +302,6 @@
293
302
  position: absolute;
294
303
  }
295
304
 
296
- .animated {
297
- transition: opacity 250ms ease;
298
- opacity: 0;
299
- }
300
-
301
- .animated.mounting, .animated.mounted {
302
- opacity: 1;
303
- }
304
-
305
305
  .DNDContainer .DroppableList .Draggable {
306
306
  transform: unset;
307
307
  transition: unset;
@@ -555,51 +555,6 @@
555
555
  font-size: 24px;
556
556
  }
557
557
 
558
- .CircleProgress {
559
- width: 48px;
560
- height: 48px;
561
- }
562
-
563
- .CircleProgress .line {
564
- stroke-width: 2px;
565
- stroke: black;
566
- stroke-linecap: square;
567
- fill: none;
568
- transition: stroke-dashoffset 0.2s ease;
569
- }
570
-
571
- .DNDContainer {
572
- position: relative;
573
- }
574
-
575
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
576
- cursor: pointer;
577
- }
578
-
579
- .DNDContainer .Draggable.placeholder {
580
- opacity: 0.2;
581
- }
582
-
583
- .DNDContainer .Draggable.copy {
584
- position: absolute;
585
- box-sizing: border-box;
586
- will-change: transform;
587
- opacity: 0;
588
- }
589
-
590
- .DNDContainer .Draggable.dragged {
591
- z-index: 10;
592
- }
593
-
594
- .DNDContainer .overlay {
595
- position: absolute;
596
- top: 0;
597
- left: 0;
598
- right: 0;
599
- bottom: 0;
600
- pointer-events: none;
601
- }
602
-
603
558
  .Button {
604
559
  position: relative;
605
560
  min-width: 64px;
@@ -766,31 +721,6 @@
766
721
  border: 0;
767
722
  }
768
723
 
769
- .CalendarMonthView {
770
- display: flex;
771
- flex-flow: column nowrap;
772
- height: 100%;
773
- }
774
-
775
- .CalendarMonthView > .row {
776
- display: flex;
777
- flex-flow: row nowrap;
778
- }
779
-
780
- .CalendarMonthView .days {
781
- flex-grow: 1;
782
- position: relative;
783
- }
784
-
785
- .CalendarMonthView .day, .CalendarMonthView .header {
786
- flex-grow: 1;
787
- flex-basis: 1px;
788
- }
789
-
790
- .CalendarMonthView .day {
791
- height: 100%;
792
- }
793
-
794
724
  .Checkbox {
795
725
  position: relative;
796
726
  white-space: pre;
@@ -858,6 +788,38 @@
858
788
  background: rgba(0, 0, 0, 0.26);
859
789
  }
860
790
 
791
+ .DNDContainer {
792
+ position: relative;
793
+ }
794
+
795
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
796
+ cursor: pointer;
797
+ }
798
+
799
+ .DNDContainer .Draggable.placeholder {
800
+ opacity: 0.2;
801
+ }
802
+
803
+ .DNDContainer .Draggable.copy {
804
+ position: absolute;
805
+ box-sizing: border-box;
806
+ will-change: transform;
807
+ opacity: 0;
808
+ }
809
+
810
+ .DNDContainer .Draggable.dragged {
811
+ z-index: 10;
812
+ }
813
+
814
+ .DNDContainer .overlay {
815
+ position: absolute;
816
+ top: 0;
817
+ left: 0;
818
+ right: 0;
819
+ bottom: 0;
820
+ pointer-events: none;
821
+ }
822
+
861
823
  .DialogModal {
862
824
  overflow: hidden;
863
825
  }
@@ -900,28 +862,41 @@
900
862
  margin-bottom: 0;
901
863
  }
902
864
 
903
- .Button.FloatingActionButton {
865
+ .ModalMenu {
904
866
  position: absolute;
905
- right: 16px;
906
- bottom: 16px;
907
- width: 56px;
908
- height: 56px;
909
- padding: 16px;
910
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
867
+ top: 10px;
868
+ right: 50px;
911
869
  }
912
870
 
913
- .Button.FloatingActionButton.raised {
914
- 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);
871
+ .ModalMenu .material-icons {
872
+ color: #818181;
915
873
  }
916
874
 
917
- .Button.FloatingActionButton.mini {
918
- width: 40px;
919
- height: 40px;
920
- padding: 8px;
875
+ .ModalMenu .Button.animated {
876
+ position: absolute;
877
+ transition: opacity 150ms ease-in, right 200ms ease-in;
878
+ opacity: 0;
879
+ right: 0;
880
+ top: 0;
921
881
  }
922
882
 
923
- .Button.FloatingActionButton.hidden {
924
- bottom: -100px;
883
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
884
+ opacity: 1;
885
+ }
886
+
887
+ .ModalMenu .Button.animated.unmounting {
888
+ transition: opacity 100ms ease-out, right 200ms ease-out;
889
+ }
890
+
891
+ .ModalMenu .Button.active {
892
+ background: #EBEBEB;
893
+ }
894
+
895
+ .ModalMenu .separator {
896
+ height: 24px;
897
+ width: 1px;
898
+ background-color: #D9D9D9;
899
+ margin-left: 4px;
925
900
  }
926
901
 
927
902
  .DatePicker {
@@ -1041,284 +1016,325 @@
1041
1016
  background-color: #51adf6;
1042
1017
  }
1043
1018
 
1044
- .DropFileInput {
1045
- flex-grow: 1;
1019
+ .FilteredList {
1020
+ max-height: 250px;
1021
+ position: relative;
1046
1022
  }
1047
1023
 
1048
- .DropFileInput .Dropzone {
1049
- border: 1px dashed #808080;
1050
- padding: 12px;
1024
+ .FilteredList.popup {
1025
+ padding: 0;
1026
+ visibility: hidden;
1027
+ position: absolute;
1028
+ background: white;
1029
+ z-index: 4;
1030
+ 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);
1031
+ transition: top 0.2s ease-out, opacity 0.2s ease-out;
1032
+ top: calc(100% + 4px);
1033
+ opacity: 0;
1034
+ border-radius: 2px;
1035
+ }
1036
+
1037
+ .FilteredList.popup.visible {
1038
+ opacity: 1;
1039
+ visibility: visible;
1040
+ }
1041
+
1042
+ .FilteredList.portal {
1043
+ transition: opacity 0.2s ease-out;
1044
+ }
1045
+
1046
+ .FilteredList.inline {
1047
+ max-height: 225px;
1048
+ margin-top: 5px;
1049
+ }
1050
+
1051
+ .FilteredList .child {
1051
1052
  display: flex;
1052
1053
  flex-flow: row nowrap;
1053
- justify-content: center;
1054
1054
  align-items: center;
1055
- color: gray;
1056
- cursor: pointer;
1057
- border-radius: 3px;
1058
- font-weight: normal;
1059
- line-height: 22px;
1055
+ white-space: nowrap;
1060
1056
  font-size: 14px;
1061
- color: #7E7E7E;
1062
- max-width: 100%;
1063
- word-break: break-all;
1064
- word-break: break-word;
1057
+ color: rgb(34, 34, 34);
1058
+ height: 30px;
1059
+ padding: 5px 10px;
1060
+ padding-right: 15px;
1061
+ cursor: pointer;
1062
+ overflow: hidden;
1063
+ border-left: 5px solid #4AC263;
1064
+ padding-left: 15px;
1065
+ margin-left: -5px;
1065
1066
  }
1066
1067
 
1067
- .DropFileInput .Dropzone .icon.withText {
1068
- margin-right: 10px;
1068
+ .FilteredList .child.hidden {
1069
+ height: 0 !important;
1070
+ padding: 0 !important;
1069
1071
  }
1070
1072
 
1071
- .Modal {
1072
- display: block;
1073
- position: fixed;
1074
- top: 0;
1075
- left: 0;
1076
- right: 0;
1077
- bottom: 100%;
1078
- overflow-y: scroll;
1079
- transition: bottom 0ms linear;
1080
- transition-delay: 0.2s;
1073
+ .FilteredList .child.selected {
1074
+ background-color: #F0F0F0;
1075
+ padding-left: 10px;
1076
+ margin-left: 0px;
1081
1077
  }
1082
1078
 
1083
- .Modal.show {
1084
- transition-delay: 0s;
1085
- bottom: 0;
1079
+ .FilteredList .child.active {
1080
+ background-color: rgb(238, 238, 238);
1086
1081
  }
1087
1082
 
1088
- .Modal > .overlay {
1089
- position: fixed;
1090
- top: 0;
1091
- bottom: 100%;
1092
- left: 0;
1093
- right: 0;
1094
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1095
- opacity: 0;
1096
- background-color: black;
1097
- pointer-events: none;
1083
+ .FilteredList .child {
1084
+ margin-top: 8px;
1098
1085
  }
1099
1086
 
1100
- .Modal > .overlay.show {
1101
- opacity: 0.5;
1102
- bottom: 0;
1103
- }
1104
-
1105
- .Modal > .content {
1106
- left: 50%;
1107
- top: 10vh;
1108
- margin-bottom: 10vh;
1109
- font-size: 16px;
1110
- padding: 0;
1111
- opacity: 0;
1112
- transition: opacity 0.25s ease, transform 0.25s ease;
1113
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1114
- transform-origin: top;
1115
- position: absolute;
1116
- border-radius: 2px;
1117
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1087
+ .FilteredList .child.hidden {
1088
+ margin-top: 0;
1118
1089
  }
1119
1090
 
1120
- .Modal > .content.show {
1121
- opacity: 1;
1122
- transform: scaleY(1) translateY(0px) translateX(-50%);
1091
+ .FilteredList .child:not(.hidden) ~ .child {
1092
+ margin-top: 0;
1123
1093
  }
1124
1094
 
1125
- .Modal > .content > .Scrollable {
1126
- overflow: visible;
1127
- max-height: 80vh;
1095
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1096
+ margin-bottom: 8px;
1128
1097
  }
1129
1098
 
1130
- .Modal > .content > .Scrollable > .viewport {
1131
- min-width: 10px;
1132
- min-height: 10px;
1099
+ .FilteredList .child:not(.hidden):last-child {
1100
+ margin-bottom: 8px;
1133
1101
  }
1134
1102
 
1135
- .Modal > .content > .Button.close {
1136
- top: 10px;
1137
- right: 10px;
1138
- position: absolute;
1103
+ .CircleProgress {
1104
+ width: 48px;
1105
+ height: 48px;
1139
1106
  }
1140
1107
 
1141
- .FilteredList {
1142
- max-height: 250px;
1143
- position: relative;
1108
+ .CircleProgress .line {
1109
+ stroke-width: 2px;
1110
+ stroke: black;
1111
+ stroke-linecap: square;
1112
+ fill: none;
1113
+ transition: stroke-dashoffset 0.2s ease;
1144
1114
  }
1145
1115
 
1146
- .FilteredList.popup {
1147
- padding: 0;
1148
- visibility: hidden;
1149
- position: absolute;
1150
- background: white;
1151
- z-index: 4;
1152
- 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);
1153
- transition: top 0.2s ease-out, opacity 0.2s ease-out;
1154
- top: calc(100% + 4px);
1116
+ .Snackbar {
1117
+ transform: translateX(-50%);
1118
+ overflow: hidden;
1119
+ background-color: #323232;
1120
+ padding: 14px 24px 14px 24px;
1121
+ color: #fff;
1122
+ min-width: 288px;
1123
+ max-width: 568px;
1124
+ position: fixed;
1125
+ bottom: -50px;
1126
+ left: 50%;
1127
+ display: flex;
1128
+ flex-wrap: nowrap;
1129
+ align-items: center;
1155
1130
  opacity: 0;
1156
- border-radius: 2px;
1131
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1132
+ border-radius: 4px;
1133
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1157
1134
  }
1158
1135
 
1159
- .FilteredList.popup.visible {
1136
+ .Snackbar.shown {
1137
+ bottom: 15px;
1160
1138
  opacity: 1;
1161
- visibility: visible;
1162
1139
  }
1163
1140
 
1164
- .FilteredList.portal {
1165
- transition: opacity 0.2s ease-out;
1166
- }
1167
-
1168
- .FilteredList.inline {
1169
- max-height: 225px;
1170
- margin-top: 5px;
1141
+ .Snackbar .message {
1142
+ overflow: hidden;
1143
+ line-height: 1.2em;
1144
+ min-height: 1.2em;
1145
+ max-height: 2.4em;
1146
+ flex: 1;
1171
1147
  }
1172
1148
 
1173
- .FilteredList .child {
1174
- display: flex;
1175
- flex-flow: row nowrap;
1176
- align-items: center;
1177
- white-space: nowrap;
1178
- font-size: 14px;
1179
- color: rgb(34, 34, 34);
1180
- height: 30px;
1181
- padding: 5px 10px;
1182
- padding-right: 15px;
1183
- cursor: pointer;
1184
- overflow: hidden;
1185
- transition: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1186
- border-left: 5px solid #4AC263;
1187
- padding-left: 15px;
1188
- margin-left: -5px;
1149
+ .Snackbar .action {
1150
+ text-transform: uppercase;
1151
+ font-weight: bold;
1152
+ margin-left: 48px;
1153
+ color: #bf3727;
1189
1154
  }
1190
1155
 
1191
- .FilteredList .child.hidden {
1192
- height: 0 !important;
1193
- padding: 0 !important;
1156
+ .Snackbar .action a {
1157
+ text-decoration: none;
1158
+ color: #bf3727;
1194
1159
  }
1195
1160
 
1196
- .FilteredList .child.selected {
1197
- background-color: #F0F0F0;
1198
- padding-left: 10px;
1199
- margin-left: 0px;
1161
+ .CalendarMonthView {
1162
+ display: flex;
1163
+ flex-flow: column nowrap;
1164
+ height: 100%;
1200
1165
  }
1201
1166
 
1202
- .FilteredList .child.active {
1203
- background-color: rgb(238, 238, 238);
1167
+ .CalendarMonthView > .row {
1168
+ display: flex;
1169
+ flex-flow: row nowrap;
1204
1170
  }
1205
1171
 
1206
- .FilteredList .child {
1207
- margin-top: 8px;
1172
+ .CalendarMonthView .days {
1173
+ flex-grow: 1;
1174
+ position: relative;
1208
1175
  }
1209
1176
 
1210
- .FilteredList .child.hidden {
1211
- margin-top: 0;
1177
+ .CalendarMonthView .day, .CalendarMonthView .header {
1178
+ flex-grow: 1;
1179
+ flex-basis: 1px;
1212
1180
  }
1213
1181
 
1214
- .FilteredList .child:not(.hidden) ~ .child {
1215
- margin-top: 0;
1182
+ .CalendarMonthView .day {
1183
+ height: 100%;
1216
1184
  }
1217
1185
 
1218
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1219
- margin-bottom: 8px;
1186
+ .Dropzone {
1187
+ position: relative;
1220
1188
  }
1221
1189
 
1222
- .FilteredList .child:not(.hidden):last-child {
1223
- margin-bottom: 8px;
1190
+ .Dropzone > .overlay {
1191
+ position: absolute;
1192
+ left: 0;
1193
+ right: 0;
1194
+ top: 0;
1195
+ bottom: 0;
1196
+ background-color: #38ADC4;
1197
+ z-index: 1;
1198
+ opacity: 0;
1199
+ transition: all 0.2s ease;
1200
+ transition-delay: 100ms;
1201
+ visibility: hidden;
1202
+ display: flex;
1203
+ justify-content: center;
1204
+ align-items: center;
1224
1205
  }
1225
1206
 
1226
- .Scrollable {
1227
- max-height: 250px;
1228
- max-width: 250px;
1229
- padding-right: 5px;
1230
- position: relative;
1207
+ .Dropzone > .overlay .drop {
1208
+ border-radius: 4px;
1209
+ border: 1px dashed #FFFFFF;
1210
+ position: absolute;
1211
+ top: 18px;
1212
+ left: 18px;
1213
+ right: 18px;
1214
+ bottom: 18px;
1231
1215
  display: flex;
1232
- flex-flow: column;
1233
- align-items: stretch;
1234
- overflow: hidden;
1216
+ justify-content: center;
1217
+ align-items: center;
1218
+ font-weight: 500;
1219
+ font-size: 18px;
1220
+ color: #FFFFFF;
1235
1221
  }
1236
1222
 
1237
- .Scrollable:hover > .scrollbar.auto {
1223
+ .Dropzone.dragging > .overlay {
1224
+ opacity: 0.7;
1225
+ visibility: visible;
1238
1226
  transition-delay: 0s;
1239
- opacity: 1;
1240
1227
  }
1241
1228
 
1242
- .Scrollable .viewport {
1243
- overflow-y: scroll;
1244
- overflow-x: scroll;
1245
- max-height: 100%;
1246
- scrollbar-width: none;
1229
+ .Dropzone.dragging > * {
1230
+ pointer-events: none;
1247
1231
  }
1248
1232
 
1249
- .Scrollable .viewport::-webkit-scrollbar {
1250
- display: none;
1233
+ .Dropzone > input.file {
1234
+ position: absolute;
1235
+ left: 0;
1236
+ right: 0;
1237
+ top: 0;
1238
+ bottom: 0;
1239
+ width: 100%;
1240
+ height: 100%;
1241
+ opacity: 0;
1242
+ cursor: pointer;
1243
+ z-index: 1;
1251
1244
  }
1252
1245
 
1253
- .Scrollable.without-scroll-horizontal {
1254
- max-width: unset;
1246
+ .Button.FloatingActionButton {
1247
+ position: absolute;
1248
+ right: 16px;
1249
+ bottom: 16px;
1250
+ width: 56px;
1251
+ height: 56px;
1252
+ padding: 16px;
1253
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1255
1254
  }
1256
1255
 
1257
- .Scrollable.undefined-horizontal {
1258
- max-width: unset;
1256
+ .Button.FloatingActionButton.raised {
1257
+ 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);
1259
1258
  }
1260
1259
 
1261
- .Scrollable.without-scroll {
1262
- padding-right: 0;
1263
- max-height: unset;
1260
+ .Button.FloatingActionButton.mini {
1261
+ width: 40px;
1262
+ height: 40px;
1263
+ padding: 8px;
1264
1264
  }
1265
1265
 
1266
- .Scrollable.without-scroll > .viewport {
1267
- padding-right: 0;
1268
- margin-right: 0;
1266
+ .Button.FloatingActionButton.hidden {
1267
+ bottom: -100px;
1269
1268
  }
1270
1269
 
1271
- .Scrollable.without-scroll > .scrollbar {
1272
- visibility: hidden;
1270
+ .Modal {
1271
+ display: block;
1272
+ position: fixed;
1273
+ top: 0;
1274
+ left: 0;
1275
+ right: 0;
1276
+ bottom: 100%;
1277
+ overflow-y: scroll;
1278
+ transition: bottom 0ms linear;
1279
+ transition-delay: 0.2s;
1273
1280
  }
1274
1281
 
1275
- .Scrollable .scrollbar {
1276
- position: absolute;
1277
- right: 0px;
1278
- top: 0px;
1279
- width: 5px;
1280
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1281
- transition-delay: 0.5s;
1282
- z-index: 1;
1282
+ .Modal.show {
1283
+ transition-delay: 0s;
1284
+ bottom: 0;
1283
1285
  }
1284
1286
 
1285
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1287
+ .Modal > .overlay {
1288
+ position: fixed;
1289
+ top: 0;
1290
+ bottom: 100%;
1291
+ left: 0;
1292
+ right: 0;
1293
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1286
1294
  opacity: 0;
1295
+ background-color: black;
1296
+ pointer-events: none;
1287
1297
  }
1288
1298
 
1289
- .Scrollable .scrollbar .thumb {
1290
- background-color: rgba(0, 0, 0, 0.3);
1291
- width: 5px;
1299
+ .Modal > .overlay.show {
1300
+ opacity: 0.5;
1301
+ bottom: 0;
1302
+ }
1303
+
1304
+ .Modal > .content {
1305
+ left: 50%;
1306
+ top: 10vh;
1307
+ margin-bottom: 10vh;
1308
+ font-size: 16px;
1309
+ padding: 0;
1310
+ opacity: 0;
1311
+ transition: opacity 0.25s ease, transform 0.25s ease;
1312
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1313
+ transform-origin: top;
1292
1314
  position: absolute;
1293
- right: 0px;
1294
- top: 0px;
1295
- user-select: none;
1296
- will-change: top;
1297
1315
  border-radius: 2px;
1316
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1298
1317
  }
1299
1318
 
1300
- .Scrollable .scrollbar .thumb:hover {
1301
- background-color: rgba(0, 0, 0, 0.5);
1319
+ .Modal > .content.show {
1320
+ opacity: 1;
1321
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1302
1322
  }
1303
1323
 
1304
- .Scrollable .scrollbar .thumb:active {
1305
- background-color: rgba(0, 0, 0, 0.7);
1324
+ .Modal > .content > .Scrollable {
1325
+ overflow: visible;
1326
+ max-height: 80vh;
1306
1327
  }
1307
1328
 
1308
- .Scrollable .scrollbar.horizontal {
1309
- left: 0px;
1310
- right: 0px;
1311
- height: 5px;
1312
- bottom: 0;
1313
- width: unset;
1314
- top: unset;
1329
+ .Modal > .content > .Scrollable > .viewport {
1330
+ min-width: 10px;
1331
+ min-height: 10px;
1315
1332
  }
1316
1333
 
1317
- .Scrollable .scrollbar.horizontal .thumb {
1318
- height: 5px;
1319
- left: 0px;
1320
- bottom: 0px;
1321
- will-change: left;
1334
+ .Modal > .content > .Button.close {
1335
+ top: 10px;
1336
+ right: 10px;
1337
+ position: absolute;
1322
1338
  }
1323
1339
 
1324
1340
  .FormUploadProgress {
@@ -1390,51 +1406,6 @@
1390
1406
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1391
1407
  }
1392
1408
 
1393
- .Snackbar {
1394
- transform: translateX(-50%);
1395
- overflow: hidden;
1396
- background-color: #323232;
1397
- padding: 14px 24px 14px 24px;
1398
- color: #fff;
1399
- min-width: 288px;
1400
- max-width: 568px;
1401
- position: fixed;
1402
- bottom: -50px;
1403
- left: 50%;
1404
- display: flex;
1405
- flex-wrap: nowrap;
1406
- align-items: center;
1407
- opacity: 0;
1408
- transition: bottom 0.25s ease, opacity 0.2s ease;
1409
- border-radius: 4px;
1410
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1411
- }
1412
-
1413
- .Snackbar.shown {
1414
- bottom: 15px;
1415
- opacity: 1;
1416
- }
1417
-
1418
- .Snackbar .message {
1419
- overflow: hidden;
1420
- line-height: 1.2em;
1421
- min-height: 1.2em;
1422
- max-height: 2.4em;
1423
- flex: 1;
1424
- }
1425
-
1426
- .Snackbar .action {
1427
- text-transform: uppercase;
1428
- font-weight: bold;
1429
- margin-left: 48px;
1430
- color: #bf3727;
1431
- }
1432
-
1433
- .Snackbar .action a {
1434
- text-decoration: none;
1435
- color: #bf3727;
1436
- }
1437
-
1438
1409
  .SpinningProgress {
1439
1410
  width: 48px;
1440
1411
  height: 48px;
@@ -1488,101 +1459,129 @@
1488
1459
  stroke-dashoffset: -53px;
1489
1460
  }
1490
1461
  }
1491
- .Dropzone {
1462
+ .Scrollable {
1463
+ max-height: 250px;
1464
+ max-width: 250px;
1465
+ padding-right: 5px;
1492
1466
  position: relative;
1467
+ display: flex;
1468
+ flex-flow: column;
1469
+ align-items: stretch;
1470
+ overflow: hidden;
1493
1471
  }
1494
1472
 
1495
- .Dropzone > .overlay {
1496
- position: absolute;
1497
- left: 0;
1498
- right: 0;
1499
- top: 0;
1500
- bottom: 0;
1501
- background-color: #38ADC4;
1502
- z-index: 1;
1503
- opacity: 0;
1504
- transition: all 0.2s ease;
1505
- transition-delay: 100ms;
1506
- visibility: hidden;
1507
- display: flex;
1508
- justify-content: center;
1509
- align-items: center;
1473
+ .Scrollable:hover > .scrollbar.auto {
1474
+ transition-delay: 0s;
1475
+ opacity: 1;
1510
1476
  }
1511
1477
 
1512
- .Dropzone > .overlay .drop {
1513
- border-radius: 4px;
1514
- border: 1px dashed #FFFFFF;
1515
- position: absolute;
1516
- top: 18px;
1517
- left: 18px;
1518
- right: 18px;
1519
- bottom: 18px;
1520
- display: flex;
1521
- justify-content: center;
1522
- align-items: center;
1523
- font-weight: 500;
1524
- font-size: 18px;
1525
- color: #FFFFFF;
1478
+ .Scrollable .viewport {
1479
+ overflow-y: scroll;
1480
+ overflow-x: scroll;
1481
+ max-height: 100%;
1482
+ scrollbar-width: none;
1526
1483
  }
1527
1484
 
1528
- .Dropzone.dragging > .overlay {
1529
- opacity: 0.7;
1530
- visibility: visible;
1531
- transition-delay: 0s;
1485
+ .Scrollable .viewport::-webkit-scrollbar {
1486
+ display: none;
1487
+ }
1488
+
1489
+ .Scrollable.without-scroll-horizontal {
1490
+ max-width: unset;
1491
+ }
1492
+
1493
+ .Scrollable.undefined-horizontal {
1494
+ max-width: unset;
1495
+ }
1496
+
1497
+ .Scrollable.without-scroll {
1498
+ padding-right: 0;
1499
+ max-height: unset;
1500
+ }
1501
+
1502
+ .Scrollable.without-scroll > .viewport {
1503
+ padding-right: 0;
1504
+ margin-right: 0;
1532
1505
  }
1533
1506
 
1534
- .Dropzone.dragging > * {
1535
- pointer-events: none;
1507
+ .Scrollable.without-scroll > .scrollbar {
1508
+ visibility: hidden;
1536
1509
  }
1537
1510
 
1538
- .Dropzone > input.file {
1511
+ .Scrollable .scrollbar {
1539
1512
  position: absolute;
1540
- left: 0;
1541
- right: 0;
1542
- top: 0;
1543
- bottom: 0;
1544
- width: 100%;
1545
- height: 100%;
1546
- opacity: 0;
1547
- cursor: pointer;
1513
+ right: 0px;
1514
+ top: 0px;
1515
+ width: 5px;
1516
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1517
+ transition-delay: 0.5s;
1548
1518
  z-index: 1;
1549
1519
  }
1550
1520
 
1551
- .ModalMenu {
1521
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1522
+ opacity: 0;
1523
+ }
1524
+
1525
+ .Scrollable .scrollbar .thumb {
1526
+ background-color: rgba(0, 0, 0, 0.3);
1527
+ width: 5px;
1552
1528
  position: absolute;
1553
- top: 10px;
1554
- right: 50px;
1529
+ right: 0px;
1530
+ top: 0px;
1531
+ user-select: none;
1532
+ will-change: top;
1533
+ border-radius: 2px;
1555
1534
  }
1556
1535
 
1557
- .ModalMenu .material-icons {
1558
- color: #818181;
1536
+ .Scrollable .scrollbar .thumb:hover {
1537
+ background-color: rgba(0, 0, 0, 0.5);
1559
1538
  }
1560
1539
 
1561
- .ModalMenu .Button.animated {
1562
- position: absolute;
1563
- transition: opacity 150ms ease-in, right 200ms ease-in;
1564
- opacity: 0;
1565
- right: 0;
1566
- top: 0;
1540
+ .Scrollable .scrollbar .thumb:active {
1541
+ background-color: rgba(0, 0, 0, 0.7);
1567
1542
  }
1568
1543
 
1569
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1570
- opacity: 1;
1544
+ .Scrollable .scrollbar.horizontal {
1545
+ left: 0px;
1546
+ right: 0px;
1547
+ height: 5px;
1548
+ bottom: 0;
1549
+ width: unset;
1550
+ top: unset;
1571
1551
  }
1572
1552
 
1573
- .ModalMenu .Button.animated.unmounting {
1574
- transition: opacity 100ms ease-out, right 200ms ease-out;
1553
+ .Scrollable .scrollbar.horizontal .thumb {
1554
+ height: 5px;
1555
+ left: 0px;
1556
+ bottom: 0px;
1557
+ will-change: left;
1575
1558
  }
1576
1559
 
1577
- .ModalMenu .Button.active {
1578
- background: #EBEBEB;
1560
+ .DropFileInput {
1561
+ flex-grow: 1;
1579
1562
  }
1580
1563
 
1581
- .ModalMenu .separator {
1582
- height: 24px;
1583
- width: 1px;
1584
- background-color: #D9D9D9;
1585
- margin-left: 4px;
1564
+ .DropFileInput .Dropzone {
1565
+ border: 1px dashed #808080;
1566
+ padding: 12px;
1567
+ display: flex;
1568
+ flex-flow: row nowrap;
1569
+ justify-content: center;
1570
+ align-items: center;
1571
+ color: gray;
1572
+ cursor: pointer;
1573
+ border-radius: 3px;
1574
+ font-weight: normal;
1575
+ line-height: 22px;
1576
+ font-size: 14px;
1577
+ color: #7E7E7E;
1578
+ max-width: 100%;
1579
+ word-break: break-all;
1580
+ word-break: break-word;
1581
+ }
1582
+
1583
+ .DropFileInput .Dropzone .icon.withText {
1584
+ margin-right: 10px;
1586
1585
  }
1587
1586
 
1588
1587
  .TextField {
@@ -1736,6 +1735,88 @@
1736
1735
  position: static;
1737
1736
  }
1738
1737
 
1738
+ .Switch {
1739
+ display: inline-flex;
1740
+ padding-top: 5px;
1741
+ }
1742
+
1743
+ .Switch .switch-input {
1744
+ display: none;
1745
+ }
1746
+
1747
+ .Switch .switch-label {
1748
+ position: relative;
1749
+ display: inline-flex;
1750
+ align-items: center;
1751
+ min-width: 38px;
1752
+ height: 24px;
1753
+ cursor: pointer;
1754
+ font-weight: 500;
1755
+ text-align: left;
1756
+ user-select: none;
1757
+ margin: 0;
1758
+ padding: 0;
1759
+ padding-left: 44px;
1760
+ box-sizing: border-box;
1761
+ }
1762
+
1763
+ .Switch .switch-label:before, .Switch .switch-label:after {
1764
+ content: "";
1765
+ box-sizing: border-box;
1766
+ position: absolute;
1767
+ margin: 0;
1768
+ outline: 0;
1769
+ top: 50%;
1770
+ transform: translate(0, -50%);
1771
+ transition: all 0.3s ease;
1772
+ }
1773
+
1774
+ .Switch .switch-label:before {
1775
+ left: 1px;
1776
+ width: 34px;
1777
+ height: 14px;
1778
+ background-color: #9E9E9E;
1779
+ border-radius: 8px;
1780
+ }
1781
+
1782
+ .Switch .switch-label:after {
1783
+ left: 0;
1784
+ width: 20px;
1785
+ height: 20px;
1786
+ background-color: #FAFAFA;
1787
+ border-radius: 50%;
1788
+ 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);
1789
+ }
1790
+
1791
+ .Switch .switch-label .toggle--on {
1792
+ display: none;
1793
+ }
1794
+
1795
+ .Switch .switch-label .toggle--off {
1796
+ display: inline-block;
1797
+ }
1798
+
1799
+ .Switch .switch-label .label {
1800
+ margin-right: 5px;
1801
+ }
1802
+
1803
+ .Switch .switch-input:checked + .switch-label:before {
1804
+ background-color: #A5D6A7;
1805
+ }
1806
+
1807
+ .Switch .switch-input:checked + .switch-label:after {
1808
+ background-color: #4CAF50;
1809
+ transform: translate(80%, -50%);
1810
+ }
1811
+
1812
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1813
+ display: inline-block;
1814
+ }
1815
+
1816
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1817
+ display: none;
1818
+ }
1819
+
1739
1820
  .Table {
1740
1821
  font-family: Roboto, sans-serif;
1741
1822
  font-size: 14px;
@@ -1856,86 +1937,4 @@
1856
1937
 
1857
1938
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1858
1939
  margin: 0;
1859
- }
1860
-
1861
- .Switch {
1862
- display: inline-flex;
1863
- padding-top: 5px;
1864
- }
1865
-
1866
- .Switch .switch-input {
1867
- display: none;
1868
- }
1869
-
1870
- .Switch .switch-label {
1871
- position: relative;
1872
- display: inline-flex;
1873
- align-items: center;
1874
- min-width: 38px;
1875
- height: 24px;
1876
- cursor: pointer;
1877
- font-weight: 500;
1878
- text-align: left;
1879
- user-select: none;
1880
- margin: 0;
1881
- padding: 0;
1882
- padding-left: 44px;
1883
- box-sizing: border-box;
1884
- }
1885
-
1886
- .Switch .switch-label:before, .Switch .switch-label:after {
1887
- content: "";
1888
- box-sizing: border-box;
1889
- position: absolute;
1890
- margin: 0;
1891
- outline: 0;
1892
- top: 50%;
1893
- transform: translate(0, -50%);
1894
- transition: all 0.3s ease;
1895
- }
1896
-
1897
- .Switch .switch-label:before {
1898
- left: 1px;
1899
- width: 34px;
1900
- height: 14px;
1901
- background-color: #9E9E9E;
1902
- border-radius: 8px;
1903
- }
1904
-
1905
- .Switch .switch-label:after {
1906
- left: 0;
1907
- width: 20px;
1908
- height: 20px;
1909
- background-color: #FAFAFA;
1910
- border-radius: 50%;
1911
- 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);
1912
- }
1913
-
1914
- .Switch .switch-label .toggle--on {
1915
- display: none;
1916
- }
1917
-
1918
- .Switch .switch-label .toggle--off {
1919
- display: inline-block;
1920
- }
1921
-
1922
- .Switch .switch-label .label {
1923
- margin-right: 5px;
1924
- }
1925
-
1926
- .Switch .switch-input:checked + .switch-label:before {
1927
- background-color: #A5D6A7;
1928
- }
1929
-
1930
- .Switch .switch-input:checked + .switch-label:after {
1931
- background-color: #4CAF50;
1932
- transform: translate(80%, -50%);
1933
- }
1934
-
1935
- .Switch .switch-input:checked + .switch-label .toggle--on {
1936
- display: inline-block;
1937
- }
1938
-
1939
- .Switch .switch-input:checked + .switch-label .toggle--off {
1940
- display: none;
1941
1940
  }