react-ui-basics 0.0.235 → 0.0.236

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,12 +1,3 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
4
- }
5
-
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
8
- }
9
-
10
1
  .AutocompleteSelect {
11
2
  display: inline-flex;
12
3
  flex-flow: column;
@@ -302,6 +293,33 @@
302
293
  position: absolute;
303
294
  }
304
295
 
296
+ .animated {
297
+ transition: opacity 250ms ease;
298
+ opacity: 0;
299
+ }
300
+
301
+ .animated.mounting, .animated.mounted {
302
+ opacity: 1;
303
+ }
304
+
305
+ .DNDContainer .DroppableList .Draggable {
306
+ transform: unset;
307
+ transition: unset;
308
+ opacity: 1;
309
+ }
310
+
311
+ .DNDContainer .DroppableList .Draggable.dragged {
312
+ transition: unset !important;
313
+ }
314
+
315
+ .DNDContainer .DroppableList.hover .Draggable {
316
+ transition: transform 0.2s ease-in;
317
+ }
318
+
319
+ .DNDContainer .DroppableList.resetting .Draggable {
320
+ transition: transform 0.1s ease-in;
321
+ }
322
+
305
323
  .ImageGallery {
306
324
  position: fixed;
307
325
  top: 0;
@@ -537,24 +555,6 @@
537
555
  font-size: 24px;
538
556
  }
539
557
 
540
- .DNDContainer .DroppableList .Draggable {
541
- transform: unset;
542
- transition: unset;
543
- opacity: 1;
544
- }
545
-
546
- .DNDContainer .DroppableList .Draggable.dragged {
547
- transition: unset !important;
548
- }
549
-
550
- .DNDContainer .DroppableList.hover .Draggable {
551
- transition: transform 0.2s ease-in;
552
- }
553
-
554
- .DNDContainer .DroppableList.resetting .Draggable {
555
- transition: transform 0.1s ease-in;
556
- }
557
-
558
558
  .Button {
559
559
  position: relative;
560
560
  min-width: 64px;
@@ -721,29 +721,71 @@
721
721
  border: 0;
722
722
  }
723
723
 
724
- .CalendarMonthView {
725
- display: flex;
726
- flex-flow: column nowrap;
727
- height: 100%;
724
+ .Checkbox {
725
+ position: relative;
726
+ white-space: pre;
728
727
  }
729
728
 
730
- .CalendarMonthView > .row {
731
- display: flex;
732
- flex-flow: row nowrap;
729
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
730
+ box-sizing: border-box;
733
731
  }
734
732
 
735
- .CalendarMonthView .days {
736
- flex-grow: 1;
737
- position: relative;
733
+ .Checkbox label {
734
+ font-family: Roboto, sans-serif;
735
+ font-size: 14px;
736
+ color: #1e252d;
737
+ cursor: pointer;
738
738
  }
739
739
 
740
- .CalendarMonthView .day, .CalendarMonthView .header {
741
- flex-grow: 1;
742
- flex-basis: 1px;
740
+ .Checkbox label:before, .Checkbox label:after {
741
+ content: "";
742
+ position: absolute;
743
+ left: 0;
744
+ top: 0;
743
745
  }
744
746
 
745
- .CalendarMonthView .day {
746
- height: 100%;
747
+ .Checkbox label:before {
748
+ width: 20px;
749
+ height: 20px;
750
+ background: #fff;
751
+ border: 2px solid #252525;
752
+ border-radius: 2px;
753
+ cursor: pointer;
754
+ transition: background 0.3s;
755
+ }
756
+
757
+ .Checkbox input[type=checkbox] {
758
+ outline: 0;
759
+ margin-right: 10px;
760
+ visibility: hidden;
761
+ }
762
+
763
+ .Checkbox input[type=checkbox]:checked + label:before {
764
+ background: #4AC263;
765
+ border: none;
766
+ }
767
+
768
+ .Checkbox input[type=checkbox]:checked + label:after {
769
+ transform: rotate(-45deg);
770
+ top: 6px;
771
+ left: 4px;
772
+ width: 12px;
773
+ height: 6px;
774
+ border: 2px solid #fff;
775
+ border-top-style: none;
776
+ border-right-style: none;
777
+ }
778
+
779
+ .Checkbox input[type=checkbox]:disabled + label {
780
+ color: gray;
781
+ }
782
+
783
+ .Checkbox input[type=checkbox]:disabled + label:before {
784
+ border-color: rgba(0, 0, 0, 0.26);
785
+ }
786
+
787
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
788
+ background: rgba(0, 0, 0, 0.26);
747
789
  }
748
790
 
749
791
  .DatePicker {
@@ -863,71 +905,113 @@
863
905
  background-color: #51adf6;
864
906
  }
865
907
 
866
- .Checkbox {
908
+ .CalendarMonthView {
909
+ display: flex;
910
+ flex-flow: column nowrap;
911
+ height: 100%;
912
+ }
913
+
914
+ .CalendarMonthView > .row {
915
+ display: flex;
916
+ flex-flow: row nowrap;
917
+ }
918
+
919
+ .CalendarMonthView .days {
920
+ flex-grow: 1;
867
921
  position: relative;
868
- white-space: pre;
869
922
  }
870
923
 
871
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
872
- box-sizing: border-box;
924
+ .CalendarMonthView .day, .CalendarMonthView .header {
925
+ flex-grow: 1;
926
+ flex-basis: 1px;
873
927
  }
874
928
 
875
- .Checkbox label {
876
- font-family: Roboto, sans-serif;
877
- font-size: 14px;
878
- color: #1e252d;
879
- cursor: pointer;
929
+ .CalendarMonthView .day {
930
+ height: 100%;
880
931
  }
881
932
 
882
- .Checkbox label:before, .Checkbox label:after {
883
- content: "";
884
- position: absolute;
885
- left: 0;
886
- top: 0;
933
+ .FilteredList {
934
+ max-height: 250px;
935
+ position: relative;
887
936
  }
888
937
 
889
- .Checkbox label:before {
890
- width: 20px;
891
- height: 20px;
892
- background: #fff;
893
- border: 2px solid #252525;
938
+ .FilteredList.popup {
939
+ padding: 0;
940
+ visibility: hidden;
941
+ position: absolute;
942
+ background: white;
943
+ z-index: 4;
944
+ 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);
945
+ transition: top 0.2s ease-out, opacity 0.2s ease-out;
946
+ top: calc(100% + 4px);
947
+ opacity: 0;
894
948
  border-radius: 2px;
949
+ }
950
+
951
+ .FilteredList.popup.visible {
952
+ opacity: 1;
953
+ visibility: visible;
954
+ }
955
+
956
+ .FilteredList.portal {
957
+ transition: opacity 0.2s ease-out;
958
+ }
959
+
960
+ .FilteredList.inline {
961
+ max-height: 225px;
962
+ margin-top: 5px;
963
+ }
964
+
965
+ .FilteredList .child {
966
+ display: flex;
967
+ flex-flow: row nowrap;
968
+ align-items: center;
969
+ white-space: nowrap;
970
+ font-size: 14px;
971
+ color: rgb(34, 34, 34);
972
+ height: 30px;
973
+ padding: 5px 10px;
974
+ padding-right: 15px;
895
975
  cursor: pointer;
896
- transition: background 0.3s;
976
+ overflow: hidden;
977
+ border-left: 5px solid #4AC263;
978
+ padding-left: 15px;
979
+ margin-left: -5px;
897
980
  }
898
981
 
899
- .Checkbox input[type=checkbox] {
900
- outline: 0;
901
- margin-right: 10px;
902
- visibility: hidden;
982
+ .FilteredList .child.hidden {
983
+ height: 0 !important;
984
+ padding: 0 !important;
903
985
  }
904
986
 
905
- .Checkbox input[type=checkbox]:checked + label:before {
906
- background: #4AC263;
907
- border: none;
987
+ .FilteredList .child.selected {
988
+ background-color: #F0F0F0;
989
+ padding-left: 10px;
990
+ margin-left: 0px;
908
991
  }
909
992
 
910
- .Checkbox input[type=checkbox]:checked + label:after {
911
- transform: rotate(-45deg);
912
- top: 6px;
913
- left: 4px;
914
- width: 12px;
915
- height: 6px;
916
- border: 2px solid #fff;
917
- border-top-style: none;
918
- border-right-style: none;
993
+ .FilteredList .child.active {
994
+ background-color: rgb(238, 238, 238);
919
995
  }
920
996
 
921
- .Checkbox input[type=checkbox]:disabled + label {
922
- color: gray;
997
+ .FilteredList .child {
998
+ margin-top: 8px;
923
999
  }
924
1000
 
925
- .Checkbox input[type=checkbox]:disabled + label:before {
926
- border-color: rgba(0, 0, 0, 0.26);
1001
+ .FilteredList .child.hidden {
1002
+ margin-top: 0;
927
1003
  }
928
1004
 
929
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
930
- background: rgba(0, 0, 0, 0.26);
1005
+ .FilteredList .child:not(.hidden) ~ .child {
1006
+ margin-top: 0;
1007
+ }
1008
+
1009
+ .FilteredList .child:not(.hidden) ~ .child:last-child {
1010
+ margin-bottom: 8px;
1011
+ }
1012
+
1013
+ .FilteredList .child:not(.hidden):last-child {
1014
+ margin-bottom: 8px;
931
1015
  }
932
1016
 
933
1017
  .CircleProgress {
@@ -943,46 +1027,60 @@
943
1027
  transition: stroke-dashoffset 0.2s ease;
944
1028
  }
945
1029
 
946
- .DialogModal {
947
- overflow: hidden;
1030
+ .DNDContainer {
1031
+ position: relative;
948
1032
  }
949
1033
 
950
- .DialogModal .content {
951
- top: 20vh;
1034
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1035
+ cursor: pointer;
952
1036
  }
953
1037
 
954
- .Dialog {
955
- background-color: white;
956
- min-width: 460px;
957
- max-width: 40vw;
958
- padding: 15px;
1038
+ .DNDContainer .Draggable.placeholder {
1039
+ opacity: 0.2;
959
1040
  }
960
1041
 
961
- .Dialog .title {
962
- margin-bottom: 15px;
963
- padding: 20px 50px 0px 30px;
964
- font-size: 1.25rem;
965
- line-height: 2rem;
966
- font-weight: 400;
967
- letter-spacing: 0.0125em;
1042
+ .DNDContainer .Draggable.copy {
1043
+ position: absolute;
1044
+ box-sizing: border-box;
1045
+ will-change: transform;
1046
+ opacity: 0;
968
1047
  }
969
1048
 
970
- .Dialog .description {
971
- color: rgba(0, 0, 0, 0.54);
972
- font-size: 1rem;
973
- line-height: 1.5rem;
974
- font-weight: 400;
975
- letter-spacing: 0.03125em;
976
- margin-top: 20px;
977
- padding: 0 24px 24px;
1049
+ .DNDContainer .Draggable.dragged {
1050
+ z-index: 10;
978
1051
  }
979
1052
 
980
- .Dialog > div.row {
981
- margin-bottom: 15px;
1053
+ .DNDContainer .overlay {
1054
+ position: absolute;
1055
+ top: 0;
1056
+ left: 0;
1057
+ right: 0;
1058
+ bottom: 0;
1059
+ pointer-events: none;
982
1060
  }
983
1061
 
984
- .Dialog > div.row:last-child {
985
- margin-bottom: 0;
1062
+ .Button.FloatingActionButton {
1063
+ position: absolute;
1064
+ right: 16px;
1065
+ bottom: 16px;
1066
+ width: 56px;
1067
+ height: 56px;
1068
+ padding: 16px;
1069
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1070
+ }
1071
+
1072
+ .Button.FloatingActionButton.raised {
1073
+ 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);
1074
+ }
1075
+
1076
+ .Button.FloatingActionButton.mini {
1077
+ width: 40px;
1078
+ height: 40px;
1079
+ padding: 8px;
1080
+ }
1081
+
1082
+ .Button.FloatingActionButton.hidden {
1083
+ bottom: -100px;
986
1084
  }
987
1085
 
988
1086
  .Dropzone {
@@ -1045,209 +1143,49 @@
1045
1143
  z-index: 1;
1046
1144
  }
1047
1145
 
1048
- .Button.FloatingActionButton {
1049
- position: absolute;
1050
- right: 16px;
1051
- bottom: 16px;
1052
- width: 56px;
1053
- height: 56px;
1054
- padding: 16px;
1055
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1056
- }
1057
-
1058
- .Button.FloatingActionButton.raised {
1059
- 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);
1060
- }
1061
-
1062
- .Button.FloatingActionButton.mini {
1063
- width: 40px;
1064
- height: 40px;
1065
- padding: 8px;
1066
- }
1067
-
1068
- .Button.FloatingActionButton.hidden {
1069
- bottom: -100px;
1070
- }
1071
-
1072
- .FilteredList {
1073
- max-height: 250px;
1074
- position: relative;
1075
- }
1076
-
1077
- .FilteredList.popup {
1078
- padding: 0;
1079
- visibility: hidden;
1080
- position: absolute;
1081
- background: white;
1082
- z-index: 4;
1083
- 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);
1084
- transition: top 0.2s ease-out, opacity 0.2s ease-out;
1085
- top: calc(100% + 4px);
1086
- opacity: 0;
1087
- border-radius: 2px;
1088
- }
1089
-
1090
- .FilteredList.popup.visible {
1091
- opacity: 1;
1092
- visibility: visible;
1093
- }
1094
-
1095
- .FilteredList.portal {
1096
- transition: opacity 0.2s ease-out;
1097
- }
1098
-
1099
- .FilteredList.inline {
1100
- max-height: 225px;
1101
- margin-top: 5px;
1102
- }
1103
-
1104
- .FilteredList .child {
1105
- display: flex;
1106
- flex-flow: row nowrap;
1107
- align-items: center;
1108
- white-space: nowrap;
1109
- font-size: 14px;
1110
- color: rgb(34, 34, 34);
1111
- height: 30px;
1112
- padding: 5px 10px;
1113
- padding-right: 15px;
1114
- cursor: pointer;
1146
+ .Snackbar {
1147
+ transform: translateX(-50%);
1115
1148
  overflow: hidden;
1116
- border-left: 5px solid #4AC263;
1117
- padding-left: 15px;
1118
- margin-left: -5px;
1119
- }
1120
-
1121
- .FilteredList .child.hidden {
1122
- height: 0 !important;
1123
- padding: 0 !important;
1124
- }
1125
-
1126
- .FilteredList .child.selected {
1127
- background-color: #F0F0F0;
1128
- padding-left: 10px;
1129
- margin-left: 0px;
1130
- }
1131
-
1132
- .FilteredList .child.active {
1133
- background-color: rgb(238, 238, 238);
1134
- }
1135
-
1136
- .FilteredList .child {
1137
- margin-top: 8px;
1138
- }
1139
-
1140
- .FilteredList .child.hidden {
1141
- margin-top: 0;
1142
- }
1143
-
1144
- .FilteredList .child:not(.hidden) ~ .child {
1145
- margin-top: 0;
1146
- }
1147
-
1148
- .FilteredList .child:not(.hidden) ~ .child:last-child {
1149
- margin-bottom: 8px;
1150
- }
1151
-
1152
- .FilteredList .child:not(.hidden):last-child {
1153
- margin-bottom: 8px;
1154
- }
1155
-
1156
- .DropFileInput {
1157
- flex-grow: 1;
1158
- }
1159
-
1160
- .DropFileInput .Dropzone {
1161
- border: 1px dashed #808080;
1162
- padding: 12px;
1163
- display: flex;
1164
- flex-flow: row nowrap;
1165
- justify-content: center;
1166
- align-items: center;
1167
- color: gray;
1168
- cursor: pointer;
1169
- border-radius: 3px;
1170
- font-weight: normal;
1171
- line-height: 22px;
1172
- font-size: 14px;
1173
- color: #7E7E7E;
1174
- max-width: 100%;
1175
- word-break: break-all;
1176
- word-break: break-word;
1177
- }
1178
-
1179
- .DropFileInput .Dropzone .icon.withText {
1180
- margin-right: 10px;
1181
- }
1182
-
1183
- .Modal {
1184
- display: block;
1185
- position: fixed;
1186
- top: 0;
1187
- left: 0;
1188
- right: 0;
1189
- bottom: 100%;
1190
- overflow-y: scroll;
1191
- transition: bottom 0ms linear;
1192
- transition-delay: 0.2s;
1193
- }
1194
-
1195
- .Modal.show {
1196
- transition-delay: 0s;
1197
- bottom: 0;
1198
- }
1199
-
1200
- .Modal > .overlay {
1149
+ background-color: #323232;
1150
+ padding: 14px 24px 14px 24px;
1151
+ color: #fff;
1152
+ min-width: 288px;
1153
+ max-width: 568px;
1201
1154
  position: fixed;
1202
- top: 0;
1203
- bottom: 100%;
1204
- left: 0;
1205
- right: 0;
1206
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1207
- opacity: 0;
1208
- background-color: black;
1209
- pointer-events: none;
1210
- }
1211
-
1212
- .Modal > .overlay.show {
1213
- opacity: 0.5;
1214
- bottom: 0;
1215
- }
1216
-
1217
- .Modal > .content {
1155
+ bottom: -50px;
1218
1156
  left: 50%;
1219
- top: 10vh;
1220
- margin-bottom: 10vh;
1221
- font-size: 16px;
1222
- padding: 0;
1157
+ display: flex;
1158
+ flex-wrap: nowrap;
1159
+ align-items: center;
1223
1160
  opacity: 0;
1224
- transition: opacity 0.25s ease, transform 0.25s ease;
1225
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1226
- transform-origin: top;
1227
- position: absolute;
1228
- border-radius: 2px;
1229
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1161
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1162
+ border-radius: 4px;
1163
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1230
1164
  }
1231
1165
 
1232
- .Modal > .content.show {
1166
+ .Snackbar.shown {
1167
+ bottom: 15px;
1233
1168
  opacity: 1;
1234
- transform: scaleY(1) translateY(0px) translateX(-50%);
1235
1169
  }
1236
1170
 
1237
- .Modal > .content > .Scrollable {
1238
- overflow: visible;
1239
- max-height: 80vh;
1171
+ .Snackbar .message {
1172
+ overflow: hidden;
1173
+ line-height: 1.2em;
1174
+ min-height: 1.2em;
1175
+ max-height: 2.4em;
1176
+ flex: 1;
1240
1177
  }
1241
1178
 
1242
- .Modal > .content > .Scrollable > .viewport {
1243
- min-width: 10px;
1244
- min-height: 10px;
1179
+ .Snackbar .action {
1180
+ text-transform: uppercase;
1181
+ font-weight: bold;
1182
+ margin-left: 48px;
1183
+ color: #bf3727;
1245
1184
  }
1246
1185
 
1247
- .Modal > .content > .Button.close {
1248
- top: 10px;
1249
- right: 10px;
1250
- position: absolute;
1186
+ .Snackbar .action a {
1187
+ text-decoration: none;
1188
+ color: #bf3727;
1251
1189
  }
1252
1190
 
1253
1191
  .FormUploadProgress {
@@ -1319,179 +1257,83 @@
1319
1257
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1320
1258
  }
1321
1259
 
1322
- .Scrollable {
1323
- max-height: 250px;
1324
- max-width: 250px;
1325
- padding-right: 5px;
1326
- position: relative;
1327
- display: flex;
1328
- flex-flow: column;
1329
- align-items: stretch;
1260
+ .DialogModal {
1330
1261
  overflow: hidden;
1331
1262
  }
1332
1263
 
1333
- .Scrollable:hover > .scrollbar.auto {
1334
- transition-delay: 0s;
1335
- opacity: 1;
1336
- }
1337
-
1338
- .Scrollable .viewport {
1339
- overflow-y: scroll;
1340
- overflow-x: scroll;
1341
- max-height: 100%;
1342
- scrollbar-width: none;
1343
- }
1344
-
1345
- .Scrollable .viewport::-webkit-scrollbar {
1346
- display: none;
1347
- }
1348
-
1349
- .Scrollable.without-scroll-horizontal {
1350
- max-width: unset;
1351
- }
1352
-
1353
- .Scrollable.undefined-horizontal {
1354
- max-width: unset;
1355
- }
1356
-
1357
- .Scrollable.without-scroll {
1358
- padding-right: 0;
1359
- max-height: unset;
1360
- }
1361
-
1362
- .Scrollable.without-scroll > .viewport {
1363
- padding-right: 0;
1364
- margin-right: 0;
1365
- }
1366
-
1367
- .Scrollable.without-scroll > .scrollbar {
1368
- visibility: hidden;
1369
- }
1370
-
1371
- .Scrollable .scrollbar {
1372
- position: absolute;
1373
- right: 0px;
1374
- top: 0px;
1375
- width: 5px;
1376
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1377
- transition-delay: 0.5s;
1378
- z-index: 1;
1379
- }
1380
-
1381
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1382
- opacity: 0;
1383
- }
1384
-
1385
- .Scrollable .scrollbar .thumb {
1386
- background-color: rgba(0, 0, 0, 0.3);
1387
- width: 5px;
1388
- position: absolute;
1389
- right: 0px;
1390
- top: 0px;
1391
- user-select: none;
1392
- will-change: top;
1393
- border-radius: 2px;
1394
- }
1395
-
1396
- .Scrollable .scrollbar .thumb:hover {
1397
- background-color: rgba(0, 0, 0, 0.5);
1398
- }
1399
-
1400
- .Scrollable .scrollbar .thumb:active {
1401
- background-color: rgba(0, 0, 0, 0.7);
1402
- }
1403
-
1404
- .Scrollable .scrollbar.horizontal {
1405
- left: 0px;
1406
- right: 0px;
1407
- height: 5px;
1408
- bottom: 0;
1409
- width: unset;
1410
- top: unset;
1411
- }
1412
-
1413
- .Scrollable .scrollbar.horizontal .thumb {
1414
- height: 5px;
1415
- left: 0px;
1416
- bottom: 0px;
1417
- will-change: left;
1418
- }
1419
-
1420
- .Snackbar {
1421
- transform: translateX(-50%);
1422
- overflow: hidden;
1423
- background-color: #323232;
1424
- padding: 14px 24px 14px 24px;
1425
- color: #fff;
1426
- min-width: 288px;
1427
- max-width: 568px;
1428
- position: fixed;
1429
- bottom: -50px;
1430
- left: 50%;
1431
- display: flex;
1432
- flex-wrap: nowrap;
1433
- align-items: center;
1434
- opacity: 0;
1435
- transition: bottom 0.25s ease, opacity 0.2s ease;
1436
- border-radius: 4px;
1437
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1264
+ .DialogModal .content {
1265
+ top: 20vh;
1438
1266
  }
1439
1267
 
1440
- .Snackbar.shown {
1441
- bottom: 15px;
1442
- opacity: 1;
1268
+ .Dialog {
1269
+ background-color: white;
1270
+ min-width: 460px;
1271
+ max-width: 40vw;
1272
+ padding: 15px;
1443
1273
  }
1444
1274
 
1445
- .Snackbar .message {
1446
- overflow: hidden;
1447
- line-height: 1.2em;
1448
- min-height: 1.2em;
1449
- max-height: 2.4em;
1450
- flex: 1;
1275
+ .Dialog .title {
1276
+ margin-bottom: 15px;
1277
+ padding: 20px 50px 0px 30px;
1278
+ font-size: 1.25rem;
1279
+ line-height: 2rem;
1280
+ font-weight: 400;
1281
+ letter-spacing: 0.0125em;
1451
1282
  }
1452
1283
 
1453
- .Snackbar .action {
1454
- text-transform: uppercase;
1455
- font-weight: bold;
1456
- margin-left: 48px;
1457
- color: #bf3727;
1284
+ .Dialog .description {
1285
+ color: rgba(0, 0, 0, 0.54);
1286
+ font-size: 1rem;
1287
+ line-height: 1.5rem;
1288
+ font-weight: 400;
1289
+ letter-spacing: 0.03125em;
1290
+ margin-top: 20px;
1291
+ padding: 0 24px 24px;
1458
1292
  }
1459
1293
 
1460
- .Snackbar .action a {
1461
- text-decoration: none;
1462
- color: #bf3727;
1294
+ .Dialog > div.row {
1295
+ margin-bottom: 15px;
1463
1296
  }
1464
1297
 
1465
- .DNDContainer {
1466
- position: relative;
1298
+ .Dialog > div.row:last-child {
1299
+ margin-bottom: 0;
1467
1300
  }
1468
1301
 
1469
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1470
- cursor: pointer;
1302
+ .ModalMenu {
1303
+ position: absolute;
1304
+ top: 10px;
1305
+ right: 50px;
1471
1306
  }
1472
1307
 
1473
- .DNDContainer .Draggable.placeholder {
1474
- opacity: 0.2;
1308
+ .ModalMenu .material-icons {
1309
+ color: #818181;
1475
1310
  }
1476
1311
 
1477
- .DNDContainer .Draggable.copy {
1312
+ .ModalMenu .Button.animated {
1478
1313
  position: absolute;
1479
- box-sizing: border-box;
1480
- will-change: transform;
1314
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1481
1315
  opacity: 0;
1316
+ right: 0;
1317
+ top: 0;
1482
1318
  }
1483
1319
 
1484
- .DNDContainer .Draggable.dragged {
1485
- z-index: 10;
1320
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1321
+ opacity: 1;
1486
1322
  }
1487
1323
 
1488
- .DNDContainer .overlay {
1489
- position: absolute;
1490
- top: 0;
1491
- left: 0;
1492
- right: 0;
1493
- bottom: 0;
1494
- pointer-events: none;
1324
+ .ModalMenu .Button.animated.unmounting {
1325
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1326
+ }
1327
+
1328
+ .ModalMenu .Button.active {
1329
+ background: #EBEBEB;
1330
+ }
1331
+
1332
+ .ModalMenu .separator {
1333
+ height: 24px;
1334
+ width: 1px;
1335
+ background-color: #D9D9D9;
1336
+ margin-left: 4px;
1495
1337
  }
1496
1338
 
1497
1339
  .Switch {
@@ -1576,6 +1418,33 @@
1576
1418
  display: none;
1577
1419
  }
1578
1420
 
1421
+ .DropFileInput {
1422
+ flex-grow: 1;
1423
+ }
1424
+
1425
+ .DropFileInput .Dropzone {
1426
+ border: 1px dashed #808080;
1427
+ padding: 12px;
1428
+ display: flex;
1429
+ flex-flow: row nowrap;
1430
+ justify-content: center;
1431
+ align-items: center;
1432
+ color: gray;
1433
+ cursor: pointer;
1434
+ border-radius: 3px;
1435
+ font-weight: normal;
1436
+ line-height: 22px;
1437
+ font-size: 14px;
1438
+ color: #7E7E7E;
1439
+ max-width: 100%;
1440
+ word-break: break-all;
1441
+ word-break: break-word;
1442
+ }
1443
+
1444
+ .DropFileInput .Dropzone .icon.withText {
1445
+ margin-right: 10px;
1446
+ }
1447
+
1579
1448
  .SpinningProgress {
1580
1449
  width: 48px;
1581
1450
  height: 48px;
@@ -1629,163 +1498,74 @@
1629
1498
  stroke-dashoffset: -53px;
1630
1499
  }
1631
1500
  }
1632
- .Table {
1633
- font-family: Roboto, sans-serif;
1634
- font-size: 14px;
1635
- color: #1e252d;
1636
- border-spacing: 0;
1637
- border-collapse: collapse;
1638
- width: 100%;
1639
- position: relative;
1640
- }
1641
-
1642
- .Table td, .Table th {
1643
- padding: 5px;
1644
- font-weight: 500;
1645
- color: #2e2e2e;
1646
- }
1647
-
1648
- .Table td {
1649
- height: 48px;
1650
- border-bottom: 1px solid #ebebeb;
1651
- border-top: 1px solid #ebebeb;
1652
- }
1653
-
1654
- .Table td:first-child {
1655
- padding-left: 45px;
1656
- }
1657
-
1658
- .Table td:last-child {
1659
- padding-right: 45px;
1660
- }
1661
-
1662
- .Table th {
1663
- color: #808080;
1664
- height: 55px;
1665
- padding: 0px;
1666
- }
1667
-
1668
- .Table th .sortable {
1669
- cursor: pointer;
1670
- }
1671
-
1672
- .Table th .sortable.active {
1673
- font-weight: bold;
1674
- }
1675
-
1676
- .Table th .sortable.active .material-icons {
1677
- font-size: 16px;
1678
- }
1679
-
1680
- .Table th .sortable.false {
1681
- padding-right: 22px;
1682
- }
1683
-
1684
- .Table th:first-child .hidden, .Table th:first-child .fixed {
1685
- padding-left: 45px;
1686
- }
1687
-
1688
- .Table th:last-child .hidden, .Table th:last-child .fixed {
1689
- padding-right: 45px;
1690
- }
1691
-
1692
- .Table th .hidden {
1693
- color: transparent;
1694
- height: 0px;
1695
- padding: 5px;
1696
- }
1697
-
1698
- .Table th .fixed {
1699
- font-weight: normal;
1700
- display: flex;
1701
- flex-flow: row;
1702
- justify-items: center;
1703
- align-items: center;
1704
- text-align: left;
1705
- height: 56px;
1706
- padding: 0px 5px;
1707
- background-color: white;
1708
- position: absolute;
1709
- top: 0px;
1710
- z-index: 1;
1711
- box-sizing: border-box;
1712
- border-bottom: 1px solid #ebebeb;
1713
- border-top: 1px solid #ebebeb;
1714
- }
1715
-
1716
- .Table tbody tr:hover {
1717
- background-color: #f2f2f2;
1718
- }
1719
-
1720
- .Table tbody tr.disabled td {
1721
- color: #93a4b7;
1722
- }
1723
-
1724
- .Table .ro {
1725
- color: #47576a;
1726
- }
1727
-
1728
- .Table .editable {
1729
- cursor: pointer;
1730
- }
1731
-
1732
- .Table .editable > .TextField {
1733
- height: 20px !important;
1734
- margin: 0px;
1735
- position: relative;
1501
+ .Modal {
1736
1502
  display: block;
1503
+ position: fixed;
1504
+ top: 0;
1505
+ left: 0;
1506
+ right: 0;
1507
+ bottom: 100%;
1508
+ overflow-y: scroll;
1509
+ transition: bottom 0ms linear;
1510
+ transition-delay: 0.2s;
1737
1511
  }
1738
1512
 
1739
- .Table .editable > .TextField input {
1740
- width: 100%;
1741
- height: 20px;
1742
- padding: 0px;
1743
- background-color: rgb(240, 240, 240);
1744
- }
1745
-
1746
- .Table .editable > .AutocompleteSelect {
1747
- min-width: unset;
1748
- }
1749
-
1750
- .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1751
- margin: 0;
1513
+ .Modal.show {
1514
+ transition-delay: 0s;
1515
+ bottom: 0;
1752
1516
  }
1753
1517
 
1754
- .ModalMenu {
1755
- position: absolute;
1756
- top: 10px;
1757
- right: 50px;
1518
+ .Modal > .overlay {
1519
+ position: fixed;
1520
+ top: 0;
1521
+ bottom: 100%;
1522
+ left: 0;
1523
+ right: 0;
1524
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1525
+ opacity: 0;
1526
+ background-color: black;
1527
+ pointer-events: none;
1758
1528
  }
1759
1529
 
1760
- .ModalMenu .material-icons {
1761
- color: #818181;
1530
+ .Modal > .overlay.show {
1531
+ opacity: 0.5;
1532
+ bottom: 0;
1762
1533
  }
1763
1534
 
1764
- .ModalMenu .Button.animated {
1765
- position: absolute;
1766
- transition: opacity 150ms ease-in, right 200ms ease-in;
1535
+ .Modal > .content {
1536
+ left: 50%;
1537
+ top: 10vh;
1538
+ margin-bottom: 10vh;
1539
+ font-size: 16px;
1540
+ padding: 0;
1767
1541
  opacity: 0;
1768
- right: 0;
1769
- top: 0;
1542
+ transition: opacity 0.25s ease, transform 0.25s ease;
1543
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1544
+ transform-origin: top;
1545
+ position: absolute;
1546
+ border-radius: 2px;
1547
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1770
1548
  }
1771
1549
 
1772
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1550
+ .Modal > .content.show {
1773
1551
  opacity: 1;
1552
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1774
1553
  }
1775
1554
 
1776
- .ModalMenu .Button.animated.unmounting {
1777
- transition: opacity 100ms ease-out, right 200ms ease-out;
1555
+ .Modal > .content > .Scrollable {
1556
+ overflow: visible;
1557
+ max-height: 80vh;
1778
1558
  }
1779
1559
 
1780
- .ModalMenu .Button.active {
1781
- background: #EBEBEB;
1560
+ .Modal > .content > .Scrollable > .viewport {
1561
+ min-width: 10px;
1562
+ min-height: 10px;
1782
1563
  }
1783
1564
 
1784
- .ModalMenu .separator {
1785
- height: 24px;
1786
- width: 1px;
1787
- background-color: #D9D9D9;
1788
- margin-left: 4px;
1565
+ .Modal > .content > .Button.close {
1566
+ top: 10px;
1567
+ right: 10px;
1568
+ position: absolute;
1789
1569
  }
1790
1570
 
1791
1571
  .TextField {
@@ -1931,10 +1711,230 @@
1931
1711
  animation-name: shake;
1932
1712
  }
1933
1713
 
1714
+ .Scrollable {
1715
+ max-height: 250px;
1716
+ max-width: 250px;
1717
+ padding-right: 5px;
1718
+ position: relative;
1719
+ display: flex;
1720
+ flex-flow: column;
1721
+ align-items: stretch;
1722
+ overflow: hidden;
1723
+ }
1724
+
1725
+ .Scrollable:hover > .scrollbar.auto {
1726
+ transition-delay: 0s;
1727
+ opacity: 1;
1728
+ }
1729
+
1730
+ .Scrollable .viewport {
1731
+ overflow-y: scroll;
1732
+ overflow-x: scroll;
1733
+ max-height: 100%;
1734
+ scrollbar-width: none;
1735
+ }
1736
+
1737
+ .Scrollable .viewport::-webkit-scrollbar {
1738
+ display: none;
1739
+ }
1740
+
1741
+ .Scrollable.without-scroll-horizontal {
1742
+ max-width: unset;
1743
+ }
1744
+
1745
+ .Scrollable.undefined-horizontal {
1746
+ max-width: unset;
1747
+ }
1748
+
1749
+ .Scrollable.without-scroll {
1750
+ padding-right: 0;
1751
+ max-height: unset;
1752
+ }
1753
+
1754
+ .Scrollable.without-scroll > .viewport {
1755
+ padding-right: 0;
1756
+ margin-right: 0;
1757
+ }
1758
+
1759
+ .Scrollable.without-scroll > .scrollbar {
1760
+ visibility: hidden;
1761
+ }
1762
+
1763
+ .Scrollable .scrollbar {
1764
+ position: absolute;
1765
+ right: 0px;
1766
+ top: 0px;
1767
+ width: 5px;
1768
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1769
+ transition-delay: 0.5s;
1770
+ z-index: 1;
1771
+ }
1772
+
1773
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1774
+ opacity: 0;
1775
+ }
1776
+
1777
+ .Scrollable .scrollbar .thumb {
1778
+ background-color: rgba(0, 0, 0, 0.3);
1779
+ width: 5px;
1780
+ position: absolute;
1781
+ right: 0px;
1782
+ top: 0px;
1783
+ user-select: none;
1784
+ will-change: top;
1785
+ border-radius: 2px;
1786
+ }
1787
+
1788
+ .Scrollable .scrollbar .thumb:hover {
1789
+ background-color: rgba(0, 0, 0, 0.5);
1790
+ }
1791
+
1792
+ .Scrollable .scrollbar .thumb:active {
1793
+ background-color: rgba(0, 0, 0, 0.7);
1794
+ }
1795
+
1796
+ .Scrollable .scrollbar.horizontal {
1797
+ left: 0px;
1798
+ right: 0px;
1799
+ height: 5px;
1800
+ bottom: 0;
1801
+ width: unset;
1802
+ top: unset;
1803
+ }
1804
+
1805
+ .Scrollable .scrollbar.horizontal .thumb {
1806
+ height: 5px;
1807
+ left: 0px;
1808
+ bottom: 0px;
1809
+ will-change: left;
1810
+ }
1811
+
1934
1812
  .ScrollableTable .Scrollable .scrollbar {
1935
1813
  top: 56px;
1936
1814
  }
1937
1815
 
1938
1816
  .ScrollableTable .Table {
1939
1817
  position: static;
1818
+ }
1819
+
1820
+ .Table {
1821
+ font-family: Roboto, sans-serif;
1822
+ font-size: 14px;
1823
+ color: #1e252d;
1824
+ border-spacing: 0;
1825
+ border-collapse: collapse;
1826
+ width: 100%;
1827
+ position: relative;
1828
+ }
1829
+
1830
+ .Table td, .Table th {
1831
+ padding: 5px;
1832
+ font-weight: 500;
1833
+ color: #2e2e2e;
1834
+ }
1835
+
1836
+ .Table td {
1837
+ height: 48px;
1838
+ border-bottom: 1px solid #ebebeb;
1839
+ border-top: 1px solid #ebebeb;
1840
+ }
1841
+
1842
+ .Table td:first-child {
1843
+ padding-left: 45px;
1844
+ }
1845
+
1846
+ .Table td:last-child {
1847
+ padding-right: 45px;
1848
+ }
1849
+
1850
+ .Table th {
1851
+ color: #808080;
1852
+ height: 55px;
1853
+ padding: 0px;
1854
+ }
1855
+
1856
+ .Table th .sortable {
1857
+ cursor: pointer;
1858
+ }
1859
+
1860
+ .Table th .sortable.active {
1861
+ font-weight: bold;
1862
+ }
1863
+
1864
+ .Table th .sortable.active .material-icons {
1865
+ font-size: 16px;
1866
+ }
1867
+
1868
+ .Table th .sortable.false {
1869
+ padding-right: 22px;
1870
+ }
1871
+
1872
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1873
+ padding-left: 45px;
1874
+ }
1875
+
1876
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1877
+ padding-right: 45px;
1878
+ }
1879
+
1880
+ .Table th .hidden {
1881
+ color: transparent;
1882
+ height: 0px;
1883
+ padding: 5px;
1884
+ }
1885
+
1886
+ .Table th .fixed {
1887
+ font-weight: normal;
1888
+ display: flex;
1889
+ flex-flow: row;
1890
+ justify-items: center;
1891
+ align-items: center;
1892
+ text-align: left;
1893
+ height: 56px;
1894
+ padding: 0px 5px;
1895
+ background-color: white;
1896
+ position: absolute;
1897
+ top: 0px;
1898
+ z-index: 1;
1899
+ box-sizing: border-box;
1900
+ border-bottom: 1px solid #ebebeb;
1901
+ border-top: 1px solid #ebebeb;
1902
+ }
1903
+
1904
+ .Table tbody tr:hover {
1905
+ background-color: #f2f2f2;
1906
+ }
1907
+
1908
+ .Table tbody tr.disabled td {
1909
+ color: #93a4b7;
1910
+ }
1911
+
1912
+ .Table .ro {
1913
+ color: #47576a;
1914
+ }
1915
+
1916
+ .Table .editable {
1917
+ cursor: pointer;
1918
+ }
1919
+
1920
+ .Table .editable > .TextField {
1921
+ height: 20px !important;
1922
+ margin: 0px;
1923
+ position: relative;
1924
+ display: block;
1925
+ }
1926
+
1927
+ .Table .editable > .TextField input {
1928
+ width: 100%;
1929
+ height: 20px;
1930
+ padding: 0px;
1931
+ background-color: rgb(240, 240, 240);
1932
+ }
1933
+
1934
+ .Table .editable > .AutocompleteSelect {
1935
+ min-width: unset;
1936
+ }
1937
+
1938
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1939
+ margin: 0;
1940
1940
  }