nice-elements 1.12.1 → 1.12.3

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 (154) hide show
  1. package/.vscode/settings.json +18 -18
  2. package/CHANGELOG.md +537 -525
  3. package/LICENSE.md +21 -21
  4. package/README.md +98 -98
  5. package/bower.json +17 -17
  6. package/dist/nice.js +11318 -8411
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +17 -7
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +8 -8
  11. package/eslint.config.mjs +32 -32
  12. package/package.json +44 -44
  13. package/src/components/nice-alert/nice-alert.html +6 -6
  14. package/src/components/nice-alert/nice-alert.js +28 -28
  15. package/src/components/nice-alert/nice-alert.scss +44 -44
  16. package/src/components/nice-button/nice-button.html +4 -4
  17. package/src/components/nice-button/nice-button.js +41 -41
  18. package/src/components/nice-button/nice-button.scss +16 -16
  19. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  20. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  21. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  22. package/src/components/nice-calendar/nice-calendar.html +91 -91
  23. package/src/components/nice-calendar/nice-calendar.js +346 -346
  24. package/src/components/nice-calendar/nice-calendar.scss +288 -288
  25. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  26. package/src/components/nice-checkbox/nice-checkbox.js +34 -34
  27. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  28. package/src/components/nice-choice/nice-choice.html +18 -18
  29. package/src/components/nice-choice/nice-choice.js +212 -212
  30. package/src/components/nice-choice/nice-choice.scss +110 -110
  31. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  32. package/src/components/nice-comment/nice-comment.html +10 -10
  33. package/src/components/nice-comment/nice-comment.js +71 -71
  34. package/src/components/nice-comment/nice-comment.scss +39 -39
  35. package/src/components/nice-date/nice-date.html +82 -79
  36. package/src/components/nice-date/nice-date.js +350 -333
  37. package/src/components/nice-date/nice-date.scss +305 -305
  38. package/src/components/nice-date-input/nice-date-input.html +49 -41
  39. package/src/components/nice-date-input/nice-date-input.js +128 -111
  40. package/src/components/nice-date-input/nice-date-input.scss +53 -46
  41. package/src/components/nice-date-range/nice-date-range.html +15 -15
  42. package/src/components/nice-date-range/nice-date-range.js +78 -78
  43. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  44. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  45. package/src/components/nice-datetime-picker/nice-datetime-picker.js +89 -89
  46. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  47. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  48. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +248 -248
  49. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  50. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  51. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +175 -175
  52. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  53. package/src/components/nice-dropdown/nice-dropdown.html +61 -61
  54. package/src/components/nice-dropdown/nice-dropdown.js +517 -517
  55. package/src/components/nice-dropdown/nice-dropdown.scss +262 -262
  56. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  57. package/src/components/nice-dropdown-date/nice-dropdown-date.js +132 -132
  58. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +87 -87
  59. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  60. package/src/components/nice-dropdown-old/nice-dropdown-old.js +330 -330
  61. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  62. package/src/components/nice-dtp/nice-dtp.html +91 -91
  63. package/src/components/nice-dtp/nice-dtp.js +835 -835
  64. package/src/components/nice-help/nice-help.html +6 -6
  65. package/src/components/nice-help/nice-help.js +58 -58
  66. package/src/components/nice-help/nice-help.scss +78 -78
  67. package/src/components/nice-input/nice-input.html +47 -48
  68. package/src/components/nice-input/nice-input.js +250 -249
  69. package/src/components/nice-input/nice-input.scss +130 -130
  70. package/src/components/nice-label/nice-label.html +10 -10
  71. package/src/components/nice-label/nice-label.js +32 -32
  72. package/src/components/nice-loader/nice-loader.html +6 -6
  73. package/src/components/nice-loader/nice-loader.js +28 -28
  74. package/src/components/nice-loader/nice-loader.scss +47 -47
  75. package/src/components/nice-no-data/nice-no-data.html +3 -3
  76. package/src/components/nice-no-data/nice-no-data.js +27 -27
  77. package/src/components/nice-no-data/nice-no-data.scss +26 -26
  78. package/src/components/nice-notification/nice-notification.html +3 -3
  79. package/src/components/nice-notification/nice-notification.js +124 -124
  80. package/src/components/nice-notification/nice-notification.scss +66 -66
  81. package/src/components/nice-number/nice-number.html +40 -40
  82. package/src/components/nice-number/nice-number.js +172 -172
  83. package/src/components/nice-number/nice-number.scss +18 -18
  84. package/src/components/nice-on-scroll/nice-on-scroll.js +17 -17
  85. package/src/components/nice-percent/nice-percent.html +24 -24
  86. package/src/components/nice-percent/nice-percent.js +95 -95
  87. package/src/components/nice-pill/nice-pill.html +3 -3
  88. package/src/components/nice-pill/nice-pill.js +29 -29
  89. package/src/components/nice-pill/nice-pill.scss +25 -25
  90. package/src/components/nice-popup/nice-popup.html +6 -6
  91. package/src/components/nice-popup/nice-popup.js +122 -122
  92. package/src/components/nice-popup/nice-popup.scss +43 -43
  93. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  94. package/src/components/nice-progress-bar/nice-progress-bar.js +55 -55
  95. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  96. package/src/components/nice-quantity/nice-quantity.html +22 -22
  97. package/src/components/nice-quantity/nice-quantity.js +57 -57
  98. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  99. package/src/components/nice-search/nice-search.html +44 -44
  100. package/src/components/nice-search/nice-search.js +243 -243
  101. package/src/components/nice-search/nice-search.scss +90 -90
  102. package/src/components/nice-search2/nice-search2.html +32 -32
  103. package/src/components/nice-search2/nice-search2.js +267 -267
  104. package/src/components/nice-search2/nice-search2.scss +80 -80
  105. package/src/components/nice-slot/nice-slot.html +10 -10
  106. package/src/components/nice-slot/nice-slot.js +31 -31
  107. package/src/components/nice-steps/nice-steps.scss +81 -81
  108. package/src/components/nice-svgs/nice-svgs.html +1275 -1275
  109. package/src/components/nice-svgs/nice-svgs.js +19 -19
  110. package/src/components/nice-table/nice-table.html +38 -38
  111. package/src/components/nice-table/nice-table.js +60 -60
  112. package/src/components/nice-table/nice-table.scss +112 -112
  113. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  114. package/src/components/nice-time-picker/nice-time-picker.js +85 -85
  115. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  116. package/src/components/nice-title/nice-title.html +3 -3
  117. package/src/components/nice-title/nice-title.js +21 -21
  118. package/src/components/nice-toast/nice-toast.html +2 -2
  119. package/src/components/nice-toast/nice-toast.js +56 -56
  120. package/src/components/nice-toast/nice-toast.scss +74 -74
  121. package/src/components/nice-toggle/nice-toggle.html +12 -12
  122. package/src/components/nice-toggle/nice-toggle.js +56 -56
  123. package/src/components/nice-toggle/nice-toggle.scss +131 -131
  124. package/src/components/nice-tooltip/_nice-tooltip.scss +55 -55
  125. package/src/components/nice-tooltip/nice-tooltip.js +84 -84
  126. package/src/components/nice-upload/nice-upload.html +22 -22
  127. package/src/components/nice-upload/nice-upload.js +159 -159
  128. package/src/components/nice-upload/nice-upload.scss +85 -85
  129. package/src/components/nice-view/_nice-view.scss +62 -62
  130. package/src/components/nice-view/nice-view.html +12 -12
  131. package/src/components/nice-view/nice-view.js +30 -30
  132. package/src/components/nice-virtual-scroll/_nice-virtual-scroll.scss +17 -17
  133. package/src/components/nice-virtual-scroll/nice-virtual-scroll.html +12 -12
  134. package/src/components/nice-virtual-scroll/nice-virtual-scroll.js +70 -70
  135. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  136. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  137. package/src/components/nice-wrapper/nice-wrapper.js +44 -44
  138. package/src/components/nice-yesno/nice-yesno.html +14 -14
  139. package/src/components/nice-yesno/nice-yesno.js +111 -111
  140. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  141. package/src/filters/nice-date.js +17 -17
  142. package/src/filters/nice-highlight.js +16 -16
  143. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  144. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  145. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  146. package/src/nice.js +2 -2
  147. package/src/services/nice-service.js +22 -22
  148. package/src/styles/_bootstrap-variables.scss +178 -178
  149. package/src/styles/_nice-buttons.scss +612 -612
  150. package/src/styles/_nice-common.scss +471 -472
  151. package/src/styles/_nice-ngdialog.scss +85 -85
  152. package/src/styles/_nice-spacing.scss +283 -283
  153. package/src/styles/_nice.scss +71 -71
  154. package/src/styles/_variables.scss +191 -191
@@ -1,472 +1,471 @@
1
- label.nice {
2
- color: $nice-label-color;
3
- text-align: right;
4
- display: block;
5
- line-height: 34px;
6
- margin: 0px;
7
- font-weight: normal;
8
-
9
- @media (max-width: $screen-xs-max) {
10
- text-align: left;
11
- }
12
- }
13
-
14
- .nice-focus {
15
- outline: 2px solid;
16
- outline-color: var(--nice-primary-color);
17
- outline-offset: 2px;
18
- z-index: 1;
19
- }
20
-
21
- .nice-component {
22
- margin-bottom: 10px;
23
-
24
- select,
25
- input,
26
- textarea {
27
- &:focus {
28
- outline: 2px solid var(--nice-primary-color);
29
- outline-offset: 2px;
30
- border-radius: 1px;
31
- z-index: 1;
32
- }
33
- }
34
-
35
- // .input-group .form-control:not(:first-child):not(:last-child),
36
- // .input-group-addon:not(:first-child):not(:last-child),
37
- // .input-group-btn:not(:first-child):not(:last-child) {
38
- // border-radius: var(--nice-border-radius);
39
- // }
40
-
41
- .input-group,
42
- .form-group {
43
- display: flex;
44
-
45
- .input-group-addon,
46
- .input-group-btn {
47
- width: auto;
48
- flex-shrink: 0;
49
- }
50
-
51
- .input-group-btn {
52
- .btn {
53
- background: $nice-input-bg;
54
- height: 34px;
55
- width: 34px;
56
- display: flex;
57
- justify-content: center;
58
- align-items: center;
59
- line-height: 0;
60
- border: 1px solid $nice-border-color;
61
-
62
- &:focus {
63
- outline: 0;
64
- }
65
-
66
- &.btn-left {
67
- border-right: 0 none;
68
- border-top-left-radius: var(--nice-border-radius);
69
- border-bottom-left-radius: var(--nice-border-radius);
70
- }
71
-
72
- &.btn-right {
73
- border-left: 0 none;
74
- border-top-right-radius: var(--nice-border-radius);
75
- border-bottom-right-radius: var(--nice-border-radius);
76
- }
77
- }
78
- }
79
-
80
- .form-control {
81
- z-index: unset;
82
- }
83
-
84
- .input-group-btn:last-child>.btn,
85
- .input-group-btn:last-child>.btn-group {
86
- z-index: unset;
87
- }
88
-
89
- .form-control:not(:last-child) {
90
- border-right: 0 none;
91
- border-top-right-radius: 0 !important;
92
- border-bottom-right-radius: 0 !important;
93
- }
94
-
95
- &:focus-within {
96
- @extend .nice-focus;
97
- border-radius: var(--nice-border-radius);
98
-
99
- input {
100
- outline: 0 none;
101
- // border-color: var(--nice-border-color) !important;
102
- }
103
-
104
- .input-group-addon {
105
- border-color: var(--nice-border-color);
106
-
107
- &:focus {
108
- outline: 0 none;
109
- }
110
- }
111
- }
112
- }
113
-
114
- .nice-title {
115
- display: flex;
116
- justify-content: flex-end;
117
- align-items: center;
118
- min-height: 34px;
119
-
120
- .nice-title-text {
121
- text-align: right;
122
- color: $nice-label-color;
123
- }
124
-
125
- .nice-title-required {
126
- color: var(--nice-danger-color);
127
- padding-left: 1px;
128
- }
129
-
130
- .nice-title-text+.nice-title-help {
131
- margin-left: 5px;
132
- line-height: 1;
133
- }
134
-
135
- @media (max-width: $screen-xs-max) {
136
- justify-content: flex-start;
137
- min-height: auto;
138
- margin-bottom: 3px;
139
-
140
- &.nice-title-empty {
141
- margin-bottom: 0;
142
- }
143
-
144
- .nice-title-text {
145
- text-align: left;
146
- }
147
- }
148
- }
149
-
150
- .input-group,
151
- .form-group {
152
- .form-control {
153
- min-width: 50px;
154
- // border-radius: $nice-border-radius;
155
- // border-right: 0;
156
- background: $nice-input-bg;
157
- border: 1px solid $nice-border-color;
158
- box-shadow: 0 0 0;
159
- color: var(--nice-font-color);
160
-
161
- &:active,
162
- &:focus {
163
- // border-color: $nice-focus-border;
164
- box-shadow: 0 0 0;
165
-
166
- &+.input-group-addon {
167
- // border-color: $nice-focus-border;
168
- // background-color: $nice-focus-border;
169
- // color: white;
170
- }
171
- }
172
-
173
- &:disabled {
174
- background: $nice-input-disabled-bg;
175
- // border-color: $nice-input-disabled-border;
176
- opacity: 0.65;
177
- cursor: not-allowed;
178
- }
179
- }
180
-
181
- .input-group-addon {
182
- border-top-left-radius: 0 !important;
183
- border-bottom-left-radius: 0 !important;
184
- border: 1px solid $nice-border-color;
185
- border-left: 0 none;
186
- background: $nice-input-bg;
187
- padding: 0 9px;
188
- color: var(--nice-font-color);
189
-
190
- width: auto;
191
- display: flex;
192
- justify-content: center;
193
- align-items: center;
194
-
195
- svg {
196
- height: 16px;
197
- width: 16px;
198
- }
199
-
200
- &.btn {
201
- &:focus {
202
- outline: 0 none;
203
- }
204
- }
205
- }
206
-
207
- .clickable {
208
- &:hover {
209
- cursor: pointer;
210
- }
211
- }
212
- }
213
- }
214
-
215
-
216
- .nice-component-inline {
217
- .nice-title {
218
- justify-content: flex-start;
219
- width: 100%;
220
- min-height: auto;
221
- margin-bottom: 3px;
222
- }
223
-
224
- .nice-field {
225
- width: 100%;
226
- }
227
- }
228
-
229
-
230
- .margin-top-20 {
231
- margin-top: 20px;
232
- }
233
-
234
- .margin-right-20 {
235
- margin-right: 20px;
236
- }
237
-
238
- p.nice {
239
- line-height: 34px;
240
- margin: 0;
241
- }
242
-
243
- .nice-disabled {
244
- opacity: 0.5;
245
- cursor: not-allowed;
246
- user-select: none;
247
- }
248
-
249
- .nice-table {
250
- hr {
251
- margin: 0px;
252
- margin-bottom: 10px;
253
- border-color: $nice-border-color;
254
- }
255
-
256
- .nice-table-header {
257
- font-size: $font-size-small;
258
- color: $nice-base-color;
259
- padding-top: 10px;
260
- padding-bottom: 5px;
261
- text-transform: uppercase;
262
- }
263
-
264
- .nice-table-row {
265
- cursor: pointer;
266
- line-height: 25px;
267
- font-size: 14px;
268
- padding: 10px 0px;
269
- border-top: 1px solid $nice-border-color;
270
-
271
-
272
-
273
- .list-inline {
274
- margin-bottom: 0px;
275
- }
276
-
277
- &:hover {
278
- background: $nice-table-bg-hover;
279
- }
280
-
281
- .nice-table-btn {
282
- line-height: 11px;
283
- width: 100%;
284
- }
285
- }
286
-
287
- .no-border-top {
288
- border-top: none;
289
- }
290
-
291
- .active {
292
- //background: $table-bg-active;
293
-
294
- &:before {
295
- content: " ";
296
- background: $nice-base-color;
297
- width: 2px;
298
- height: 100%;
299
- position: absolute;
300
- top: 0px;
301
- left: 0px;
302
- }
303
- }
304
-
305
- &.nice-table-settings {
306
- .nice-table-row:hover {
307
- background: none;
308
- @extend .active;
309
- }
310
- }
311
- }
312
-
313
- .nice-list-item {
314
- cursor: pointer;
315
- line-height: 25px;
316
- font-size: 14px;
317
- padding: 15px 25px;
318
- border-top: 1px solid $nice-border-color;
319
-
320
- &:hover {
321
- background: $nice-table-bg-hover;
322
- }
323
-
324
- &.active {
325
- background: $nice-table-bg-active;
326
- }
327
- }
328
-
329
- .nice-submenu {
330
- background-color: $nice-submenu-bg-color;
331
- // height: 50px;
332
- margin-top: 0;
333
- padding: 0;
334
- margin-bottom: 20px;
335
- //line-height: 50px;
336
-
337
- .nice-submenu-wrapper {
338
- padding: 25px;
339
- }
340
-
341
- .nice-submenu-item {
342
- cursor: pointer;
343
- line-height: 50px;
344
-
345
- &:before {
346
- content: " ";
347
- background: $nice-submenu-gray-color;
348
- height: 3px;
349
- position: absolute;
350
- top: 47px;
351
- bottom: 0px;
352
- left: 2px;
353
- right: 2px;
354
- }
355
-
356
- &.active,
357
- &:hover {
358
- &:before {
359
- background: $nice-base-color;
360
- }
361
- }
362
- }
363
-
364
- .width-200 {
365
- width: 200px;
366
- }
367
-
368
- .width-300 {
369
- width: 300px;
370
- }
371
-
372
- .nice-inline {
373
- margin-right: 10px;
374
- float: left;
375
- line-height: 34px;
376
- }
377
-
378
- .nice-inline-right {
379
- margin-left: 10px;
380
- float: right;
381
- line-height: 34px;
382
-
383
- @media (max-width: $screen-md-min) {
384
- float: left;
385
- }
386
- }
387
- }
388
-
389
- .nice-label {
390
- display: block;
391
-
392
- p.value {
393
- line-height: 34px;
394
- }
395
- }
396
-
397
- .error-message {
398
- &:first-child {
399
- padding: 5px 0px 0px 0px;
400
- }
401
-
402
- line-height: 1.2;
403
- text-align: right;
404
- font-size: $font-size-small;
405
- color: $nice-input-invalid;
406
- }
407
-
408
- .feedback-invalid {
409
- color: $nice-input-invalid !important;
410
- }
411
-
412
- .feedback-valid {
413
- color: $nice-input-valid;
414
- }
415
-
416
- .has-warning {
417
- outline-color: $nice-input-invalid !important;
418
-
419
-
420
- .form-control,
421
- .btn {
422
- border-color: $nice-input-invalid !important;
423
- }
424
-
425
- .input-group-addon {
426
- // background: $nice-input-invalid !important;
427
- // color: white !important;
428
- border-color: $nice-input-invalid !important;
429
- color: $nice-input-invalid !important;
430
- }
431
- }
432
-
433
- .has-success {
434
- outline-color: $nice-input-valid !important;
435
-
436
- .form-control {
437
- border-color: $nice-input-valid !important;
438
- }
439
-
440
- .input-group-addon {
441
- // background: $nice-input-valid !important;
442
- // color: white !important;
443
- border-color: $nice-input-valid !important;
444
- // color: $nice-input-valid !important;
445
- }
446
- }
447
-
448
- .nice-highligh {
449
- background: yellow;
450
- }
451
-
452
- .nice-animation-spin {
453
- animation: nice-spin 2s infinite linear;
454
-
455
- &.ng-hide {
456
- display: none;
457
- }
458
- }
459
-
460
- @keyframes nice-spin {
461
- from {
462
- transform: rotate(0deg);
463
- }
464
-
465
- to {
466
- transform: rotate(360deg);
467
- }
468
- }
469
-
470
- .d-block {
471
- display: block;
472
- }
1
+ label.nice {
2
+ color: $nice-label-color;
3
+ text-align: right;
4
+ display: block;
5
+ line-height: 34px;
6
+ margin: 0px;
7
+ font-weight: normal;
8
+
9
+ @media (max-width: $screen-xs-max) {
10
+ text-align: left;
11
+ }
12
+ }
13
+
14
+ .nice-focus {
15
+ outline: 2px solid;
16
+ outline-color: var(--nice-primary-color);
17
+ outline-offset: 2px;
18
+ z-index: 1;
19
+ }
20
+
21
+ .nice-component {
22
+ margin-bottom: 10px;
23
+
24
+ select,
25
+ input,
26
+ textarea {
27
+ &:focus {
28
+ outline: 2px solid var(--nice-primary-color);
29
+ outline-offset: 2px;
30
+ border-radius: 1px;
31
+ z-index: 1;
32
+ }
33
+ }
34
+
35
+ // .input-group .form-control:not(:first-child):not(:last-child),
36
+ // .input-group-addon:not(:first-child):not(:last-child),
37
+ // .input-group-btn:not(:first-child):not(:last-child) {
38
+ // border-radius: var(--nice-border-radius);
39
+ // }
40
+
41
+ .input-group,
42
+ .form-group {
43
+ display: flex;
44
+
45
+ .input-group-btns {
46
+ display: flex;
47
+ }
48
+
49
+ .input-group-addon,
50
+ .input-group-btn {
51
+ width: auto;
52
+ flex-shrink: 0;
53
+ }
54
+
55
+ .input-group-btn {
56
+ .btn {
57
+ background: $nice-input-bg;
58
+ height: 34px;
59
+ width: 34px;
60
+ display: flex;
61
+ justify-content: center;
62
+ align-items: center;
63
+ line-height: 0;
64
+ border: 1px solid $nice-border-color;
65
+
66
+ &:focus {
67
+ outline: 0;
68
+ }
69
+
70
+ &.btn-left {
71
+ border-right: 0 none;
72
+ border-top-left-radius: var(--nice-border-radius);
73
+ border-bottom-left-radius: var(--nice-border-radius);
74
+ }
75
+
76
+ &.btn-right {
77
+ border-left: 0 none;
78
+ border-top-right-radius: var(--nice-border-radius);
79
+ border-bottom-right-radius: var(--nice-border-radius);
80
+ }
81
+ }
82
+ }
83
+
84
+ .form-control {
85
+ z-index: unset;
86
+ }
87
+
88
+ .input-group-btn:last-child > .btn,
89
+ .input-group-btn:last-child > .btn-group {
90
+ z-index: unset;
91
+ }
92
+
93
+ .form-control:not(:last-child) {
94
+ border-right: 0 none;
95
+ border-top-right-radius: 0 !important;
96
+ border-bottom-right-radius: 0 !important;
97
+ }
98
+
99
+ &:focus-within {
100
+ @extend .nice-focus;
101
+ border-radius: var(--nice-border-radius);
102
+
103
+ input {
104
+ outline: 0 none;
105
+ // border-color: var(--nice-border-color) !important;
106
+ }
107
+
108
+ .input-group-addon {
109
+ border-color: var(--nice-border-color);
110
+
111
+ &:focus {
112
+ outline: 0 none;
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ .nice-title {
119
+ display: flex;
120
+ justify-content: flex-end;
121
+ align-items: center;
122
+ min-height: 34px;
123
+
124
+ .nice-title-text {
125
+ text-align: right;
126
+ color: $nice-label-color;
127
+ }
128
+
129
+ .nice-title-required {
130
+ color: var(--nice-danger-color);
131
+ padding-left: 1px;
132
+ }
133
+
134
+ .nice-title-text + .nice-title-help {
135
+ margin-left: 5px;
136
+ line-height: 1;
137
+ }
138
+
139
+ @media (max-width: $screen-xs-max) {
140
+ justify-content: flex-start;
141
+ min-height: auto;
142
+ margin-bottom: 3px;
143
+
144
+ &.nice-title-empty {
145
+ margin-bottom: 0;
146
+ }
147
+
148
+ .nice-title-text {
149
+ text-align: left;
150
+ }
151
+ }
152
+ }
153
+
154
+ .input-group,
155
+ .form-group {
156
+ .form-control {
157
+ min-width: 50px;
158
+ // border-radius: $nice-border-radius;
159
+ // border-right: 0;
160
+ background: $nice-input-bg;
161
+ border: 1px solid $nice-border-color;
162
+ box-shadow: 0 0 0;
163
+ color: var(--nice-font-color);
164
+
165
+ &:active,
166
+ &:focus {
167
+ // border-color: $nice-focus-border;
168
+ box-shadow: 0 0 0;
169
+
170
+ & + .input-group-addon {
171
+ // border-color: $nice-focus-border;
172
+ // background-color: $nice-focus-border;
173
+ // color: white;
174
+ }
175
+ }
176
+
177
+ &:disabled {
178
+ background: $nice-input-disabled-bg;
179
+ // border-color: $nice-input-disabled-border;
180
+ opacity: 0.65;
181
+ cursor: not-allowed;
182
+ }
183
+ }
184
+
185
+ .input-group-addon {
186
+ border-top-left-radius: 0 !important;
187
+ border-bottom-left-radius: 0 !important;
188
+ border: 1px solid $nice-border-color;
189
+ border-left: 0 none;
190
+ background: $nice-input-bg;
191
+ padding: 0 9px;
192
+ color: var(--nice-font-color);
193
+
194
+ width: auto;
195
+ display: flex;
196
+ justify-content: center;
197
+ align-items: center;
198
+
199
+ svg {
200
+ height: 16px;
201
+ width: 16px;
202
+ }
203
+
204
+ &.btn {
205
+ &:focus {
206
+ outline: 0 none;
207
+ }
208
+ }
209
+ }
210
+
211
+ .clickable {
212
+ &:hover {
213
+ cursor: pointer;
214
+ }
215
+ }
216
+ }
217
+ }
218
+
219
+ .nice-component-inline {
220
+ .nice-title {
221
+ justify-content: flex-start;
222
+ width: 100%;
223
+ min-height: auto;
224
+ margin-bottom: 3px;
225
+ }
226
+
227
+ .nice-field {
228
+ width: 100%;
229
+ }
230
+ }
231
+
232
+ .margin-top-20 {
233
+ margin-top: 20px;
234
+ }
235
+
236
+ .margin-right-20 {
237
+ margin-right: 20px;
238
+ }
239
+
240
+ p.nice {
241
+ line-height: 34px;
242
+ margin: 0;
243
+ }
244
+
245
+ .nice-disabled {
246
+ opacity: 0.5;
247
+ cursor: not-allowed;
248
+ user-select: none;
249
+ }
250
+
251
+ .nice-table {
252
+ hr {
253
+ margin: 0px;
254
+ margin-bottom: 10px;
255
+ border-color: $nice-border-color;
256
+ }
257
+
258
+ .nice-table-header {
259
+ font-size: $font-size-small;
260
+ color: $nice-base-color;
261
+ padding-top: 10px;
262
+ padding-bottom: 5px;
263
+ text-transform: uppercase;
264
+ }
265
+
266
+ .nice-table-row {
267
+ cursor: pointer;
268
+ line-height: 25px;
269
+ font-size: 14px;
270
+ padding: 10px 0px;
271
+ border-top: 1px solid $nice-border-color;
272
+
273
+ .list-inline {
274
+ margin-bottom: 0px;
275
+ }
276
+
277
+ &:hover {
278
+ background: $nice-table-bg-hover;
279
+ }
280
+
281
+ .nice-table-btn {
282
+ line-height: 11px;
283
+ width: 100%;
284
+ }
285
+ }
286
+
287
+ .no-border-top {
288
+ border-top: none;
289
+ }
290
+
291
+ .active {
292
+ //background: $table-bg-active;
293
+
294
+ &:before {
295
+ content: " ";
296
+ background: $nice-base-color;
297
+ width: 2px;
298
+ height: 100%;
299
+ position: absolute;
300
+ top: 0px;
301
+ left: 0px;
302
+ }
303
+ }
304
+
305
+ &.nice-table-settings {
306
+ .nice-table-row:hover {
307
+ background: none;
308
+ @extend .active;
309
+ }
310
+ }
311
+ }
312
+
313
+ .nice-list-item {
314
+ cursor: pointer;
315
+ line-height: 25px;
316
+ font-size: 14px;
317
+ padding: 15px 25px;
318
+ border-top: 1px solid $nice-border-color;
319
+
320
+ &:hover {
321
+ background: $nice-table-bg-hover;
322
+ }
323
+
324
+ &.active {
325
+ background: $nice-table-bg-active;
326
+ }
327
+ }
328
+
329
+ .nice-submenu {
330
+ background-color: $nice-submenu-bg-color;
331
+ // height: 50px;
332
+ margin-top: 0;
333
+ padding: 0;
334
+ margin-bottom: 20px;
335
+ //line-height: 50px;
336
+
337
+ .nice-submenu-wrapper {
338
+ padding: 25px;
339
+ }
340
+
341
+ .nice-submenu-item {
342
+ cursor: pointer;
343
+ line-height: 50px;
344
+
345
+ &:before {
346
+ content: " ";
347
+ background: $nice-submenu-gray-color;
348
+ height: 3px;
349
+ position: absolute;
350
+ top: 47px;
351
+ bottom: 0px;
352
+ left: 2px;
353
+ right: 2px;
354
+ }
355
+
356
+ &.active,
357
+ &:hover {
358
+ &:before {
359
+ background: $nice-base-color;
360
+ }
361
+ }
362
+ }
363
+
364
+ .width-200 {
365
+ width: 200px;
366
+ }
367
+
368
+ .width-300 {
369
+ width: 300px;
370
+ }
371
+
372
+ .nice-inline {
373
+ margin-right: 10px;
374
+ float: left;
375
+ line-height: 34px;
376
+ }
377
+
378
+ .nice-inline-right {
379
+ margin-left: 10px;
380
+ float: right;
381
+ line-height: 34px;
382
+
383
+ @media (max-width: $screen-md-min) {
384
+ float: left;
385
+ }
386
+ }
387
+ }
388
+
389
+ .nice-label {
390
+ display: block;
391
+
392
+ p.value {
393
+ line-height: 34px;
394
+ }
395
+ }
396
+
397
+ .error-message {
398
+ &:first-child {
399
+ padding: 5px 0px 0px 0px;
400
+ }
401
+
402
+ line-height: 1.2;
403
+ text-align: right;
404
+ font-size: $font-size-small;
405
+ color: $nice-input-invalid;
406
+ }
407
+
408
+ .feedback-invalid {
409
+ color: $nice-input-invalid !important;
410
+ }
411
+
412
+ .feedback-valid {
413
+ color: $nice-input-valid;
414
+ }
415
+
416
+ .has-warning {
417
+ outline-color: $nice-input-invalid !important;
418
+
419
+ .form-control,
420
+ .btn {
421
+ border-color: $nice-input-invalid !important;
422
+ }
423
+
424
+ .input-group-addon {
425
+ // background: $nice-input-invalid !important;
426
+ // color: white !important;
427
+ border-color: $nice-input-invalid !important;
428
+ color: $nice-input-invalid !important;
429
+ }
430
+ }
431
+
432
+ .has-success {
433
+ outline-color: $nice-input-valid !important;
434
+
435
+ .form-control {
436
+ border-color: $nice-input-valid !important;
437
+ }
438
+
439
+ .input-group-addon {
440
+ // background: $nice-input-valid !important;
441
+ // color: white !important;
442
+ border-color: $nice-input-valid !important;
443
+ // color: $nice-input-valid !important;
444
+ }
445
+ }
446
+
447
+ .nice-highligh {
448
+ background: yellow;
449
+ }
450
+
451
+ .nice-animation-spin {
452
+ animation: nice-spin 2s infinite linear;
453
+
454
+ &.ng-hide {
455
+ display: none;
456
+ }
457
+ }
458
+
459
+ @keyframes nice-spin {
460
+ from {
461
+ transform: rotate(0deg);
462
+ }
463
+
464
+ to {
465
+ transform: rotate(360deg);
466
+ }
467
+ }
468
+
469
+ .d-block {
470
+ display: block;
471
+ }