react-ui-basics 0.0.236 → 0.0.237

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
@@ -302,24 +302,6 @@
302
302
  opacity: 1;
303
303
  }
304
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
-
323
305
  .ImageGallery {
324
306
  position: fixed;
325
307
  top: 0;
@@ -555,6 +537,133 @@
555
537
  font-size: 24px;
556
538
  }
557
539
 
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
+ .Checkbox {
559
+ position: relative;
560
+ white-space: pre;
561
+ }
562
+
563
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
564
+ box-sizing: border-box;
565
+ }
566
+
567
+ .Checkbox label {
568
+ font-family: Roboto, sans-serif;
569
+ font-size: 14px;
570
+ color: #1e252d;
571
+ cursor: pointer;
572
+ }
573
+
574
+ .Checkbox label:before, .Checkbox label:after {
575
+ content: "";
576
+ position: absolute;
577
+ left: 0;
578
+ top: 0;
579
+ }
580
+
581
+ .Checkbox label:before {
582
+ width: 20px;
583
+ height: 20px;
584
+ background: #fff;
585
+ border: 2px solid #252525;
586
+ border-radius: 2px;
587
+ cursor: pointer;
588
+ transition: background 0.3s;
589
+ }
590
+
591
+ .Checkbox input[type=checkbox] {
592
+ outline: 0;
593
+ margin-right: 10px;
594
+ visibility: hidden;
595
+ }
596
+
597
+ .Checkbox input[type=checkbox]:checked + label:before {
598
+ background: #4AC263;
599
+ border: none;
600
+ }
601
+
602
+ .Checkbox input[type=checkbox]:checked + label:after {
603
+ transform: rotate(-45deg);
604
+ top: 6px;
605
+ left: 4px;
606
+ width: 12px;
607
+ height: 6px;
608
+ border: 2px solid #fff;
609
+ border-top-style: none;
610
+ border-right-style: none;
611
+ }
612
+
613
+ .Checkbox input[type=checkbox]:disabled + label {
614
+ color: gray;
615
+ }
616
+
617
+ .Checkbox input[type=checkbox]:disabled + label:before {
618
+ border-color: rgba(0, 0, 0, 0.26);
619
+ }
620
+
621
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
622
+ background: rgba(0, 0, 0, 0.26);
623
+ }
624
+
625
+ .DialogModal {
626
+ overflow: hidden;
627
+ }
628
+
629
+ .DialogModal .content {
630
+ top: 20vh;
631
+ }
632
+
633
+ .Dialog {
634
+ background-color: white;
635
+ min-width: 460px;
636
+ max-width: 40vw;
637
+ padding: 15px;
638
+ }
639
+
640
+ .Dialog .title {
641
+ margin-bottom: 15px;
642
+ padding: 20px 50px 0px 30px;
643
+ font-size: 1.25rem;
644
+ line-height: 2rem;
645
+ font-weight: 400;
646
+ letter-spacing: 0.0125em;
647
+ }
648
+
649
+ .Dialog .description {
650
+ color: rgba(0, 0, 0, 0.54);
651
+ font-size: 1rem;
652
+ line-height: 1.5rem;
653
+ font-weight: 400;
654
+ letter-spacing: 0.03125em;
655
+ margin-top: 20px;
656
+ padding: 0 24px 24px;
657
+ }
658
+
659
+ .Dialog > div.row {
660
+ margin-bottom: 15px;
661
+ }
662
+
663
+ .Dialog > div.row:last-child {
664
+ margin-bottom: 0;
665
+ }
666
+
558
667
  .Button {
559
668
  position: relative;
560
669
  min-width: 64px;
@@ -721,71 +830,66 @@
721
830
  border: 0;
722
831
  }
723
832
 
724
- .Checkbox {
725
- position: relative;
726
- white-space: pre;
833
+ .CircleProgress {
834
+ width: 48px;
835
+ height: 48px;
727
836
  }
728
837
 
729
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
730
- box-sizing: border-box;
838
+ .CircleProgress .line {
839
+ stroke-width: 2px;
840
+ stroke: black;
841
+ stroke-linecap: square;
842
+ fill: none;
843
+ transition: stroke-dashoffset 0.2s ease;
731
844
  }
732
845
 
733
- .Checkbox label {
734
- font-family: Roboto, sans-serif;
735
- font-size: 14px;
736
- color: #1e252d;
737
- cursor: pointer;
846
+ .CalendarMonthView {
847
+ display: flex;
848
+ flex-flow: column nowrap;
849
+ height: 100%;
738
850
  }
739
851
 
740
- .Checkbox label:before, .Checkbox label:after {
741
- content: "";
742
- position: absolute;
743
- left: 0;
744
- top: 0;
852
+ .CalendarMonthView > .row {
853
+ display: flex;
854
+ flex-flow: row nowrap;
745
855
  }
746
856
 
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;
857
+ .CalendarMonthView .days {
858
+ flex-grow: 1;
859
+ position: relative;
755
860
  }
756
861
 
757
- .Checkbox input[type=checkbox] {
758
- outline: 0;
759
- margin-right: 10px;
760
- visibility: hidden;
862
+ .CalendarMonthView .day, .CalendarMonthView .header {
863
+ flex-grow: 1;
864
+ flex-basis: 1px;
761
865
  }
762
866
 
763
- .Checkbox input[type=checkbox]:checked + label:before {
764
- background: #4AC263;
765
- border: none;
867
+ .CalendarMonthView .day {
868
+ height: 100%;
766
869
  }
767
870
 
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;
871
+ .Button.FloatingActionButton {
872
+ position: absolute;
873
+ right: 16px;
874
+ bottom: 16px;
875
+ width: 56px;
876
+ height: 56px;
877
+ padding: 16px;
878
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
777
879
  }
778
880
 
779
- .Checkbox input[type=checkbox]:disabled + label {
780
- color: gray;
881
+ .Button.FloatingActionButton.raised {
882
+ 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);
781
883
  }
782
884
 
783
- .Checkbox input[type=checkbox]:disabled + label:before {
784
- border-color: rgba(0, 0, 0, 0.26);
885
+ .Button.FloatingActionButton.mini {
886
+ width: 40px;
887
+ height: 40px;
888
+ padding: 8px;
785
889
  }
786
890
 
787
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
788
- background: rgba(0, 0, 0, 0.26);
891
+ .Button.FloatingActionButton.hidden {
892
+ bottom: -100px;
789
893
  }
790
894
 
791
895
  .DatePicker {
@@ -905,29 +1009,64 @@
905
1009
  background-color: #51adf6;
906
1010
  }
907
1011
 
908
- .CalendarMonthView {
909
- display: flex;
910
- flex-flow: column nowrap;
911
- height: 100%;
1012
+ .Dropzone {
1013
+ position: relative;
912
1014
  }
913
1015
 
914
- .CalendarMonthView > .row {
1016
+ .Dropzone > .overlay {
1017
+ position: absolute;
1018
+ left: 0;
1019
+ right: 0;
1020
+ top: 0;
1021
+ bottom: 0;
1022
+ background-color: #38ADC4;
1023
+ z-index: 1;
1024
+ opacity: 0;
1025
+ transition: all 0.2s ease;
1026
+ transition-delay: 100ms;
1027
+ visibility: hidden;
915
1028
  display: flex;
916
- flex-flow: row nowrap;
1029
+ justify-content: center;
1030
+ align-items: center;
917
1031
  }
918
1032
 
919
- .CalendarMonthView .days {
920
- flex-grow: 1;
921
- position: relative;
922
- }
1033
+ .Dropzone > .overlay .drop {
1034
+ border-radius: 4px;
1035
+ border: 1px dashed #FFFFFF;
1036
+ position: absolute;
1037
+ top: 18px;
1038
+ left: 18px;
1039
+ right: 18px;
1040
+ bottom: 18px;
1041
+ display: flex;
1042
+ justify-content: center;
1043
+ align-items: center;
1044
+ font-weight: 500;
1045
+ font-size: 18px;
1046
+ color: #FFFFFF;
1047
+ }
923
1048
 
924
- .CalendarMonthView .day, .CalendarMonthView .header {
925
- flex-grow: 1;
926
- flex-basis: 1px;
1049
+ .Dropzone.dragging > .overlay {
1050
+ opacity: 0.7;
1051
+ visibility: visible;
1052
+ transition-delay: 0s;
927
1053
  }
928
1054
 
929
- .CalendarMonthView .day {
1055
+ .Dropzone.dragging > * {
1056
+ pointer-events: none;
1057
+ }
1058
+
1059
+ .Dropzone > input.file {
1060
+ position: absolute;
1061
+ left: 0;
1062
+ right: 0;
1063
+ top: 0;
1064
+ bottom: 0;
1065
+ width: 100%;
930
1066
  height: 100%;
1067
+ opacity: 0;
1068
+ cursor: pointer;
1069
+ z-index: 1;
931
1070
  }
932
1071
 
933
1072
  .FilteredList {
@@ -1014,19 +1153,6 @@
1014
1153
  margin-bottom: 8px;
1015
1154
  }
1016
1155
 
1017
- .CircleProgress {
1018
- width: 48px;
1019
- height: 48px;
1020
- }
1021
-
1022
- .CircleProgress .line {
1023
- stroke-width: 2px;
1024
- stroke: black;
1025
- stroke-linecap: square;
1026
- fill: none;
1027
- transition: stroke-dashoffset 0.2s ease;
1028
- }
1029
-
1030
1156
  .DNDContainer {
1031
1157
  position: relative;
1032
1158
  }
@@ -1059,135 +1185,6 @@
1059
1185
  pointer-events: none;
1060
1186
  }
1061
1187
 
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;
1084
- }
1085
-
1086
- .Dropzone {
1087
- position: relative;
1088
- }
1089
-
1090
- .Dropzone > .overlay {
1091
- position: absolute;
1092
- left: 0;
1093
- right: 0;
1094
- top: 0;
1095
- bottom: 0;
1096
- background-color: #38ADC4;
1097
- z-index: 1;
1098
- opacity: 0;
1099
- transition: all 0.2s ease;
1100
- transition-delay: 100ms;
1101
- visibility: hidden;
1102
- display: flex;
1103
- justify-content: center;
1104
- align-items: center;
1105
- }
1106
-
1107
- .Dropzone > .overlay .drop {
1108
- border-radius: 4px;
1109
- border: 1px dashed #FFFFFF;
1110
- position: absolute;
1111
- top: 18px;
1112
- left: 18px;
1113
- right: 18px;
1114
- bottom: 18px;
1115
- display: flex;
1116
- justify-content: center;
1117
- align-items: center;
1118
- font-weight: 500;
1119
- font-size: 18px;
1120
- color: #FFFFFF;
1121
- }
1122
-
1123
- .Dropzone.dragging > .overlay {
1124
- opacity: 0.7;
1125
- visibility: visible;
1126
- transition-delay: 0s;
1127
- }
1128
-
1129
- .Dropzone.dragging > * {
1130
- pointer-events: none;
1131
- }
1132
-
1133
- .Dropzone > input.file {
1134
- position: absolute;
1135
- left: 0;
1136
- right: 0;
1137
- top: 0;
1138
- bottom: 0;
1139
- width: 100%;
1140
- height: 100%;
1141
- opacity: 0;
1142
- cursor: pointer;
1143
- z-index: 1;
1144
- }
1145
-
1146
- .Snackbar {
1147
- transform: translateX(-50%);
1148
- overflow: hidden;
1149
- background-color: #323232;
1150
- padding: 14px 24px 14px 24px;
1151
- color: #fff;
1152
- min-width: 288px;
1153
- max-width: 568px;
1154
- position: fixed;
1155
- bottom: -50px;
1156
- left: 50%;
1157
- display: flex;
1158
- flex-wrap: nowrap;
1159
- align-items: center;
1160
- opacity: 0;
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);
1164
- }
1165
-
1166
- .Snackbar.shown {
1167
- bottom: 15px;
1168
- opacity: 1;
1169
- }
1170
-
1171
- .Snackbar .message {
1172
- overflow: hidden;
1173
- line-height: 1.2em;
1174
- min-height: 1.2em;
1175
- max-height: 2.4em;
1176
- flex: 1;
1177
- }
1178
-
1179
- .Snackbar .action {
1180
- text-transform: uppercase;
1181
- font-weight: bold;
1182
- margin-left: 48px;
1183
- color: #bf3727;
1184
- }
1185
-
1186
- .Snackbar .action a {
1187
- text-decoration: none;
1188
- color: #bf3727;
1189
- }
1190
-
1191
1188
  .FormUploadProgress {
1192
1189
  position: absolute;
1193
1190
  left: 0;
@@ -1257,192 +1254,281 @@
1257
1254
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1258
1255
  }
1259
1256
 
1260
- .DialogModal {
1261
- overflow: hidden;
1257
+ .DropFileInput {
1258
+ flex-grow: 1;
1262
1259
  }
1263
1260
 
1264
- .DialogModal .content {
1265
- top: 20vh;
1261
+ .DropFileInput .Dropzone {
1262
+ border: 1px dashed #808080;
1263
+ padding: 12px;
1264
+ display: flex;
1265
+ flex-flow: row nowrap;
1266
+ justify-content: center;
1267
+ align-items: center;
1268
+ color: gray;
1269
+ cursor: pointer;
1270
+ border-radius: 3px;
1271
+ font-weight: normal;
1272
+ line-height: 22px;
1273
+ font-size: 14px;
1274
+ color: #7E7E7E;
1275
+ max-width: 100%;
1276
+ word-break: break-all;
1277
+ word-break: break-word;
1266
1278
  }
1267
1279
 
1268
- .Dialog {
1269
- background-color: white;
1270
- min-width: 460px;
1271
- max-width: 40vw;
1272
- padding: 15px;
1280
+ .DropFileInput .Dropzone .icon.withText {
1281
+ margin-right: 10px;
1273
1282
  }
1274
1283
 
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;
1284
+ .Scrollable {
1285
+ max-height: 250px;
1286
+ max-width: 250px;
1287
+ padding-right: 5px;
1288
+ position: relative;
1289
+ display: flex;
1290
+ flex-flow: column;
1291
+ align-items: stretch;
1292
+ overflow: hidden;
1282
1293
  }
1283
1294
 
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;
1295
+ .Scrollable:hover > .scrollbar.auto {
1296
+ transition-delay: 0s;
1297
+ opacity: 1;
1292
1298
  }
1293
1299
 
1294
- .Dialog > div.row {
1295
- margin-bottom: 15px;
1300
+ .Scrollable .viewport {
1301
+ overflow-y: scroll;
1302
+ overflow-x: scroll;
1303
+ max-height: 100%;
1304
+ scrollbar-width: none;
1296
1305
  }
1297
1306
 
1298
- .Dialog > div.row:last-child {
1299
- margin-bottom: 0;
1307
+ .Scrollable .viewport::-webkit-scrollbar {
1308
+ display: none;
1300
1309
  }
1301
1310
 
1302
- .ModalMenu {
1303
- position: absolute;
1304
- top: 10px;
1305
- right: 50px;
1311
+ .Scrollable.without-scroll-horizontal {
1312
+ max-width: unset;
1306
1313
  }
1307
1314
 
1308
- .ModalMenu .material-icons {
1309
- color: #818181;
1310
- }
1315
+ .Scrollable.undefined-horizontal {
1316
+ max-width: unset;
1317
+ }
1311
1318
 
1312
- .ModalMenu .Button.animated {
1319
+ .Scrollable.without-scroll {
1320
+ padding-right: 0;
1321
+ max-height: unset;
1322
+ }
1323
+
1324
+ .Scrollable.without-scroll > .viewport {
1325
+ padding-right: 0;
1326
+ margin-right: 0;
1327
+ }
1328
+
1329
+ .Scrollable.without-scroll > .scrollbar {
1330
+ visibility: hidden;
1331
+ }
1332
+
1333
+ .Scrollable .scrollbar {
1313
1334
  position: absolute;
1314
- transition: opacity 150ms ease-in, right 200ms ease-in;
1335
+ right: 0px;
1336
+ top: 0px;
1337
+ width: 5px;
1338
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1339
+ transition-delay: 0.5s;
1340
+ z-index: 1;
1341
+ }
1342
+
1343
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1315
1344
  opacity: 0;
1316
- right: 0;
1317
- top: 0;
1318
1345
  }
1319
1346
 
1320
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1321
- opacity: 1;
1347
+ .Scrollable .scrollbar .thumb {
1348
+ background-color: rgba(0, 0, 0, 0.3);
1349
+ width: 5px;
1350
+ position: absolute;
1351
+ right: 0px;
1352
+ top: 0px;
1353
+ user-select: none;
1354
+ will-change: top;
1355
+ border-radius: 2px;
1322
1356
  }
1323
1357
 
1324
- .ModalMenu .Button.animated.unmounting {
1325
- transition: opacity 100ms ease-out, right 200ms ease-out;
1358
+ .Scrollable .scrollbar .thumb:hover {
1359
+ background-color: rgba(0, 0, 0, 0.5);
1326
1360
  }
1327
1361
 
1328
- .ModalMenu .Button.active {
1329
- background: #EBEBEB;
1362
+ .Scrollable .scrollbar .thumb:active {
1363
+ background-color: rgba(0, 0, 0, 0.7);
1330
1364
  }
1331
1365
 
1332
- .ModalMenu .separator {
1333
- height: 24px;
1334
- width: 1px;
1335
- background-color: #D9D9D9;
1336
- margin-left: 4px;
1366
+ .Scrollable .scrollbar.horizontal {
1367
+ left: 0px;
1368
+ right: 0px;
1369
+ height: 5px;
1370
+ bottom: 0;
1371
+ width: unset;
1372
+ top: unset;
1337
1373
  }
1338
1374
 
1339
- .Switch {
1340
- display: inline-flex;
1341
- padding-top: 5px;
1375
+ .Scrollable .scrollbar.horizontal .thumb {
1376
+ height: 5px;
1377
+ left: 0px;
1378
+ bottom: 0px;
1379
+ will-change: left;
1342
1380
  }
1343
1381
 
1344
- .Switch .switch-input {
1345
- display: none;
1382
+ .Modal {
1383
+ display: block;
1384
+ position: fixed;
1385
+ top: 0;
1386
+ left: 0;
1387
+ right: 0;
1388
+ bottom: 100%;
1389
+ overflow-y: scroll;
1390
+ transition: bottom 0ms linear;
1391
+ transition-delay: 0.2s;
1346
1392
  }
1347
1393
 
1348
- .Switch .switch-label {
1349
- position: relative;
1350
- display: inline-flex;
1351
- align-items: center;
1352
- min-width: 38px;
1353
- height: 24px;
1354
- cursor: pointer;
1355
- font-weight: 500;
1356
- text-align: left;
1357
- user-select: none;
1358
- margin: 0;
1359
- padding: 0;
1360
- padding-left: 44px;
1361
- box-sizing: border-box;
1394
+ .Modal.show {
1395
+ transition-delay: 0s;
1396
+ bottom: 0;
1362
1397
  }
1363
1398
 
1364
- .Switch .switch-label:before, .Switch .switch-label:after {
1365
- content: "";
1366
- box-sizing: border-box;
1399
+ .Modal > .overlay {
1400
+ position: fixed;
1401
+ top: 0;
1402
+ bottom: 100%;
1403
+ left: 0;
1404
+ right: 0;
1405
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1406
+ opacity: 0;
1407
+ background-color: black;
1408
+ pointer-events: none;
1409
+ }
1410
+
1411
+ .Modal > .overlay.show {
1412
+ opacity: 0.5;
1413
+ bottom: 0;
1414
+ }
1415
+
1416
+ .Modal > .content {
1417
+ left: 50%;
1418
+ top: 10vh;
1419
+ margin-bottom: 10vh;
1420
+ font-size: 16px;
1421
+ padding: 0;
1422
+ opacity: 0;
1423
+ transition: opacity 0.25s ease, transform 0.25s ease;
1424
+ transform: scaleY(0) translateY(-200px) translateX(-50%);
1425
+ transform-origin: top;
1367
1426
  position: absolute;
1368
- margin: 0;
1369
- outline: 0;
1370
- top: 50%;
1371
- transform: translate(0, -50%);
1372
- transition: all 0.3s ease;
1427
+ border-radius: 2px;
1428
+ box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1373
1429
  }
1374
1430
 
1375
- .Switch .switch-label:before {
1376
- left: 1px;
1377
- width: 34px;
1378
- height: 14px;
1379
- background-color: #9E9E9E;
1380
- border-radius: 8px;
1431
+ .Modal > .content.show {
1432
+ opacity: 1;
1433
+ transform: scaleY(1) translateY(0px) translateX(-50%);
1381
1434
  }
1382
1435
 
1383
- .Switch .switch-label:after {
1384
- left: 0;
1385
- width: 20px;
1386
- height: 20px;
1387
- background-color: #FAFAFA;
1388
- border-radius: 50%;
1389
- 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);
1436
+ .Modal > .content > .Scrollable {
1437
+ overflow: visible;
1438
+ max-height: 80vh;
1390
1439
  }
1391
1440
 
1392
- .Switch .switch-label .toggle--on {
1393
- display: none;
1441
+ .Modal > .content > .Scrollable > .viewport {
1442
+ min-width: 10px;
1443
+ min-height: 10px;
1394
1444
  }
1395
1445
 
1396
- .Switch .switch-label .toggle--off {
1397
- display: inline-block;
1446
+ .Modal > .content > .Button.close {
1447
+ top: 10px;
1448
+ right: 10px;
1449
+ position: absolute;
1398
1450
  }
1399
1451
 
1400
- .Switch .switch-label .label {
1401
- margin-right: 5px;
1452
+ .ModalMenu {
1453
+ position: absolute;
1454
+ top: 10px;
1455
+ right: 50px;
1402
1456
  }
1403
1457
 
1404
- .Switch .switch-input:checked + .switch-label:before {
1405
- background-color: #A5D6A7;
1458
+ .ModalMenu .material-icons {
1459
+ color: #818181;
1406
1460
  }
1407
1461
 
1408
- .Switch .switch-input:checked + .switch-label:after {
1409
- background-color: #4CAF50;
1410
- transform: translate(80%, -50%);
1462
+ .ModalMenu .Button.animated {
1463
+ position: absolute;
1464
+ transition: opacity 150ms ease-in, right 200ms ease-in;
1465
+ opacity: 0;
1466
+ right: 0;
1467
+ top: 0;
1411
1468
  }
1412
1469
 
1413
- .Switch .switch-input:checked + .switch-label .toggle--on {
1414
- display: inline-block;
1470
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1471
+ opacity: 1;
1415
1472
  }
1416
1473
 
1417
- .Switch .switch-input:checked + .switch-label .toggle--off {
1418
- display: none;
1474
+ .ModalMenu .Button.animated.unmounting {
1475
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1419
1476
  }
1420
1477
 
1421
- .DropFileInput {
1422
- flex-grow: 1;
1478
+ .ModalMenu .Button.active {
1479
+ background: #EBEBEB;
1423
1480
  }
1424
1481
 
1425
- .DropFileInput .Dropzone {
1426
- border: 1px dashed #808080;
1427
- padding: 12px;
1482
+ .ModalMenu .separator {
1483
+ height: 24px;
1484
+ width: 1px;
1485
+ background-color: #D9D9D9;
1486
+ margin-left: 4px;
1487
+ }
1488
+
1489
+ .Snackbar {
1490
+ transform: translateX(-50%);
1491
+ overflow: hidden;
1492
+ background-color: #323232;
1493
+ padding: 14px 24px 14px 24px;
1494
+ color: #fff;
1495
+ min-width: 288px;
1496
+ max-width: 568px;
1497
+ position: fixed;
1498
+ bottom: -50px;
1499
+ left: 50%;
1428
1500
  display: flex;
1429
- flex-flow: row nowrap;
1430
- justify-content: center;
1501
+ flex-wrap: nowrap;
1431
1502
  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;
1503
+ opacity: 0;
1504
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1505
+ border-radius: 4px;
1506
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1442
1507
  }
1443
1508
 
1444
- .DropFileInput .Dropzone .icon.withText {
1445
- margin-right: 10px;
1509
+ .Snackbar.shown {
1510
+ bottom: 15px;
1511
+ opacity: 1;
1512
+ }
1513
+
1514
+ .Snackbar .message {
1515
+ overflow: hidden;
1516
+ line-height: 1.2em;
1517
+ min-height: 1.2em;
1518
+ max-height: 2.4em;
1519
+ flex: 1;
1520
+ }
1521
+
1522
+ .Snackbar .action {
1523
+ text-transform: uppercase;
1524
+ font-weight: bold;
1525
+ margin-left: 48px;
1526
+ color: #bf3727;
1527
+ }
1528
+
1529
+ .Snackbar .action a {
1530
+ text-decoration: none;
1531
+ color: #bf3727;
1446
1532
  }
1447
1533
 
1448
1534
  .SpinningProgress {
@@ -1498,74 +1584,216 @@
1498
1584
  stroke-dashoffset: -53px;
1499
1585
  }
1500
1586
  }
1501
- .Modal {
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;
1587
+ .ScrollableTable .Scrollable .scrollbar {
1588
+ top: 56px;
1511
1589
  }
1512
1590
 
1513
- .Modal.show {
1514
- transition-delay: 0s;
1515
- bottom: 0;
1591
+ .ScrollableTable .Table {
1592
+ position: static;
1516
1593
  }
1517
1594
 
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;
1595
+ .Table {
1596
+ font-family: Roboto, sans-serif;
1597
+ font-size: 14px;
1598
+ color: #1e252d;
1599
+ border-spacing: 0;
1600
+ border-collapse: collapse;
1601
+ width: 100%;
1602
+ position: relative;
1528
1603
  }
1529
1604
 
1530
- .Modal > .overlay.show {
1531
- opacity: 0.5;
1532
- bottom: 0;
1605
+ .Table td, .Table th {
1606
+ padding: 5px;
1607
+ font-weight: 500;
1608
+ color: #2e2e2e;
1533
1609
  }
1534
1610
 
1535
- .Modal > .content {
1536
- left: 50%;
1537
- top: 10vh;
1538
- margin-bottom: 10vh;
1611
+ .Table td {
1612
+ height: 48px;
1613
+ border-bottom: 1px solid #ebebeb;
1614
+ border-top: 1px solid #ebebeb;
1615
+ }
1616
+
1617
+ .Table td:first-child {
1618
+ padding-left: 45px;
1619
+ }
1620
+
1621
+ .Table td:last-child {
1622
+ padding-right: 45px;
1623
+ }
1624
+
1625
+ .Table th {
1626
+ color: #808080;
1627
+ height: 55px;
1628
+ padding: 0px;
1629
+ }
1630
+
1631
+ .Table th .sortable {
1632
+ cursor: pointer;
1633
+ }
1634
+
1635
+ .Table th .sortable.active {
1636
+ font-weight: bold;
1637
+ }
1638
+
1639
+ .Table th .sortable.active .material-icons {
1539
1640
  font-size: 16px;
1641
+ }
1642
+
1643
+ .Table th .sortable.false {
1644
+ padding-right: 22px;
1645
+ }
1646
+
1647
+ .Table th:first-child .hidden, .Table th:first-child .fixed {
1648
+ padding-left: 45px;
1649
+ }
1650
+
1651
+ .Table th:last-child .hidden, .Table th:last-child .fixed {
1652
+ padding-right: 45px;
1653
+ }
1654
+
1655
+ .Table th .hidden {
1656
+ color: transparent;
1657
+ height: 0px;
1658
+ padding: 5px;
1659
+ }
1660
+
1661
+ .Table th .fixed {
1662
+ font-weight: normal;
1663
+ display: flex;
1664
+ flex-flow: row;
1665
+ justify-items: center;
1666
+ align-items: center;
1667
+ text-align: left;
1668
+ height: 56px;
1669
+ padding: 0px 5px;
1670
+ background-color: white;
1671
+ position: absolute;
1672
+ top: 0px;
1673
+ z-index: 1;
1674
+ box-sizing: border-box;
1675
+ border-bottom: 1px solid #ebebeb;
1676
+ border-top: 1px solid #ebebeb;
1677
+ }
1678
+
1679
+ .Table tbody tr:hover {
1680
+ background-color: #f2f2f2;
1681
+ }
1682
+
1683
+ .Table tbody tr.disabled td {
1684
+ color: #93a4b7;
1685
+ }
1686
+
1687
+ .Table .ro {
1688
+ color: #47576a;
1689
+ }
1690
+
1691
+ .Table .editable {
1692
+ cursor: pointer;
1693
+ }
1694
+
1695
+ .Table .editable > .TextField {
1696
+ height: 20px !important;
1697
+ margin: 0px;
1698
+ position: relative;
1699
+ display: block;
1700
+ }
1701
+
1702
+ .Table .editable > .TextField input {
1703
+ width: 100%;
1704
+ height: 20px;
1705
+ padding: 0px;
1706
+ background-color: rgb(240, 240, 240);
1707
+ }
1708
+
1709
+ .Table .editable > .AutocompleteSelect {
1710
+ min-width: unset;
1711
+ }
1712
+
1713
+ .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1714
+ margin: 0;
1715
+ }
1716
+
1717
+ .Switch {
1718
+ display: inline-flex;
1719
+ padding-top: 5px;
1720
+ }
1721
+
1722
+ .Switch .switch-input {
1723
+ display: none;
1724
+ }
1725
+
1726
+ .Switch .switch-label {
1727
+ position: relative;
1728
+ display: inline-flex;
1729
+ align-items: center;
1730
+ min-width: 38px;
1731
+ height: 24px;
1732
+ cursor: pointer;
1733
+ font-weight: 500;
1734
+ text-align: left;
1735
+ user-select: none;
1736
+ margin: 0;
1540
1737
  padding: 0;
1541
- opacity: 0;
1542
- transition: opacity 0.25s ease, transform 0.25s ease;
1543
- transform: scaleY(0) translateY(-200px) translateX(-50%);
1544
- transform-origin: top;
1738
+ padding-left: 44px;
1739
+ box-sizing: border-box;
1740
+ }
1741
+
1742
+ .Switch .switch-label:before, .Switch .switch-label:after {
1743
+ content: "";
1744
+ box-sizing: border-box;
1545
1745
  position: absolute;
1546
- border-radius: 2px;
1547
- box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
1746
+ margin: 0;
1747
+ outline: 0;
1748
+ top: 50%;
1749
+ transform: translate(0, -50%);
1750
+ transition: all 0.3s ease;
1751
+ }
1752
+
1753
+ .Switch .switch-label:before {
1754
+ left: 1px;
1755
+ width: 34px;
1756
+ height: 14px;
1757
+ background-color: #9E9E9E;
1758
+ border-radius: 8px;
1759
+ }
1760
+
1761
+ .Switch .switch-label:after {
1762
+ left: 0;
1763
+ width: 20px;
1764
+ height: 20px;
1765
+ background-color: #FAFAFA;
1766
+ border-radius: 50%;
1767
+ 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);
1768
+ }
1769
+
1770
+ .Switch .switch-label .toggle--on {
1771
+ display: none;
1772
+ }
1773
+
1774
+ .Switch .switch-label .toggle--off {
1775
+ display: inline-block;
1548
1776
  }
1549
1777
 
1550
- .Modal > .content.show {
1551
- opacity: 1;
1552
- transform: scaleY(1) translateY(0px) translateX(-50%);
1778
+ .Switch .switch-label .label {
1779
+ margin-right: 5px;
1553
1780
  }
1554
1781
 
1555
- .Modal > .content > .Scrollable {
1556
- overflow: visible;
1557
- max-height: 80vh;
1782
+ .Switch .switch-input:checked + .switch-label:before {
1783
+ background-color: #A5D6A7;
1558
1784
  }
1559
1785
 
1560
- .Modal > .content > .Scrollable > .viewport {
1561
- min-width: 10px;
1562
- min-height: 10px;
1786
+ .Switch .switch-input:checked + .switch-label:after {
1787
+ background-color: #4CAF50;
1788
+ transform: translate(80%, -50%);
1563
1789
  }
1564
1790
 
1565
- .Modal > .content > .Button.close {
1566
- top: 10px;
1567
- right: 10px;
1568
- position: absolute;
1791
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1792
+ display: inline-block;
1793
+ }
1794
+
1795
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1796
+ display: none;
1569
1797
  }
1570
1798
 
1571
1799
  .TextField {
@@ -1709,232 +1937,4 @@
1709
1937
  animation-fill-mode: both;
1710
1938
  animation-timing-function: ease-in-out;
1711
1939
  animation-name: shake;
1712
- }
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
-
1812
- .ScrollableTable .Scrollable .scrollbar {
1813
- top: 56px;
1814
- }
1815
-
1816
- .ScrollableTable .Table {
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
  }