nice-elements 1.6.0 → 1.6.2

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/dist/style.css CHANGED
@@ -399,10 +399,12 @@ p.nice {
399
399
  flex-shrink: 0;
400
400
  }
401
401
 
402
+ .btn i + span,
402
403
  .btn svg + span,
403
404
  .btn nice-icon + span,
404
405
  .btn span + svg,
405
- .btn span + nice-icon {
406
+ .btn span + nice-icon,
407
+ .btn span + i {
406
408
  margin-left: 0.5rem;
407
409
  }
408
410
 
@@ -653,34 +655,66 @@ p.nice {
653
655
  margin-top: 0 !important;
654
656
  }
655
657
 
658
+ .-mt-0 {
659
+ margin-top: 0 !important;
660
+ }
661
+
656
662
  .mb-0 {
657
663
  margin-bottom: 0 !important;
658
664
  }
659
665
 
666
+ .-mb-0 {
667
+ margin-bottom: 0 !important;
668
+ }
669
+
660
670
  .ml-0 {
661
671
  margin-left: 0 !important;
662
672
  }
663
673
 
674
+ .-ml-0 {
675
+ margin-left: 0 !important;
676
+ }
677
+
664
678
  .mr-0 {
665
679
  margin-right: 0 !important;
666
680
  }
667
681
 
682
+ .-mr-0 {
683
+ margin-right: 0 !important;
684
+ }
685
+
668
686
  .pt-0 {
669
687
  padding-top: 0 !important;
670
688
  }
671
689
 
690
+ .-pt-0 {
691
+ padding-top: 0 !important;
692
+ }
693
+
672
694
  .pb-0 {
673
695
  padding-bottom: 0 !important;
674
696
  }
675
697
 
698
+ .-pb-0 {
699
+ padding-bottom: 0 !important;
700
+ }
701
+
676
702
  .pl-0 {
677
703
  padding-left: 0 !important;
678
704
  }
679
705
 
706
+ .-pl-0 {
707
+ padding-left: 0 !important;
708
+ }
709
+
680
710
  .pr-0 {
681
711
  padding-right: 0 !important;
682
712
  }
683
713
 
714
+ .-pr-0 {
715
+ padding-right: 0 !important;
716
+ }
717
+
684
718
  .w-0 {
685
719
  width: 0 !important;
686
720
  }
@@ -689,34 +723,66 @@ p.nice {
689
723
  margin-top: 0.25rem !important;
690
724
  }
691
725
 
726
+ .-mt-1 {
727
+ margin-top: -0.25rem !important;
728
+ }
729
+
692
730
  .mb-1 {
693
731
  margin-bottom: 0.25rem !important;
694
732
  }
695
733
 
734
+ .-mb-1 {
735
+ margin-bottom: -0.25rem !important;
736
+ }
737
+
696
738
  .ml-1 {
697
739
  margin-left: 0.25rem !important;
698
740
  }
699
741
 
742
+ .-ml-1 {
743
+ margin-left: -0.25rem !important;
744
+ }
745
+
700
746
  .mr-1 {
701
747
  margin-right: 0.25rem !important;
702
748
  }
703
749
 
750
+ .-mr-1 {
751
+ margin-right: -0.25rem !important;
752
+ }
753
+
704
754
  .pt-1 {
705
755
  padding-top: 0.25rem !important;
706
756
  }
707
757
 
758
+ .-pt-1 {
759
+ padding-top: -0.25rem !important;
760
+ }
761
+
708
762
  .pb-1 {
709
763
  padding-bottom: 0.25rem !important;
710
764
  }
711
765
 
766
+ .-pb-1 {
767
+ padding-bottom: -0.25rem !important;
768
+ }
769
+
712
770
  .pl-1 {
713
771
  padding-left: 0.25rem !important;
714
772
  }
715
773
 
774
+ .-pl-1 {
775
+ padding-left: -0.25rem !important;
776
+ }
777
+
716
778
  .pr-1 {
717
779
  padding-right: 0.25rem !important;
718
780
  }
719
781
 
782
+ .-pr-1 {
783
+ padding-right: -0.25rem !important;
784
+ }
785
+
720
786
  .w-1 {
721
787
  width: 0.25rem !important;
722
788
  }
@@ -725,34 +791,66 @@ p.nice {
725
791
  margin-top: 0.5rem !important;
726
792
  }
727
793
 
794
+ .-mt-2 {
795
+ margin-top: -0.5rem !important;
796
+ }
797
+
728
798
  .mb-2 {
729
799
  margin-bottom: 0.5rem !important;
730
800
  }
731
801
 
802
+ .-mb-2 {
803
+ margin-bottom: -0.5rem !important;
804
+ }
805
+
732
806
  .ml-2 {
733
807
  margin-left: 0.5rem !important;
734
808
  }
735
809
 
810
+ .-ml-2 {
811
+ margin-left: -0.5rem !important;
812
+ }
813
+
736
814
  .mr-2 {
737
815
  margin-right: 0.5rem !important;
738
816
  }
739
817
 
818
+ .-mr-2 {
819
+ margin-right: -0.5rem !important;
820
+ }
821
+
740
822
  .pt-2 {
741
823
  padding-top: 0.5rem !important;
742
824
  }
743
825
 
826
+ .-pt-2 {
827
+ padding-top: -0.5rem !important;
828
+ }
829
+
744
830
  .pb-2 {
745
831
  padding-bottom: 0.5rem !important;
746
832
  }
747
833
 
834
+ .-pb-2 {
835
+ padding-bottom: -0.5rem !important;
836
+ }
837
+
748
838
  .pl-2 {
749
839
  padding-left: 0.5rem !important;
750
840
  }
751
841
 
842
+ .-pl-2 {
843
+ padding-left: -0.5rem !important;
844
+ }
845
+
752
846
  .pr-2 {
753
847
  padding-right: 0.5rem !important;
754
848
  }
755
849
 
850
+ .-pr-2 {
851
+ padding-right: -0.5rem !important;
852
+ }
853
+
756
854
  .w-2 {
757
855
  width: 0.5rem !important;
758
856
  }
@@ -761,34 +859,66 @@ p.nice {
761
859
  margin-top: 1rem !important;
762
860
  }
763
861
 
862
+ .-mt-3 {
863
+ margin-top: -1rem !important;
864
+ }
865
+
764
866
  .mb-3 {
765
867
  margin-bottom: 1rem !important;
766
868
  }
767
869
 
870
+ .-mb-3 {
871
+ margin-bottom: -1rem !important;
872
+ }
873
+
768
874
  .ml-3 {
769
875
  margin-left: 1rem !important;
770
876
  }
771
877
 
878
+ .-ml-3 {
879
+ margin-left: -1rem !important;
880
+ }
881
+
772
882
  .mr-3 {
773
883
  margin-right: 1rem !important;
774
884
  }
775
885
 
886
+ .-mr-3 {
887
+ margin-right: -1rem !important;
888
+ }
889
+
776
890
  .pt-3 {
777
891
  padding-top: 1rem !important;
778
892
  }
779
893
 
894
+ .-pt-3 {
895
+ padding-top: -1rem !important;
896
+ }
897
+
780
898
  .pb-3 {
781
899
  padding-bottom: 1rem !important;
782
900
  }
783
901
 
902
+ .-pb-3 {
903
+ padding-bottom: -1rem !important;
904
+ }
905
+
784
906
  .pl-3 {
785
907
  padding-left: 1rem !important;
786
908
  }
787
909
 
910
+ .-pl-3 {
911
+ padding-left: -1rem !important;
912
+ }
913
+
788
914
  .pr-3 {
789
915
  padding-right: 1rem !important;
790
916
  }
791
917
 
918
+ .-pr-3 {
919
+ padding-right: -1rem !important;
920
+ }
921
+
792
922
  .w-3 {
793
923
  width: 1rem !important;
794
924
  }
@@ -797,34 +927,66 @@ p.nice {
797
927
  margin-top: 1.5rem !important;
798
928
  }
799
929
 
930
+ .-mt-4 {
931
+ margin-top: -1.5rem !important;
932
+ }
933
+
800
934
  .mb-4 {
801
935
  margin-bottom: 1.5rem !important;
802
936
  }
803
937
 
938
+ .-mb-4 {
939
+ margin-bottom: -1.5rem !important;
940
+ }
941
+
804
942
  .ml-4 {
805
943
  margin-left: 1.5rem !important;
806
944
  }
807
945
 
946
+ .-ml-4 {
947
+ margin-left: -1.5rem !important;
948
+ }
949
+
808
950
  .mr-4 {
809
951
  margin-right: 1.5rem !important;
810
952
  }
811
953
 
954
+ .-mr-4 {
955
+ margin-right: -1.5rem !important;
956
+ }
957
+
812
958
  .pt-4 {
813
959
  padding-top: 1.5rem !important;
814
960
  }
815
961
 
962
+ .-pt-4 {
963
+ padding-top: -1.5rem !important;
964
+ }
965
+
816
966
  .pb-4 {
817
967
  padding-bottom: 1.5rem !important;
818
968
  }
819
969
 
970
+ .-pb-4 {
971
+ padding-bottom: -1.5rem !important;
972
+ }
973
+
820
974
  .pl-4 {
821
975
  padding-left: 1.5rem !important;
822
976
  }
823
977
 
978
+ .-pl-4 {
979
+ padding-left: -1.5rem !important;
980
+ }
981
+
824
982
  .pr-4 {
825
983
  padding-right: 1.5rem !important;
826
984
  }
827
985
 
986
+ .-pr-4 {
987
+ padding-right: -1.5rem !important;
988
+ }
989
+
828
990
  .w-4 {
829
991
  width: 1.5rem !important;
830
992
  }
@@ -833,34 +995,66 @@ p.nice {
833
995
  margin-top: 2rem !important;
834
996
  }
835
997
 
998
+ .-mt-5 {
999
+ margin-top: -2rem !important;
1000
+ }
1001
+
836
1002
  .mb-5 {
837
1003
  margin-bottom: 2rem !important;
838
1004
  }
839
1005
 
1006
+ .-mb-5 {
1007
+ margin-bottom: -2rem !important;
1008
+ }
1009
+
840
1010
  .ml-5 {
841
1011
  margin-left: 2rem !important;
842
1012
  }
843
1013
 
1014
+ .-ml-5 {
1015
+ margin-left: -2rem !important;
1016
+ }
1017
+
844
1018
  .mr-5 {
845
1019
  margin-right: 2rem !important;
846
1020
  }
847
1021
 
1022
+ .-mr-5 {
1023
+ margin-right: -2rem !important;
1024
+ }
1025
+
848
1026
  .pt-5 {
849
1027
  padding-top: 2rem !important;
850
1028
  }
851
1029
 
1030
+ .-pt-5 {
1031
+ padding-top: -2rem !important;
1032
+ }
1033
+
852
1034
  .pb-5 {
853
1035
  padding-bottom: 2rem !important;
854
1036
  }
855
1037
 
1038
+ .-pb-5 {
1039
+ padding-bottom: -2rem !important;
1040
+ }
1041
+
856
1042
  .pl-5 {
857
1043
  padding-left: 2rem !important;
858
1044
  }
859
1045
 
1046
+ .-pl-5 {
1047
+ padding-left: -2rem !important;
1048
+ }
1049
+
860
1050
  .pr-5 {
861
1051
  padding-right: 2rem !important;
862
1052
  }
863
1053
 
1054
+ .-pr-5 {
1055
+ padding-right: -2rem !important;
1056
+ }
1057
+
864
1058
  .w-5 {
865
1059
  width: 2rem !important;
866
1060
  }
@@ -869,34 +1063,66 @@ p.nice {
869
1063
  margin-top: 2.5rem !important;
870
1064
  }
871
1065
 
1066
+ .-mt-6 {
1067
+ margin-top: -2.5rem !important;
1068
+ }
1069
+
872
1070
  .mb-6 {
873
1071
  margin-bottom: 2.5rem !important;
874
1072
  }
875
1073
 
1074
+ .-mb-6 {
1075
+ margin-bottom: -2.5rem !important;
1076
+ }
1077
+
876
1078
  .ml-6 {
877
1079
  margin-left: 2.5rem !important;
878
1080
  }
879
1081
 
1082
+ .-ml-6 {
1083
+ margin-left: -2.5rem !important;
1084
+ }
1085
+
880
1086
  .mr-6 {
881
1087
  margin-right: 2.5rem !important;
882
1088
  }
883
1089
 
1090
+ .-mr-6 {
1091
+ margin-right: -2.5rem !important;
1092
+ }
1093
+
884
1094
  .pt-6 {
885
1095
  padding-top: 2.5rem !important;
886
1096
  }
887
1097
 
1098
+ .-pt-6 {
1099
+ padding-top: -2.5rem !important;
1100
+ }
1101
+
888
1102
  .pb-6 {
889
1103
  padding-bottom: 2.5rem !important;
890
1104
  }
891
1105
 
1106
+ .-pb-6 {
1107
+ padding-bottom: -2.5rem !important;
1108
+ }
1109
+
892
1110
  .pl-6 {
893
1111
  padding-left: 2.5rem !important;
894
1112
  }
895
1113
 
1114
+ .-pl-6 {
1115
+ padding-left: -2.5rem !important;
1116
+ }
1117
+
896
1118
  .pr-6 {
897
1119
  padding-right: 2.5rem !important;
898
1120
  }
899
1121
 
1122
+ .-pr-6 {
1123
+ padding-right: -2.5rem !important;
1124
+ }
1125
+
900
1126
  .w-6 {
901
1127
  width: 2.5rem !important;
902
1128
  }
@@ -905,34 +1131,66 @@ p.nice {
905
1131
  margin-top: 3rem !important;
906
1132
  }
907
1133
 
1134
+ .-mt-7 {
1135
+ margin-top: -3rem !important;
1136
+ }
1137
+
908
1138
  .mb-7 {
909
1139
  margin-bottom: 3rem !important;
910
1140
  }
911
1141
 
1142
+ .-mb-7 {
1143
+ margin-bottom: -3rem !important;
1144
+ }
1145
+
912
1146
  .ml-7 {
913
1147
  margin-left: 3rem !important;
914
1148
  }
915
1149
 
1150
+ .-ml-7 {
1151
+ margin-left: -3rem !important;
1152
+ }
1153
+
916
1154
  .mr-7 {
917
1155
  margin-right: 3rem !important;
918
1156
  }
919
1157
 
1158
+ .-mr-7 {
1159
+ margin-right: -3rem !important;
1160
+ }
1161
+
920
1162
  .pt-7 {
921
1163
  padding-top: 3rem !important;
922
1164
  }
923
1165
 
1166
+ .-pt-7 {
1167
+ padding-top: -3rem !important;
1168
+ }
1169
+
924
1170
  .pb-7 {
925
1171
  padding-bottom: 3rem !important;
926
1172
  }
927
1173
 
1174
+ .-pb-7 {
1175
+ padding-bottom: -3rem !important;
1176
+ }
1177
+
928
1178
  .pl-7 {
929
1179
  padding-left: 3rem !important;
930
1180
  }
931
1181
 
1182
+ .-pl-7 {
1183
+ padding-left: -3rem !important;
1184
+ }
1185
+
932
1186
  .pr-7 {
933
1187
  padding-right: 3rem !important;
934
1188
  }
935
1189
 
1190
+ .-pr-7 {
1191
+ padding-right: -3rem !important;
1192
+ }
1193
+
936
1194
  .w-7 {
937
1195
  width: 3rem !important;
938
1196
  }
@@ -941,34 +1199,66 @@ p.nice {
941
1199
  margin-top: 4rem !important;
942
1200
  }
943
1201
 
1202
+ .-mt-8 {
1203
+ margin-top: -4rem !important;
1204
+ }
1205
+
944
1206
  .mb-8 {
945
1207
  margin-bottom: 4rem !important;
946
1208
  }
947
1209
 
1210
+ .-mb-8 {
1211
+ margin-bottom: -4rem !important;
1212
+ }
1213
+
948
1214
  .ml-8 {
949
1215
  margin-left: 4rem !important;
950
1216
  }
951
1217
 
1218
+ .-ml-8 {
1219
+ margin-left: -4rem !important;
1220
+ }
1221
+
952
1222
  .mr-8 {
953
1223
  margin-right: 4rem !important;
954
1224
  }
955
1225
 
1226
+ .-mr-8 {
1227
+ margin-right: -4rem !important;
1228
+ }
1229
+
956
1230
  .pt-8 {
957
1231
  padding-top: 4rem !important;
958
1232
  }
959
1233
 
1234
+ .-pt-8 {
1235
+ padding-top: -4rem !important;
1236
+ }
1237
+
960
1238
  .pb-8 {
961
1239
  padding-bottom: 4rem !important;
962
1240
  }
963
1241
 
1242
+ .-pb-8 {
1243
+ padding-bottom: -4rem !important;
1244
+ }
1245
+
964
1246
  .pl-8 {
965
1247
  padding-left: 4rem !important;
966
1248
  }
967
1249
 
1250
+ .-pl-8 {
1251
+ padding-left: -4rem !important;
1252
+ }
1253
+
968
1254
  .pr-8 {
969
1255
  padding-right: 4rem !important;
970
1256
  }
971
1257
 
1258
+ .-pr-8 {
1259
+ padding-right: -4rem !important;
1260
+ }
1261
+
972
1262
  .w-8 {
973
1263
  width: 4rem !important;
974
1264
  }
@@ -977,34 +1267,66 @@ p.nice {
977
1267
  margin-top: 5rem !important;
978
1268
  }
979
1269
 
1270
+ .-mt-9 {
1271
+ margin-top: -5rem !important;
1272
+ }
1273
+
980
1274
  .mb-9 {
981
1275
  margin-bottom: 5rem !important;
982
1276
  }
983
1277
 
1278
+ .-mb-9 {
1279
+ margin-bottom: -5rem !important;
1280
+ }
1281
+
984
1282
  .ml-9 {
985
1283
  margin-left: 5rem !important;
986
1284
  }
987
1285
 
1286
+ .-ml-9 {
1287
+ margin-left: -5rem !important;
1288
+ }
1289
+
988
1290
  .mr-9 {
989
1291
  margin-right: 5rem !important;
990
1292
  }
991
1293
 
1294
+ .-mr-9 {
1295
+ margin-right: -5rem !important;
1296
+ }
1297
+
992
1298
  .pt-9 {
993
1299
  padding-top: 5rem !important;
994
1300
  }
995
1301
 
1302
+ .-pt-9 {
1303
+ padding-top: -5rem !important;
1304
+ }
1305
+
996
1306
  .pb-9 {
997
1307
  padding-bottom: 5rem !important;
998
1308
  }
999
1309
 
1310
+ .-pb-9 {
1311
+ padding-bottom: -5rem !important;
1312
+ }
1313
+
1000
1314
  .pl-9 {
1001
1315
  padding-left: 5rem !important;
1002
1316
  }
1003
1317
 
1318
+ .-pl-9 {
1319
+ padding-left: -5rem !important;
1320
+ }
1321
+
1004
1322
  .pr-9 {
1005
1323
  padding-right: 5rem !important;
1006
1324
  }
1007
1325
 
1326
+ .-pr-9 {
1327
+ padding-right: -5rem !important;
1328
+ }
1329
+
1008
1330
  .w-9 {
1009
1331
  width: 5rem !important;
1010
1332
  }
@@ -1013,34 +1335,66 @@ p.nice {
1013
1335
  margin-top: 6rem !important;
1014
1336
  }
1015
1337
 
1338
+ .-mt-10 {
1339
+ margin-top: -6rem !important;
1340
+ }
1341
+
1016
1342
  .mb-10 {
1017
1343
  margin-bottom: 6rem !important;
1018
1344
  }
1019
1345
 
1346
+ .-mb-10 {
1347
+ margin-bottom: -6rem !important;
1348
+ }
1349
+
1020
1350
  .ml-10 {
1021
1351
  margin-left: 6rem !important;
1022
1352
  }
1023
1353
 
1354
+ .-ml-10 {
1355
+ margin-left: -6rem !important;
1356
+ }
1357
+
1024
1358
  .mr-10 {
1025
1359
  margin-right: 6rem !important;
1026
1360
  }
1027
1361
 
1362
+ .-mr-10 {
1363
+ margin-right: -6rem !important;
1364
+ }
1365
+
1028
1366
  .pt-10 {
1029
1367
  padding-top: 6rem !important;
1030
1368
  }
1031
1369
 
1370
+ .-pt-10 {
1371
+ padding-top: -6rem !important;
1372
+ }
1373
+
1032
1374
  .pb-10 {
1033
1375
  padding-bottom: 6rem !important;
1034
1376
  }
1035
1377
 
1378
+ .-pb-10 {
1379
+ padding-bottom: -6rem !important;
1380
+ }
1381
+
1036
1382
  .pl-10 {
1037
1383
  padding-left: 6rem !important;
1038
1384
  }
1039
1385
 
1386
+ .-pl-10 {
1387
+ padding-left: -6rem !important;
1388
+ }
1389
+
1040
1390
  .pr-10 {
1041
1391
  padding-right: 6rem !important;
1042
1392
  }
1043
1393
 
1394
+ .-pr-10 {
1395
+ padding-right: -6rem !important;
1396
+ }
1397
+
1044
1398
  .w-10 {
1045
1399
  width: 6rem !important;
1046
1400
  }
@@ -3651,6 +4005,13 @@ p.nice {
3651
4005
  display: block;
3652
4006
  }
3653
4007
 
4008
+ .nice-upload .nice-upload-area {
4009
+ height: 150px;
4010
+ position: relative;
4011
+ border-radius: var(--nice-border-radius);
4012
+ border: 1px solid var(--nice-border-color);
4013
+ }
4014
+
3654
4015
  .nice-upload input {
3655
4016
  position: absolute;
3656
4017
  top: 0;
@@ -3658,7 +4019,6 @@ p.nice {
3658
4019
  width: 100%;
3659
4020
  height: 100%;
3660
4021
  opacity: 0;
3661
- z-index: 10;
3662
4022
  cursor: pointer;
3663
4023
  }
3664
4024
 
@@ -3667,15 +4027,17 @@ p.nice {
3667
4027
  }
3668
4028
 
3669
4029
  .nice-upload .input-area {
3670
- border-radius: 3px;
3671
4030
  width: 100%;
3672
- height: 150px;
3673
- border: 1px solid #cbd4d9;
3674
- position: relative;
3675
- text-align: center;
3676
- cursor: pointer;
3677
- display: table;
3678
- padding: 15px;
4031
+ height: 100%;
4032
+ top: 0;
4033
+ left: 0;
4034
+ position: absolute;
4035
+ padding: 1rem;
4036
+ border-radius: 3px;
4037
+ overflow: hidden;
4038
+ display: flex;
4039
+ justify-content: center;
4040
+ align-items: center;
3679
4041
  }
3680
4042
 
3681
4043
  .nice-upload .input-area.dragging {
@@ -3691,6 +4053,11 @@ p.nice {
3691
4053
  height: 100%;
3692
4054
  }
3693
4055
 
4056
+ .nice-upload .input-area .middle-text svg {
4057
+ opacity: 0.6;
4058
+ margin-bottom: 2px;
4059
+ }
4060
+
3694
4061
  .nice-upload .input-area .middle-text .text-placeholder {
3695
4062
  font-size: 0.9em;
3696
4063
  opacity: 0.6;
@@ -3701,28 +4068,9 @@ p.nice {
3701
4068
  }
3702
4069
 
3703
4070
  .nice-upload .input-area img {
3704
- max-width: 100%;
3705
- max-height: 148px;
3706
- }
3707
-
3708
- .nice-upload .loading {
3709
- position: absolute;
3710
4071
  width: 100%;
3711
4072
  height: 100%;
3712
- top: 0;
3713
- left: 0;
3714
- background-color: rgba(255, 255, 255, 0.5);
3715
- }
3716
-
3717
- .nice-upload .loading .nice-loader {
3718
- position: absolute;
3719
- top: 50%;
3720
- left: 50%;
3721
- width: 40px;
3722
- height: 40px;
3723
- margin-top: -20px;
3724
- margin-left: -20px;
3725
- padding: 0;
4073
+ object-fit: contain;
3726
4074
  }
3727
4075
 
3728
4076
  .nice-help {