nice-elements 1.9.3 → 1.9.5
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 +1 -1
- package/bower.json +1 -1
- package/dist/nice.js +176 -121
- package/dist/nice.min.js +1 -1
- package/dist/style.css +97 -74
- package/dist/style.css.map +1 -1
- package/dist/style.min.css +2 -2
- package/package.json +1 -1
- package/src/components/nice-date/nice-date.html +4 -3
- package/src/components/nice-date/nice-date.scss +0 -13
- package/src/components/nice-date-input/nice-date-input.html +12 -8
- package/src/components/nice-date-input/nice-date-input.scss +4 -9
- package/src/components/nice-datetime-picker/nice-datetime-picker.html +6 -4
- package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +5 -3
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +2 -2
- package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +1 -12
- package/src/components/nice-dropdown/nice-dropdown.html +7 -3
- package/src/components/nice-dropdown/nice-dropdown.js +38 -9
- package/src/components/nice-dropdown/nice-dropdown.scss +18 -0
- package/src/components/nice-dropdown-date/nice-dropdown-date.scss +5 -0
- package/src/components/nice-number/nice-number.scss +0 -25
- package/src/components/nice-quantity/nice-quantity.html +10 -6
- package/src/components/nice-quantity/nice-quantity.scss +0 -9
- package/src/components/nice-search/nice-search.html +4 -4
- package/src/components/nice-search2/nice-search2.html +4 -4
- package/src/components/nice-search2/nice-search2.js +6 -0
- package/src/components/nice-time-picker/nice-time-picker.html +4 -2
- package/src/components/nice-upload/nice-upload.js +1 -1
- package/src/components/nice-yesno/nice-yesno.html +2 -2
- package/src/components/nice-yesno/nice-yesno.scss +3 -4
- package/src/services/nice-service.js +1 -1
- package/src/styles/_nice-buttons.scss +48 -0
- package/src/styles/_nice-common.scss +44 -2
package/dist/style.css
CHANGED
|
@@ -111,6 +111,37 @@ label.nice {
|
|
|
111
111
|
flex-shrink: 0;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
+
.nice-component .input-group .input-group-btn .btn,
|
|
115
|
+
.nice-component .form-group .input-group-btn .btn {
|
|
116
|
+
background: white;
|
|
117
|
+
height: 34px;
|
|
118
|
+
width: 34px;
|
|
119
|
+
display: flex;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
align-items: center;
|
|
122
|
+
line-height: 0;
|
|
123
|
+
border: 1px solid #cbd4d9;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.nice-component .input-group .input-group-btn .btn:focus,
|
|
127
|
+
.nice-component .form-group .input-group-btn .btn:focus {
|
|
128
|
+
outline: 0;
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
.nice-component .input-group .input-group-btn .btn.btn-left,
|
|
132
|
+
.nice-component .form-group .input-group-btn .btn.btn-left {
|
|
133
|
+
border-right: 0 none;
|
|
134
|
+
border-top-left-radius: var(--nice-border-radius);
|
|
135
|
+
border-bottom-left-radius: var(--nice-border-radius);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.nice-component .input-group .input-group-btn .btn.btn-right,
|
|
139
|
+
.nice-component .form-group .input-group-btn .btn.btn-right {
|
|
140
|
+
border-left: 0 none;
|
|
141
|
+
border-top-right-radius: var(--nice-border-radius);
|
|
142
|
+
border-bottom-right-radius: var(--nice-border-radius);
|
|
143
|
+
}
|
|
144
|
+
|
|
114
145
|
.nice-component .input-group .form-control,
|
|
115
146
|
.nice-component .form-group .form-control {
|
|
116
147
|
z-index: unset;
|
|
@@ -138,7 +169,6 @@ label.nice {
|
|
|
138
169
|
.nice-component .input-group:focus-within input,
|
|
139
170
|
.nice-component .form-group:focus-within input {
|
|
140
171
|
outline: 0 none;
|
|
141
|
-
border-color: var(--nice-border-color) !important;
|
|
142
172
|
}
|
|
143
173
|
|
|
144
174
|
.nice-component .input-group:focus-within .input-group-addon,
|
|
@@ -146,6 +176,11 @@ label.nice {
|
|
|
146
176
|
border-color: var(--nice-border-color) !important;
|
|
147
177
|
}
|
|
148
178
|
|
|
179
|
+
.nice-component .input-group:focus-within .input-group-addon:focus,
|
|
180
|
+
.nice-component .form-group:focus-within .input-group-addon:focus {
|
|
181
|
+
outline: 0 none;
|
|
182
|
+
}
|
|
183
|
+
|
|
149
184
|
.nice-component .nice-title {
|
|
150
185
|
display: flex;
|
|
151
186
|
justify-content: flex-end;
|
|
@@ -201,6 +236,7 @@ label.nice {
|
|
|
201
236
|
.nice-component .form-group .form-control:disabled {
|
|
202
237
|
background: white;
|
|
203
238
|
opacity: 0.65;
|
|
239
|
+
cursor: not-allowed;
|
|
204
240
|
}
|
|
205
241
|
|
|
206
242
|
.nice-component .input-group .input-group-addon,
|
|
@@ -224,6 +260,11 @@ label.nice {
|
|
|
224
260
|
width: 16px;
|
|
225
261
|
}
|
|
226
262
|
|
|
263
|
+
.nice-component .input-group .input-group-addon.btn:focus,
|
|
264
|
+
.nice-component .form-group .input-group-addon.btn:focus {
|
|
265
|
+
outline: 0 none;
|
|
266
|
+
}
|
|
267
|
+
|
|
227
268
|
.nice-component .input-group .clickable:hover,
|
|
228
269
|
.nice-component .form-group .clickable:hover {
|
|
229
270
|
cursor: pointer;
|
|
@@ -412,7 +453,8 @@ p.nice {
|
|
|
412
453
|
outline-color: #f22e28 !important;
|
|
413
454
|
}
|
|
414
455
|
|
|
415
|
-
.has-warning .form-control
|
|
456
|
+
.has-warning .form-control,
|
|
457
|
+
.has-warning .btn {
|
|
416
458
|
border-color: #f22e28 !important;
|
|
417
459
|
}
|
|
418
460
|
|
|
@@ -527,18 +569,36 @@ p.nice {
|
|
|
527
569
|
outline-color: var(--nice-primary-color);
|
|
528
570
|
}
|
|
529
571
|
|
|
572
|
+
.btn-primary:disabled:active, .btn-primary-plain:disabled:active, .btn-primary-naked:disabled:active, .nice-dropdown .btn-dropdown:disabled:active, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:active, .nice-dropdown-old .btn-dropdown:disabled:active, .btn-primary:disabled.active, .nice-table.nice-table-settings .btn-primary.nice-table-row:disabled:hover, .nice-table.nice-table-settings .nice-table-row.btn-primary-plain:disabled:hover, .nice-table.nice-table-settings .nice-table-row.btn-primary-naked:disabled:hover, .nice-table.nice-table-settings .nice-dropdown .nice-table-row.btn-dropdown:disabled:hover, .nice-dropdown .nice-table.nice-table-settings .nice-table-row.btn-dropdown:disabled:hover, .nice-table.nice-table-settings .nice-search .nice-dropdown-empty .nice-table-row.btn-dropdown:disabled:hover, .nice-search .nice-dropdown-empty .nice-table.nice-table-settings .nice-table-row.btn-dropdown:disabled:hover, .nice-table.nice-table-settings .nice-dropdown-old .nice-table-row.btn-dropdown:disabled:hover, .nice-dropdown-old .nice-table.nice-table-settings .nice-table-row.btn-dropdown:disabled:hover, .btn-primary-plain:disabled.active, .btn-primary-naked:disabled.active, .nice-dropdown .btn-dropdown:disabled.active, .nice-search .nice-dropdown-empty .btn-dropdown:disabled.active, .nice-dropdown-old .btn-dropdown:disabled.active, .btn-primary:disabled:focus, .btn-primary-plain:disabled:focus, .btn-primary-naked:disabled:focus, .nice-dropdown .btn-dropdown:disabled:focus, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:focus, .nice-dropdown-old .btn-dropdown:disabled:focus, .btn-primary:disabled:hover, .btn-primary-plain:disabled:hover, .btn-primary-naked:disabled:hover, .nice-dropdown .btn-dropdown:disabled:hover, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:hover, .nice-dropdown-old .btn-dropdown:disabled:hover {
|
|
573
|
+
background: var(--nice-primary-color);
|
|
574
|
+
border-color: var(--nice-primary-color-darker);
|
|
575
|
+
outline-color: var(--nice-primary-color);
|
|
576
|
+
}
|
|
577
|
+
|
|
530
578
|
.btn-primary-plain {
|
|
531
579
|
color: var(--nice-primary-color);
|
|
532
580
|
background: var(--nice-primary-color-plain);
|
|
533
581
|
border-color: var(--nice-primary-color-plain);
|
|
534
582
|
}
|
|
535
583
|
|
|
584
|
+
.btn-primary-plain:disabled:active, .btn-primary-plain:disabled.active, .nice-table.nice-table-settings .btn-primary-plain.nice-table-row:disabled:hover, .btn-primary-plain:disabled:focus, .btn-primary-plain:disabled:hover {
|
|
585
|
+
color: var(--nice-primary-color);
|
|
586
|
+
background: var(--nice-primary-color-plain);
|
|
587
|
+
border-color: var(--nice-primary-color-plain);
|
|
588
|
+
}
|
|
589
|
+
|
|
536
590
|
.btn-primary-naked {
|
|
537
591
|
color: var(--nice-primary-color);
|
|
538
592
|
background: transparent;
|
|
539
593
|
border-color: transparent;
|
|
540
594
|
}
|
|
541
595
|
|
|
596
|
+
.btn-primary-naked:disabled:active, .btn-primary-naked:disabled.active, .nice-table.nice-table-settings .btn-primary-naked.nice-table-row:disabled:hover, .btn-primary-naked:disabled:focus, .btn-primary-naked:disabled:hover {
|
|
597
|
+
color: var(--nice-primary-color);
|
|
598
|
+
background: transparent;
|
|
599
|
+
border-color: transparent;
|
|
600
|
+
}
|
|
601
|
+
|
|
542
602
|
.btn-default, .btn-default-plain, .btn-default-naked {
|
|
543
603
|
color: var(--nice-font-color);
|
|
544
604
|
background: var(--nice-secondary-color);
|
|
@@ -556,6 +616,12 @@ p.nice {
|
|
|
556
616
|
border-color: var(--nice-secondary-color-darker);
|
|
557
617
|
}
|
|
558
618
|
|
|
619
|
+
.btn-default:disabled:active, .btn-default-plain:disabled:active, .btn-default-naked:disabled:active, .btn-default:disabled.active, .nice-table.nice-table-settings .btn-default.nice-table-row:disabled:hover, .nice-table.nice-table-settings .nice-table-row.btn-default-plain:disabled:hover, .nice-table.nice-table-settings .nice-table-row.btn-default-naked:disabled:hover, .btn-default-plain:disabled.active, .btn-default-naked:disabled.active, .btn-default:disabled:focus, .btn-default-plain:disabled:focus, .btn-default-naked:disabled:focus, .btn-default:disabled:hover, .btn-default-plain:disabled:hover, .btn-default-naked:disabled:hover {
|
|
620
|
+
color: var(--nice-font-color);
|
|
621
|
+
background: var(--nice-secondary-color);
|
|
622
|
+
border-color: var(--nice-secondary-color);
|
|
623
|
+
}
|
|
624
|
+
|
|
559
625
|
.btn-default-plain {
|
|
560
626
|
color: var(--nice-font-color);
|
|
561
627
|
background: var(--nice-secondary-color);
|
|
@@ -1689,6 +1755,17 @@ p.nice {
|
|
|
1689
1755
|
color: #ccc;
|
|
1690
1756
|
}
|
|
1691
1757
|
|
|
1758
|
+
.nice-dropdown .nice-dropdown-menu .nice-dropdown-actions, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-actions {
|
|
1759
|
+
padding: 5px;
|
|
1760
|
+
border-bottom: 1px solid var(--nice-border-color);
|
|
1761
|
+
}
|
|
1762
|
+
|
|
1763
|
+
.nice-dropdown .nice-dropdown-menu .nice-dropdown-actions .btn-sm, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-actions .btn-sm {
|
|
1764
|
+
min-height: auto !important;
|
|
1765
|
+
padding: 2px 4px;
|
|
1766
|
+
line-height: 1;
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1692
1769
|
.nice-dropdown .nice-dropdown-menu .nice-dropdown-items, .nice-search .nice-dropdown-empty .nice-dropdown-menu .nice-dropdown-items {
|
|
1693
1770
|
overflow-y: auto;
|
|
1694
1771
|
overflow-x: hidden;
|
|
@@ -1795,6 +1872,11 @@ p.nice {
|
|
|
1795
1872
|
border-color: var(--nice-border-color);
|
|
1796
1873
|
}
|
|
1797
1874
|
|
|
1875
|
+
.nice-dropdown .btn-dropdown:disabled:hover, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:hover, .nice-dropdown .btn-dropdown:disabled:active, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:active, .nice-dropdown .btn-dropdown:disabled:focus, .nice-search .nice-dropdown-empty .btn-dropdown:disabled:focus {
|
|
1876
|
+
outline: 0 none;
|
|
1877
|
+
border-color: var(--nice-border-color);
|
|
1878
|
+
}
|
|
1879
|
+
|
|
1798
1880
|
.nice-dropdown .btn-dropdown:hover, .nice-search .nice-dropdown-empty .btn-dropdown:hover {
|
|
1799
1881
|
background: white;
|
|
1800
1882
|
border-color: var(--nice-border-color);
|
|
@@ -2196,15 +2278,10 @@ p.nice {
|
|
|
2196
2278
|
cursor: pointer;
|
|
2197
2279
|
}
|
|
2198
2280
|
|
|
2199
|
-
.nice-yesno .disabled
|
|
2200
|
-
|
|
2201
|
-
|
|
2202
|
-
|
|
2203
|
-
}
|
|
2204
|
-
|
|
2205
|
-
.nice-yesno .disabled .yesno-yes-bg,
|
|
2206
|
-
.nice-yesno .disabled .yesno-no-bg,
|
|
2207
|
-
.nice-yesno .disabled .yesno-button {
|
|
2281
|
+
.nice-yesno .nice-disabled .yesno-wrapper,
|
|
2282
|
+
.nice-yesno .nice-disabled .yesno-yes-bg,
|
|
2283
|
+
.nice-yesno .nice-disabled .yesno-no-bg,
|
|
2284
|
+
.nice-yesno .nice-disabled .yesno-button {
|
|
2208
2285
|
cursor: not-allowed !important;
|
|
2209
2286
|
}
|
|
2210
2287
|
|
|
@@ -2262,6 +2339,7 @@ p.nice {
|
|
|
2262
2339
|
bottom: 2px;
|
|
2263
2340
|
left: 2px;
|
|
2264
2341
|
width: calc(50% - 2px);
|
|
2342
|
+
opacity: 1 !important;
|
|
2265
2343
|
}
|
|
2266
2344
|
|
|
2267
2345
|
.nice-yesno .yesno-wrapper .yesno-button:hover {
|
|
@@ -2877,16 +2955,6 @@ p.nice {
|
|
|
2877
2955
|
text-overflow: ellipsis;
|
|
2878
2956
|
}
|
|
2879
2957
|
|
|
2880
|
-
.nice-datetimerange-picker-2 .input-group.open .form-control,
|
|
2881
|
-
.nice-datetimerange-picker-2 .input-group.open .input-group-addon {
|
|
2882
|
-
border-color: #3189ff;
|
|
2883
|
-
}
|
|
2884
|
-
|
|
2885
|
-
.nice-datetimerange-picker-2 .input-group.open .input-group-addon {
|
|
2886
|
-
background-color: #3189ff;
|
|
2887
|
-
color: white;
|
|
2888
|
-
}
|
|
2889
|
-
|
|
2890
2958
|
.nice-datetimerange-picker-2 .nice-daterange-picker-wrapper {
|
|
2891
2959
|
z-index: 900;
|
|
2892
2960
|
width: 700px;
|
|
@@ -3009,29 +3077,6 @@ p.nice {
|
|
|
3009
3077
|
border-right: 0 none;
|
|
3010
3078
|
}
|
|
3011
3079
|
|
|
3012
|
-
.nice-number .input-group-btn .btn {
|
|
3013
|
-
background: white;
|
|
3014
|
-
height: 34px;
|
|
3015
|
-
width: 34px;
|
|
3016
|
-
display: flex;
|
|
3017
|
-
justify-content: center;
|
|
3018
|
-
align-items: center;
|
|
3019
|
-
line-height: 0;
|
|
3020
|
-
border: 1px solid #cbd4d9;
|
|
3021
|
-
}
|
|
3022
|
-
|
|
3023
|
-
.nice-number .input-group-btn .btn:focus {
|
|
3024
|
-
outline: 0;
|
|
3025
|
-
}
|
|
3026
|
-
|
|
3027
|
-
.nice-number .input-group-btn .btn.btn-left {
|
|
3028
|
-
border-right: 0 none;
|
|
3029
|
-
}
|
|
3030
|
-
|
|
3031
|
-
.nice-number .input-group-btn .btn.btn-right {
|
|
3032
|
-
border-left: 0 none;
|
|
3033
|
-
}
|
|
3034
|
-
|
|
3035
3080
|
.nice-number .error-messages.floating-error {
|
|
3036
3081
|
position: absolute;
|
|
3037
3082
|
right: 15px;
|
|
@@ -3446,16 +3491,6 @@ p.nice {
|
|
|
3446
3491
|
text-overflow: ellipsis;
|
|
3447
3492
|
}
|
|
3448
3493
|
|
|
3449
|
-
.nice-date .input-group.open .form-control,
|
|
3450
|
-
.nice-date .input-group.open .input-group-addon {
|
|
3451
|
-
border-color: #3189ff;
|
|
3452
|
-
}
|
|
3453
|
-
|
|
3454
|
-
.nice-date .input-group.open .input-group-addon {
|
|
3455
|
-
background-color: #3189ff;
|
|
3456
|
-
color: white;
|
|
3457
|
-
}
|
|
3458
|
-
|
|
3459
3494
|
.nice-date .with-time .nice-date-date {
|
|
3460
3495
|
border-bottom-left-radius: 0;
|
|
3461
3496
|
border-bottom-right-radius: 0;
|
|
@@ -4202,6 +4237,10 @@ p.nice {
|
|
|
4202
4237
|
border-color: var(--nice-border-color);
|
|
4203
4238
|
}
|
|
4204
4239
|
|
|
4240
|
+
.nice-dropdown-date select:disabled:active, .nice-dropdown-date select:disabled:focus {
|
|
4241
|
+
outline: 0 none;
|
|
4242
|
+
}
|
|
4243
|
+
|
|
4205
4244
|
.nice-dropdown-date select:hover {
|
|
4206
4245
|
background: white;
|
|
4207
4246
|
border-color: var(--nice-border-color);
|
|
@@ -4494,17 +4533,6 @@ p.nice {
|
|
|
4494
4533
|
border-right: 0 none !important;
|
|
4495
4534
|
}
|
|
4496
4535
|
|
|
4497
|
-
.nice-quantity .btn {
|
|
4498
|
-
border: 1px solid #cbd4d9;
|
|
4499
|
-
border-radius: 0;
|
|
4500
|
-
width: 34px;
|
|
4501
|
-
display: flex;
|
|
4502
|
-
background: white;
|
|
4503
|
-
justify-content: center;
|
|
4504
|
-
align-items: center;
|
|
4505
|
-
line-height: 0;
|
|
4506
|
-
}
|
|
4507
|
-
|
|
4508
4536
|
.nice-quantity .btn:focus {
|
|
4509
4537
|
outline: 0 none;
|
|
4510
4538
|
}
|
|
@@ -4782,15 +4810,6 @@ p.nice {
|
|
|
4782
4810
|
border-right: 0 none;
|
|
4783
4811
|
}
|
|
4784
4812
|
|
|
4785
|
-
.nice-date-input .nice-field .input-group .input-group-addon {
|
|
4786
|
-
flex-shrink: 0;
|
|
4787
|
-
width: 34px;
|
|
4788
|
-
}
|
|
4789
|
-
|
|
4790
|
-
.nice-date-input .nice-field .input-group .input-group-addon:focus {
|
|
4791
|
-
outline: 0 none;
|
|
4792
|
-
}
|
|
4793
|
-
|
|
4794
4813
|
.nice-date-input .nice-field .input-group .form-control {
|
|
4795
4814
|
z-index: unset;
|
|
4796
4815
|
padding-right: 0;
|
|
@@ -4809,6 +4828,10 @@ p.nice {
|
|
|
4809
4828
|
flex-shrink: 0;
|
|
4810
4829
|
}
|
|
4811
4830
|
|
|
4831
|
+
.nice-date-input .nice-field .input-group .nice-popup-target {
|
|
4832
|
+
display: flex;
|
|
4833
|
+
}
|
|
4834
|
+
|
|
4812
4835
|
.nice-date-input .nice-field .input-group .nice-popup-content {
|
|
4813
4836
|
z-index: 10;
|
|
4814
4837
|
}
|