nice-elements 1.10.4 → 1.10.6

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 (144) hide show
  1. package/.vscode/settings.json +17 -17
  2. package/CHANGELOG.md +444 -433
  3. package/LICENSE.md +21 -21
  4. package/README.md +95 -95
  5. package/bower.json +10 -10
  6. package/dist/nice.js +8074 -8086
  7. package/dist/nice.min.js +1 -1
  8. package/dist/style.css +20 -9
  9. package/dist/style.css.map +1 -1
  10. package/dist/style.min.css +7 -7
  11. package/eslint.config.mjs +28 -0
  12. package/package.json +45 -42
  13. package/src/components/nice-button/nice-button.html +4 -4
  14. package/src/components/nice-button/nice-button.js +40 -40
  15. package/src/components/nice-button/nice-button.scss +16 -16
  16. package/src/components/nice-button-toggle/nice-button-toggle.html +9 -9
  17. package/src/components/nice-button-toggle/nice-button-toggle.js +23 -23
  18. package/src/components/nice-button-toggle/nice-button-toggle.scss +2 -2
  19. package/src/components/nice-calendar/nice-calendar.html +91 -91
  20. package/src/components/nice-calendar/nice-calendar.js +336 -335
  21. package/src/components/nice-calendar/nice-calendar.scss +285 -285
  22. package/src/components/nice-checkbox/nice-checkbox.html +5 -5
  23. package/src/components/nice-checkbox/nice-checkbox.js +34 -34
  24. package/src/components/nice-checkbox/nice-checkbox.scss +91 -91
  25. package/src/components/nice-choice/nice-choice.html +18 -18
  26. package/src/components/nice-choice/nice-choice.js +211 -211
  27. package/src/components/nice-choice/nice-choice.scss +110 -110
  28. package/src/components/nice-click-outside/nice-click-outside.js +105 -105
  29. package/src/components/nice-comment/nice-comment.html +10 -10
  30. package/src/components/nice-comment/nice-comment.js +71 -70
  31. package/src/components/nice-comment/nice-comment.scss +39 -39
  32. package/src/components/nice-date/nice-date.html +75 -74
  33. package/src/components/nice-date/nice-date.js +329 -328
  34. package/src/components/nice-date/nice-date.scss +302 -302
  35. package/src/components/nice-date-input/nice-date-input.html +41 -41
  36. package/src/components/nice-date-input/nice-date-input.js +111 -110
  37. package/src/components/nice-date-input/nice-date-input.scss +45 -45
  38. package/src/components/nice-date-range/nice-date-range.html +15 -15
  39. package/src/components/nice-date-range/nice-date-range.js +78 -77
  40. package/src/components/nice-date-range/nice-date-range.scss +390 -390
  41. package/src/components/nice-datetime-picker/nice-datetime-picker.html +29 -29
  42. package/src/components/nice-datetime-picker/nice-datetime-picker.js +89 -88
  43. package/src/components/nice-datetime-picker/nice-datetime-picker.scss +428 -428
  44. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.html +55 -55
  45. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.js +248 -247
  46. package/src/components/nice-datetimerange-picker/nice-datetimerange-picker.scss +73 -73
  47. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.html +44 -44
  48. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.js +174 -173
  49. package/src/components/nice-datetimerange-picker-2/nice-datetimerange-picker-2.scss +127 -127
  50. package/src/components/nice-dropdown/nice-dropdown.html +61 -60
  51. package/src/components/nice-dropdown/nice-dropdown.js +496 -490
  52. package/src/components/nice-dropdown/nice-dropdown.scss +261 -249
  53. package/src/components/nice-dropdown-date/nice-dropdown-date.html +28 -28
  54. package/src/components/nice-dropdown-date/nice-dropdown-date.js +128 -127
  55. package/src/components/nice-dropdown-date/nice-dropdown-date.scss +82 -82
  56. package/src/components/nice-dropdown-old/nice-dropdown-old.html +44 -44
  57. package/src/components/nice-dropdown-old/nice-dropdown-old.js +331 -331
  58. package/src/components/nice-dropdown-old/nice-dropdown-old.scss +129 -129
  59. package/src/components/nice-dtp/nice-dtp.html +91 -91
  60. package/src/components/nice-dtp/nice-dtp.js +835 -834
  61. package/src/components/nice-help/nice-help.html +6 -6
  62. package/src/components/nice-help/nice-help.js +55 -55
  63. package/src/components/nice-help/nice-help.scss +78 -78
  64. package/src/components/nice-input/nice-input.html +48 -48
  65. package/src/components/nice-input/nice-input.js +245 -245
  66. package/src/components/nice-input/nice-input.scss +130 -130
  67. package/src/components/nice-label/nice-label.html +10 -10
  68. package/src/components/nice-label/nice-label.js +32 -31
  69. package/src/components/nice-loader/nice-loader.html +6 -6
  70. package/src/components/nice-loader/nice-loader.js +28 -28
  71. package/src/components/nice-loader/nice-loader.scss +47 -47
  72. package/src/components/nice-no-data/nice-no-data.html +3 -3
  73. package/src/components/nice-no-data/nice-no-data.js +27 -27
  74. package/src/components/nice-no-data/nice-no-data.scss +30 -30
  75. package/src/components/nice-notification/nice-notification.html +3 -3
  76. package/src/components/nice-notification/nice-notification.js +124 -124
  77. package/src/components/nice-notification/nice-notification.scss +66 -66
  78. package/src/components/nice-number/nice-number.html +40 -40
  79. package/src/components/nice-number/nice-number.js +170 -170
  80. package/src/components/nice-number/nice-number.scss +18 -18
  81. package/src/components/nice-percent/nice-percent.html +24 -24
  82. package/src/components/nice-percent/nice-percent.js +95 -95
  83. package/src/components/nice-pill/nice-pill.html +3 -3
  84. package/src/components/nice-pill/nice-pill.js +29 -29
  85. package/src/components/nice-pill/nice-pill.scss +25 -25
  86. package/src/components/nice-popup/nice-popup.html +6 -6
  87. package/src/components/nice-popup/nice-popup.js +122 -122
  88. package/src/components/nice-popup/nice-popup.scss +43 -43
  89. package/src/components/nice-progress-bar/nice-progress-bar.html +15 -15
  90. package/src/components/nice-progress-bar/nice-progress-bar.js +55 -55
  91. package/src/components/nice-progress-bar/nice-progress-bar.scss +47 -47
  92. package/src/components/nice-quantity/nice-quantity.html +22 -22
  93. package/src/components/nice-quantity/nice-quantity.js +57 -56
  94. package/src/components/nice-quantity/nice-quantity.scss +51 -51
  95. package/src/components/nice-search/nice-search.html +44 -44
  96. package/src/components/nice-search/nice-search.js +240 -240
  97. package/src/components/nice-search/nice-search.scss +90 -90
  98. package/src/components/nice-search2/nice-search2.html +32 -32
  99. package/src/components/nice-search2/nice-search2.js +265 -265
  100. package/src/components/nice-search2/nice-search2.scss +80 -80
  101. package/src/components/nice-slot/nice-slot.html +10 -10
  102. package/src/components/nice-slot/nice-slot.js +31 -30
  103. package/src/components/nice-steps/nice-steps.scss +81 -81
  104. package/src/components/nice-svgs/nice-svgs.html +1262 -1262
  105. package/src/components/nice-svgs/nice-svgs.js +16 -16
  106. package/src/components/nice-table/nice-table.html +38 -38
  107. package/src/components/nice-table/nice-table.js +60 -60
  108. package/src/components/nice-table/nice-table.scss +111 -111
  109. package/src/components/nice-time-picker/nice-time-picker.html +43 -43
  110. package/src/components/nice-time-picker/nice-time-picker.js +85 -84
  111. package/src/components/nice-time-picker/nice-time-picker.scss +37 -37
  112. package/src/components/nice-title/nice-title.html +3 -3
  113. package/src/components/nice-title/nice-title.js +21 -21
  114. package/src/components/nice-toast/nice-toast.html +2 -2
  115. package/src/components/nice-toast/nice-toast.js +56 -56
  116. package/src/components/nice-toast/nice-toast.scss +74 -74
  117. package/src/components/nice-toggle/nice-toggle.html +12 -12
  118. package/src/components/nice-toggle/nice-toggle.js +54 -53
  119. package/src/components/nice-toggle/nice-toggle.scss +131 -131
  120. package/src/components/nice-tooltip/_nice-tooltip.scss +71 -71
  121. package/src/components/nice-tooltip/nice-tooltip.js +23 -23
  122. package/src/components/nice-upload/nice-upload.html +22 -22
  123. package/src/components/nice-upload/nice-upload.js +159 -158
  124. package/src/components/nice-upload/nice-upload.scss +85 -85
  125. package/src/components/nice-wrapper/_nice-wrapper.scss +87 -87
  126. package/src/components/nice-wrapper/nice-wrapper.html +12 -12
  127. package/src/components/nice-wrapper/nice-wrapper.js +44 -44
  128. package/src/components/nice-yesno/nice-yesno.html +14 -14
  129. package/src/components/nice-yesno/nice-yesno.js +111 -110
  130. package/src/components/nice-yesno/nice-yesno.scss +95 -95
  131. package/src/filters/nice-date.js +17 -17
  132. package/src/filters/nice-highlight.js +16 -16
  133. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.html +30 -30
  134. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.js +67 -67
  135. package/src/modals/nice-multilangual-modal/nice-multilangual-modal.scss +19 -19
  136. package/src/nice.js +2 -2
  137. package/src/services/nice-service.js +22 -19
  138. package/src/styles/_bootstrap-variables.scss +178 -178
  139. package/src/styles/_nice-buttons.scss +612 -612
  140. package/src/styles/_nice-common.scss +471 -471
  141. package/src/styles/_nice-ngdialog.scss +85 -85
  142. package/src/styles/_nice-spacing.scss +283 -283
  143. package/src/styles/_nice.scss +67 -67
  144. package/src/styles/_variables.scss +198 -198
@@ -1,472 +1,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-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;
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
472
  }