nice-elements 1.12.9 → 1.12.11

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