nice-elements 1.6.1 → 1.7.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.
Files changed (50) hide show
  1. package/CHANGELOG.md +12 -1
  2. package/README.md +1 -1
  3. package/bower.json +1 -1
  4. package/dist/nice.js +318 -161
  5. package/dist/nice.min.js +1 -1
  6. package/dist/style.css +262 -114
  7. package/dist/style.css.map +3 -2
  8. package/dist/style.min.css +2 -2
  9. package/package.json +1 -1
  10. package/src/components/nice-calendar/nice-calendar.html +3 -2
  11. package/src/components/nice-calendar/nice-calendar.scss +9 -5
  12. package/src/components/nice-checkbox/nice-checkbox.html +1 -3
  13. package/src/components/nice-checkbox/nice-checkbox.scss +12 -12
  14. package/src/components/nice-choice/nice-choice.html +3 -1
  15. package/src/components/nice-choice/nice-choice.scss +14 -3
  16. package/src/components/nice-date/nice-date.html +5 -4
  17. package/src/components/nice-date/nice-date.js +50 -52
  18. package/src/components/nice-date/nice-date.scss +29 -6
  19. package/src/components/nice-date-input/nice-date-input.html +41 -0
  20. package/src/components/nice-date-input/nice-date-input.js +97 -0
  21. package/src/components/nice-date-input/nice-date-input.scss +49 -0
  22. package/src/components/nice-date-range/nice-date-range.html +3 -1
  23. package/src/components/nice-datetime-picker/nice-datetime-picker.html +5 -19
  24. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +6 -1
  25. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +5 -3
  26. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +25 -26
  27. package/src/components/nice-dropdown/nice-dropdown.html +3 -1
  28. package/src/components/nice-dropdown/nice-dropdown.scss +1 -0
  29. package/src/components/nice-dtp/nice-dtp.html +12 -12
  30. package/src/components/nice-help/nice-help.html +2 -1
  31. package/src/components/nice-help/nice-help.scss +7 -0
  32. package/src/components/nice-input/nice-input.html +9 -42
  33. package/src/components/nice-input/nice-input.js +28 -28
  34. package/src/components/nice-input/nice-input.scss +27 -20
  35. package/src/components/nice-number/nice-number.html +6 -2
  36. package/src/components/nice-number/nice-number.scss +15 -3
  37. package/src/components/nice-quantity/nice-quantity.html +6 -2
  38. package/src/components/nice-quantity/nice-quantity.scss +11 -0
  39. package/src/components/nice-search/nice-search.html +9 -20
  40. package/src/components/nice-search2/nice-search2.html +4 -2
  41. package/src/components/nice-time-picker/nice-time-picker.html +21 -27
  42. package/src/components/nice-time-picker/nice-time-picker.scss +11 -32
  43. package/src/components/nice-upload/nice-upload.html +10 -7
  44. package/src/components/nice-upload/nice-upload.scss +26 -31
  45. package/src/components/nice-yesno/nice-yesno.html +2 -2
  46. package/src/components/nice-yesno/nice-yesno.scss +13 -0
  47. package/src/styles/_nice-buttons.scss +22 -9
  48. package/src/styles/_nice-common.scss +57 -13
  49. package/src/styles/_nice.scss +2 -1
  50. package/src/styles/_variables.scss +3 -0
package/dist/style.css CHANGED
@@ -2,6 +2,7 @@
2
2
  --nice-font-family: Roboto, Helvetica Neue, Helvetica, Arial, sans-serif;
3
3
  --nice-font-weight: normal;
4
4
  --nice-font-color: #404040;
5
+ --nice-hover-color: #EDEDED;
5
6
  --nice-primary-color: #3189ff;
6
7
  --nice-primary-color-lighter: #64a6ff;
7
8
  --nice-primary-color-darker: #006cfd;
@@ -70,7 +71,7 @@ label.nice {
70
71
  }
71
72
 
72
73
  .nice-focus, .nice-component .input-group:focus-within,
73
- .nice-component .form-group:focus-within, .btn.focus, .btn.active.focus, .nice-table.nice-table-settings .btn.focus.nice-table-row:hover, .btn.active:focus, .nice-table.nice-table-settings .btn.nice-table-row:focus:hover, .btn.focus:active, .btn:active:focus, .btn:focus, .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus, .nice-dropdown-old .btn-dropdown:active, .nice-dropdown-old .btn-dropdown:focus, .nice-choice li .choice-checkbox:focus, .nice-upload .nice-field:focus-within .input-area {
74
+ .nice-component .form-group:focus-within, .btn.focus, .btn.active.focus, .nice-table.nice-table-settings .btn.focus.nice-table-row:hover, .btn.active:focus, .nice-table.nice-table-settings .btn.nice-table-row:focus:hover, .btn.focus:active, .btn:active:focus, .btn:focus, .nice-dropdown .btn-dropdown:active, .nice-search .nice-dropdown-empty .btn-dropdown:active, .nice-dropdown .btn-dropdown:focus, .nice-search .nice-dropdown-empty .btn-dropdown:focus, .nice-dropdown-old .btn-dropdown:active, .nice-dropdown-old .btn-dropdown:focus, .nice-yesno .yesno-wrapper:focus-within, .nice-choice li .choice-checkbox:focus, .nice-upload .nice-field:focus-within .input-area {
74
75
  outline: 2px solid;
75
76
  outline-color: var(--nice-primary-color);
76
77
  outline-offset: 2px;
@@ -90,6 +91,23 @@ label.nice {
90
91
  z-index: 1;
91
92
  }
92
93
 
94
+ .nice-component .input-group .form-control,
95
+ .nice-component .form-group .form-control {
96
+ z-index: unset;
97
+ }
98
+
99
+ .nice-component .input-group .input-group-btn:last-child > .btn,
100
+ .nice-component .input-group .input-group-btn:last-child > .btn-group,
101
+ .nice-component .form-group .input-group-btn:last-child > .btn,
102
+ .nice-component .form-group .input-group-btn:last-child > .btn-group {
103
+ z-index: unset;
104
+ }
105
+
106
+ .nice-component .input-group .form-control:not(:last-child),
107
+ .nice-component .form-group .form-control:not(:last-child) {
108
+ border-right: 0 none;
109
+ }
110
+
93
111
  .nice-component .input-group:focus-within,
94
112
  .nice-component .form-group:focus-within {
95
113
  border-radius: var(--nice-border-radius);
@@ -133,45 +151,42 @@ label.nice {
133
151
  background: white;
134
152
  border: 1px solid #cbd4d9;
135
153
  box-shadow: 0 0 0;
154
+ color: var(--nice-font-color);
136
155
  }
137
156
 
138
157
  .nice-component .input-group .form-control:active, .nice-component .input-group .form-control:focus,
139
158
  .nice-component .form-group .form-control:active,
140
159
  .nice-component .form-group .form-control:focus {
141
- border-color: #3189ff;
142
160
  box-shadow: 0 0 0;
143
161
  }
144
162
 
145
- .nice-component .input-group .form-control:active + .input-group-addon, .nice-component .input-group .form-control:focus + .input-group-addon,
146
- .nice-component .form-group .form-control:active + .input-group-addon,
147
- .nice-component .form-group .form-control:focus + .input-group-addon {
148
- border-color: #3189ff;
149
- background-color: #3189ff;
150
- color: white;
151
- }
152
-
153
163
  .nice-component .input-group .form-control:disabled,
154
164
  .nice-component .form-group .form-control:disabled {
155
165
  background: white;
156
- border-color: #EDEFF2;
157
166
  opacity: 0.65;
158
167
  }
159
168
 
160
169
  .nice-component .input-group .input-group-addon,
161
170
  .nice-component .form-group .input-group-addon {
162
- background: #f3f3f3;
163
171
  border-top-right-radius: 3px;
164
172
  border-bottom-right-radius: 3px;
165
- color: #404040;
166
173
  border: 1px solid #cbd4d9;
167
174
  border-left: 0 none;
175
+ background: white;
176
+ padding: 0 9px;
177
+ color: var(--nice-font-color);
178
+ }
179
+
180
+ .nice-component .input-group .input-group-addon svg,
181
+ .nice-component .form-group .input-group-addon svg {
182
+ height: 16px;
183
+ width: 16px;
168
184
  }
169
185
 
170
186
  .nice-component .input-group .input-group-addon.clickable:hover,
171
187
  .nice-component .form-group .input-group-addon.clickable:hover {
172
188
  cursor: pointer;
173
- background-color: #3189ff;
174
- color: white;
189
+ background-color: var(--nice-hover-color);
175
190
  }
176
191
 
177
192
  .nice-component-inline .nice-title {
@@ -353,6 +368,10 @@ p.nice {
353
368
  color: #3189ff;
354
369
  }
355
370
 
371
+ .has-warning {
372
+ outline-color: #f22e28 !important;
373
+ }
374
+
356
375
  .has-warning .form-control {
357
376
  border-color: #f22e28 !important;
358
377
  }
@@ -368,15 +387,34 @@ p.nice {
368
387
  }
369
388
 
370
389
  .has-success .input-group-addon {
371
- background: #3189ff;
372
- border-color: #3189ff;
373
- color: white;
390
+ color: var(--nice-font-color);
374
391
  }
375
392
 
376
393
  .nice-highligh {
377
394
  background: yellow;
378
395
  }
379
396
 
397
+ .nice-animation-spin {
398
+ animation: nice-spin 2s infinite linear;
399
+ }
400
+
401
+ .nice-animation-spin.ng-hide {
402
+ display: none;
403
+ }
404
+
405
+ @keyframes nice-spin {
406
+ from {
407
+ transform: rotate(0deg);
408
+ }
409
+ to {
410
+ transform: rotate(360deg);
411
+ }
412
+ }
413
+
414
+ .d-block {
415
+ display: block;
416
+ }
417
+
380
418
  .btn {
381
419
  display: inline-flex;
382
420
  align-items: center;
@@ -387,6 +425,16 @@ p.nice {
387
425
  position: relative;
388
426
  }
389
427
 
428
+ .btn.btn-icon {
429
+ padding: 6px;
430
+ width: 34px;
431
+ }
432
+
433
+ .btn.btn-icon svg {
434
+ width: 20px;
435
+ height: 20px;
436
+ }
437
+
390
438
  .btn:hover, .btn:focus {
391
439
  color: white;
392
440
  }
@@ -625,6 +673,12 @@ p.nice {
625
673
  min-height: 42px;
626
674
  }
627
675
 
676
+ .btn-big.btn-icon,
677
+ .btn-lg.btn-icon {
678
+ padding: 0.2rem;
679
+ width: 42px;
680
+ }
681
+
628
682
  .btn-big svg,
629
683
  .btn-lg svg {
630
684
  width: 24px;
@@ -636,19 +690,18 @@ p.nice {
636
690
  height: 40px !important;
637
691
  }
638
692
 
693
+ .btn-medium.btn-icon {
694
+ width: 40px;
695
+ }
696
+
639
697
  .btn-sm {
640
698
  min-height: 30px !important;
641
699
  padding: 4px 10px;
642
700
  }
643
701
 
644
- .btn-icon {
645
- font-size: 1.2em !important;
646
- }
647
-
648
- .btn-icon svg,
649
- .btn-icon img {
650
- width: 24px;
651
- height: 24px;
702
+ .btn-sm.btn-icon {
703
+ padding: 4px;
704
+ height: 30px;
652
705
  }
653
706
 
654
707
  .mt-0 {
@@ -1557,6 +1610,7 @@ p.nice {
1557
1610
  .nice-dropdown .btn-dropdown .btn-dropdown-inside, .nice-search .nice-dropdown-empty .btn-dropdown .btn-dropdown-inside {
1558
1611
  overflow: hidden;
1559
1612
  text-overflow: ellipsis;
1613
+ line-height: 1.2;
1560
1614
  }
1561
1615
 
1562
1616
  .nice-dropdown .btn-dropdown .caret, .nice-search .nice-dropdown-empty .btn-dropdown .caret {
@@ -1716,7 +1770,7 @@ p.nice {
1716
1770
  }
1717
1771
 
1718
1772
  .nice-input {
1719
- color: black;
1773
+ color: var(--nice-font-color);
1720
1774
  display: block;
1721
1775
  }
1722
1776
 
@@ -1760,6 +1814,10 @@ p.nice {
1760
1814
  color: white;
1761
1815
  }
1762
1816
 
1817
+ .nice-input textarea {
1818
+ border-right: 1px solid var(--nice-border-color) !important;
1819
+ }
1820
+
1763
1821
  .nice-input .form-group {
1764
1822
  margin-bottom: 0px;
1765
1823
  }
@@ -1955,6 +2013,11 @@ p.nice {
1955
2013
  position: absolute;
1956
2014
  top: 0;
1957
2015
  bottom: 0;
2016
+ appearance: none;
2017
+ background: none;
2018
+ border: 0 none;
2019
+ padding: 0;
2020
+ line-height: 1;
1958
2021
  }
1959
2022
 
1960
2023
  .nice-yesno .yesno-wrapper .yesno-no-bg {
@@ -1984,6 +2047,10 @@ p.nice {
1984
2047
  background-color: #187aff;
1985
2048
  }
1986
2049
 
2050
+ .nice-yesno .yesno-wrapper .yesno-button:focus {
2051
+ outline: 0 none;
2052
+ }
2053
+
1987
2054
  .nice-yesno .yesno-wrapper .yesno-button-no {
1988
2055
  left: 50%;
1989
2056
  top: 2px;
@@ -2110,14 +2177,25 @@ p.nice {
2110
2177
  transition: all 0.2s;
2111
2178
  background: white;
2112
2179
  color: white;
2113
- line-height: 22px;
2114
- font-size: 12px;
2115
2180
  width: 25px;
2116
2181
  height: 25px;
2117
2182
  border: 1px solid #cbd4d9;
2118
2183
  position: absolute;
2119
2184
  border-radius: 3px;
2120
- text-align: center;
2185
+ padding: 0;
2186
+ justify-content: center;
2187
+ align-items: center;
2188
+ display: flex;
2189
+ }
2190
+
2191
+ .nice-choice li .choice-checkbox nice-icon {
2192
+ display: block;
2193
+ }
2194
+
2195
+ .nice-choice li .choice-checkbox svg {
2196
+ height: 18px;
2197
+ width: 18px;
2198
+ margin-top: 1px;
2121
2199
  }
2122
2200
 
2123
2201
  .nice-choice li:hover .choice-checkbox {
@@ -2668,15 +2746,17 @@ p.nice {
2668
2746
  padding: 0;
2669
2747
  min-width: 30px;
2670
2748
  border-left: 0 none;
2671
- }
2672
-
2673
- .nice-number .input-group-btn {
2674
- z-index: 1;
2749
+ border-right: 0 none;
2675
2750
  }
2676
2751
 
2677
2752
  .nice-number .input-group-btn .btn {
2678
- background: #f3f3f3;
2753
+ background: white;
2679
2754
  height: 34px;
2755
+ width: 34px;
2756
+ display: flex;
2757
+ justify-content: center;
2758
+ align-items: center;
2759
+ line-height: 0;
2680
2760
  border: 1px solid #cbd4d9;
2681
2761
  }
2682
2762
 
@@ -2684,6 +2764,14 @@ p.nice {
2684
2764
  outline: 0;
2685
2765
  }
2686
2766
 
2767
+ .nice-number .input-group-btn .btn.btn-left {
2768
+ border-right: 0 none;
2769
+ }
2770
+
2771
+ .nice-number .input-group-btn .btn.btn-right {
2772
+ border-left: 0 none;
2773
+ }
2774
+
2687
2775
  .nice-number .error-messages.floating-error {
2688
2776
  position: absolute;
2689
2777
  right: 15px;
@@ -3108,6 +3196,19 @@ p.nice {
3108
3196
  color: white;
3109
3197
  }
3110
3198
 
3199
+ .nice-date .with-time .nice-date-date {
3200
+ border-bottom-left-radius: 0;
3201
+ border-bottom-right-radius: 0;
3202
+ }
3203
+
3204
+ .nice-date .with-time .nice-date-time {
3205
+ border-top: 0 none;
3206
+ }
3207
+
3208
+ .nice-date .no-date .nice-date-time {
3209
+ border-top: 1px solid #cbd4d9;
3210
+ }
3211
+
3111
3212
  .nice-date .nice-date-date {
3112
3213
  border-radius: 3px;
3113
3214
  background: white;
@@ -3119,11 +3220,6 @@ p.nice {
3119
3220
  width: 100%;
3120
3221
  }
3121
3222
 
3122
- .nice-date .nice-date-date.with-time {
3123
- border-bottom-left-radius: 0;
3124
- border-bottom-right-radius: 0;
3125
- }
3126
-
3127
3223
  .nice-date .nice-date-date .nice-date-header {
3128
3224
  background: #3189ff;
3129
3225
  line-height: 40px;
@@ -3166,6 +3262,7 @@ p.nice {
3166
3262
  background: transparent;
3167
3263
  border: 0px;
3168
3264
  -webkit-appearance: none;
3265
+ appearance: none;
3169
3266
  cursor: pointer;
3170
3267
  }
3171
3268
 
@@ -3274,13 +3371,17 @@ p.nice {
3274
3371
  cursor: default;
3275
3372
  }
3276
3373
 
3374
+ .nice-date .nice-date-date .nice-date-week.names > span:hover {
3375
+ background: white;
3376
+ }
3377
+
3277
3378
  .nice-date .nice-date-time {
3278
3379
  display: flex;
3279
3380
  width: 100%;
3280
3381
  padding: 10px;
3281
3382
  background: #ffffff;
3282
3383
  border: 1px solid #cad4d9;
3283
- border-top: 0;
3384
+ align-items: center;
3284
3385
  border-bottom-left-radius: 3px;
3285
3386
  border-bottom-right-radius: 3px;
3286
3387
  }
@@ -3296,6 +3397,12 @@ p.nice {
3296
3397
  color: #cbd4d9;
3297
3398
  }
3298
3399
 
3400
+ .nice-date .nice-date-time svg {
3401
+ height: 16px;
3402
+ width: 16px;
3403
+ margin-right: 10px;
3404
+ }
3405
+
3299
3406
  .nice-date .nice-date-time .time-picker {
3300
3407
  position: relative;
3301
3408
  height: 30px;
@@ -3615,16 +3722,20 @@ p.nice {
3615
3722
  height: 30px;
3616
3723
  }
3617
3724
 
3618
- .nice-calendar .nice-calendar-time .time-picket-icon {
3725
+ .nice-calendar .nice-calendar-time .time-picker-icon {
3619
3726
  border-right: 1px solid #cbd4d9;
3620
3727
  width: 20%;
3621
- float: left;
3622
- font-size: 14px;
3623
- text-align: center;
3624
- line-height: 30px;
3625
3728
  color: #404040;
3626
3729
  border-bottom: 1px solid #cbd4d9;
3627
3730
  height: 30px;
3731
+ display: flex;
3732
+ justify-content: center;
3733
+ align-items: center;
3734
+ }
3735
+
3736
+ .nice-calendar .nice-calendar-time .time-picker-icon svg {
3737
+ height: 15px;
3738
+ width: 15px;
3628
3739
  }
3629
3740
 
3630
3741
  .nice-calendar .nice-calendar-wrapper {
@@ -3894,44 +4005,23 @@ p.nice {
3894
4005
  position: absolute;
3895
4006
  top: 100%;
3896
4007
  left: 15px;
3897
- width: 100%;
4008
+ width: 130px;
3898
4009
  background: white;
3899
4010
  border: 1px solid #cbd4d9;
3900
4011
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
3901
4012
  padding: 10px;
3902
4013
  margin-top: 0.5rem;
3903
- text-align: center;
4014
+ display: grid;
4015
+ grid-template-columns: 1fr 1fr;
4016
+ gap: 10px;
3904
4017
  }
3905
4018
 
3906
4019
  .nice-time-picker .nice-time-picker-dropdown .numbers {
3907
- font-size: 28px;
3908
- color: #404040;
3909
- line-height: 1.6;
3910
- }
3911
-
3912
- .nice-time-picker .nice-time-picker-dropdown button {
3913
- width: 100%;
3914
- border: 0;
4020
+ font-size: 1.5rem;
3915
4021
  color: #404040;
3916
4022
  line-height: 1;
3917
- padding: 5px;
3918
- border-radius: 3px;
3919
- background: none;
3920
- }
3921
-
3922
- .nice-time-picker .nice-time-picker-dropdown button:hover {
3923
- background: #3189ff;
3924
- color: #ffffff;
3925
- }
3926
-
3927
- .nice-time-picker .nice-time-picker-dropdown button:focus {
3928
- outline: 0;
3929
- }
3930
-
3931
- .nice-time-picker .nice-time-picker-dropdown button:active {
3932
- outline: 0;
3933
- background: #006cfd;
3934
- color: #ffffff;
4023
+ text-align: center;
4024
+ padding: 5px 0;
3935
4025
  }
3936
4026
 
3937
4027
  .nice-time-picker .nice-background {
@@ -3950,28 +4040,28 @@ p.nice {
3950
4040
  }
3951
4041
 
3952
4042
  .nice-checkbox .checkbox {
3953
- height: 34px;
3954
- width: 34px;
4043
+ height: 20px;
4044
+ width: 20px;
4045
+ min-height: unset;
3955
4046
  border: 1px solid #cbd4d9;
3956
4047
  border-radius: 3px;
3957
4048
  background: transparent;
3958
4049
  margin: 0;
3959
- padding: 4px;
4050
+ padding: 0;
3960
4051
  }
3961
4052
 
3962
4053
  .nice-checkbox .checkbox .check {
3963
4054
  opacity: 0;
4055
+ color: white;
3964
4056
  }
3965
4057
 
3966
- .nice-checkbox .checkbox .check-stroke {
3967
- stroke: #3189ff;
3968
- fill: none;
3969
- stroke-width: 4;
3970
- stroke-linecap: round;
4058
+ .nice-checkbox .checkbox .check svg {
4059
+ width: 16px;
4060
+ height: 16px;
3971
4061
  }
3972
4062
 
3973
4063
  .nice-checkbox .message {
3974
- margin-left: 15px;
4064
+ margin-left: 10px;
3975
4065
  user-select: none;
3976
4066
  color: #404040;
3977
4067
  }
@@ -3985,8 +4075,8 @@ p.nice {
3985
4075
  }
3986
4076
 
3987
4077
  .nice-checkbox.checked .checkbox {
3988
- border-color: #cbd4d9;
3989
- background: white;
4078
+ border-color: var(--nice-primary-color);
4079
+ background: var(--nice-primary-color);
3990
4080
  }
3991
4081
 
3992
4082
  .nice-checkbox.checked .checkbox .check {
@@ -4005,6 +4095,13 @@ p.nice {
4005
4095
  display: block;
4006
4096
  }
4007
4097
 
4098
+ .nice-upload .nice-upload-area {
4099
+ height: 150px;
4100
+ position: relative;
4101
+ border-radius: var(--nice-border-radius);
4102
+ border: 1px solid var(--nice-border-color);
4103
+ }
4104
+
4008
4105
  .nice-upload input {
4009
4106
  position: absolute;
4010
4107
  top: 0;
@@ -4012,7 +4109,6 @@ p.nice {
4012
4109
  width: 100%;
4013
4110
  height: 100%;
4014
4111
  opacity: 0;
4015
- z-index: 10;
4016
4112
  cursor: pointer;
4017
4113
  }
4018
4114
 
@@ -4021,15 +4117,17 @@ p.nice {
4021
4117
  }
4022
4118
 
4023
4119
  .nice-upload .input-area {
4024
- border-radius: 3px;
4025
4120
  width: 100%;
4026
- height: 150px;
4027
- border: 1px solid #cbd4d9;
4028
- position: relative;
4029
- text-align: center;
4030
- cursor: pointer;
4031
- display: table;
4032
- padding: 15px;
4121
+ height: 100%;
4122
+ top: 0;
4123
+ left: 0;
4124
+ position: absolute;
4125
+ padding: 1rem;
4126
+ border-radius: 3px;
4127
+ overflow: hidden;
4128
+ display: flex;
4129
+ justify-content: center;
4130
+ align-items: center;
4033
4131
  }
4034
4132
 
4035
4133
  .nice-upload .input-area.dragging {
@@ -4045,6 +4143,11 @@ p.nice {
4045
4143
  height: 100%;
4046
4144
  }
4047
4145
 
4146
+ .nice-upload .input-area .middle-text svg {
4147
+ opacity: 0.6;
4148
+ margin-bottom: 2px;
4149
+ }
4150
+
4048
4151
  .nice-upload .input-area .middle-text .text-placeholder {
4049
4152
  font-size: 0.9em;
4050
4153
  opacity: 0.6;
@@ -4055,28 +4158,9 @@ p.nice {
4055
4158
  }
4056
4159
 
4057
4160
  .nice-upload .input-area img {
4058
- max-width: 100%;
4059
- max-height: 148px;
4060
- }
4061
-
4062
- .nice-upload .loading {
4063
- position: absolute;
4064
4161
  width: 100%;
4065
4162
  height: 100%;
4066
- top: 0;
4067
- left: 0;
4068
- background-color: rgba(255, 255, 255, 0.5);
4069
- }
4070
-
4071
- .nice-upload .loading .nice-loader {
4072
- position: absolute;
4073
- top: 50%;
4074
- left: 50%;
4075
- width: 40px;
4076
- height: 40px;
4077
- margin-top: -20px;
4078
- margin-left: -20px;
4079
- padding: 0;
4163
+ object-fit: contain;
4080
4164
  }
4081
4165
 
4082
4166
  .nice-help {
@@ -4089,6 +4173,13 @@ p.nice {
4089
4173
  cursor: help;
4090
4174
  }
4091
4175
 
4176
+ .nice-help svg {
4177
+ height: 14px;
4178
+ width: 14px;
4179
+ cursor: help;
4180
+ display: block;
4181
+ }
4182
+
4092
4183
  .nice-help:hover .nice-help-popup {
4093
4184
  display: block;
4094
4185
  }
@@ -4157,9 +4248,20 @@ p.nice {
4157
4248
  display: flex;
4158
4249
  }
4159
4250
 
4251
+ .nice-quantity .form-control {
4252
+ border-left: 0 none !important;
4253
+ border-right: 0 none !important;
4254
+ }
4255
+
4160
4256
  .nice-quantity .btn {
4161
4257
  border: 1px solid #cbd4d9;
4162
4258
  border-radius: 0;
4259
+ width: 34px;
4260
+ display: flex;
4261
+ background: white;
4262
+ justify-content: center;
4263
+ align-items: center;
4264
+ line-height: 0;
4163
4265
  }
4164
4266
 
4165
4267
  .nice-quantity .btn:focus {
@@ -4426,4 +4528,50 @@ p.nice {
4426
4528
  }
4427
4529
  }
4428
4530
 
4531
+ .nice-date-input .nice-field {
4532
+ display: flex;
4533
+ gap: 1rem;
4534
+ }
4535
+
4536
+ .nice-date-input .nice-field .input-group {
4537
+ display: flex;
4538
+ }
4539
+
4540
+ .nice-date-input .nice-field .input-group .form-control {
4541
+ border-right: 0 none;
4542
+ }
4543
+
4544
+ .nice-date-input .nice-field .input-group .input-group-addon {
4545
+ flex-shrink: 0;
4546
+ width: 34px;
4547
+ }
4548
+
4549
+ .nice-date-input .nice-field .input-group .input-group-addon:focus {
4550
+ outline: 0 none;
4551
+ }
4552
+
4553
+ .nice-date-input .nice-field .input-group .form-control {
4554
+ z-index: unset;
4555
+ }
4556
+
4557
+ .nice-date-input .nice-field .input-group.nice-date-input {
4558
+ flex-grow: 1;
4559
+ }
4560
+
4561
+ .nice-date-input .nice-field .input-group.nice-date-input .nice-popup-content .nice-date-date {
4562
+ width: 250px;
4563
+ }
4564
+
4565
+ .nice-date-input .nice-field .input-group.nice-time-input {
4566
+ width: 100px;
4567
+ }
4568
+
4569
+ .nice-date-input .nice-field .input-group .nice-popup-content {
4570
+ z-index: 10;
4571
+ }
4572
+
4573
+ .nice-date-input .nice-field .input-group .nice-date {
4574
+ width: 250px;
4575
+ }
4576
+
4429
4577
  /*# sourceMappingURL=style.css.map */