nice-elements 1.12.3 → 1.12.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.
Files changed (154) hide show
  1. package/.vscode/settings.json +18 -18
  2. package/CHANGELOG.md +550 -537
  3. package/LICENSE.md +21 -21
  4. package/README.md +98 -98
  5. package/bower.json +17 -17
  6. package/dist/nice.js +8948 -11308
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +41 -18
  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 +29 -28
  15. package/src/components/nice-alert/nice-alert.scss +59 -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 +211 -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 -82
  36. package/src/components/nice-date/nice-date.js +350 -350
  37. package/src/components/nice-date/nice-date.scss +305 -305
  38. package/src/components/nice-date-input/nice-date-input.html +49 -49
  39. package/src/components/nice-date-input/nice-date-input.js +128 -128
  40. package/src/components/nice-date-input/nice-date-input.scss +53 -53
  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 -47
  68. package/src/components/nice-input/nice-input.js +251 -250
  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 +1285 -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 +6 -3
  117. package/src/components/nice-title/nice-title.js +22 -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 +57 -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 +477 -471
  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 +195 -191
@@ -1,471 +1,477 @@
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
- }
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
+ gap: 5px;
123
+ min-height: 34px;
124
+
125
+ .nice-title-text {
126
+ text-align: right;
127
+ color: $nice-label-color;
128
+ }
129
+
130
+ .nice-title-description {
131
+ font-size: 0.8em;
132
+ font-style: italic;
133
+ }
134
+
135
+ .nice-title-required {
136
+ color: var(--nice-danger-color);
137
+ padding-left: 1px;
138
+ }
139
+
140
+ .nice-title-text + .nice-title-help {
141
+ margin-left: 5px;
142
+ line-height: 1;
143
+ }
144
+
145
+ @media (max-width: $screen-xs-max) {
146
+ justify-content: flex-start;
147
+ min-height: auto;
148
+ margin-bottom: 3px;
149
+
150
+ &.nice-title-empty {
151
+ margin-bottom: 0;
152
+ }
153
+
154
+ .nice-title-text {
155
+ text-align: left;
156
+ }
157
+ }
158
+ }
159
+
160
+ .input-group,
161
+ .form-group {
162
+ .form-control {
163
+ min-width: 50px;
164
+ // border-radius: $nice-border-radius;
165
+ // border-right: 0;
166
+ background: $nice-input-bg;
167
+ border: 1px solid $nice-border-color;
168
+ box-shadow: 0 0 0;
169
+ color: var(--nice-font-color);
170
+
171
+ &:active,
172
+ &:focus {
173
+ // border-color: $nice-focus-border;
174
+ box-shadow: 0 0 0;
175
+
176
+ & + .input-group-addon {
177
+ // border-color: $nice-focus-border;
178
+ // background-color: $nice-focus-border;
179
+ // color: white;
180
+ }
181
+ }
182
+
183
+ &:disabled {
184
+ background: $nice-input-disabled-bg;
185
+ // border-color: $nice-input-disabled-border;
186
+ opacity: 0.65;
187
+ cursor: not-allowed;
188
+ }
189
+ }
190
+
191
+ .input-group-addon {
192
+ border-top-left-radius: 0 !important;
193
+ border-bottom-left-radius: 0 !important;
194
+ border: 1px solid $nice-border-color;
195
+ border-left: 0 none;
196
+ background: $nice-input-bg;
197
+ padding: 0 9px;
198
+ color: var(--nice-font-color);
199
+
200
+ width: auto;
201
+ display: flex;
202
+ justify-content: center;
203
+ align-items: center;
204
+
205
+ svg {
206
+ height: 16px;
207
+ width: 16px;
208
+ }
209
+
210
+ &.btn {
211
+ &:focus {
212
+ outline: 0 none;
213
+ }
214
+ }
215
+ }
216
+
217
+ .clickable {
218
+ &:hover {
219
+ cursor: pointer;
220
+ }
221
+ }
222
+ }
223
+ }
224
+
225
+ .nice-component-inline {
226
+ .nice-title {
227
+ justify-content: flex-start;
228
+ width: 100%;
229
+ min-height: auto;
230
+ margin-bottom: 3px;
231
+ }
232
+
233
+ .nice-field {
234
+ width: 100%;
235
+ }
236
+ }
237
+
238
+ .margin-top-20 {
239
+ margin-top: 20px;
240
+ }
241
+
242
+ .margin-right-20 {
243
+ margin-right: 20px;
244
+ }
245
+
246
+ p.nice {
247
+ line-height: 34px;
248
+ margin: 0;
249
+ }
250
+
251
+ .nice-disabled {
252
+ opacity: 0.5;
253
+ cursor: not-allowed;
254
+ user-select: none;
255
+ }
256
+
257
+ .nice-table {
258
+ hr {
259
+ margin: 0px;
260
+ margin-bottom: 10px;
261
+ border-color: $nice-border-color;
262
+ }
263
+
264
+ .nice-table-header {
265
+ font-size: $font-size-small;
266
+ color: $nice-base-color;
267
+ padding-top: 10px;
268
+ padding-bottom: 5px;
269
+ text-transform: uppercase;
270
+ }
271
+
272
+ .nice-table-row {
273
+ cursor: pointer;
274
+ line-height: 25px;
275
+ font-size: 14px;
276
+ padding: 10px 0px;
277
+ border-top: 1px solid $nice-border-color;
278
+
279
+ .list-inline {
280
+ margin-bottom: 0px;
281
+ }
282
+
283
+ &:hover {
284
+ background: $nice-table-bg-hover;
285
+ }
286
+
287
+ .nice-table-btn {
288
+ line-height: 11px;
289
+ width: 100%;
290
+ }
291
+ }
292
+
293
+ .no-border-top {
294
+ border-top: none;
295
+ }
296
+
297
+ .active {
298
+ //background: $table-bg-active;
299
+
300
+ &:before {
301
+ content: " ";
302
+ background: $nice-base-color;
303
+ width: 2px;
304
+ height: 100%;
305
+ position: absolute;
306
+ top: 0px;
307
+ left: 0px;
308
+ }
309
+ }
310
+
311
+ &.nice-table-settings {
312
+ .nice-table-row:hover {
313
+ background: none;
314
+ @extend .active;
315
+ }
316
+ }
317
+ }
318
+
319
+ .nice-list-item {
320
+ cursor: pointer;
321
+ line-height: 25px;
322
+ font-size: 14px;
323
+ padding: 15px 25px;
324
+ border-top: 1px solid $nice-border-color;
325
+
326
+ &:hover {
327
+ background: $nice-table-bg-hover;
328
+ }
329
+
330
+ &.active {
331
+ background: $nice-table-bg-active;
332
+ }
333
+ }
334
+
335
+ .nice-submenu {
336
+ background-color: $nice-submenu-bg-color;
337
+ // height: 50px;
338
+ margin-top: 0;
339
+ padding: 0;
340
+ margin-bottom: 20px;
341
+ //line-height: 50px;
342
+
343
+ .nice-submenu-wrapper {
344
+ padding: 25px;
345
+ }
346
+
347
+ .nice-submenu-item {
348
+ cursor: pointer;
349
+ line-height: 50px;
350
+
351
+ &:before {
352
+ content: " ";
353
+ background: $nice-submenu-gray-color;
354
+ height: 3px;
355
+ position: absolute;
356
+ top: 47px;
357
+ bottom: 0px;
358
+ left: 2px;
359
+ right: 2px;
360
+ }
361
+
362
+ &.active,
363
+ &:hover {
364
+ &:before {
365
+ background: $nice-base-color;
366
+ }
367
+ }
368
+ }
369
+
370
+ .width-200 {
371
+ width: 200px;
372
+ }
373
+
374
+ .width-300 {
375
+ width: 300px;
376
+ }
377
+
378
+ .nice-inline {
379
+ margin-right: 10px;
380
+ float: left;
381
+ line-height: 34px;
382
+ }
383
+
384
+ .nice-inline-right {
385
+ margin-left: 10px;
386
+ float: right;
387
+ line-height: 34px;
388
+
389
+ @media (max-width: $screen-md-min) {
390
+ float: left;
391
+ }
392
+ }
393
+ }
394
+
395
+ .nice-label {
396
+ display: block;
397
+
398
+ p.value {
399
+ line-height: 34px;
400
+ }
401
+ }
402
+
403
+ .error-message {
404
+ &:first-child {
405
+ padding: 5px 0px 0px 0px;
406
+ }
407
+
408
+ line-height: 1.2;
409
+ text-align: right;
410
+ font-size: $font-size-small;
411
+ color: $nice-input-invalid;
412
+ }
413
+
414
+ .feedback-invalid {
415
+ color: $nice-input-invalid !important;
416
+ }
417
+
418
+ .feedback-valid {
419
+ color: $nice-input-valid;
420
+ }
421
+
422
+ .has-warning {
423
+ outline-color: $nice-input-invalid !important;
424
+
425
+ .form-control,
426
+ .btn {
427
+ border-color: $nice-input-invalid !important;
428
+ }
429
+
430
+ .input-group-addon {
431
+ // background: $nice-input-invalid !important;
432
+ // color: white !important;
433
+ border-color: $nice-input-invalid !important;
434
+ color: $nice-input-invalid !important;
435
+ }
436
+ }
437
+
438
+ .has-success {
439
+ outline-color: $nice-input-valid !important;
440
+
441
+ .form-control {
442
+ border-color: $nice-input-valid !important;
443
+ }
444
+
445
+ .input-group-addon {
446
+ // background: $nice-input-valid !important;
447
+ // color: white !important;
448
+ border-color: $nice-input-valid !important;
449
+ // color: $nice-input-valid !important;
450
+ }
451
+ }
452
+
453
+ .nice-highligh {
454
+ background: yellow;
455
+ }
456
+
457
+ .nice-animation-spin {
458
+ animation: nice-spin 2s infinite linear;
459
+
460
+ &.ng-hide {
461
+ display: none;
462
+ }
463
+ }
464
+
465
+ @keyframes nice-spin {
466
+ from {
467
+ transform: rotate(0deg);
468
+ }
469
+
470
+ to {
471
+ transform: rotate(360deg);
472
+ }
473
+ }
474
+
475
+ .d-block {
476
+ display: block;
477
+ }