nice-elements 1.8.8 → 1.9.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 +12 -0
- package/README.md +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +367 -118
- package/dist/nice.min.js +1 -1
- package/dist/style.css +187 -7
- package/dist/style.css.map +4 -2
- package/dist/style.min.css +2 -2
- package/package.json +3 -2
- package/src/components/nice-calendar/nice-calendar.html +1 -1
- package/src/components/nice-choice/nice-choice.html +1 -1
- package/src/components/nice-comment/nice-comment.html +1 -1
- package/src/components/nice-date/nice-date.html +1 -1
- package/src/components/nice-date-input/nice-date-input.html +1 -1
- package/src/components/nice-date-range/nice-date-range.html +1 -1
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +1 -1
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +1 -1
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +1 -1
- package/src/components/nice-dropdown/nice-dropdown.html +1 -1
- package/src/components/nice-dropdown-date/nice-dropdown-date.html +1 -1
- package/src/components/nice-dropdown-old/nice-dropdown-old.html +1 -1
- package/src/components/nice-input/nice-input.html +12 -5
- package/src/components/nice-input/nice-input.js +46 -1
- package/src/components/nice-input/nice-input.scss +66 -5
- package/src/components/nice-label/nice-label.html +1 -1
- package/src/components/nice-number/nice-number.html +1 -1
- package/src/components/nice-percent/nice-percent.html +1 -1
- package/src/components/nice-progress-bar/nice-progress-bar.html +1 -1
- package/src/components/nice-quantity/nice-quantity.html +1 -1
- package/src/components/nice-search/nice-search.html +1 -1
- package/src/components/nice-search2/nice-search2.html +1 -1
- package/src/components/nice-slot/nice-slot.html +1 -1
- package/src/components/nice-svgs/nice-svgs.html +110 -0
- package/src/components/nice-time-picker/nice-time-picker.html +1 -1
- package/src/components/nice-title/nice-title.html +2 -2
- package/src/components/nice-title/nice-title.js +1 -1
- package/src/components/nice-upload/nice-upload.html +1 -1
- package/src/components/nice-yesno/nice-yesno.html +1 -1
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +31 -0
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -0
- package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +20 -0
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice-common.scss +23 -2
- package/src/styles/_nice-ngdialog.scss +86 -0
- package/src/styles/_nice.scss +9 -3
package/dist/style.css
CHANGED
|
@@ -50,6 +50,10 @@
|
|
|
50
50
|
user-select: none;
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
+
.flex-grow {
|
|
54
|
+
flex-grow: 1;
|
|
55
|
+
}
|
|
56
|
+
|
|
53
57
|
.margin-bottom-0 {
|
|
54
58
|
margin-bottom: 0 !important;
|
|
55
59
|
}
|
|
@@ -94,6 +98,19 @@ label.nice {
|
|
|
94
98
|
z-index: 1;
|
|
95
99
|
}
|
|
96
100
|
|
|
101
|
+
.nice-component .input-group,
|
|
102
|
+
.nice-component .form-group {
|
|
103
|
+
display: flex;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.nice-component .input-group .input-group-addon,
|
|
107
|
+
.nice-component .input-group .input-group-btn,
|
|
108
|
+
.nice-component .form-group .input-group-addon,
|
|
109
|
+
.nice-component .form-group .input-group-btn {
|
|
110
|
+
width: auto;
|
|
111
|
+
flex-shrink: 0;
|
|
112
|
+
}
|
|
113
|
+
|
|
97
114
|
.nice-component .input-group .form-control,
|
|
98
115
|
.nice-component .form-group .form-control {
|
|
99
116
|
z-index: unset;
|
|
@@ -109,6 +126,8 @@ label.nice {
|
|
|
109
126
|
.nice-component .input-group .form-control:not(:last-child),
|
|
110
127
|
.nice-component .form-group .form-control:not(:last-child) {
|
|
111
128
|
border-right: 0 none;
|
|
129
|
+
border-top-right-radius: 0 !important;
|
|
130
|
+
border-bottom-right-radius: 0 !important;
|
|
112
131
|
}
|
|
113
132
|
|
|
114
133
|
.nice-component .input-group:focus-within,
|
|
@@ -186,13 +205,17 @@ label.nice {
|
|
|
186
205
|
|
|
187
206
|
.nice-component .input-group .input-group-addon,
|
|
188
207
|
.nice-component .form-group .input-group-addon {
|
|
189
|
-
border-top-
|
|
190
|
-
border-bottom-
|
|
208
|
+
border-top-left-radius: 0 !important;
|
|
209
|
+
border-bottom-left-radius: 0 !important;
|
|
191
210
|
border: 1px solid #cbd4d9;
|
|
192
211
|
border-left: 0 none;
|
|
193
212
|
background: white;
|
|
194
213
|
padding: 0 9px;
|
|
195
214
|
color: var(--nice-font-color);
|
|
215
|
+
width: auto;
|
|
216
|
+
display: flex;
|
|
217
|
+
justify-content: center;
|
|
218
|
+
align-items: center;
|
|
196
219
|
}
|
|
197
220
|
|
|
198
221
|
.nice-component .input-group .input-group-addon svg,
|
|
@@ -1481,6 +1504,88 @@ p.nice {
|
|
|
1481
1504
|
width: 100%;
|
|
1482
1505
|
}
|
|
1483
1506
|
|
|
1507
|
+
.nice-ngdialog-theme {
|
|
1508
|
+
user-select: inherit !important;
|
|
1509
|
+
padding-bottom: 3rem !important;
|
|
1510
|
+
padding-top: 3rem !important;
|
|
1511
|
+
}
|
|
1512
|
+
|
|
1513
|
+
.nice-ngdialog-theme .white-wrapper {
|
|
1514
|
+
box-shadow: 0px 0px 0px none;
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
.nice-ngdialog-theme .ngdialog-content {
|
|
1518
|
+
background: white !important;
|
|
1519
|
+
color: var(--nice-font-color);
|
|
1520
|
+
line-height: inherit !important;
|
|
1521
|
+
padding: 0px !important;
|
|
1522
|
+
font-size: inherit !important;
|
|
1523
|
+
background: none;
|
|
1524
|
+
width: 800px;
|
|
1525
|
+
max-width: 90%;
|
|
1526
|
+
border-radius: var(--nice-border-radius);
|
|
1527
|
+
overflow: visible;
|
|
1528
|
+
}
|
|
1529
|
+
|
|
1530
|
+
.nice-ngdialog-theme .dialog-title {
|
|
1531
|
+
padding: 2rem;
|
|
1532
|
+
padding-bottom: 1rem;
|
|
1533
|
+
font-size: 1.3em;
|
|
1534
|
+
text-transform: uppercase;
|
|
1535
|
+
color: var(--nice-primary-color);
|
|
1536
|
+
}
|
|
1537
|
+
|
|
1538
|
+
.nice-ngdialog-theme .dialog-title .sub-title {
|
|
1539
|
+
font-size: 0.8em;
|
|
1540
|
+
text-transform: uppercase;
|
|
1541
|
+
color: var(--nice-font-color);
|
|
1542
|
+
}
|
|
1543
|
+
|
|
1544
|
+
.nice-ngdialog-theme .dialog-title .title {
|
|
1545
|
+
font-size: 1.5em;
|
|
1546
|
+
text-transform: none;
|
|
1547
|
+
color: var(--nice-primary-color);
|
|
1548
|
+
}
|
|
1549
|
+
|
|
1550
|
+
.nice-ngdialog-theme .dialog-title p {
|
|
1551
|
+
font-size: 1em;
|
|
1552
|
+
text-transform: none;
|
|
1553
|
+
color: var(--nice-font-color);
|
|
1554
|
+
margin: 0;
|
|
1555
|
+
padding: 0;
|
|
1556
|
+
}
|
|
1557
|
+
|
|
1558
|
+
.nice-ngdialog-theme .dialog-filters {
|
|
1559
|
+
padding: 2rem;
|
|
1560
|
+
display: flex;
|
|
1561
|
+
align-items: flex-end;
|
|
1562
|
+
flex-wrap: wrap;
|
|
1563
|
+
}
|
|
1564
|
+
|
|
1565
|
+
.nice-ngdialog-theme .dialog-body {
|
|
1566
|
+
padding: 0 2rem;
|
|
1567
|
+
}
|
|
1568
|
+
|
|
1569
|
+
.nice-ngdialog-theme .dialog-footer {
|
|
1570
|
+
position: relative;
|
|
1571
|
+
padding: 2rem;
|
|
1572
|
+
}
|
|
1573
|
+
|
|
1574
|
+
.nice-ngdialog-theme .dialog-footer:before {
|
|
1575
|
+
position: absolute;
|
|
1576
|
+
top: 0;
|
|
1577
|
+
left: 2rem;
|
|
1578
|
+
right: 2rem;
|
|
1579
|
+
content: " ";
|
|
1580
|
+
border-top: 1px solid var(--nice-hr-color);
|
|
1581
|
+
}
|
|
1582
|
+
|
|
1583
|
+
.nice-ngdialog-theme .dialog-footer .view-actions {
|
|
1584
|
+
display: flex;
|
|
1585
|
+
gap: 1rem;
|
|
1586
|
+
justify-content: flex-end;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1484
1589
|
.nice-dropdown .disabled, .nice-search .nice-dropdown-empty .disabled {
|
|
1485
1590
|
cursor: not-allowed !important;
|
|
1486
1591
|
}
|
|
@@ -1866,14 +1971,72 @@ p.nice {
|
|
|
1866
1971
|
border-right: 1px solid var(--nice-border-color) !important;
|
|
1867
1972
|
}
|
|
1868
1973
|
|
|
1869
|
-
.nice-input .
|
|
1974
|
+
.nice-input .input-group {
|
|
1870
1975
|
margin-bottom: 0px;
|
|
1976
|
+
width: 100%;
|
|
1977
|
+
display: flex;
|
|
1871
1978
|
}
|
|
1872
1979
|
|
|
1873
|
-
.nice-input .
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1980
|
+
.nice-input .input-group-addon,
|
|
1981
|
+
.nice-input .input-group-btn {
|
|
1982
|
+
flex-shrink: 0;
|
|
1983
|
+
}
|
|
1984
|
+
|
|
1985
|
+
.nice-input .input-group-btn {
|
|
1986
|
+
background: transparent;
|
|
1987
|
+
border: 1px solid var(--nice-border-color);
|
|
1988
|
+
border-left: 0 none;
|
|
1989
|
+
border-top-right-radius: var(--nice-border-radius);
|
|
1990
|
+
border-bottom-right-radius: var(--nice-border-radius);
|
|
1991
|
+
width: auto;
|
|
1992
|
+
}
|
|
1993
|
+
|
|
1994
|
+
.nice-input .input-group-btn:hover {
|
|
1995
|
+
background: var(--nice-hover-color);
|
|
1996
|
+
}
|
|
1997
|
+
|
|
1998
|
+
.nice-input .input-group-btn:active {
|
|
1999
|
+
background: var(--nice-border-color);
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
.nice-input .input-group-btn .nice-icon {
|
|
2003
|
+
width: 16px;
|
|
2004
|
+
height: 16px;
|
|
2005
|
+
}
|
|
2006
|
+
|
|
2007
|
+
.nice-input .input-group-btn .nice-input-addon-bubble {
|
|
2008
|
+
position: absolute;
|
|
2009
|
+
top: 3px;
|
|
2010
|
+
right: 3px;
|
|
2011
|
+
width: 10px;
|
|
2012
|
+
height: 10px;
|
|
2013
|
+
border-radius: 50%;
|
|
2014
|
+
background: var(--nice-success-color);
|
|
2015
|
+
color: #fff;
|
|
2016
|
+
overflow: hidden;
|
|
2017
|
+
font-size: 8px;
|
|
2018
|
+
line-height: 10px;
|
|
2019
|
+
text-align: center;
|
|
2020
|
+
}
|
|
2021
|
+
|
|
2022
|
+
.nice-input .input-group .form-control:first-child,
|
|
2023
|
+
.nice-input .input-group-addon:first-child,
|
|
2024
|
+
.nice-input .input-group-btn:first-child > .btn,
|
|
2025
|
+
.nice-input .input-group-btn:first-child > .btn-group > .btn,
|
|
2026
|
+
.nice-input .input-group-btn:first-child > .dropdown-toggle,
|
|
2027
|
+
.nice-input .input-group-btn:last-child > .btn-group:not(:last-child) > .btn,
|
|
2028
|
+
.nice-input .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle) {
|
|
2029
|
+
border-radius: var(--nice-border-radius);
|
|
2030
|
+
}
|
|
2031
|
+
|
|
2032
|
+
.nice-input .input-group .form-control:last-child,
|
|
2033
|
+
.nice-input .input-group-addon:last-child,
|
|
2034
|
+
.nice-input .input-group-btn:first-child > .btn-group:not(:first-child) > .btn,
|
|
2035
|
+
.nice-input .input-group-btn:first-child > .btn:not(:first-child),
|
|
2036
|
+
.nice-input .input-group-btn:last-child > .btn,
|
|
2037
|
+
.nice-input .input-group-btn:last-child > .btn-group > .btn,
|
|
2038
|
+
.nice-input .input-group-btn:last-child > .dropdown-toggle {
|
|
2039
|
+
border-radius: var(--nice-border-radius);
|
|
1877
2040
|
}
|
|
1878
2041
|
|
|
1879
2042
|
.nice-input .symbol .form-control-feedback {
|
|
@@ -4754,4 +4917,21 @@ p.nice {
|
|
|
4754
4917
|
color: white;
|
|
4755
4918
|
}
|
|
4756
4919
|
|
|
4920
|
+
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language {
|
|
4921
|
+
margin-bottom: 1rem;
|
|
4922
|
+
display: flex;
|
|
4923
|
+
align-items: flex-end;
|
|
4924
|
+
gap: 1rem;
|
|
4925
|
+
}
|
|
4926
|
+
|
|
4927
|
+
.nice-multilangual-modal .nice-multilangual-languages .nice-multilangual-language .nice-multilangual-language-flag {
|
|
4928
|
+
width: 34px;
|
|
4929
|
+
height: 34px;
|
|
4930
|
+
}
|
|
4931
|
+
|
|
4932
|
+
.nice-multilangual-modal .add-language {
|
|
4933
|
+
width: 200px;
|
|
4934
|
+
display: block;
|
|
4935
|
+
}
|
|
4936
|
+
|
|
4757
4937
|
/*# sourceMappingURL=style.css.map */
|