react-ui-basics 0.0.248 → 0.0.249

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
@@ -546,6 +546,15 @@
546
546
  transition: transform 0.1s ease-in;
547
547
  }
548
548
 
549
+ .animated {
550
+ transition: opacity 250ms ease;
551
+ opacity: 0;
552
+ }
553
+
554
+ .animated.mounting, .animated.mounted {
555
+ opacity: 1;
556
+ }
557
+
549
558
  .Button {
550
559
  position: relative;
551
560
  min-width: 64px;
@@ -804,146 +813,121 @@
804
813
  background: rgba(0, 0, 0, 0.26);
805
814
  }
806
815
 
807
- .DialogModal {
816
+ .DatePicker {
817
+ position: relative;
818
+ }
819
+
820
+ .DatePicker > .TextField {
821
+ width: 200px;
822
+ margin-bottom: 0px;
823
+ }
824
+
825
+ .DatePicker > .TextField input {
826
+ text-align: center;
827
+ }
828
+
829
+ .calendar {
830
+ user-select: none;
831
+ position: absolute;
832
+ top: 33px;
833
+ z-index: 10;
834
+ box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
835
+ border-radius: 4px;
808
836
  overflow: hidden;
837
+ transition: 0.2s all ease;
838
+ opacity: 0;
839
+ visibility: hidden;
809
840
  }
810
841
 
811
- .DialogModal .content {
812
- top: 20vh;
842
+ .calendar.focused {
843
+ opacity: 1;
844
+ visibility: visible;
813
845
  }
814
846
 
815
- .Dialog {
816
- background-color: white;
817
- min-width: 460px;
818
- max-width: 40vw;
819
- padding: 15px;
847
+ .calendar .monthSelect {
848
+ align-items: center;
849
+ margin-bottom: 0;
850
+ background: white;
851
+ font-size: 12px;
852
+ color: rgb(170, 170, 170);
853
+ padding-right: 16px;
854
+ padding-left: 16px;
855
+ height: 40px;
820
856
  }
821
857
 
822
- .Dialog .title {
823
- margin-bottom: 15px;
824
- padding: 20px 50px 0px 30px;
825
- font-size: 1.25rem;
826
- line-height: 2rem;
827
- font-weight: 400;
828
- letter-spacing: 0.0125em;
858
+ .calendar .monthSelect span {
859
+ margin-right: auto;
829
860
  }
830
861
 
831
- .Dialog .description {
832
- color: rgba(0, 0, 0, 0.54);
833
- font-size: 1rem;
834
- line-height: 1.5rem;
835
- font-weight: 400;
836
- letter-spacing: 0.03125em;
837
- margin-top: 20px;
838
- padding: 0 24px 24px;
862
+ .calendar .monthSelect .Button {
863
+ min-width: 25px;
864
+ min-height: 25px;
839
865
  }
840
866
 
841
- .Dialog > div.row {
842
- margin-bottom: 15px;
867
+ .calendar .monthSelect .Button .material-icons {
868
+ font-size: 16px;
843
869
  }
844
870
 
845
- .Dialog > div.row:last-child {
846
- margin-bottom: 0;
871
+ .calendar .monthSelect .Button.disabled {
872
+ background: transparent;
847
873
  }
848
874
 
849
- .DropFileInput {
850
- flex-grow: 1;
875
+ .calendar .CalendarMonthView {
876
+ background: white;
851
877
  }
852
878
 
853
- .DropFileInput .Dropzone {
854
- border: 1px dashed #808080;
855
- padding: 12px;
856
- display: flex;
857
- flex-flow: row nowrap;
858
- justify-content: center;
859
- align-items: center;
860
- color: gray;
861
- cursor: pointer;
862
- border-radius: 3px;
863
- font-weight: normal;
864
- line-height: 22px;
865
- font-size: 14px;
866
- color: #7E7E7E;
867
- max-width: 100%;
868
- word-break: break-all;
869
- word-break: break-word;
879
+ .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
880
+ margin-bottom: 0;
870
881
  }
871
882
 
872
- .DropFileInput .Dropzone .icon.withText {
873
- margin-right: 10px;
883
+ .calendar .CalendarMonthView .header {
884
+ font-size: 12px;
885
+ font-weight: bold;
886
+ text-align: center;
887
+ text-transform: uppercase;
888
+ margin: 5px;
874
889
  }
875
890
 
876
- .Dropzone {
877
- position: relative;
891
+ .calendar .CalendarMonthView .day {
892
+ font-size: 10px;
878
893
  }
879
894
 
880
- .Dropzone > .overlay {
881
- position: absolute;
882
- left: 0;
883
- right: 0;
884
- top: 0;
885
- bottom: 0;
886
- background-color: #38ADC4;
887
- z-index: 1;
888
- opacity: 0;
889
- transition: all 0.2s ease;
890
- transition-delay: 100ms;
891
- visibility: hidden;
892
- display: flex;
893
- justify-content: center;
894
- align-items: center;
895
+ .calendar .CalendarMonthView .day.notSelectedMonth {
896
+ color: #969696;
895
897
  }
896
898
 
897
- .Dropzone > .overlay .drop {
898
- border-radius: 4px;
899
- border: 1px dashed #FFFFFF;
900
- position: absolute;
901
- top: 18px;
902
- left: 18px;
903
- right: 18px;
904
- bottom: 18px;
905
- display: flex;
899
+ .calendar .CalendarMonthView .day span {
900
+ display: inline-flex;
906
901
  justify-content: center;
907
902
  align-items: center;
908
- font-weight: 500;
909
- font-size: 18px;
910
- color: #FFFFFF;
903
+ border-radius: 50%;
904
+ width: 25px;
905
+ height: 25px;
906
+ margin: 5px;
907
+ transition: 0.2s all ease;
908
+ cursor: pointer;
911
909
  }
912
910
 
913
- .Dropzone.dragging > .overlay {
914
- opacity: 0.7;
915
- visibility: visible;
916
- transition-delay: 0s;
911
+ .calendar .CalendarMonthView .day span:hover {
912
+ background-color: #e6e6e6;
917
913
  }
918
914
 
919
- .Dropzone.dragging > * {
920
- pointer-events: none;
915
+ .calendar .CalendarMonthView .day span.inactive {
916
+ color: lightgray;
917
+ cursor: unset;
921
918
  }
922
919
 
923
- .Dropzone > input.file {
924
- position: absolute;
925
- left: 0;
926
- right: 0;
927
- top: 0;
928
- bottom: 0;
929
- width: 100%;
930
- height: 100%;
931
- opacity: 0;
932
- cursor: pointer;
933
- z-index: 1;
920
+ .calendar .CalendarMonthView .day span.inactive:hover {
921
+ background: unset;
934
922
  }
935
923
 
936
- .CircleProgress {
937
- width: 48px;
938
- height: 48px;
924
+ .calendar .CalendarMonthView .day span.selected {
925
+ color: white;
926
+ background-color: #2196F3;
939
927
  }
940
928
 
941
- .CircleProgress .line {
942
- stroke-width: 2px;
943
- stroke: black;
944
- stroke-linecap: square;
945
- fill: none;
946
- transition: stroke-dashoffset 0.2s ease;
929
+ .calendar .CalendarMonthView .day span.selected:hover {
930
+ background-color: #51adf6;
947
931
  }
948
932
 
949
933
  .DNDContainer {
@@ -978,6 +962,19 @@
978
962
  pointer-events: none;
979
963
  }
980
964
 
965
+ .CircleProgress {
966
+ width: 48px;
967
+ height: 48px;
968
+ }
969
+
970
+ .CircleProgress .line {
971
+ stroke-width: 2px;
972
+ stroke: black;
973
+ stroke-linecap: square;
974
+ fill: none;
975
+ transition: stroke-dashoffset 0.2s ease;
976
+ }
977
+
981
978
  .FilteredList {
982
979
  max-height: 250px;
983
980
  position: relative;
@@ -1062,288 +1059,194 @@
1062
1059
  margin-bottom: 8px;
1063
1060
  }
1064
1061
 
1065
- .Scrollable {
1066
- max-height: 250px;
1067
- max-width: 250px;
1068
- padding-right: 5px;
1069
- position: relative;
1070
- display: flex;
1071
- flex-flow: column;
1072
- align-items: stretch;
1062
+ .DialogModal {
1073
1063
  overflow: hidden;
1074
1064
  }
1075
1065
 
1076
- .Scrollable:hover > .scrollbar.auto {
1077
- transition-delay: 0s;
1078
- opacity: 1;
1066
+ .DialogModal .content {
1067
+ top: 20vh;
1079
1068
  }
1080
1069
 
1081
- .Scrollable .viewport {
1082
- overflow-y: scroll;
1083
- overflow-x: scroll;
1084
- max-height: 100%;
1085
- scrollbar-width: none;
1070
+ .Dialog {
1071
+ background-color: white;
1072
+ min-width: 460px;
1073
+ max-width: 40vw;
1074
+ padding: 15px;
1086
1075
  }
1087
1076
 
1088
- .Scrollable .viewport::-webkit-scrollbar {
1089
- display: none;
1077
+ .Dialog .title {
1078
+ margin-bottom: 15px;
1079
+ padding: 20px 50px 0px 30px;
1080
+ font-size: 1.25rem;
1081
+ line-height: 2rem;
1082
+ font-weight: 400;
1083
+ letter-spacing: 0.0125em;
1090
1084
  }
1091
1085
 
1092
- .Scrollable.without-scroll-horizontal {
1093
- max-width: unset;
1086
+ .Dialog .description {
1087
+ color: rgba(0, 0, 0, 0.54);
1088
+ font-size: 1rem;
1089
+ line-height: 1.5rem;
1090
+ font-weight: 400;
1091
+ letter-spacing: 0.03125em;
1092
+ margin-top: 20px;
1093
+ padding: 0 24px 24px;
1094
1094
  }
1095
1095
 
1096
- .Scrollable.undefined-horizontal {
1097
- max-width: unset;
1096
+ .Dialog > div.row {
1097
+ margin-bottom: 15px;
1098
1098
  }
1099
1099
 
1100
- .Scrollable.without-scroll {
1101
- padding-right: 0;
1102
- max-height: unset;
1100
+ .Dialog > div.row:last-child {
1101
+ margin-bottom: 0;
1103
1102
  }
1104
1103
 
1105
- .Scrollable.without-scroll > .viewport {
1106
- padding-right: 0;
1107
- margin-right: 0;
1108
- }
1109
-
1110
- .Scrollable.without-scroll > .scrollbar {
1111
- visibility: hidden;
1104
+ .Dropzone {
1105
+ position: relative;
1112
1106
  }
1113
1107
 
1114
- .Scrollable .scrollbar {
1108
+ .Dropzone > .overlay {
1115
1109
  position: absolute;
1116
- right: 0px;
1117
- top: 0px;
1118
- width: 5px;
1119
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1120
- transition-delay: 0.5s;
1110
+ left: 0;
1111
+ right: 0;
1112
+ top: 0;
1113
+ bottom: 0;
1114
+ background-color: #38ADC4;
1121
1115
  z-index: 1;
1122
- }
1123
-
1124
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1125
1116
  opacity: 0;
1117
+ transition: all 0.2s ease;
1118
+ transition-delay: 100ms;
1119
+ visibility: hidden;
1120
+ display: flex;
1121
+ justify-content: center;
1122
+ align-items: center;
1126
1123
  }
1127
1124
 
1128
- .Scrollable .scrollbar .thumb {
1129
- background-color: rgba(0, 0, 0, 0.3);
1130
- width: 5px;
1125
+ .Dropzone > .overlay .drop {
1126
+ border-radius: 4px;
1127
+ border: 1px dashed #FFFFFF;
1131
1128
  position: absolute;
1132
- right: 0px;
1133
- top: 0px;
1134
- user-select: none;
1135
- will-change: top;
1136
- border-radius: 2px;
1137
- }
1138
-
1139
- .Scrollable .scrollbar .thumb:hover {
1140
- background-color: rgba(0, 0, 0, 0.5);
1141
- }
1142
-
1143
- .Scrollable .scrollbar .thumb:active {
1144
- background-color: rgba(0, 0, 0, 0.7);
1129
+ top: 18px;
1130
+ left: 18px;
1131
+ right: 18px;
1132
+ bottom: 18px;
1133
+ display: flex;
1134
+ justify-content: center;
1135
+ align-items: center;
1136
+ font-weight: 500;
1137
+ font-size: 18px;
1138
+ color: #FFFFFF;
1145
1139
  }
1146
1140
 
1147
- .Scrollable .scrollbar.horizontal {
1148
- left: 0px;
1149
- right: 0px;
1150
- height: 5px;
1151
- bottom: 0;
1152
- width: unset;
1153
- top: unset;
1141
+ .Dropzone.dragging > .overlay {
1142
+ opacity: 0.7;
1143
+ visibility: visible;
1144
+ transition-delay: 0s;
1154
1145
  }
1155
1146
 
1156
- .Scrollable .scrollbar.horizontal .thumb {
1157
- height: 5px;
1158
- left: 0px;
1159
- bottom: 0px;
1160
- will-change: left;
1147
+ .Dropzone.dragging > * {
1148
+ pointer-events: none;
1161
1149
  }
1162
1150
 
1163
- .FormUploadProgress {
1151
+ .Dropzone > input.file {
1164
1152
  position: absolute;
1165
1153
  left: 0;
1166
1154
  right: 0;
1167
1155
  top: 0;
1168
1156
  bottom: 0;
1169
- background-color: rgba(255, 255, 255, 0.6);
1170
- z-index: 2;
1157
+ width: 100%;
1158
+ height: 100%;
1159
+ opacity: 0;
1160
+ cursor: pointer;
1161
+ z-index: 1;
1171
1162
  }
1172
1163
 
1173
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1174
- transition-delay: 500ms;
1164
+ .DropFileInput {
1165
+ flex-grow: 1;
1175
1166
  }
1176
1167
 
1177
- .FormUploadProgress .wrapper {
1178
- position: sticky;
1179
- top: 40%;
1180
- margin-top: 40%;
1181
- margin-left: 50%;
1182
- transform: translateX(-50%);
1168
+ .DropFileInput .Dropzone {
1169
+ border: 1px dashed #808080;
1170
+ padding: 12px;
1183
1171
  display: flex;
1184
- flex-flow: column;
1172
+ flex-flow: row nowrap;
1185
1173
  justify-content: center;
1186
1174
  align-items: center;
1175
+ color: gray;
1176
+ cursor: pointer;
1177
+ border-radius: 3px;
1178
+ font-weight: normal;
1179
+ line-height: 22px;
1180
+ font-size: 14px;
1181
+ color: #7E7E7E;
1182
+ max-width: 100%;
1183
+ word-break: break-all;
1184
+ word-break: break-word;
1187
1185
  }
1188
1186
 
1189
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1190
- position: absolute;
1191
- width: 107px;
1192
- height: 107px;
1193
- top: 0;
1194
- left: 0;
1195
- }
1196
-
1197
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1198
- stroke: #2196F3;
1187
+ .DropFileInput .Dropzone .icon.withText {
1188
+ margin-right: 10px;
1199
1189
  }
1200
1190
 
1201
- .FormUploadProgress .wrapper > .progress {
1202
- width: 107px;
1203
- height: 107px;
1204
- min-height: 107px;
1205
- display: flex;
1206
- justify-content: center;
1207
- align-items: center;
1208
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1209
- border-radius: 50%;
1210
- background: white;
1211
- position: relative;
1191
+ .ModalMenu {
1192
+ position: absolute;
1193
+ top: 10px;
1194
+ right: 50px;
1212
1195
  }
1213
1196
 
1214
- .FormUploadProgress .wrapper > .progress > .value {
1215
- display: inline-block;
1216
- margin-top: 5px;
1217
- font-weight: bold;
1218
- line-height: 16px;
1219
- font-size: 13px;
1220
- text-align: center;
1197
+ .ModalMenu .material-icons {
1221
1198
  color: #818181;
1222
1199
  }
1223
1200
 
1224
- .FormUploadProgress .wrapper .cancel {
1225
- min-width: 107px;
1226
- margin-top: 20px;
1227
- background-color: white;
1228
- color: #F96B5C;
1229
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1230
- }
1231
-
1232
- .DatePicker {
1233
- position: relative;
1234
- }
1235
-
1236
- .DatePicker > .TextField {
1237
- width: 200px;
1238
- margin-bottom: 0px;
1239
- }
1240
-
1241
- .DatePicker > .TextField input {
1242
- text-align: center;
1243
- }
1244
-
1245
- .calendar {
1246
- user-select: none;
1201
+ .ModalMenu .Button.animated {
1247
1202
  position: absolute;
1248
- top: 33px;
1249
- z-index: 10;
1250
- box-shadow: 0 4px 5px 0 rgba(0, 0, 0, 0.14), 0 1px 10px 0 rgba(0, 0, 0, 0.12), 0 2px 4px -1px rgba(0, 0, 0, 0.2);
1251
- border-radius: 4px;
1252
- overflow: hidden;
1253
- transition: 0.2s all ease;
1203
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1254
1204
  opacity: 0;
1255
- visibility: hidden;
1205
+ right: 0;
1206
+ top: 0;
1256
1207
  }
1257
1208
 
1258
- .calendar.focused {
1209
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1259
1210
  opacity: 1;
1260
- visibility: visible;
1261
- }
1262
-
1263
- .calendar .monthSelect {
1264
- align-items: center;
1265
- margin-bottom: 0;
1266
- background: white;
1267
- font-size: 12px;
1268
- color: rgb(170, 170, 170);
1269
- padding-right: 16px;
1270
- padding-left: 16px;
1271
- height: 40px;
1272
- }
1273
-
1274
- .calendar .monthSelect span {
1275
- margin-right: auto;
1276
- }
1277
-
1278
- .calendar .monthSelect .Button {
1279
- min-width: 25px;
1280
- min-height: 25px;
1281
- }
1282
-
1283
- .calendar .monthSelect .Button .material-icons {
1284
- font-size: 16px;
1285
- }
1286
-
1287
- .calendar .monthSelect .Button.disabled {
1288
- background: transparent;
1289
- }
1290
-
1291
- .calendar .CalendarMonthView {
1292
- background: white;
1293
- }
1294
-
1295
- .calendar .CalendarMonthView .headers, .calendar .CalendarMonthView .days {
1296
- margin-bottom: 0;
1297
- }
1298
-
1299
- .calendar .CalendarMonthView .header {
1300
- font-size: 12px;
1301
- font-weight: bold;
1302
- text-align: center;
1303
- text-transform: uppercase;
1304
- margin: 5px;
1305
1211
  }
1306
1212
 
1307
- .calendar .CalendarMonthView .day {
1308
- font-size: 10px;
1309
- }
1310
-
1311
- .calendar .CalendarMonthView .day.notSelectedMonth {
1312
- color: #969696;
1213
+ .ModalMenu .Button.animated.unmounting {
1214
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1313
1215
  }
1314
1216
 
1315
- .calendar .CalendarMonthView .day span {
1316
- display: inline-flex;
1317
- justify-content: center;
1318
- align-items: center;
1319
- border-radius: 50%;
1320
- width: 25px;
1321
- height: 25px;
1322
- margin: 5px;
1323
- transition: 0.2s all ease;
1324
- cursor: pointer;
1217
+ .ModalMenu .Button.active {
1218
+ background: #EBEBEB;
1325
1219
  }
1326
1220
 
1327
- .calendar .CalendarMonthView .day span:hover {
1328
- background-color: #e6e6e6;
1221
+ .ModalMenu .separator {
1222
+ height: 24px;
1223
+ width: 1px;
1224
+ background-color: #D9D9D9;
1225
+ margin-left: 4px;
1329
1226
  }
1330
1227
 
1331
- .calendar .CalendarMonthView .day span.inactive {
1332
- color: lightgray;
1333
- cursor: unset;
1228
+ .Button.FloatingActionButton {
1229
+ position: absolute;
1230
+ right: 16px;
1231
+ bottom: 16px;
1232
+ width: 56px;
1233
+ height: 56px;
1234
+ padding: 16px;
1235
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1334
1236
  }
1335
1237
 
1336
- .calendar .CalendarMonthView .day span.inactive:hover {
1337
- background: unset;
1238
+ .Button.FloatingActionButton.raised {
1239
+ 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);
1338
1240
  }
1339
1241
 
1340
- .calendar .CalendarMonthView .day span.selected {
1341
- color: white;
1342
- background-color: #2196F3;
1242
+ .Button.FloatingActionButton.mini {
1243
+ width: 40px;
1244
+ height: 40px;
1245
+ padding: 8px;
1343
1246
  }
1344
1247
 
1345
- .calendar .CalendarMonthView .day span.selected:hover {
1346
- background-color: #51adf6;
1248
+ .Button.FloatingActionButton.hidden {
1249
+ bottom: -100px;
1347
1250
  }
1348
1251
 
1349
1252
  .Modal {
@@ -1405,152 +1308,17 @@
1405
1308
  max-height: 80vh;
1406
1309
  }
1407
1310
 
1408
- .Modal > .content > .Scrollable > .viewport {
1409
- min-width: 10px;
1410
- min-height: 10px;
1411
- }
1412
-
1413
- .Modal > .content > .Button.close {
1414
- top: 10px;
1415
- right: 10px;
1416
- position: absolute;
1417
- }
1418
-
1419
- .Switch {
1420
- display: inline-flex;
1421
- padding-top: 5px;
1422
- }
1423
-
1424
- .Switch .switch-input {
1425
- display: none;
1426
- }
1427
-
1428
- .Switch .switch-label {
1429
- position: relative;
1430
- display: inline-flex;
1431
- align-items: center;
1432
- min-width: 38px;
1433
- height: 24px;
1434
- cursor: pointer;
1435
- font-weight: 500;
1436
- text-align: left;
1437
- user-select: none;
1438
- margin: 0;
1439
- padding: 0;
1440
- padding-left: 44px;
1441
- box-sizing: border-box;
1442
- }
1443
-
1444
- .Switch .switch-label:before, .Switch .switch-label:after {
1445
- content: "";
1446
- box-sizing: border-box;
1447
- position: absolute;
1448
- margin: 0;
1449
- outline: 0;
1450
- top: 50%;
1451
- transform: translate(0, -50%);
1452
- transition: all 0.3s ease;
1453
- }
1454
-
1455
- .Switch .switch-label:before {
1456
- left: 1px;
1457
- width: 34px;
1458
- height: 14px;
1459
- background-color: #9E9E9E;
1460
- border-radius: 8px;
1461
- }
1462
-
1463
- .Switch .switch-label:after {
1464
- left: 0;
1465
- width: 20px;
1466
- height: 20px;
1467
- background-color: #FAFAFA;
1468
- border-radius: 50%;
1469
- 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);
1470
- }
1471
-
1472
- .Switch .switch-label .toggle--on {
1473
- display: none;
1474
- }
1475
-
1476
- .Switch .switch-label .toggle--off {
1477
- display: inline-block;
1478
- }
1479
-
1480
- .Switch .switch-label .label {
1481
- margin-right: 5px;
1482
- }
1483
-
1484
- .Switch .switch-input:checked + .switch-label:before {
1485
- background-color: #A5D6A7;
1486
- }
1487
-
1488
- .Switch .switch-input:checked + .switch-label:after {
1489
- background-color: #4CAF50;
1490
- transform: translate(80%, -50%);
1491
- }
1492
-
1493
- .Switch .switch-input:checked + .switch-label .toggle--on {
1494
- display: inline-block;
1495
- }
1496
-
1497
- .Switch .switch-input:checked + .switch-label .toggle--off {
1498
- display: none;
1499
- }
1500
-
1501
- .SpinningProgress {
1502
- width: 48px;
1503
- height: 48px;
1504
- position: relative;
1505
- margin: 0 auto;
1506
- }
1507
-
1508
- .SpinningProgress:before {
1509
- content: "";
1510
- display: block;
1511
- padding-top: 100%;
1512
- }
1513
-
1514
- .SpinningProgress .circular {
1515
- animation: rotate 2s linear infinite;
1516
- height: 100%;
1517
- transform-origin: center center;
1518
- width: 100%;
1519
- position: absolute;
1520
- top: 0;
1521
- bottom: 0;
1522
- left: 0;
1523
- right: 0;
1524
- margin: auto;
1525
- }
1526
-
1527
- .SpinningProgress .line {
1528
- stroke: black;
1529
- stroke-width: 2px;
1530
- stroke-dasharray: 1, 96;
1531
- stroke-dashoffset: 0;
1532
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1311
+ .Modal > .content > .Scrollable > .viewport {
1312
+ min-width: 10px;
1313
+ min-height: 10px;
1533
1314
  }
1534
1315
 
1535
- @keyframes rotate {
1536
- 100% {
1537
- transform: rotate(360deg);
1538
- }
1539
- }
1540
- @keyframes dash {
1541
- 0% {
1542
- stroke-dasharray: 1, 96;
1543
- stroke-dashoffset: 0;
1544
- }
1545
- 50% {
1546
- stroke-dasharray: 43, 96;
1547
- stroke-dashoffset: -17px;
1548
- }
1549
- 100% {
1550
- stroke-dasharray: 43, 96;
1551
- stroke-dashoffset: -53px;
1552
- }
1316
+ .Modal > .content > .Button.close {
1317
+ top: 10px;
1318
+ right: 10px;
1319
+ position: absolute;
1553
1320
  }
1321
+
1554
1322
  .Snackbar {
1555
1323
  transform: translateX(-50%);
1556
1324
  overflow: hidden;
@@ -1596,187 +1364,306 @@
1596
1364
  color: #bf3727;
1597
1365
  }
1598
1366
 
1599
- .ModalMenu {
1367
+ .FormUploadProgress {
1600
1368
  position: absolute;
1601
- top: 10px;
1602
- right: 50px;
1369
+ left: 0;
1370
+ right: 0;
1371
+ top: 0;
1372
+ bottom: 0;
1373
+ background-color: rgba(255, 255, 255, 0.6);
1374
+ z-index: 2;
1603
1375
  }
1604
1376
 
1605
- .ModalMenu .material-icons {
1606
- color: #818181;
1377
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1378
+ transition-delay: 500ms;
1607
1379
  }
1608
1380
 
1609
- .ModalMenu .Button.animated {
1381
+ .FormUploadProgress .wrapper {
1382
+ position: sticky;
1383
+ top: 40%;
1384
+ margin-top: 40%;
1385
+ margin-left: 50%;
1386
+ transform: translateX(-50%);
1387
+ display: flex;
1388
+ flex-flow: column;
1389
+ justify-content: center;
1390
+ align-items: center;
1391
+ }
1392
+
1393
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1610
1394
  position: absolute;
1611
- transition: opacity 150ms ease-in, right 200ms ease-in;
1612
- opacity: 0;
1613
- right: 0;
1395
+ width: 107px;
1396
+ height: 107px;
1614
1397
  top: 0;
1398
+ left: 0;
1615
1399
  }
1616
1400
 
1617
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1618
- opacity: 1;
1401
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1402
+ stroke: #2196F3;
1619
1403
  }
1620
1404
 
1621
- .ModalMenu .Button.animated.unmounting {
1622
- transition: opacity 100ms ease-out, right 200ms ease-out;
1405
+ .FormUploadProgress .wrapper > .progress {
1406
+ width: 107px;
1407
+ height: 107px;
1408
+ min-height: 107px;
1409
+ display: flex;
1410
+ justify-content: center;
1411
+ align-items: center;
1412
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1413
+ border-radius: 50%;
1414
+ background: white;
1415
+ position: relative;
1623
1416
  }
1624
1417
 
1625
- .ModalMenu .Button.active {
1626
- background: #EBEBEB;
1418
+ .FormUploadProgress .wrapper > .progress > .value {
1419
+ display: inline-block;
1420
+ margin-top: 5px;
1421
+ font-weight: bold;
1422
+ line-height: 16px;
1423
+ font-size: 13px;
1424
+ text-align: center;
1425
+ color: #818181;
1627
1426
  }
1628
1427
 
1629
- .ModalMenu .separator {
1630
- height: 24px;
1631
- width: 1px;
1632
- background-color: #D9D9D9;
1633
- margin-left: 4px;
1428
+ .FormUploadProgress .wrapper .cancel {
1429
+ min-width: 107px;
1430
+ margin-top: 20px;
1431
+ background-color: white;
1432
+ color: #F96B5C;
1433
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1634
1434
  }
1635
1435
 
1636
- .Table {
1637
- font-family: Roboto, sans-serif;
1638
- font-size: 14px;
1639
- color: #1e252d;
1640
- border-spacing: 0;
1641
- border-collapse: collapse;
1642
- width: 100%;
1436
+ .Scrollable {
1437
+ max-height: 250px;
1438
+ max-width: 250px;
1439
+ padding-right: 5px;
1643
1440
  position: relative;
1441
+ display: flex;
1442
+ flex-flow: column;
1443
+ align-items: stretch;
1444
+ overflow: hidden;
1644
1445
  }
1645
1446
 
1646
- .Table td, .Table th {
1647
- padding: 5px;
1648
- font-weight: 500;
1649
- color: #2e2e2e;
1447
+ .Scrollable:hover > .scrollbar.auto {
1448
+ transition-delay: 0s;
1449
+ opacity: 1;
1650
1450
  }
1651
1451
 
1652
- .Table td {
1653
- height: 48px;
1654
- border-bottom: 1px solid #ebebeb;
1655
- border-top: 1px solid #ebebeb;
1452
+ .Scrollable .viewport {
1453
+ overflow-y: scroll;
1454
+ overflow-x: scroll;
1455
+ max-height: 100%;
1456
+ scrollbar-width: none;
1656
1457
  }
1657
1458
 
1658
- .Table td:first-child {
1659
- padding-left: 45px;
1459
+ .Scrollable .viewport::-webkit-scrollbar {
1460
+ display: none;
1660
1461
  }
1661
1462
 
1662
- .Table td:last-child {
1663
- padding-right: 45px;
1463
+ .Scrollable.without-scroll-horizontal {
1464
+ max-width: unset;
1664
1465
  }
1665
1466
 
1666
- .Table th {
1667
- color: #808080;
1668
- height: 55px;
1669
- padding: 0px;
1467
+ .Scrollable.undefined-horizontal {
1468
+ max-width: unset;
1670
1469
  }
1671
1470
 
1672
- .Table th .sortable {
1673
- cursor: pointer;
1471
+ .Scrollable.without-scroll {
1472
+ padding-right: 0;
1473
+ max-height: unset;
1674
1474
  }
1675
1475
 
1676
- .Table th .sortable.active {
1677
- font-weight: bold;
1476
+ .Scrollable.without-scroll > .viewport {
1477
+ padding-right: 0;
1478
+ margin-right: 0;
1678
1479
  }
1679
1480
 
1680
- .Table th .sortable.active .material-icons {
1681
- font-size: 16px;
1481
+ .Scrollable.without-scroll > .scrollbar {
1482
+ visibility: hidden;
1682
1483
  }
1683
1484
 
1684
- .Table th .sortable.false {
1685
- padding-right: 22px;
1485
+ .Scrollable .scrollbar {
1486
+ position: absolute;
1487
+ right: 0px;
1488
+ top: 0px;
1489
+ width: 5px;
1490
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1491
+ transition-delay: 0.5s;
1492
+ z-index: 1;
1686
1493
  }
1687
1494
 
1688
- .Table th:first-child .hidden, .Table th:first-child .fixed {
1689
- padding-left: 45px;
1495
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1496
+ opacity: 0;
1497
+ }
1498
+
1499
+ .Scrollable .scrollbar .thumb {
1500
+ background-color: rgba(0, 0, 0, 0.3);
1501
+ width: 5px;
1502
+ position: absolute;
1503
+ right: 0px;
1504
+ top: 0px;
1505
+ user-select: none;
1506
+ will-change: top;
1507
+ border-radius: 2px;
1508
+ }
1509
+
1510
+ .Scrollable .scrollbar .thumb:hover {
1511
+ background-color: rgba(0, 0, 0, 0.5);
1512
+ }
1513
+
1514
+ .Scrollable .scrollbar .thumb:active {
1515
+ background-color: rgba(0, 0, 0, 0.7);
1516
+ }
1517
+
1518
+ .Scrollable .scrollbar.horizontal {
1519
+ left: 0px;
1520
+ right: 0px;
1521
+ height: 5px;
1522
+ bottom: 0;
1523
+ width: unset;
1524
+ top: unset;
1525
+ }
1526
+
1527
+ .Scrollable .scrollbar.horizontal .thumb {
1528
+ height: 5px;
1529
+ left: 0px;
1530
+ bottom: 0px;
1531
+ will-change: left;
1532
+ }
1533
+
1534
+ .SpinningProgress {
1535
+ width: 48px;
1536
+ height: 48px;
1537
+ position: relative;
1538
+ margin: 0 auto;
1539
+ }
1540
+
1541
+ .SpinningProgress:before {
1542
+ content: "";
1543
+ display: block;
1544
+ padding-top: 100%;
1545
+ }
1546
+
1547
+ .SpinningProgress .circular {
1548
+ animation: rotate 2s linear infinite;
1549
+ height: 100%;
1550
+ transform-origin: center center;
1551
+ width: 100%;
1552
+ position: absolute;
1553
+ top: 0;
1554
+ bottom: 0;
1555
+ left: 0;
1556
+ right: 0;
1557
+ margin: auto;
1558
+ }
1559
+
1560
+ .SpinningProgress .line {
1561
+ stroke: black;
1562
+ stroke-width: 2px;
1563
+ stroke-dasharray: 1, 96;
1564
+ stroke-dashoffset: 0;
1565
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1566
+ }
1567
+
1568
+ @keyframes rotate {
1569
+ 100% {
1570
+ transform: rotate(360deg);
1571
+ }
1572
+ }
1573
+ @keyframes dash {
1574
+ 0% {
1575
+ stroke-dasharray: 1, 96;
1576
+ stroke-dashoffset: 0;
1577
+ }
1578
+ 50% {
1579
+ stroke-dasharray: 43, 96;
1580
+ stroke-dashoffset: -17px;
1581
+ }
1582
+ 100% {
1583
+ stroke-dasharray: 43, 96;
1584
+ stroke-dashoffset: -53px;
1585
+ }
1690
1586
  }
1691
-
1692
- .Table th:last-child .hidden, .Table th:last-child .fixed {
1693
- padding-right: 45px;
1587
+ .Switch {
1588
+ display: inline-flex;
1589
+ padding-top: 5px;
1694
1590
  }
1695
1591
 
1696
- .Table th .hidden {
1697
- color: transparent;
1698
- height: 0px;
1699
- padding: 5px;
1592
+ .Switch .switch-input {
1593
+ display: none;
1700
1594
  }
1701
1595
 
1702
- .Table th .fixed {
1703
- font-weight: normal;
1704
- display: flex;
1705
- flex-flow: row;
1706
- justify-items: center;
1596
+ .Switch .switch-label {
1597
+ position: relative;
1598
+ display: inline-flex;
1707
1599
  align-items: center;
1600
+ min-width: 38px;
1601
+ height: 24px;
1602
+ cursor: pointer;
1603
+ font-weight: 500;
1708
1604
  text-align: left;
1709
- height: 56px;
1710
- padding: 0px 5px;
1711
- background-color: white;
1712
- position: absolute;
1713
- top: 0px;
1714
- z-index: 1;
1605
+ user-select: none;
1606
+ margin: 0;
1607
+ padding: 0;
1608
+ padding-left: 44px;
1715
1609
  box-sizing: border-box;
1716
- border-bottom: 1px solid #ebebeb;
1717
- border-top: 1px solid #ebebeb;
1718
- }
1719
-
1720
- .Table tbody tr:hover {
1721
- background-color: #f2f2f2;
1722
- }
1723
-
1724
- .Table tbody tr.disabled td {
1725
- color: #93a4b7;
1726
1610
  }
1727
1611
 
1728
- .Table .ro {
1729
- color: #47576a;
1612
+ .Switch .switch-label:before, .Switch .switch-label:after {
1613
+ content: "";
1614
+ box-sizing: border-box;
1615
+ position: absolute;
1616
+ margin: 0;
1617
+ outline: 0;
1618
+ top: 50%;
1619
+ transform: translate(0, -50%);
1620
+ transition: all 0.3s ease;
1730
1621
  }
1731
1622
 
1732
- .Table .editable {
1733
- cursor: pointer;
1623
+ .Switch .switch-label:before {
1624
+ left: 1px;
1625
+ width: 34px;
1626
+ height: 14px;
1627
+ background-color: #9E9E9E;
1628
+ border-radius: 8px;
1734
1629
  }
1735
1630
 
1736
- .Table .editable > .TextField {
1737
- height: 20px !important;
1738
- margin: 0px;
1739
- position: relative;
1740
- display: block;
1631
+ .Switch .switch-label:after {
1632
+ left: 0;
1633
+ width: 20px;
1634
+ height: 20px;
1635
+ background-color: #FAFAFA;
1636
+ border-radius: 50%;
1637
+ 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);
1741
1638
  }
1742
1639
 
1743
- .Table .editable > .TextField input {
1744
- width: 100%;
1745
- height: 20px;
1746
- padding: 0px;
1747
- background-color: rgb(240, 240, 240);
1640
+ .Switch .switch-label .toggle--on {
1641
+ display: none;
1748
1642
  }
1749
1643
 
1750
- .Table .editable > .AutocompleteSelect {
1751
- min-width: unset;
1644
+ .Switch .switch-label .toggle--off {
1645
+ display: inline-block;
1752
1646
  }
1753
1647
 
1754
- .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1755
- margin: 0;
1648
+ .Switch .switch-label .label {
1649
+ margin-right: 5px;
1756
1650
  }
1757
1651
 
1758
- .Button.FloatingActionButton {
1759
- position: absolute;
1760
- right: 16px;
1761
- bottom: 16px;
1762
- width: 56px;
1763
- height: 56px;
1764
- padding: 16px;
1765
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1652
+ .Switch .switch-input:checked + .switch-label:before {
1653
+ background-color: #A5D6A7;
1766
1654
  }
1767
1655
 
1768
- .Button.FloatingActionButton.raised {
1769
- 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);
1656
+ .Switch .switch-input:checked + .switch-label:after {
1657
+ background-color: #4CAF50;
1658
+ transform: translate(80%, -50%);
1770
1659
  }
1771
1660
 
1772
- .Button.FloatingActionButton.mini {
1773
- width: 40px;
1774
- height: 40px;
1775
- padding: 8px;
1661
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1662
+ display: inline-block;
1776
1663
  }
1777
1664
 
1778
- .Button.FloatingActionButton.hidden {
1779
- bottom: -100px;
1665
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1666
+ display: none;
1780
1667
  }
1781
1668
 
1782
1669
  .TextField {
@@ -1922,19 +1809,132 @@
1922
1809
  animation-name: shake;
1923
1810
  }
1924
1811
 
1925
- .ScrollableTable .Scrollable .scrollbar {
1926
- top: 56px;
1812
+ .Table {
1813
+ font-family: Roboto, sans-serif;
1814
+ font-size: 14px;
1815
+ color: #1e252d;
1816
+ border-spacing: 0;
1817
+ border-collapse: collapse;
1818
+ width: 100%;
1819
+ position: relative;
1927
1820
  }
1928
1821
 
1929
- .ScrollableTable .Table {
1930
- position: static;
1822
+ .Table td, .Table th {
1823
+ padding: 5px;
1824
+ font-weight: 500;
1825
+ color: #2e2e2e;
1931
1826
  }
1932
1827
 
1933
- .animated {
1934
- transition: opacity 250ms ease;
1935
- opacity: 0;
1828
+ .Table td {
1829
+ height: 48px;
1830
+ border-bottom: 1px solid #ebebeb;
1831
+ border-top: 1px solid #ebebeb;
1936
1832
  }
1937
1833
 
1938
- .animated.mounting, .animated.mounted {
1939
- opacity: 1;
1834
+ .Table td:first-child {
1835
+ padding-left: 45px;
1836
+ }
1837
+
1838
+ .Table td:last-child {
1839
+ padding-right: 45px;
1840
+ }
1841
+
1842
+ .Table th {
1843
+ color: #808080;
1844
+ height: 55px;
1845
+ padding: 0px;
1846
+ }
1847
+
1848
+ .Table th .sortable {
1849
+ cursor: pointer;
1850
+ }
1851
+
1852
+ .Table th .sortable.active {
1853
+ font-weight: bold;
1854
+ }
1855
+
1856
+ .Table th .sortable.active .material-icons {
1857
+ font-size: 16px;
1858
+ }
1859
+
1860
+ .Table th .sortable.false {
1861
+ padding-right: 22px;
1862
+ }
1863
+
1864
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1865
+ padding-left: 45px;
1866
+ }
1867
+
1868
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1869
+ padding-right: 45px;
1870
+ }
1871
+
1872
+ .Table th .hidden {
1873
+ color: transparent;
1874
+ height: 0px;
1875
+ padding: 5px;
1876
+ }
1877
+
1878
+ .Table th .fixed {
1879
+ font-weight: normal;
1880
+ display: flex;
1881
+ flex-flow: row;
1882
+ justify-items: center;
1883
+ align-items: center;
1884
+ text-align: left;
1885
+ height: 56px;
1886
+ padding: 0px 5px;
1887
+ background-color: white;
1888
+ position: absolute;
1889
+ top: 0px;
1890
+ z-index: 1;
1891
+ box-sizing: border-box;
1892
+ border-bottom: 1px solid #ebebeb;
1893
+ border-top: 1px solid #ebebeb;
1894
+ }
1895
+
1896
+ .Table tbody tr:hover {
1897
+ background-color: #f2f2f2;
1898
+ }
1899
+
1900
+ .Table tbody tr.disabled td {
1901
+ color: #93a4b7;
1902
+ }
1903
+
1904
+ .Table .ro {
1905
+ color: #47576a;
1906
+ }
1907
+
1908
+ .Table .editable {
1909
+ cursor: pointer;
1910
+ }
1911
+
1912
+ .Table .editable > .TextField {
1913
+ height: 20px !important;
1914
+ margin: 0px;
1915
+ position: relative;
1916
+ display: block;
1917
+ }
1918
+
1919
+ .Table .editable > .TextField input {
1920
+ width: 100%;
1921
+ height: 20px;
1922
+ padding: 0px;
1923
+ background-color: rgb(240, 240, 240);
1924
+ }
1925
+
1926
+ .Table .editable > .AutocompleteSelect {
1927
+ min-width: unset;
1928
+ }
1929
+
1930
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1931
+ margin: 0;
1932
+ }
1933
+
1934
+ .ScrollableTable .Scrollable .scrollbar {
1935
+ top: 56px;
1936
+ }
1937
+
1938
+ .ScrollableTable .Table {
1939
+ position: static;
1940
1940
  }