react-ui-basics 0.0.185 → 0.0.186

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.
Files changed (85) hide show
  1. package/Animated.js +2 -2
  2. package/AutocompleteSelect.js +2 -2
  3. package/Button.js +2 -2
  4. package/CalendarMonthView.js +2 -2
  5. package/Checkbox.js +2 -2
  6. package/CircleProgress.js +2 -2
  7. package/DNDContainer.js +2 -2
  8. package/DNDDraggable.js +2 -2
  9. package/DNDDroppable.js +2 -2
  10. package/DatePicker.js +2 -2
  11. package/DateTools.js +1 -1
  12. package/Dialog.js +2 -2
  13. package/DropFileInput.js +2 -2
  14. package/DroppableHorizontalList.js +2 -2
  15. package/DroppableList.js +2 -2
  16. package/Dropzone.js +2 -2
  17. package/FilteredList.js +2 -2
  18. package/FloatingActionButton.js +2 -2
  19. package/FormUploadProgress.js +2 -2
  20. package/HttpTools.js +2 -2
  21. package/ImageGallery.js +2 -2
  22. package/MaterialIcon.js +2 -2
  23. package/Modal.js +2 -2
  24. package/ModalMenu.js +2 -2
  25. package/ReactCreateElement.js +1 -1
  26. package/ReadyListener.js +2 -2
  27. package/Scrollable.js +2 -2
  28. package/ScrollableTable.js +2 -2
  29. package/Size.js +2 -2
  30. package/Snackbar.js +2 -2
  31. package/SpinningProgress.js +2 -2
  32. package/Switch.js +2 -2
  33. package/Table.js +2 -2
  34. package/TextField.js +2 -2
  35. package/Tools.js +1 -1
  36. package/_virtual/_commonjsHelpers.js +1 -1
  37. package/_virtual/_react.js +1 -1
  38. package/_virtual/react-jsx-runtime.development.js +1 -1
  39. package/bundle.css +507 -507
  40. package/index.js +2 -2
  41. package/package.json +1 -1
  42. package/router/HistoryTools.js +1 -1
  43. package/router/Link.js +2 -2
  44. package/router/NavLink.js +2 -2
  45. package/router/Route.js +2 -2
  46. package/router/index.js +2 -2
  47. package/src/Animated.js +2 -2
  48. package/src/AutocompleteSelect.js +2 -2
  49. package/src/Button.js +2 -2
  50. package/src/Checkbox.js +2 -2
  51. package/src/CircleProgress.js +2 -2
  52. package/src/DNDDraggable.js +2 -2
  53. package/src/DNDDroppable.js +2 -2
  54. package/src/Dialog.js +2 -2
  55. package/src/DropFileInput.js +2 -2
  56. package/src/DroppableHorizontalList.js +2 -2
  57. package/src/DroppableList.js +2 -2
  58. package/src/Dropzone.js +2 -2
  59. package/src/FilteredList.js +2 -2
  60. package/src/FloatingActionButton.js +2 -2
  61. package/src/FormUploadProgress.js +2 -2
  62. package/src/ImageGallery.js +2 -2
  63. package/src/MaterialIcon.js +2 -2
  64. package/src/Modal.js +2 -2
  65. package/src/ModalMenu.js +2 -2
  66. package/src/ReactCreateElement.js +1 -1
  67. package/src/ReadyListener.js +2 -2
  68. package/src/Scrollable.js +2 -2
  69. package/src/Size.js +2 -2
  70. package/src/Snackbar.js +2 -2
  71. package/src/SpinningProgress.js +2 -2
  72. package/src/Switch.js +2 -2
  73. package/src/TextField.js +2 -2
  74. package/src/Tools.test.js +1 -1
  75. package/src/index.js +2 -2
  76. package/src/router/HistoryTools.js +1 -1
  77. package/src/router/Link.js +2 -2
  78. package/src/router/NavLink.js +2 -2
  79. package/src/router/Route.js +2 -2
  80. package/src/router/Route.test.js +2 -2
  81. package/src/router/index.js +2 -2
  82. package/src/store/ProxyTools.js +1 -1
  83. package/src/store/ProxyTools.test.js +1 -1
  84. package/store/ProxyTools.js +2 -2
  85. package/store/Store.js +2 -2
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,28 @@
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
+ .CircleProgress {
306
+ width: 48px;
307
+ height: 48px;
308
+ }
309
+
310
+ .CircleProgress .line {
311
+ stroke-width: 2px;
312
+ stroke: black;
313
+ stroke-linecap: square;
314
+ fill: none;
315
+ transition: stroke-dashoffset 0.2s ease;
316
+ }
317
+
305
318
  .Button {
306
319
  position: relative;
307
320
  min-width: 64px;
@@ -468,17 +481,113 @@
468
481
  border: 0;
469
482
  }
470
483
 
471
- .CircleProgress {
472
- width: 48px;
473
- height: 48px;
484
+ .Checkbox {
485
+ position: relative;
486
+ white-space: pre;
474
487
  }
475
488
 
476
- .CircleProgress .line {
477
- stroke-width: 2px;
478
- stroke: black;
479
- stroke-linecap: square;
480
- fill: none;
481
- transition: stroke-dashoffset 0.2s ease;
489
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
490
+ box-sizing: border-box;
491
+ }
492
+
493
+ .Checkbox label {
494
+ font-family: Roboto, sans-serif;
495
+ font-size: 14px;
496
+ color: #1e252d;
497
+ cursor: pointer;
498
+ }
499
+
500
+ .Checkbox label:before, .Checkbox label:after {
501
+ content: "";
502
+ position: absolute;
503
+ left: 0;
504
+ top: 0;
505
+ }
506
+
507
+ .Checkbox label:before {
508
+ width: 20px;
509
+ height: 20px;
510
+ background: #fff;
511
+ border: 2px solid #252525;
512
+ border-radius: 2px;
513
+ cursor: pointer;
514
+ transition: background 0.3s;
515
+ }
516
+
517
+ .Checkbox input[type=checkbox] {
518
+ outline: 0;
519
+ margin-right: 10px;
520
+ visibility: hidden;
521
+ }
522
+
523
+ .Checkbox input[type=checkbox]:checked + label:before {
524
+ background: #4AC263;
525
+ border: none;
526
+ }
527
+
528
+ .Checkbox input[type=checkbox]:checked + label:after {
529
+ transform: rotate(-45deg);
530
+ top: 6px;
531
+ left: 4px;
532
+ width: 12px;
533
+ height: 6px;
534
+ border: 2px solid #fff;
535
+ border-top-style: none;
536
+ border-right-style: none;
537
+ }
538
+
539
+ .Checkbox input[type=checkbox]:disabled + label {
540
+ color: gray;
541
+ }
542
+
543
+ .Checkbox input[type=checkbox]:disabled + label:before {
544
+ border-color: rgba(0, 0, 0, 0.26);
545
+ }
546
+
547
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
548
+ background: rgba(0, 0, 0, 0.26);
549
+ }
550
+
551
+ .DialogModal {
552
+ overflow: hidden;
553
+ }
554
+
555
+ .DialogModal .content {
556
+ top: 20vh;
557
+ }
558
+
559
+ .Dialog {
560
+ background-color: white;
561
+ min-width: 460px;
562
+ max-width: 40vw;
563
+ padding: 15px;
564
+ }
565
+
566
+ .Dialog .title {
567
+ margin-bottom: 15px;
568
+ padding: 20px 50px 0px 30px;
569
+ font-size: 1.25rem;
570
+ line-height: 2rem;
571
+ font-weight: 400;
572
+ letter-spacing: 0.0125em;
573
+ }
574
+
575
+ .Dialog .description {
576
+ color: rgba(0, 0, 0, 0.54);
577
+ font-size: 1rem;
578
+ line-height: 1.5rem;
579
+ font-weight: 400;
580
+ letter-spacing: 0.03125em;
581
+ margin-top: 20px;
582
+ padding: 0 24px 24px;
583
+ }
584
+
585
+ .Dialog > div.row {
586
+ margin-bottom: 15px;
587
+ }
588
+
589
+ .Dialog > div.row:last-child {
590
+ margin-bottom: 0;
482
591
  }
483
592
 
484
593
  .Dropzone {
@@ -541,6 +650,99 @@
541
650
  z-index: 1;
542
651
  }
543
652
 
653
+ .FormUploadProgress {
654
+ position: absolute;
655
+ left: 0;
656
+ right: 0;
657
+ top: 0;
658
+ bottom: 0;
659
+ background-color: rgba(255, 255, 255, 0.6);
660
+ z-index: 2;
661
+ }
662
+
663
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
664
+ transition-delay: 500ms;
665
+ }
666
+
667
+ .FormUploadProgress .wrapper {
668
+ position: sticky;
669
+ top: 40%;
670
+ margin-top: 40%;
671
+ margin-left: 50%;
672
+ transform: translateX(-50%);
673
+ display: flex;
674
+ flex-flow: column;
675
+ justify-content: center;
676
+ align-items: center;
677
+ }
678
+
679
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
680
+ position: absolute;
681
+ width: 107px;
682
+ height: 107px;
683
+ top: 0;
684
+ left: 0;
685
+ }
686
+
687
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
688
+ stroke: #2196F3;
689
+ }
690
+
691
+ .FormUploadProgress .wrapper > .progress {
692
+ width: 107px;
693
+ height: 107px;
694
+ min-height: 107px;
695
+ display: flex;
696
+ justify-content: center;
697
+ align-items: center;
698
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
699
+ border-radius: 50%;
700
+ background: white;
701
+ position: relative;
702
+ }
703
+
704
+ .FormUploadProgress .wrapper > .progress > .value {
705
+ display: inline-block;
706
+ margin-top: 5px;
707
+ font-weight: bold;
708
+ line-height: 16px;
709
+ font-size: 13px;
710
+ text-align: center;
711
+ color: #818181;
712
+ }
713
+
714
+ .FormUploadProgress .wrapper .cancel {
715
+ min-width: 107px;
716
+ margin-top: 20px;
717
+ background-color: white;
718
+ color: #F96B5C;
719
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
720
+ }
721
+
722
+ .Button.FloatingActionButton {
723
+ position: absolute;
724
+ right: 16px;
725
+ bottom: 16px;
726
+ width: 56px;
727
+ height: 56px;
728
+ padding: 16px;
729
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
730
+ }
731
+
732
+ .Button.FloatingActionButton.raised {
733
+ 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);
734
+ }
735
+
736
+ .Button.FloatingActionButton.mini {
737
+ width: 40px;
738
+ height: 40px;
739
+ padding: 8px;
740
+ }
741
+
742
+ .Button.FloatingActionButton.hidden {
743
+ bottom: -100px;
744
+ }
745
+
544
746
  .FilteredList {
545
747
  max-height: 250px;
546
748
  position: relative;
@@ -622,117 +824,8 @@
622
824
  margin-bottom: 8px;
623
825
  }
624
826
 
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
-
667
- .Checkbox {
668
- position: relative;
669
- white-space: pre;
670
- }
671
-
672
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
673
- box-sizing: border-box;
674
- }
675
-
676
- .Checkbox label {
677
- font-family: Roboto, sans-serif;
678
- font-size: 14px;
679
- color: #1e252d;
680
- cursor: pointer;
681
- }
682
-
683
- .Checkbox label:before, .Checkbox label:after {
684
- content: "";
685
- position: absolute;
686
- left: 0;
687
- top: 0;
688
- }
689
-
690
- .Checkbox label:before {
691
- width: 20px;
692
- height: 20px;
693
- background: #fff;
694
- border: 2px solid #252525;
695
- border-radius: 2px;
696
- cursor: pointer;
697
- transition: background 0.3s;
698
- }
699
-
700
- .Checkbox input[type=checkbox] {
701
- outline: 0;
702
- margin-right: 10px;
703
- visibility: hidden;
704
- }
705
-
706
- .Checkbox input[type=checkbox]:checked + label:before {
707
- background: #4AC263;
708
- border: none;
709
- }
710
-
711
- .Checkbox input[type=checkbox]:checked + label:after {
712
- transform: rotate(-45deg);
713
- top: 6px;
714
- left: 4px;
715
- width: 12px;
716
- height: 6px;
717
- border: 2px solid #fff;
718
- border-top-style: none;
719
- border-right-style: none;
720
- }
721
-
722
- .Checkbox input[type=checkbox]:disabled + label {
723
- color: gray;
724
- }
725
-
726
- .Checkbox input[type=checkbox]:disabled + label:before {
727
- border-color: rgba(0, 0, 0, 0.26);
728
- }
729
-
730
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
731
- background: rgba(0, 0, 0, 0.26);
732
- }
733
-
734
- .DropFileInput {
735
- flex-grow: 1;
827
+ .DropFileInput {
828
+ flex-grow: 1;
736
829
  }
737
830
 
738
831
  .DropFileInput .Dropzone {
@@ -758,6 +851,43 @@
758
851
  margin-right: 10px;
759
852
  }
760
853
 
854
+ .ModalMenu {
855
+ position: absolute;
856
+ top: 10px;
857
+ right: 50px;
858
+ }
859
+
860
+ .ModalMenu .material-icons {
861
+ color: #818181;
862
+ }
863
+
864
+ .ModalMenu .Button.animated {
865
+ position: absolute;
866
+ transition: opacity 150ms ease-in, right 200ms ease-in;
867
+ opacity: 0;
868
+ right: 0;
869
+ top: 0;
870
+ }
871
+
872
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
873
+ opacity: 1;
874
+ }
875
+
876
+ .ModalMenu .Button.animated.unmounting {
877
+ transition: opacity 100ms ease-out, right 200ms ease-out;
878
+ }
879
+
880
+ .ModalMenu .Button.active {
881
+ background: #EBEBEB;
882
+ }
883
+
884
+ .ModalMenu .separator {
885
+ height: 24px;
886
+ width: 1px;
887
+ background-color: #D9D9D9;
888
+ margin-left: 4px;
889
+ }
890
+
761
891
  .ImageGallery {
762
892
  position: fixed;
763
893
  top: 0;
@@ -993,162 +1123,6 @@
993
1123
  font-size: 24px;
994
1124
  }
995
1125
 
996
- .Button.FloatingActionButton {
997
- position: absolute;
998
- right: 16px;
999
- bottom: 16px;
1000
- width: 56px;
1001
- height: 56px;
1002
- padding: 16px;
1003
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1004
- }
1005
-
1006
- .Button.FloatingActionButton.raised {
1007
- 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);
1008
- }
1009
-
1010
- .Button.FloatingActionButton.mini {
1011
- width: 40px;
1012
- height: 40px;
1013
- padding: 8px;
1014
- }
1015
-
1016
- .Button.FloatingActionButton.hidden {
1017
- bottom: -100px;
1018
- }
1019
-
1020
- .Scrollable {
1021
- max-height: 250px;
1022
- max-width: 250px;
1023
- padding-right: 5px;
1024
- position: relative;
1025
- display: flex;
1026
- flex-flow: column;
1027
- align-items: stretch;
1028
- overflow: hidden;
1029
- }
1030
-
1031
- .Scrollable:hover > .scrollbar.auto {
1032
- transition-delay: 0s;
1033
- opacity: 1;
1034
- }
1035
-
1036
- .Scrollable .viewport {
1037
- overflow-y: scroll;
1038
- overflow-x: scroll;
1039
- max-height: 100%;
1040
- scroll-behavior: smooth;
1041
- scrollbar-width: none;
1042
- }
1043
-
1044
- .Scrollable .viewport::-webkit-scrollbar {
1045
- display: none;
1046
- }
1047
-
1048
- .Scrollable.without-scroll-horizontal {
1049
- max-width: unset;
1050
- }
1051
-
1052
- .Scrollable.without-scroll {
1053
- padding-right: 0;
1054
- max-height: unset;
1055
- }
1056
-
1057
- .Scrollable.without-scroll > .viewport {
1058
- padding-right: 0;
1059
- margin-right: 0;
1060
- }
1061
-
1062
- .Scrollable.without-scroll > .scrollbar {
1063
- visibility: hidden;
1064
- }
1065
-
1066
- .Scrollable .scrollbar {
1067
- position: absolute;
1068
- right: 0px;
1069
- top: 0px;
1070
- width: 5px;
1071
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1072
- transition-delay: 0.5s;
1073
- z-index: 1;
1074
- }
1075
-
1076
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1077
- opacity: 0;
1078
- }
1079
-
1080
- .Scrollable .scrollbar .thumb {
1081
- background-color: rgba(0, 0, 0, 0.3);
1082
- width: 5px;
1083
- position: absolute;
1084
- right: 0px;
1085
- top: 0px;
1086
- user-select: none;
1087
- will-change: top;
1088
- border-radius: 2px;
1089
- }
1090
-
1091
- .Scrollable .scrollbar .thumb:hover {
1092
- background-color: rgba(0, 0, 0, 0.5);
1093
- }
1094
-
1095
- .Scrollable .scrollbar .thumb:active {
1096
- background-color: rgba(0, 0, 0, 0.7);
1097
- }
1098
-
1099
- .Scrollable .scrollbar.horizontal {
1100
- left: 0px;
1101
- right: 0px;
1102
- height: 5px;
1103
- bottom: 0;
1104
- width: unset;
1105
- top: unset;
1106
- }
1107
-
1108
- .Scrollable .scrollbar.horizontal .thumb {
1109
- height: 5px;
1110
- left: 0px;
1111
- bottom: 0px;
1112
- will-change: left;
1113
- }
1114
-
1115
- .ModalMenu {
1116
- position: absolute;
1117
- top: 10px;
1118
- right: 50px;
1119
- }
1120
-
1121
- .ModalMenu .material-icons {
1122
- color: #818181;
1123
- }
1124
-
1125
- .ModalMenu .Button.animated {
1126
- position: absolute;
1127
- transition: opacity 150ms ease-in, right 200ms ease-in;
1128
- opacity: 0;
1129
- right: 0;
1130
- top: 0;
1131
- }
1132
-
1133
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1134
- opacity: 1;
1135
- }
1136
-
1137
- .ModalMenu .Button.animated.unmounting {
1138
- transition: opacity 100ms ease-out, right 200ms ease-out;
1139
- }
1140
-
1141
- .ModalMenu .Button.active {
1142
- background: #EBEBEB;
1143
- }
1144
-
1145
- .ModalMenu .separator {
1146
- height: 24px;
1147
- width: 1px;
1148
- background-color: #D9D9D9;
1149
- margin-left: 4px;
1150
- }
1151
-
1152
1126
  .Modal {
1153
1127
  display: block;
1154
1128
  position: fixed;
@@ -1219,118 +1193,244 @@
1219
1193
  position: absolute;
1220
1194
  }
1221
1195
 
1222
- .FormUploadProgress {
1196
+ .Snackbar {
1197
+ transform: translateX(-50%);
1198
+ overflow: hidden;
1199
+ background-color: #323232;
1200
+ padding: 14px 24px 14px 24px;
1201
+ color: #fff;
1202
+ min-width: 288px;
1203
+ max-width: 568px;
1204
+ position: fixed;
1205
+ bottom: -50px;
1206
+ left: 50%;
1207
+ display: flex;
1208
+ flex-wrap: nowrap;
1209
+ align-items: center;
1210
+ opacity: 0;
1211
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1212
+ border-radius: 4px;
1213
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1214
+ }
1215
+
1216
+ .Snackbar.shown {
1217
+ bottom: 15px;
1218
+ opacity: 1;
1219
+ }
1220
+
1221
+ .Snackbar .message {
1222
+ overflow: hidden;
1223
+ line-height: 1.2em;
1224
+ min-height: 1.2em;
1225
+ max-height: 2.4em;
1226
+ flex: 1;
1227
+ }
1228
+
1229
+ .Snackbar .action {
1230
+ text-transform: uppercase;
1231
+ font-weight: bold;
1232
+ margin-left: 48px;
1233
+ color: #bf3727;
1234
+ }
1235
+
1236
+ .Snackbar .action a {
1237
+ text-decoration: none;
1238
+ color: #bf3727;
1239
+ }
1240
+
1241
+ .Switch {
1242
+ display: inline-flex;
1243
+ padding-top: 5px;
1244
+ }
1245
+
1246
+ .Switch .switch-input {
1247
+ display: none;
1248
+ }
1249
+
1250
+ .Switch .switch-label {
1251
+ position: relative;
1252
+ display: inline-flex;
1253
+ align-items: center;
1254
+ min-width: 38px;
1255
+ height: 24px;
1256
+ cursor: pointer;
1257
+ font-weight: 500;
1258
+ text-align: left;
1259
+ user-select: none;
1260
+ margin: 0;
1261
+ padding: 0;
1262
+ padding-left: 44px;
1263
+ box-sizing: border-box;
1264
+ }
1265
+
1266
+ .Switch .switch-label:before, .Switch .switch-label:after {
1267
+ content: "";
1268
+ box-sizing: border-box;
1223
1269
  position: absolute;
1270
+ margin: 0;
1271
+ outline: 0;
1272
+ top: 50%;
1273
+ transform: translate(0, -50%);
1274
+ transition: all 0.3s ease;
1275
+ }
1276
+
1277
+ .Switch .switch-label:before {
1278
+ left: 1px;
1279
+ width: 34px;
1280
+ height: 14px;
1281
+ background-color: #9E9E9E;
1282
+ border-radius: 8px;
1283
+ }
1284
+
1285
+ .Switch .switch-label:after {
1224
1286
  left: 0;
1225
- right: 0;
1226
- top: 0;
1227
- bottom: 0;
1228
- background-color: rgba(255, 255, 255, 0.6);
1229
- z-index: 2;
1287
+ width: 20px;
1288
+ height: 20px;
1289
+ background-color: #FAFAFA;
1290
+ border-radius: 50%;
1291
+ 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);
1230
1292
  }
1231
1293
 
1232
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
1233
- transition-delay: 500ms;
1294
+ .Switch .switch-label .toggle--on {
1295
+ display: none;
1234
1296
  }
1235
1297
 
1236
- .FormUploadProgress .wrapper {
1237
- position: sticky;
1238
- top: 40%;
1239
- margin-top: 40%;
1240
- margin-left: 50%;
1241
- transform: translateX(-50%);
1298
+ .Switch .switch-label .toggle--off {
1299
+ display: inline-block;
1300
+ }
1301
+
1302
+ .Switch .switch-label .label {
1303
+ margin-right: 5px;
1304
+ }
1305
+
1306
+ .Switch .switch-input:checked + .switch-label:before {
1307
+ background-color: #A5D6A7;
1308
+ }
1309
+
1310
+ .Switch .switch-input:checked + .switch-label:after {
1311
+ background-color: #4CAF50;
1312
+ transform: translate(80%, -50%);
1313
+ }
1314
+
1315
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1316
+ display: inline-block;
1317
+ }
1318
+
1319
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1320
+ display: none;
1321
+ }
1322
+
1323
+ .Scrollable {
1324
+ max-height: 250px;
1325
+ max-width: 250px;
1326
+ padding-right: 5px;
1327
+ position: relative;
1242
1328
  display: flex;
1243
1329
  flex-flow: column;
1244
- justify-content: center;
1245
- align-items: center;
1330
+ align-items: stretch;
1331
+ overflow: hidden;
1246
1332
  }
1247
1333
 
1248
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
1334
+ .Scrollable:hover > .scrollbar.auto {
1335
+ transition-delay: 0s;
1336
+ opacity: 1;
1337
+ }
1338
+
1339
+ .Scrollable .viewport {
1340
+ overflow-y: scroll;
1341
+ overflow-x: scroll;
1342
+ max-height: 100%;
1343
+ scroll-behavior: smooth;
1344
+ scrollbar-width: none;
1345
+ }
1346
+
1347
+ .Scrollable .viewport::-webkit-scrollbar {
1348
+ display: none;
1349
+ }
1350
+
1351
+ .Scrollable.without-scroll-horizontal {
1352
+ max-width: unset;
1353
+ }
1354
+
1355
+ .Scrollable.without-scroll {
1356
+ padding-right: 0;
1357
+ max-height: unset;
1358
+ }
1359
+
1360
+ .Scrollable.without-scroll > .viewport {
1361
+ padding-right: 0;
1362
+ margin-right: 0;
1363
+ }
1364
+
1365
+ .Scrollable.without-scroll > .scrollbar {
1366
+ visibility: hidden;
1367
+ }
1368
+
1369
+ .Scrollable .scrollbar {
1249
1370
  position: absolute;
1250
- width: 107px;
1251
- height: 107px;
1252
- top: 0;
1253
- left: 0;
1371
+ right: 0px;
1372
+ top: 0px;
1373
+ width: 5px;
1374
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1375
+ transition-delay: 0.5s;
1376
+ z-index: 1;
1254
1377
  }
1255
1378
 
1256
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
1257
- stroke: #2196F3;
1379
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
1380
+ opacity: 0;
1258
1381
  }
1259
1382
 
1260
- .FormUploadProgress .wrapper > .progress {
1261
- width: 107px;
1262
- height: 107px;
1263
- min-height: 107px;
1264
- display: flex;
1265
- justify-content: center;
1266
- align-items: center;
1267
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1268
- border-radius: 50%;
1269
- background: white;
1270
- position: relative;
1383
+ .Scrollable .scrollbar .thumb {
1384
+ background-color: rgba(0, 0, 0, 0.3);
1385
+ width: 5px;
1386
+ position: absolute;
1387
+ right: 0px;
1388
+ top: 0px;
1389
+ user-select: none;
1390
+ will-change: top;
1391
+ border-radius: 2px;
1271
1392
  }
1272
1393
 
1273
- .FormUploadProgress .wrapper > .progress > .value {
1274
- display: inline-block;
1275
- margin-top: 5px;
1276
- font-weight: bold;
1277
- line-height: 16px;
1278
- font-size: 13px;
1279
- text-align: center;
1280
- color: #818181;
1394
+ .Scrollable .scrollbar .thumb:hover {
1395
+ background-color: rgba(0, 0, 0, 0.5);
1281
1396
  }
1282
1397
 
1283
- .FormUploadProgress .wrapper .cancel {
1284
- min-width: 107px;
1285
- margin-top: 20px;
1286
- background-color: white;
1287
- color: #F96B5C;
1288
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
1398
+ .Scrollable .scrollbar .thumb:active {
1399
+ background-color: rgba(0, 0, 0, 0.7);
1289
1400
  }
1290
1401
 
1291
- .Snackbar {
1292
- transform: translateX(-50%);
1293
- overflow: hidden;
1294
- background-color: #323232;
1295
- padding: 14px 24px 14px 24px;
1296
- color: #fff;
1297
- min-width: 288px;
1298
- max-width: 568px;
1299
- position: fixed;
1300
- bottom: -50px;
1301
- left: 50%;
1302
- display: flex;
1303
- flex-wrap: nowrap;
1304
- align-items: center;
1305
- opacity: 0;
1306
- transition: bottom 0.25s ease, opacity 0.2s ease;
1307
- border-radius: 4px;
1308
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1402
+ .Scrollable .scrollbar.horizontal {
1403
+ left: 0px;
1404
+ right: 0px;
1405
+ height: 5px;
1406
+ bottom: 0;
1407
+ width: unset;
1408
+ top: unset;
1309
1409
  }
1310
1410
 
1311
- .Snackbar.shown {
1312
- bottom: 15px;
1411
+ .Scrollable .scrollbar.horizontal .thumb {
1412
+ height: 5px;
1413
+ left: 0px;
1414
+ bottom: 0px;
1415
+ will-change: left;
1416
+ }
1417
+
1418
+ .DNDContainer .DroppableList .Draggable {
1419
+ transform: unset;
1420
+ transition: unset;
1313
1421
  opacity: 1;
1314
1422
  }
1315
1423
 
1316
- .Snackbar .message {
1317
- overflow: hidden;
1318
- line-height: 1.2em;
1319
- min-height: 1.2em;
1320
- max-height: 2.4em;
1321
- flex: 1;
1424
+ .DNDContainer .DroppableList .Draggable.dragged {
1425
+ transition: unset !important;
1322
1426
  }
1323
1427
 
1324
- .Snackbar .action {
1325
- text-transform: uppercase;
1326
- font-weight: bold;
1327
- margin-left: 48px;
1328
- color: #bf3727;
1428
+ .DNDContainer .DroppableList.hover .Draggable {
1429
+ transition: transform 0.2s ease-in;
1329
1430
  }
1330
1431
 
1331
- .Snackbar .action a {
1332
- text-decoration: none;
1333
- color: #bf3727;
1432
+ .DNDContainer .DroppableList.resetting .Draggable {
1433
+ transition: transform 0.1s ease-in;
1334
1434
  }
1335
1435
 
1336
1436
  .SpinningProgress {
@@ -1386,88 +1486,6 @@
1386
1486
  stroke-dashoffset: -53px;
1387
1487
  }
1388
1488
  }
1389
- .Switch {
1390
- display: inline-flex;
1391
- padding-top: 5px;
1392
- }
1393
-
1394
- .Switch .switch-input {
1395
- display: none;
1396
- }
1397
-
1398
- .Switch .switch-label {
1399
- position: relative;
1400
- display: inline-flex;
1401
- align-items: center;
1402
- min-width: 38px;
1403
- height: 24px;
1404
- cursor: pointer;
1405
- font-weight: 500;
1406
- text-align: left;
1407
- user-select: none;
1408
- margin: 0;
1409
- padding: 0;
1410
- padding-left: 44px;
1411
- box-sizing: border-box;
1412
- }
1413
-
1414
- .Switch .switch-label:before, .Switch .switch-label:after {
1415
- content: "";
1416
- box-sizing: border-box;
1417
- position: absolute;
1418
- margin: 0;
1419
- outline: 0;
1420
- top: 50%;
1421
- transform: translate(0, -50%);
1422
- transition: all 0.3s ease;
1423
- }
1424
-
1425
- .Switch .switch-label:before {
1426
- left: 1px;
1427
- width: 34px;
1428
- height: 14px;
1429
- background-color: #9E9E9E;
1430
- border-radius: 8px;
1431
- }
1432
-
1433
- .Switch .switch-label:after {
1434
- left: 0;
1435
- width: 20px;
1436
- height: 20px;
1437
- background-color: #FAFAFA;
1438
- border-radius: 50%;
1439
- 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);
1440
- }
1441
-
1442
- .Switch .switch-label .toggle--on {
1443
- display: none;
1444
- }
1445
-
1446
- .Switch .switch-label .toggle--off {
1447
- display: inline-block;
1448
- }
1449
-
1450
- .Switch .switch-label .label {
1451
- margin-right: 5px;
1452
- }
1453
-
1454
- .Switch .switch-input:checked + .switch-label:before {
1455
- background-color: #A5D6A7;
1456
- }
1457
-
1458
- .Switch .switch-input:checked + .switch-label:after {
1459
- background-color: #4CAF50;
1460
- transform: translate(80%, -50%);
1461
- }
1462
-
1463
- .Switch .switch-input:checked + .switch-label .toggle--on {
1464
- display: inline-block;
1465
- }
1466
-
1467
- .Switch .switch-input:checked + .switch-label .toggle--off {
1468
- display: none;
1469
- }
1470
-
1471
1489
  .TextField {
1472
1490
  position: relative;
1473
1491
  width: 100%;
@@ -1611,24 +1629,6 @@
1611
1629
  animation-name: shake;
1612
1630
  }
1613
1631
 
1614
- .DNDContainer .DroppableList .Draggable {
1615
- transform: unset;
1616
- transition: unset;
1617
- opacity: 1;
1618
- }
1619
-
1620
- .DNDContainer .DroppableList .Draggable.dragged {
1621
- transition: unset !important;
1622
- }
1623
-
1624
- .DNDContainer .DroppableList.hover .Draggable {
1625
- transition: transform 0.2s ease-in;
1626
- }
1627
-
1628
- .DNDContainer .DroppableList.resetting .Draggable {
1629
- transition: transform 0.1s ease-in;
1630
- }
1631
-
1632
1632
  .CalendarMonthView {
1633
1633
  display: flex;
1634
1634
  flex-flow: column nowrap;
@@ -1654,6 +1654,38 @@
1654
1654
  height: 100%;
1655
1655
  }
1656
1656
 
1657
+ .DNDContainer {
1658
+ position: relative;
1659
+ }
1660
+
1661
+ .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1662
+ cursor: pointer;
1663
+ }
1664
+
1665
+ .DNDContainer .Draggable.placeholder {
1666
+ opacity: 0.2;
1667
+ }
1668
+
1669
+ .DNDContainer .Draggable.copy {
1670
+ position: absolute;
1671
+ box-sizing: border-box;
1672
+ will-change: transform;
1673
+ opacity: 0;
1674
+ }
1675
+
1676
+ .DNDContainer .Draggable.dragged {
1677
+ z-index: 10;
1678
+ }
1679
+
1680
+ .DNDContainer .overlay {
1681
+ position: absolute;
1682
+ top: 0;
1683
+ left: 0;
1684
+ right: 0;
1685
+ bottom: 0;
1686
+ pointer-events: none;
1687
+ }
1688
+
1657
1689
  .DatePicker {
1658
1690
  position: relative;
1659
1691
  }
@@ -1768,46 +1800,6 @@
1768
1800
  background-color: #51adf6;
1769
1801
  }
1770
1802
 
1771
- .DNDContainer {
1772
- position: relative;
1773
- }
1774
-
1775
- .DNDContainer .Draggable[draggable=true], .DNDContainer .Draggable [draggable=true] {
1776
- cursor: pointer;
1777
- }
1778
-
1779
- .DNDContainer .Draggable.placeholder {
1780
- opacity: 0.2;
1781
- }
1782
-
1783
- .DNDContainer .Draggable.copy {
1784
- position: absolute;
1785
- box-sizing: border-box;
1786
- will-change: transform;
1787
- opacity: 0;
1788
- }
1789
-
1790
- .DNDContainer .Draggable.dragged {
1791
- z-index: 10;
1792
- }
1793
-
1794
- .DNDContainer .overlay {
1795
- position: absolute;
1796
- top: 0;
1797
- left: 0;
1798
- right: 0;
1799
- bottom: 0;
1800
- pointer-events: none;
1801
- }
1802
-
1803
- .ScrollableTable .Scrollable .scrollbar {
1804
- top: 56px;
1805
- }
1806
-
1807
- .ScrollableTable .Table {
1808
- position: static;
1809
- }
1810
-
1811
1803
  .Table {
1812
1804
  font-family: Roboto, sans-serif;
1813
1805
  font-size: 14px;
@@ -1920,4 +1912,12 @@
1920
1912
  height: 20px;
1921
1913
  padding: 0px;
1922
1914
  background-color: #f0f0f0;
1915
+ }
1916
+
1917
+ .ScrollableTable .Scrollable .scrollbar {
1918
+ top: 56px;
1919
+ }
1920
+
1921
+ .ScrollableTable .Table {
1922
+ position: static;
1923
1923
  }