nice-elements 1.9.15 → 1.10.0
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 +11 -0
- package/README.md +3 -1
- package/bower.json +1 -1
- package/dist/nice.js +113 -7
- package/dist/nice.min.js +1 -1
- package/dist/style.css +98 -2
- package/dist/style.css.map +3 -1
- package/dist/style.min.css +2 -2
- package/package.json +2 -2
- package/src/components/nice-button/nice-button.js +1 -1
- package/src/components/nice-no-data/nice-no-data.html +4 -0
- package/src/components/nice-no-data/nice-no-data.js +26 -0
- package/src/components/nice-no-data/nice-no-data.scss +27 -0
- package/src/components/nice-number/nice-number.js +6 -3
- package/src/components/nice-table/nice-table.html +28 -0
- package/src/components/nice-table/nice-table.js +40 -0
- package/src/components/nice-table/nice-table.scss +62 -0
- package/src/components/nice-toggle/nice-toggle.html +2 -2
- package/src/components/nice-toggle/nice-toggle.scss +15 -8
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice.scss +2 -0
- package/src/styles/_variables.scss +2 -0
package/dist/style.css
CHANGED
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
--nice-warning-color-darker: #d39e00;
|
|
32
32
|
--nice-warning-color-plain: #fff9e8;
|
|
33
33
|
--nice-border-color: #cbd4d9;
|
|
34
|
+
--nice-border-color-darker: #aebcc3;
|
|
34
35
|
--nice-border-radius: 3px;
|
|
35
36
|
--nice-border-radius-small: 3px;
|
|
36
37
|
--nice-disabled-color: #EDEFF2;
|
|
@@ -40,6 +41,7 @@
|
|
|
40
41
|
--nice-card-bg: white;
|
|
41
42
|
--nice-card-padding: 2rem;
|
|
42
43
|
--nice-input-bg: white;
|
|
44
|
+
--nice-input-bg-hover: #f7f7f7;
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
.noselect, .nice-choice li {
|
|
@@ -9834,6 +9836,11 @@ p.nice {
|
|
|
9834
9836
|
position: relative;
|
|
9835
9837
|
width: 50px;
|
|
9836
9838
|
height: 25px;
|
|
9839
|
+
transition: background-color 0.3s ease-in-out;
|
|
9840
|
+
}
|
|
9841
|
+
|
|
9842
|
+
.nice-toggle .nice-toggle-field:hover .nice-toggle-field-handle {
|
|
9843
|
+
background: var(--nice-border-color-darker);
|
|
9837
9844
|
}
|
|
9838
9845
|
|
|
9839
9846
|
.nice-toggle .nice-toggle-field .nice-toggle-field-handle {
|
|
@@ -9844,14 +9851,103 @@ p.nice {
|
|
|
9844
9851
|
height: 19px;
|
|
9845
9852
|
background: var(--nice-border-color);
|
|
9846
9853
|
border-radius: 50%;
|
|
9847
|
-
transition:
|
|
9854
|
+
transition: all 0.3s ease-in-out;
|
|
9848
9855
|
}
|
|
9849
9856
|
|
|
9850
|
-
.nice-toggle
|
|
9857
|
+
.nice-toggle.active .nice-toggle-field, .nice-table.nice-table-settings .nice-toggle.nice-table-row:hover .nice-toggle-field {
|
|
9851
9858
|
background: var(--nice-primary-color);
|
|
9859
|
+
}
|
|
9860
|
+
|
|
9861
|
+
.nice-toggle.active .nice-toggle-field .nice-toggle-field-handle, .nice-table.nice-table-settings .nice-toggle.nice-table-row:hover .nice-toggle-field .nice-toggle-field-handle {
|
|
9862
|
+
background: var(--nice-input-bg);
|
|
9852
9863
|
left: calc(100% - 22px);
|
|
9853
9864
|
}
|
|
9854
9865
|
|
|
9866
|
+
.nice-no-data {
|
|
9867
|
+
display: flex;
|
|
9868
|
+
flex-direction: column;
|
|
9869
|
+
align-items: center;
|
|
9870
|
+
justify-content: center;
|
|
9871
|
+
padding: 1rem;
|
|
9872
|
+
gap: 0.3rem;
|
|
9873
|
+
color: var(--nice-font-color);
|
|
9874
|
+
opacity: 0.6;
|
|
9875
|
+
}
|
|
9876
|
+
|
|
9877
|
+
.nice-no-data.nice-no-data-fulldiv {
|
|
9878
|
+
position: absolute;
|
|
9879
|
+
top: 0;
|
|
9880
|
+
left: 0;
|
|
9881
|
+
width: 100%;
|
|
9882
|
+
height: 100%;
|
|
9883
|
+
}
|
|
9884
|
+
|
|
9885
|
+
.nice-no-data .nice-no-data-icon {
|
|
9886
|
+
height: 24px;
|
|
9887
|
+
width: 24px;
|
|
9888
|
+
}
|
|
9889
|
+
|
|
9890
|
+
.nice-no-data .nice-no-data-message {
|
|
9891
|
+
font-style: italic;
|
|
9892
|
+
}
|
|
9893
|
+
|
|
9894
|
+
.nice-table-wrapper {
|
|
9895
|
+
min-height: .01%;
|
|
9896
|
+
overflow-x: auto;
|
|
9897
|
+
}
|
|
9898
|
+
|
|
9899
|
+
.nice-table-wrapper .nice-table {
|
|
9900
|
+
width: 100%;
|
|
9901
|
+
max-width: 100%;
|
|
9902
|
+
border-collapse: collapse;
|
|
9903
|
+
border-spacing: 0;
|
|
9904
|
+
background: var(--nice-card-bg);
|
|
9905
|
+
}
|
|
9906
|
+
|
|
9907
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-first {
|
|
9908
|
+
position: sticky;
|
|
9909
|
+
left: 0;
|
|
9910
|
+
background: var(--nice-card-bg);
|
|
9911
|
+
}
|
|
9912
|
+
|
|
9913
|
+
.nice-table-wrapper .nice-table .nice-table-freeze-last {
|
|
9914
|
+
position: sticky;
|
|
9915
|
+
right: 0;
|
|
9916
|
+
background: var(--nice-card-bg);
|
|
9917
|
+
}
|
|
9918
|
+
|
|
9919
|
+
.nice-table-wrapper .nice-table .nice-table-actions {
|
|
9920
|
+
display: flex;
|
|
9921
|
+
gap: 0.5rem;
|
|
9922
|
+
}
|
|
9923
|
+
|
|
9924
|
+
.nice-table-wrapper .nice-table thead {
|
|
9925
|
+
border-bottom: 1px solid var(--nice-border-color);
|
|
9926
|
+
}
|
|
9927
|
+
|
|
9928
|
+
.nice-table-wrapper .nice-table thead tr th {
|
|
9929
|
+
padding: 8px;
|
|
9930
|
+
vertical-align: bottom;
|
|
9931
|
+
text-transform: uppercase;
|
|
9932
|
+
font-size: 12px;
|
|
9933
|
+
color: var(--nice-primary-color);
|
|
9934
|
+
}
|
|
9935
|
+
|
|
9936
|
+
.nice-table-wrapper .nice-table tbody tr:hover {
|
|
9937
|
+
background-color: var(--nice-hover-color);
|
|
9938
|
+
}
|
|
9939
|
+
|
|
9940
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-first,
|
|
9941
|
+
.nice-table-wrapper .nice-table tbody tr:hover .nice-table-freeze-last {
|
|
9942
|
+
background-color: var(--nice-hover-color);
|
|
9943
|
+
}
|
|
9944
|
+
|
|
9945
|
+
.nice-table-wrapper .nice-table tbody tr td {
|
|
9946
|
+
padding: 8px;
|
|
9947
|
+
vertical-align: middle;
|
|
9948
|
+
border-top: 1px solid var(--nice-border-color);
|
|
9949
|
+
}
|
|
9950
|
+
|
|
9855
9951
|
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
9856
9952
|
margin-bottom: 1rem;
|
|
9857
9953
|
display: flex;
|