nice-elements 1.10.0 → 1.10.1
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/CHANGELOG.md +10 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +48 -19
- package/dist/nice.min.js +1 -1
- package/dist/style.css +61 -13
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +3 -1
- package/src/components/nice-no-data/nice-no-data.html +2 -2
- package/src/components/nice-no-data/nice-no-data.js +6 -4
- package/src/components/nice-no-data/nice-no-data.scss +9 -5
- package/src/components/nice-table/nice-table.html +17 -7
- package/src/components/nice-table/nice-table.js +26 -5
- package/src/components/nice-table/nice-table.scss +57 -7
- package/src/services/nice-service.js +1 -1
- package/src/styles/_variables.scss +1 -0
package/dist/style.css
CHANGED
|
@@ -39,6 +39,7 @@
|
|
|
39
39
|
--nice-disabled-bg: white;
|
|
40
40
|
--nice-card-border: #cbd4d9;
|
|
41
41
|
--nice-card-bg: white;
|
|
42
|
+
--nice-card-bg-opacity: rgba(255, 255, 255, 0.8);
|
|
42
43
|
--nice-card-padding: 2rem;
|
|
43
44
|
--nice-input-bg: white;
|
|
44
45
|
--nice-input-bg-hover: #f7f7f7;
|
|
@@ -9868,10 +9869,16 @@ p.nice {
|
|
|
9868
9869
|
flex-direction: column;
|
|
9869
9870
|
align-items: center;
|
|
9870
9871
|
justify-content: center;
|
|
9871
|
-
padding: 1rem;
|
|
9872
|
+
padding: 2rem 1rem;
|
|
9873
|
+
font-size: 0.9em;
|
|
9872
9874
|
gap: 0.3rem;
|
|
9873
9875
|
color: var(--nice-font-color);
|
|
9874
|
-
opacity: 0.
|
|
9876
|
+
opacity: 0.5;
|
|
9877
|
+
transition: opacity 0.3s ease;
|
|
9878
|
+
}
|
|
9879
|
+
|
|
9880
|
+
.nice-no-data:hover {
|
|
9881
|
+
opacity: 0.7;
|
|
9875
9882
|
}
|
|
9876
9883
|
|
|
9877
9884
|
.nice-no-data.nice-no-data-fulldiv {
|
|
@@ -9887,10 +9894,6 @@ p.nice {
|
|
|
9887
9894
|
width: 24px;
|
|
9888
9895
|
}
|
|
9889
9896
|
|
|
9890
|
-
.nice-no-data .nice-no-data-message {
|
|
9891
|
-
font-style: italic;
|
|
9892
|
-
}
|
|
9893
|
-
|
|
9894
9897
|
.nice-table-wrapper {
|
|
9895
9898
|
min-height: .01%;
|
|
9896
9899
|
overflow-x: auto;
|
|
@@ -9902,18 +9905,22 @@ p.nice {
|
|
|
9902
9905
|
border-collapse: collapse;
|
|
9903
9906
|
border-spacing: 0;
|
|
9904
9907
|
background: var(--nice-card-bg);
|
|
9908
|
+
color: var(--nice-font-color);
|
|
9905
9909
|
}
|
|
9906
9910
|
|
|
9907
|
-
.nice-table-wrapper .nice-table .nice-table-freeze-
|
|
9911
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-left,
|
|
9912
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-right {
|
|
9908
9913
|
position: sticky;
|
|
9914
|
+
background: var(--nice-card-bg-opacity);
|
|
9915
|
+
backdrop-filter: blur(3px);
|
|
9916
|
+
}
|
|
9917
|
+
|
|
9918
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-left {
|
|
9909
9919
|
left: 0;
|
|
9910
|
-
background: var(--nice-card-bg);
|
|
9911
9920
|
}
|
|
9912
9921
|
|
|
9913
|
-
.nice-table-wrapper .nice-table .nice-table-freeze-
|
|
9914
|
-
position: sticky;
|
|
9922
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-right {
|
|
9915
9923
|
right: 0;
|
|
9916
|
-
background: var(--nice-card-bg);
|
|
9917
9924
|
}
|
|
9918
9925
|
|
|
9919
9926
|
.nice-table-wrapper .nice-table .nice-table-actions {
|
|
@@ -9929,16 +9936,51 @@ p.nice {
|
|
|
9929
9936
|
padding: 8px;
|
|
9930
9937
|
vertical-align: bottom;
|
|
9931
9938
|
text-transform: uppercase;
|
|
9939
|
+
font-weight: normal;
|
|
9932
9940
|
font-size: 12px;
|
|
9933
9941
|
color: var(--nice-primary-color);
|
|
9934
9942
|
}
|
|
9935
9943
|
|
|
9944
|
+
.nice-table-wrapper .nice-table thead tr th.text-right .nice-table-order {
|
|
9945
|
+
justify-content: flex-end;
|
|
9946
|
+
}
|
|
9947
|
+
|
|
9948
|
+
.nice-table-wrapper .nice-table thead tr th.text-center .nice-table-order {
|
|
9949
|
+
justify-content: center;
|
|
9950
|
+
}
|
|
9951
|
+
|
|
9952
|
+
.nice-table-wrapper .nice-table thead .nice-table-order {
|
|
9953
|
+
cursor: pointer;
|
|
9954
|
+
display: flex;
|
|
9955
|
+
align-items: center;
|
|
9956
|
+
gap: 3px;
|
|
9957
|
+
}
|
|
9958
|
+
|
|
9959
|
+
.nice-table-wrapper .nice-table thead .nice-table-order .nice-icon {
|
|
9960
|
+
width: 14px;
|
|
9961
|
+
height: 14px;
|
|
9962
|
+
transform: rotate(90deg);
|
|
9963
|
+
}
|
|
9964
|
+
|
|
9965
|
+
.nice-table-wrapper .nice-table thead .nice-table-order.nice-table-order-asc {
|
|
9966
|
+
color: var(--nice-danger-color);
|
|
9967
|
+
transition: transform 0.3s ease;
|
|
9968
|
+
}
|
|
9969
|
+
|
|
9970
|
+
.nice-table-wrapper .nice-table thead .nice-table-order.nice-table-order-desc {
|
|
9971
|
+
color: var(--nice-danger-color);
|
|
9972
|
+
}
|
|
9973
|
+
|
|
9974
|
+
.nice-table-wrapper .nice-table thead .nice-table-order.nice-table-order-desc .nice-icon {
|
|
9975
|
+
transform: rotate(-90deg);
|
|
9976
|
+
}
|
|
9977
|
+
|
|
9936
9978
|
.nice-table-wrapper .nice-table tbody tr:hover {
|
|
9937
9979
|
background-color: var(--nice-hover-color);
|
|
9938
9980
|
}
|
|
9939
9981
|
|
|
9940
|
-
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-
|
|
9941
|
-
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-
|
|
9982
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-left,
|
|
9983
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-right {
|
|
9942
9984
|
background-color: var(--nice-hover-color);
|
|
9943
9985
|
}
|
|
9944
9986
|
|
|
@@ -9948,6 +9990,12 @@ p.nice {
|
|
|
9948
9990
|
border-top: 1px solid var(--nice-border-color);
|
|
9949
9991
|
}
|
|
9950
9992
|
|
|
9993
|
+
.nice-table-wrapper .nice-table-loader {
|
|
9994
|
+
padding: 2rem 1rem;
|
|
9995
|
+
margin-top: -1px;
|
|
9996
|
+
border-top: 1px solid var(--nice-border-color);
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9951
9999
|
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
9952
10000
|
margin-bottom: 1rem;
|
|
9953
10001
|
display: flex;
|