react-ui-basics 0.0.194 → 0.0.196

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/bundle.css CHANGED
@@ -1,12 +1,3 @@
1
- .animated {
2
- transition: opacity 250ms ease;
3
- opacity: 0;
4
- }
5
-
6
- .animated.mounting, .animated.mounted {
7
- opacity: 1;
8
- }
9
-
10
1
  .AutocompleteSelect {
11
2
  display: inline-flex;
12
3
  flex-flow: column;
@@ -468,71 +459,68 @@
468
459
  border: 0;
469
460
  }
470
461
 
471
- .Checkbox {
472
- position: relative;
473
- white-space: pre;
462
+ .CircleProgress {
463
+ width: 48px;
464
+ height: 48px;
474
465
  }
475
466
 
476
- .Checkbox *, .Checkbox *:before, .Checkbox *:after {
477
- box-sizing: border-box;
467
+ .CircleProgress .line {
468
+ stroke-width: 2px;
469
+ stroke: black;
470
+ stroke-linecap: square;
471
+ fill: none;
472
+ transition: stroke-dashoffset 0.2s ease;
478
473
  }
479
474
 
480
- .Checkbox label {
481
- font-family: Roboto, sans-serif;
482
- font-size: 14px;
483
- color: #1e252d;
484
- cursor: pointer;
475
+ .DialogModal {
476
+ overflow: hidden;
485
477
  }
486
478
 
487
- .Checkbox label:before, .Checkbox label:after {
488
- content: "";
489
- position: absolute;
490
- left: 0;
491
- top: 0;
479
+ .DialogModal .content {
480
+ top: 20vh;
492
481
  }
493
482
 
494
- .Checkbox label:before {
495
- width: 20px;
496
- height: 20px;
497
- background: #fff;
498
- border: 2px solid #252525;
499
- border-radius: 2px;
500
- cursor: pointer;
501
- transition: background 0.3s;
483
+ .Dialog {
484
+ background-color: white;
485
+ min-width: 460px;
486
+ max-width: 40vw;
487
+ padding: 15px;
502
488
  }
503
489
 
504
- .Checkbox input[type=checkbox] {
505
- outline: 0;
506
- margin-right: 10px;
507
- visibility: hidden;
490
+ .Dialog .title {
491
+ margin-bottom: 15px;
492
+ padding: 20px 50px 0px 30px;
493
+ font-size: 1.25rem;
494
+ line-height: 2rem;
495
+ font-weight: 400;
496
+ letter-spacing: 0.0125em;
508
497
  }
509
498
 
510
- .Checkbox input[type=checkbox]:checked + label:before {
511
- background: #4AC263;
512
- border: none;
499
+ .Dialog .description {
500
+ color: rgba(0, 0, 0, 0.54);
501
+ font-size: 1rem;
502
+ line-height: 1.5rem;
503
+ font-weight: 400;
504
+ letter-spacing: 0.03125em;
505
+ margin-top: 20px;
506
+ padding: 0 24px 24px;
513
507
  }
514
508
 
515
- .Checkbox input[type=checkbox]:checked + label:after {
516
- transform: rotate(-45deg);
517
- top: 6px;
518
- left: 4px;
519
- width: 12px;
520
- height: 6px;
521
- border: 2px solid #fff;
522
- border-top-style: none;
523
- border-right-style: none;
509
+ .Dialog > div.row {
510
+ margin-bottom: 15px;
524
511
  }
525
512
 
526
- .Checkbox input[type=checkbox]:disabled + label {
527
- color: gray;
513
+ .Dialog > div.row:last-child {
514
+ margin-bottom: 0;
528
515
  }
529
516
 
530
- .Checkbox input[type=checkbox]:disabled + label:before {
531
- border-color: rgba(0, 0, 0, 0.26);
517
+ .animated {
518
+ transition: opacity 250ms ease;
519
+ opacity: 0;
532
520
  }
533
521
 
534
- .Checkbox input[type=checkbox]:disabled:checked + label:before {
535
- background: rgba(0, 0, 0, 0.26);
522
+ .animated.mounting, .animated.mounted {
523
+ opacity: 1;
536
524
  }
537
525
 
538
526
  .FilteredList {
@@ -647,85 +635,6 @@
647
635
  margin-right: 10px;
648
636
  }
649
637
 
650
- .CircleProgress {
651
- width: 48px;
652
- height: 48px;
653
- }
654
-
655
- .CircleProgress .line {
656
- stroke-width: 2px;
657
- stroke: black;
658
- stroke-linecap: square;
659
- fill: none;
660
- transition: stroke-dashoffset 0.2s ease;
661
- }
662
-
663
- .DialogModal {
664
- overflow: hidden;
665
- }
666
-
667
- .DialogModal .content {
668
- top: 20vh;
669
- }
670
-
671
- .Dialog {
672
- background-color: white;
673
- min-width: 460px;
674
- max-width: 40vw;
675
- padding: 15px;
676
- }
677
-
678
- .Dialog .title {
679
- margin-bottom: 15px;
680
- padding: 20px 50px 0px 30px;
681
- font-size: 1.25rem;
682
- line-height: 2rem;
683
- font-weight: 400;
684
- letter-spacing: 0.0125em;
685
- }
686
-
687
- .Dialog .description {
688
- color: rgba(0, 0, 0, 0.54);
689
- font-size: 1rem;
690
- line-height: 1.5rem;
691
- font-weight: 400;
692
- letter-spacing: 0.03125em;
693
- margin-top: 20px;
694
- padding: 0 24px 24px;
695
- }
696
-
697
- .Dialog > div.row {
698
- margin-bottom: 15px;
699
- }
700
-
701
- .Dialog > div.row:last-child {
702
- margin-bottom: 0;
703
- }
704
-
705
- .Button.FloatingActionButton {
706
- position: absolute;
707
- right: 16px;
708
- bottom: 16px;
709
- width: 56px;
710
- height: 56px;
711
- padding: 16px;
712
- transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
713
- }
714
-
715
- .Button.FloatingActionButton.raised {
716
- 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);
717
- }
718
-
719
- .Button.FloatingActionButton.mini {
720
- width: 40px;
721
- height: 40px;
722
- padding: 8px;
723
- }
724
-
725
- .Button.FloatingActionButton.hidden {
726
- bottom: -100px;
727
- }
728
-
729
638
  .Dropzone {
730
639
  position: relative;
731
640
  }
@@ -786,78 +695,104 @@
786
695
  z-index: 1;
787
696
  }
788
697
 
789
- .FormUploadProgress {
790
- position: absolute;
791
- left: 0;
792
- right: 0;
793
- top: 0;
794
- bottom: 0;
795
- background-color: rgba(255, 255, 255, 0.6);
796
- z-index: 2;
797
- }
798
-
799
- .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
800
- transition-delay: 500ms;
801
- }
802
-
803
- .FormUploadProgress .wrapper {
804
- position: sticky;
805
- top: 40%;
806
- margin-top: 40%;
807
- margin-left: 50%;
808
- transform: translateX(-50%);
698
+ .Scrollable {
699
+ max-height: 250px;
700
+ max-width: 250px;
701
+ padding-right: 5px;
702
+ position: relative;
809
703
  display: flex;
810
704
  flex-flow: column;
811
- justify-content: center;
812
- align-items: center;
705
+ align-items: stretch;
706
+ overflow: hidden;
813
707
  }
814
708
 
815
- .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
816
- position: absolute;
817
- width: 107px;
818
- height: 107px;
819
- top: 0;
820
- left: 0;
709
+ .Scrollable:hover > .scrollbar.auto {
710
+ transition-delay: 0s;
711
+ opacity: 1;
821
712
  }
822
713
 
823
- .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
824
- stroke: #2196F3;
714
+ .Scrollable .viewport {
715
+ overflow-y: scroll;
716
+ overflow-x: scroll;
717
+ max-height: 100%;
718
+ scroll-behavior: smooth;
719
+ scrollbar-width: none;
825
720
  }
826
721
 
827
- .FormUploadProgress .wrapper > .progress {
828
- width: 107px;
829
- height: 107px;
830
- min-height: 107px;
831
- display: flex;
832
- justify-content: center;
833
- align-items: center;
834
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
835
- border-radius: 50%;
836
- background: white;
837
- position: relative;
722
+ .Scrollable .viewport::-webkit-scrollbar {
723
+ display: none;
838
724
  }
839
725
 
840
- .FormUploadProgress .wrapper > .progress > .value {
841
- display: inline-block;
842
- margin-top: 5px;
843
- font-weight: bold;
844
- line-height: 16px;
845
- font-size: 13px;
846
- text-align: center;
847
- color: #818181;
726
+ .Scrollable.without-scroll-horizontal {
727
+ max-width: unset;
848
728
  }
849
729
 
850
- .FormUploadProgress .wrapper .cancel {
851
- min-width: 107px;
852
- margin-top: 20px;
853
- background-color: white;
854
- color: #F96B5C;
855
- box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
730
+ .Scrollable.without-scroll {
731
+ padding-right: 0;
732
+ max-height: unset;
856
733
  }
857
734
 
858
- .Modal {
859
- display: block;
860
- position: fixed;
735
+ .Scrollable.without-scroll > .viewport {
736
+ padding-right: 0;
737
+ margin-right: 0;
738
+ }
739
+
740
+ .Scrollable.without-scroll > .scrollbar {
741
+ visibility: hidden;
742
+ }
743
+
744
+ .Scrollable .scrollbar {
745
+ position: absolute;
746
+ right: 0px;
747
+ top: 0px;
748
+ width: 5px;
749
+ transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
750
+ transition-delay: 0.5s;
751
+ z-index: 1;
752
+ }
753
+
754
+ .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
755
+ opacity: 0;
756
+ }
757
+
758
+ .Scrollable .scrollbar .thumb {
759
+ background-color: rgba(0, 0, 0, 0.3);
760
+ width: 5px;
761
+ position: absolute;
762
+ right: 0px;
763
+ top: 0px;
764
+ user-select: none;
765
+ will-change: top;
766
+ border-radius: 2px;
767
+ }
768
+
769
+ .Scrollable .scrollbar .thumb:hover {
770
+ background-color: rgba(0, 0, 0, 0.5);
771
+ }
772
+
773
+ .Scrollable .scrollbar .thumb:active {
774
+ background-color: rgba(0, 0, 0, 0.7);
775
+ }
776
+
777
+ .Scrollable .scrollbar.horizontal {
778
+ left: 0px;
779
+ right: 0px;
780
+ height: 5px;
781
+ bottom: 0;
782
+ width: unset;
783
+ top: unset;
784
+ }
785
+
786
+ .Scrollable .scrollbar.horizontal .thumb {
787
+ height: 5px;
788
+ left: 0px;
789
+ bottom: 0px;
790
+ will-change: left;
791
+ }
792
+
793
+ .Modal {
794
+ display: block;
795
+ position: fixed;
861
796
  top: 0;
862
797
  left: 0;
863
798
  right: 0;
@@ -925,181 +860,110 @@
925
860
  position: absolute;
926
861
  }
927
862
 
928
- .Scrollable {
929
- max-height: 250px;
930
- max-width: 250px;
931
- padding-right: 5px;
932
- position: relative;
933
- display: flex;
934
- flex-flow: column;
935
- align-items: stretch;
936
- overflow: hidden;
863
+ .FormUploadProgress {
864
+ position: absolute;
865
+ left: 0;
866
+ right: 0;
867
+ top: 0;
868
+ bottom: 0;
869
+ background-color: rgba(255, 255, 255, 0.6);
870
+ z-index: 2;
937
871
  }
938
872
 
939
- .Scrollable:hover > .scrollbar.auto {
940
- transition-delay: 0s;
941
- opacity: 1;
873
+ .FormUploadProgress.animated.mounting, .FormUploadProgress.animated.mounted {
874
+ transition-delay: 500ms;
942
875
  }
943
876
 
944
- .Scrollable .viewport {
945
- overflow-y: scroll;
946
- overflow-x: scroll;
947
- max-height: 100%;
948
- scroll-behavior: smooth;
949
- scrollbar-width: none;
877
+ .FormUploadProgress .wrapper {
878
+ position: sticky;
879
+ top: 40%;
880
+ margin-top: 40%;
881
+ margin-left: 50%;
882
+ transform: translateX(-50%);
883
+ display: flex;
884
+ flex-flow: column;
885
+ justify-content: center;
886
+ align-items: center;
950
887
  }
951
888
 
952
- .Scrollable .viewport::-webkit-scrollbar {
953
- display: none;
889
+ .FormUploadProgress .wrapper .CircleProgress, .FormUploadProgress .wrapper .SpinningProgress {
890
+ position: absolute;
891
+ width: 107px;
892
+ height: 107px;
893
+ top: 0;
894
+ left: 0;
954
895
  }
955
896
 
956
- .Scrollable.without-scroll-horizontal {
957
- max-width: unset;
897
+ .FormUploadProgress .wrapper .CircleProgress .line, .FormUploadProgress .wrapper .SpinningProgress .line {
898
+ stroke: #2196F3;
958
899
  }
959
900
 
960
- .Scrollable.without-scroll {
961
- padding-right: 0;
962
- max-height: unset;
901
+ .FormUploadProgress .wrapper > .progress {
902
+ width: 107px;
903
+ height: 107px;
904
+ min-height: 107px;
905
+ display: flex;
906
+ justify-content: center;
907
+ align-items: center;
908
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
909
+ border-radius: 50%;
910
+ background: white;
911
+ position: relative;
963
912
  }
964
913
 
965
- .Scrollable.without-scroll > .viewport {
966
- padding-right: 0;
967
- margin-right: 0;
914
+ .FormUploadProgress .wrapper > .progress > .value {
915
+ display: inline-block;
916
+ margin-top: 5px;
917
+ font-weight: bold;
918
+ line-height: 16px;
919
+ font-size: 13px;
920
+ text-align: center;
921
+ color: #818181;
968
922
  }
969
923
 
970
- .Scrollable.without-scroll > .scrollbar {
971
- visibility: hidden;
924
+ .FormUploadProgress .wrapper .cancel {
925
+ min-width: 107px;
926
+ margin-top: 20px;
927
+ background-color: white;
928
+ color: #F96B5C;
929
+ box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.25);
972
930
  }
973
931
 
974
- .Scrollable .scrollbar {
932
+ .ModalMenu {
975
933
  position: absolute;
976
- right: 0px;
977
- top: 0px;
978
- width: 5px;
979
- transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
980
- transition-delay: 0.5s;
981
- z-index: 1;
934
+ top: 10px;
935
+ right: 50px;
982
936
  }
983
937
 
984
- .Scrollable .scrollbar.auto, .Scrollable .scrollbar.hidden {
985
- opacity: 0;
938
+ .ModalMenu .material-icons {
939
+ color: #818181;
986
940
  }
987
941
 
988
- .Scrollable .scrollbar .thumb {
989
- background-color: rgba(0, 0, 0, 0.3);
990
- width: 5px;
942
+ .ModalMenu .Button.animated {
991
943
  position: absolute;
992
- right: 0px;
993
- top: 0px;
994
- user-select: none;
995
- will-change: top;
996
- border-radius: 2px;
997
- }
998
-
999
- .Scrollable .scrollbar .thumb:hover {
1000
- background-color: rgba(0, 0, 0, 0.5);
1001
- }
1002
-
1003
- .Scrollable .scrollbar .thumb:active {
1004
- background-color: rgba(0, 0, 0, 0.7);
1005
- }
1006
-
1007
- .Scrollable .scrollbar.horizontal {
1008
- left: 0px;
1009
- right: 0px;
1010
- height: 5px;
1011
- bottom: 0;
1012
- width: unset;
1013
- top: unset;
944
+ transition: opacity 150ms ease-in, right 200ms ease-in;
945
+ opacity: 0;
946
+ right: 0;
947
+ top: 0;
1014
948
  }
1015
949
 
1016
- .Scrollable .scrollbar.horizontal .thumb {
1017
- height: 5px;
1018
- left: 0px;
1019
- bottom: 0px;
1020
- will-change: left;
950
+ .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
951
+ opacity: 1;
1021
952
  }
1022
953
 
1023
- .Switch {
1024
- display: inline-flex;
1025
- padding-top: 5px;
954
+ .ModalMenu .Button.animated.unmounting {
955
+ transition: opacity 100ms ease-out, right 200ms ease-out;
1026
956
  }
1027
957
 
1028
- .Switch .switch-input {
1029
- display: none;
958
+ .ModalMenu .Button.active {
959
+ background: #EBEBEB;
1030
960
  }
1031
961
 
1032
- .Switch .switch-label {
1033
- position: relative;
1034
- display: inline-flex;
1035
- align-items: center;
1036
- min-width: 38px;
962
+ .ModalMenu .separator {
1037
963
  height: 24px;
1038
- cursor: pointer;
1039
- font-weight: 500;
1040
- text-align: left;
1041
- user-select: none;
1042
- margin: 0;
1043
- padding: 0;
1044
- padding-left: 44px;
1045
- box-sizing: border-box;
1046
- }
1047
-
1048
- .Switch .switch-label:before, .Switch .switch-label:after {
1049
- content: "";
1050
- box-sizing: border-box;
1051
- position: absolute;
1052
- margin: 0;
1053
- outline: 0;
1054
- top: 50%;
1055
- transform: translate(0, -50%);
1056
- transition: all 0.3s ease;
1057
- }
1058
-
1059
- .Switch .switch-label:before {
1060
- left: 1px;
1061
- width: 34px;
1062
- height: 14px;
1063
- background-color: #9E9E9E;
1064
- border-radius: 8px;
1065
- }
1066
-
1067
- .Switch .switch-label:after {
1068
- left: 0;
1069
- width: 20px;
1070
- height: 20px;
1071
- background-color: #FAFAFA;
1072
- border-radius: 50%;
1073
- 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);
1074
- }
1075
-
1076
- .Switch .switch-label .toggle--on {
1077
- display: none;
1078
- }
1079
-
1080
- .Switch .switch-label .toggle--off {
1081
- display: inline-block;
1082
- }
1083
-
1084
- .Switch .switch-label .label {
1085
- margin-right: 5px;
1086
- }
1087
-
1088
- .Switch .switch-input:checked + .switch-label:before {
1089
- background-color: #A5D6A7;
1090
- }
1091
-
1092
- .Switch .switch-input:checked + .switch-label:after {
1093
- background-color: #4CAF50;
1094
- transform: translate(80%, -50%);
1095
- }
1096
-
1097
- .Switch .switch-input:checked + .switch-label .toggle--on {
1098
- display: inline-block;
1099
- }
1100
-
1101
- .Switch .switch-input:checked + .switch-label .toggle--off {
1102
- display: none;
964
+ width: 1px;
965
+ background-color: #D9D9D9;
966
+ margin-left: 4px;
1103
967
  }
1104
968
 
1105
969
  .ImageGallery {
@@ -1315,63 +1179,273 @@
1315
1179
  background: rgba(0, 0, 0, 0);
1316
1180
  }
1317
1181
 
1318
- .ImageGallery .previews > .arrow {
1182
+ .ImageGallery .previews > .arrow {
1183
+ position: absolute;
1184
+ top: 50%;
1185
+ height: 30px;
1186
+ width: 30px;
1187
+ min-width: 30px;
1188
+ min-height: 30px;
1189
+ margin-top: -15px;
1190
+ }
1191
+
1192
+ .ImageGallery .previews > .arrow.left {
1193
+ left: 0;
1194
+ }
1195
+
1196
+ .ImageGallery .previews > .arrow.right {
1197
+ right: 0;
1198
+ }
1199
+
1200
+ .ImageGallery .previews > .arrow .material-icons {
1201
+ font-size: 24px;
1202
+ }
1203
+
1204
+ .Snackbar {
1205
+ transform: translateX(-50%);
1206
+ overflow: hidden;
1207
+ background-color: #323232;
1208
+ padding: 14px 24px 14px 24px;
1209
+ color: #fff;
1210
+ min-width: 288px;
1211
+ max-width: 568px;
1212
+ position: fixed;
1213
+ bottom: -50px;
1214
+ left: 50%;
1215
+ display: flex;
1216
+ flex-wrap: nowrap;
1217
+ align-items: center;
1218
+ opacity: 0;
1219
+ transition: bottom 0.25s ease, opacity 0.2s ease;
1220
+ border-radius: 4px;
1221
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1222
+ }
1223
+
1224
+ .Snackbar.shown {
1225
+ bottom: 15px;
1226
+ opacity: 1;
1227
+ }
1228
+
1229
+ .Snackbar .message {
1230
+ overflow: hidden;
1231
+ line-height: 1.2em;
1232
+ min-height: 1.2em;
1233
+ max-height: 2.4em;
1234
+ flex: 1;
1235
+ }
1236
+
1237
+ .Snackbar .action {
1238
+ text-transform: uppercase;
1239
+ font-weight: bold;
1240
+ margin-left: 48px;
1241
+ color: #bf3727;
1242
+ }
1243
+
1244
+ .Snackbar .action a {
1245
+ text-decoration: none;
1246
+ color: #bf3727;
1247
+ }
1248
+
1249
+ .Checkbox {
1250
+ position: relative;
1251
+ white-space: pre;
1252
+ }
1253
+
1254
+ .Checkbox *, .Checkbox *:before, .Checkbox *:after {
1255
+ box-sizing: border-box;
1256
+ }
1257
+
1258
+ .Checkbox label {
1259
+ font-family: Roboto, sans-serif;
1260
+ font-size: 14px;
1261
+ color: #1e252d;
1262
+ cursor: pointer;
1263
+ }
1264
+
1265
+ .Checkbox label:before, .Checkbox label:after {
1266
+ content: "";
1267
+ position: absolute;
1268
+ left: 0;
1269
+ top: 0;
1270
+ }
1271
+
1272
+ .Checkbox label:before {
1273
+ width: 20px;
1274
+ height: 20px;
1275
+ background: #fff;
1276
+ border: 2px solid #252525;
1277
+ border-radius: 2px;
1278
+ cursor: pointer;
1279
+ transition: background 0.3s;
1280
+ }
1281
+
1282
+ .Checkbox input[type=checkbox] {
1283
+ outline: 0;
1284
+ margin-right: 10px;
1285
+ visibility: hidden;
1286
+ }
1287
+
1288
+ .Checkbox input[type=checkbox]:checked + label:before {
1289
+ background: #4AC263;
1290
+ border: none;
1291
+ }
1292
+
1293
+ .Checkbox input[type=checkbox]:checked + label:after {
1294
+ transform: rotate(-45deg);
1295
+ top: 6px;
1296
+ left: 4px;
1297
+ width: 12px;
1298
+ height: 6px;
1299
+ border: 2px solid #fff;
1300
+ border-top-style: none;
1301
+ border-right-style: none;
1302
+ }
1303
+
1304
+ .Checkbox input[type=checkbox]:disabled + label {
1305
+ color: gray;
1306
+ }
1307
+
1308
+ .Checkbox input[type=checkbox]:disabled + label:before {
1309
+ border-color: rgba(0, 0, 0, 0.26);
1310
+ }
1311
+
1312
+ .Checkbox input[type=checkbox]:disabled:checked + label:before {
1313
+ background: rgba(0, 0, 0, 0.26);
1314
+ }
1315
+
1316
+ .SpinningProgress {
1317
+ width: 48px;
1318
+ height: 48px;
1319
+ position: relative;
1320
+ margin: 0 auto;
1321
+ }
1322
+
1323
+ .SpinningProgress:before {
1324
+ content: "";
1325
+ display: block;
1326
+ padding-top: 100%;
1327
+ }
1328
+
1329
+ .SpinningProgress .circular {
1330
+ animation: rotate 2s linear infinite;
1331
+ height: 100%;
1332
+ transform-origin: center center;
1333
+ width: 100%;
1334
+ position: absolute;
1335
+ top: 0;
1336
+ bottom: 0;
1337
+ left: 0;
1338
+ right: 0;
1339
+ margin: auto;
1340
+ }
1341
+
1342
+ .SpinningProgress .line {
1343
+ stroke: black;
1344
+ stroke-width: 2px;
1345
+ stroke-dasharray: 1, 96;
1346
+ stroke-dashoffset: 0;
1347
+ animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1348
+ }
1349
+
1350
+ @keyframes rotate {
1351
+ 100% {
1352
+ transform: rotate(360deg);
1353
+ }
1354
+ }
1355
+ @keyframes dash {
1356
+ 0% {
1357
+ stroke-dasharray: 1, 96;
1358
+ stroke-dashoffset: 0;
1359
+ }
1360
+ 50% {
1361
+ stroke-dasharray: 43, 96;
1362
+ stroke-dashoffset: -17px;
1363
+ }
1364
+ 100% {
1365
+ stroke-dasharray: 43, 96;
1366
+ stroke-dashoffset: -53px;
1367
+ }
1368
+ }
1369
+ .Switch {
1370
+ display: inline-flex;
1371
+ padding-top: 5px;
1372
+ }
1373
+
1374
+ .Switch .switch-input {
1375
+ display: none;
1376
+ }
1377
+
1378
+ .Switch .switch-label {
1379
+ position: relative;
1380
+ display: inline-flex;
1381
+ align-items: center;
1382
+ min-width: 38px;
1383
+ height: 24px;
1384
+ cursor: pointer;
1385
+ font-weight: 500;
1386
+ text-align: left;
1387
+ user-select: none;
1388
+ margin: 0;
1389
+ padding: 0;
1390
+ padding-left: 44px;
1391
+ box-sizing: border-box;
1392
+ }
1393
+
1394
+ .Switch .switch-label:before, .Switch .switch-label:after {
1395
+ content: "";
1396
+ box-sizing: border-box;
1319
1397
  position: absolute;
1398
+ margin: 0;
1399
+ outline: 0;
1320
1400
  top: 50%;
1321
- height: 30px;
1322
- width: 30px;
1323
- min-width: 30px;
1324
- min-height: 30px;
1325
- margin-top: -15px;
1326
- }
1327
-
1328
- .ImageGallery .previews > .arrow.left {
1329
- left: 0;
1401
+ transform: translate(0, -50%);
1402
+ transition: all 0.3s ease;
1330
1403
  }
1331
1404
 
1332
- .ImageGallery .previews > .arrow.right {
1333
- right: 0;
1405
+ .Switch .switch-label:before {
1406
+ left: 1px;
1407
+ width: 34px;
1408
+ height: 14px;
1409
+ background-color: #9E9E9E;
1410
+ border-radius: 8px;
1334
1411
  }
1335
1412
 
1336
- .ImageGallery .previews > .arrow .material-icons {
1337
- font-size: 24px;
1413
+ .Switch .switch-label:after {
1414
+ left: 0;
1415
+ width: 20px;
1416
+ height: 20px;
1417
+ background-color: #FAFAFA;
1418
+ border-radius: 50%;
1419
+ 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);
1338
1420
  }
1339
1421
 
1340
- .ModalMenu {
1341
- position: absolute;
1342
- top: 10px;
1343
- right: 50px;
1422
+ .Switch .switch-label .toggle--on {
1423
+ display: none;
1344
1424
  }
1345
1425
 
1346
- .ModalMenu .material-icons {
1347
- color: #818181;
1426
+ .Switch .switch-label .toggle--off {
1427
+ display: inline-block;
1348
1428
  }
1349
1429
 
1350
- .ModalMenu .Button.animated {
1351
- position: absolute;
1352
- transition: opacity 150ms ease-in, right 200ms ease-in;
1353
- opacity: 0;
1354
- right: 0;
1355
- top: 0;
1430
+ .Switch .switch-label .label {
1431
+ margin-right: 5px;
1356
1432
  }
1357
1433
 
1358
- .ModalMenu .Button.animated.mounting, .ModalMenu .Button.animated.mounted {
1359
- opacity: 1;
1434
+ .Switch .switch-input:checked + .switch-label:before {
1435
+ background-color: #A5D6A7;
1360
1436
  }
1361
1437
 
1362
- .ModalMenu .Button.animated.unmounting {
1363
- transition: opacity 100ms ease-out, right 200ms ease-out;
1438
+ .Switch .switch-input:checked + .switch-label:after {
1439
+ background-color: #4CAF50;
1440
+ transform: translate(80%, -50%);
1364
1441
  }
1365
1442
 
1366
- .ModalMenu .Button.active {
1367
- background: #EBEBEB;
1443
+ .Switch .switch-input:checked + .switch-label .toggle--on {
1444
+ display: inline-block;
1368
1445
  }
1369
1446
 
1370
- .ModalMenu .separator {
1371
- height: 24px;
1372
- width: 1px;
1373
- background-color: #D9D9D9;
1374
- margin-left: 4px;
1447
+ .Switch .switch-input:checked + .switch-label .toggle--off {
1448
+ display: none;
1375
1449
  }
1376
1450
 
1377
1451
  .TextField {
@@ -1517,102 +1591,28 @@
1517
1591
  animation-name: shake;
1518
1592
  }
1519
1593
 
1520
- .SpinningProgress {
1521
- width: 48px;
1522
- height: 48px;
1523
- position: relative;
1524
- margin: 0 auto;
1525
- }
1526
-
1527
- .SpinningProgress:before {
1528
- content: "";
1529
- display: block;
1530
- padding-top: 100%;
1531
- }
1532
-
1533
- .SpinningProgress .circular {
1534
- animation: rotate 2s linear infinite;
1535
- height: 100%;
1536
- transform-origin: center center;
1537
- width: 100%;
1594
+ .Button.FloatingActionButton {
1538
1595
  position: absolute;
1539
- top: 0;
1540
- bottom: 0;
1541
- left: 0;
1542
- right: 0;
1543
- margin: auto;
1544
- }
1545
-
1546
- .SpinningProgress .line {
1547
- stroke: black;
1548
- stroke-width: 2px;
1549
- stroke-dasharray: 1, 96;
1550
- stroke-dashoffset: 0;
1551
- animation: dash 1.5s ease-in-out infinite, color 6s ease-in-out infinite;
1552
- }
1553
-
1554
- @keyframes rotate {
1555
- 100% {
1556
- transform: rotate(360deg);
1557
- }
1558
- }
1559
- @keyframes dash {
1560
- 0% {
1561
- stroke-dasharray: 1, 96;
1562
- stroke-dashoffset: 0;
1563
- }
1564
- 50% {
1565
- stroke-dasharray: 43, 96;
1566
- stroke-dashoffset: -17px;
1567
- }
1568
- 100% {
1569
- stroke-dasharray: 43, 96;
1570
- stroke-dashoffset: -53px;
1571
- }
1572
- }
1573
- .Snackbar {
1574
- transform: translateX(-50%);
1575
- overflow: hidden;
1576
- background-color: #323232;
1577
- padding: 14px 24px 14px 24px;
1578
- color: #fff;
1579
- min-width: 288px;
1580
- max-width: 568px;
1581
- position: fixed;
1582
- bottom: -50px;
1583
- left: 50%;
1584
- display: flex;
1585
- flex-wrap: nowrap;
1586
- align-items: center;
1587
- opacity: 0;
1588
- transition: bottom 0.25s ease, opacity 0.2s ease;
1589
- border-radius: 4px;
1590
- box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
1591
- }
1592
-
1593
- .Snackbar.shown {
1594
- bottom: 15px;
1595
- opacity: 1;
1596
+ right: 16px;
1597
+ bottom: 16px;
1598
+ width: 56px;
1599
+ height: 56px;
1600
+ padding: 16px;
1601
+ transition: bottom 0.2s cubic-bezier(0.4, 0, 0.2, 1);
1596
1602
  }
1597
1603
 
1598
- .Snackbar .message {
1599
- overflow: hidden;
1600
- line-height: 1.2em;
1601
- min-height: 1.2em;
1602
- max-height: 2.4em;
1603
- flex: 1;
1604
+ .Button.FloatingActionButton.raised {
1605
+ 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);
1604
1606
  }
1605
1607
 
1606
- .Snackbar .action {
1607
- text-transform: uppercase;
1608
- font-weight: bold;
1609
- margin-left: 48px;
1610
- color: #bf3727;
1608
+ .Button.FloatingActionButton.mini {
1609
+ width: 40px;
1610
+ height: 40px;
1611
+ padding: 8px;
1611
1612
  }
1612
1613
 
1613
- .Snackbar .action a {
1614
- text-decoration: none;
1615
- color: #bf3727;
1614
+ .Button.FloatingActionButton.hidden {
1615
+ bottom: -100px;
1616
1616
  }
1617
1617
 
1618
1618
  .DNDContainer .DroppableList .Draggable {
@@ -1633,31 +1633,6 @@
1633
1633
  transition: transform 0.1s ease-in;
1634
1634
  }
1635
1635
 
1636
- .CalendarMonthView {
1637
- display: flex;
1638
- flex-flow: column nowrap;
1639
- height: 100%;
1640
- }
1641
-
1642
- .CalendarMonthView > .row {
1643
- display: flex;
1644
- flex-flow: row nowrap;
1645
- }
1646
-
1647
- .CalendarMonthView .days {
1648
- flex-grow: 1;
1649
- position: relative;
1650
- }
1651
-
1652
- .CalendarMonthView .day, .CalendarMonthView .header {
1653
- flex-grow: 1;
1654
- flex-basis: 1px;
1655
- }
1656
-
1657
- .CalendarMonthView .day {
1658
- height: 100%;
1659
- }
1660
-
1661
1636
  .DatePicker {
1662
1637
  position: relative;
1663
1638
  }
@@ -1775,6 +1750,31 @@
1775
1750
  background-color: #51adf6;
1776
1751
  }
1777
1752
 
1753
+ .CalendarMonthView {
1754
+ display: flex;
1755
+ flex-flow: column nowrap;
1756
+ height: 100%;
1757
+ }
1758
+
1759
+ .CalendarMonthView > .row {
1760
+ display: flex;
1761
+ flex-flow: row nowrap;
1762
+ }
1763
+
1764
+ .CalendarMonthView .days {
1765
+ flex-grow: 1;
1766
+ position: relative;
1767
+ }
1768
+
1769
+ .CalendarMonthView .day, .CalendarMonthView .header {
1770
+ flex-grow: 1;
1771
+ flex-basis: 1px;
1772
+ }
1773
+
1774
+ .CalendarMonthView .day {
1775
+ height: 100%;
1776
+ }
1777
+
1778
1778
  .DNDContainer {
1779
1779
  position: relative;
1780
1780
  }
@@ -1807,6 +1807,14 @@
1807
1807
  pointer-events: none;
1808
1808
  }
1809
1809
 
1810
+ .ScrollableTable .Scrollable .scrollbar {
1811
+ top: 56px;
1812
+ }
1813
+
1814
+ .ScrollableTable .Table {
1815
+ position: static;
1816
+ }
1817
+
1810
1818
  .Table {
1811
1819
  font-family: Roboto, sans-serif;
1812
1820
  font-size: 14px;
@@ -1927,12 +1935,4 @@
1927
1935
 
1928
1936
  .Table .editable > .AutocompleteSelect > .selected > .DummyChild {
1929
1937
  margin: 0;
1930
- }
1931
-
1932
- .ScrollableTable .Scrollable .scrollbar {
1933
- top: 56px;
1934
- }
1935
-
1936
- .ScrollableTable .Table {
1937
- position: static;
1938
1938
  }