@annalib/anna-core 20.2.16 → 20.2.18

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 (101) hide show
  1. package/README.md +7 -3
  2. package/esm2022/lib/anna-core-shared-lib/components/anna-buyer-approval-icon-template/anna-buyer-approval-icon-template.component.mjs +4 -5
  3. package/esm2022/lib/anna-core-shared-lib/components/anna-deleted-order-icon-template/anna-deleted-order-icon-template.component.mjs +4 -5
  4. package/esm2022/lib/anna-core-shared-lib/components/anna-est-icon-template/anna-est-icon-template.component.mjs +3 -3
  5. package/esm2022/lib/anna-core-shared-lib/components/anna-icon-column/anna-icon-column.component.mjs +14 -7
  6. package/esm2022/lib/anna-core-shared-lib/components/anna-live-icon-template/anna-live-icon-template.component.mjs +4 -5
  7. package/esm2022/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.mjs +7 -7
  8. package/esm2022/lib/anna-core-shared-lib/components/anna-notify-icon-template/anna-notify-icon-template.component.mjs +4 -5
  9. package/esm2022/lib/anna-core-shared-lib/components/anna-pay-for-performance-icon-template/anna-pay-for-performance-icon-template.component.mjs +4 -5
  10. package/esm2022/lib/anna-core-shared-lib/components/anna-rejected-icon-template/anna-rejected-icon-template.component.mjs +4 -5
  11. package/esm2022/lib/anna-core-shared-lib/constants/shared.constant.mjs +19 -19
  12. package/esm2022/lib/anna-core-shared-lib/directives/digits-only/digits-only.directive.mjs +12 -24
  13. package/esm2022/lib/anna-core-shared-lib/directives/fixed-rows-popup-table/fixed-rows-popup-table.directive.mjs +5 -3
  14. package/esm2022/lib/anna-core-shared-lib/directives/show-ellipsis-text/show-ellipsis-text.directive.mjs +5 -5
  15. package/esm2022/lib/anna-core-shared-lib/models/anna-generic-data-type.model.mjs +1 -1
  16. package/esm2022/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.mjs +1 -1
  17. package/esm2022/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.mjs +1 -1
  18. package/esm2022/lib/anna-core-shared-lib/models/anna-sort.model.mjs +1 -1
  19. package/esm2022/lib/anna-core-shared-lib/models/anna-tooltip.model.mjs +2 -2
  20. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.mjs +4 -4
  21. package/esm2022/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.mjs +5 -5
  22. package/esm2022/lib/anna-core-shared-lib/pipes/annaDateFormatter.pipe.mjs +4 -5
  23. package/esm2022/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.mjs +7 -6
  24. package/esm2022/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.mjs +5 -5
  25. package/esm2022/lib/anna-core-shared-lib/pipes/annaTypeOfData.pipe.mjs +2 -2
  26. package/esm2022/lib/anna-core-shared-lib/services/anna-date-time-format.service.mjs +69 -69
  27. package/esm2022/lib/anna-core-shared-lib/services/anna-filter.service.mjs +396 -294
  28. package/esm2022/lib/anna-core-shared-lib/services/anna-generic-table.service.mjs +20 -20
  29. package/esm2022/lib/anna-core-shared-lib/services/anna-global-config.service.mjs +38 -35
  30. package/esm2022/lib/anna-core-shared-lib/services/anna-number-format.service.mjs +10 -10
  31. package/esm2022/lib/anna-core-shared-lib/services/anna-persisting-filter.service.mjs +13 -14
  32. package/esm2022/lib/anna-core-shared-lib/services/anna-sort.service.mjs +30 -28
  33. package/esm2022/lib/anna-core.module.mjs +6 -6
  34. package/esm2022/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.mjs +22 -21
  35. package/esm2022/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.mjs +51 -50
  36. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-checkbox-filter/anna-column-checkbox-filter.component.mjs +27 -13
  37. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-date-range-filter/anna-column-date-range-filter.component.mjs +16 -11
  38. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-slider-filter/anna-column-slider-filter.component.mjs +16 -12
  39. package/esm2022/lib/anna-generic-table-lib/components/anna-column-filters/anna-column-time-filter/anna-column-time-filter.component.mjs +18 -13
  40. package/esm2022/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.mjs +287 -239
  41. package/esm2022/lib/anna-generic-table-lib/components/anna-sort/anna-sort.component.mjs +7 -7
  42. package/esm2022/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.mjs +35 -40
  43. package/esm2022/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.mjs +35 -21
  44. package/esm2022/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.mjs +2 -2
  45. package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.mjs +16 -15
  46. package/esm2022/lib/anna-generic-table-lib/directives/anna-virtual-table/index.mjs +2 -2
  47. package/esm2022/public-api.mjs +44 -44
  48. package/fesm2022/annalib-anna-core.mjs +1125 -940
  49. package/fesm2022/annalib-anna-core.mjs.map +1 -1
  50. package/lib/anna-core-shared-lib/components/anna-no-data/anna-no-data.component.d.ts +1 -1
  51. package/lib/anna-core-shared-lib/models/anna-global-dropdown-config.model.d.ts +3 -3
  52. package/lib/anna-core-shared-lib/models/anna-non-editable-gt-models.d.ts +5 -5
  53. package/lib/anna-core-shared-lib/models/anna-sort.model.d.ts +1 -1
  54. package/lib/anna-core-shared-lib/pipes/annaConvertArrayToCommaSeperatedValue.pipe.d.ts +1 -1
  55. package/lib/anna-core-shared-lib/pipes/annaConvertZeroOrNullOrUndefined.pipe.d.ts +1 -1
  56. package/lib/anna-core-shared-lib/pipes/annaFilterSearchedText.pipe.d.ts +1 -1
  57. package/lib/anna-core-shared-lib/pipes/annaReplaceChar.pipe.d.ts +1 -1
  58. package/lib/anna-core-shared-lib/services/anna-filter.service.d.ts +1 -1
  59. package/lib/anna-core-shared-lib/services/anna-generic-table.service.d.ts +5 -5
  60. package/lib/anna-core-shared-lib/services/anna-global-config.service.d.ts +2 -2
  61. package/lib/anna-dropdown-lib/components/anna-calendar-filter/anna-calendar-filter.component.d.ts +4 -4
  62. package/lib/anna-dropdown-lib/components/anna-week-calendar-filter/anna-week-calendar-filter.component.d.ts +3 -3
  63. package/lib/anna-generic-table-lib/components/anna-non-editable-generic-table/anna-non-editable-generic-table.component.d.ts +1 -1
  64. package/lib/anna-generic-table-lib/components/anna-table-virtual-scroll-viewport/anna-table-virtual-scroll-viewport.component.d.ts +8 -8
  65. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/anna-fixed-row-size-table-virtual-scroll-strategy.directive.d.ts +4 -4
  66. package/lib/anna-generic-table-lib/directives/anna-fixed-row-size-table-virtual-scroll-strategy/index.d.ts +1 -1
  67. package/lib/anna-generic-table-lib/directives/anna-virtual-table/anna-virtual-table.directive.d.ts +5 -5
  68. package/lib/anna-generic-table-lib/directives/anna-virtual-table/index.d.ts +1 -1
  69. package/package.json +1 -1
  70. package/public-api.d.ts +40 -40
  71. package/src/lib/anna-common-scss/_animate.scss +11 -11
  72. package/src/lib/anna-common-scss/_application-spacing.scss +3 -3
  73. package/src/lib/anna-common-scss/_bootstrap-tooltip.scss +25 -23
  74. package/src/lib/anna-common-scss/_button.scss +1 -1
  75. package/src/lib/anna-common-scss/_colors.scss +1 -1
  76. package/src/lib/anna-common-scss/_common-order-listing-table.scss +142 -135
  77. package/src/lib/anna-common-scss/_custom-anna-datepicker.scss +1 -1
  78. package/src/lib/anna-common-scss/_customDropdown.scss +68 -67
  79. package/src/lib/anna-common-scss/_dashboard-partials.scss +66 -64
  80. package/src/lib/anna-common-scss/_date-picker-form.scss +40 -40
  81. package/src/lib/anna-common-scss/_easy-filter.scss +107 -127
  82. package/src/lib/anna-common-scss/_edit-filter-popup.scss +17 -18
  83. package/src/lib/anna-common-scss/_filters.scss +470 -471
  84. package/src/lib/anna-common-scss/_font.scss +7 -8
  85. package/src/lib/anna-common-scss/_fonts.scss +7 -7
  86. package/src/lib/anna-common-scss/_generic-modal.scss +62 -58
  87. package/src/lib/anna-common-scss/_generic-table-common.scss +140 -145
  88. package/src/lib/anna-common-scss/_gt-table.scss +172 -181
  89. package/src/lib/anna-common-scss/_legend.scss +5 -5
  90. package/src/lib/anna-common-scss/_mat-button-toggle.scss +11 -11
  91. package/src/lib/anna-common-scss/_mat-menu.scss +14 -14
  92. package/src/lib/anna-common-scss/_mixins.scss +134 -135
  93. package/src/lib/anna-common-scss/_modal.scss +22 -22
  94. package/src/lib/anna-common-scss/_popup-filter-toggle-button.scss +9 -8
  95. package/src/lib/anna-common-scss/_scrollbar.scss +7 -7
  96. package/src/lib/anna-common-scss/_sort.scss +20 -20
  97. package/src/lib/anna-common-scss/_toggle.scss +54 -52
  98. package/src/lib/anna-common-scss/style.scss +1 -1
  99. package/src/lib/anna-common-scss/third-party-lib/_angular-material-mat-radio.scss +20 -21
  100. package/src/lib/anna-common-scss/third-party-lib/_anna-mat-button-toggle-group-size-lg.scss +27 -27
  101. package/src/lib/anna-common-scss/third-party-lib/_mat-autocomplete.scss +26 -23
@@ -3,163 +3,170 @@
3
3
  @use "./generic-table-common";
4
4
 
5
5
  @mixin sticky-left($leftOffset, $zIndex) {
6
- position: sticky;
7
- left: $leftOffset;
8
- z-index: $zIndex !important;
6
+ position: sticky;
7
+ left: $leftOffset;
8
+ z-index: $zIndex !important;
9
9
  }
10
10
 
11
- @mixin ellipsify(){
12
- text-overflow: ellipsis;
13
- overflow: hidden;
14
- white-space: nowrap;
11
+ @mixin ellipsify() {
12
+ text-overflow: ellipsis;
13
+ overflow: hidden;
14
+ white-space: nowrap;
15
15
  }
16
16
 
17
17
  @mixin ellipsis() {
18
- display: inline-block;
19
- width: 93%;
20
- @include ellipsify();
18
+ display: inline-block;
19
+ width: 93%;
20
+ @include ellipsify();
21
21
  }
22
22
 
23
23
  @mixin common-table($tableStartIndex, $tableEndIndex) {
24
- thead {
25
- tr th {
26
- box-shadow: none !important;
27
- }
28
- tr th:nth-child(12) {
29
- z-index: 101 !important;
30
- }
31
-
32
- tr th.mat-column-isOrderStarred,
33
- tr th.mat-column-payForPerformanceColumnIcon {
34
- background-color: white !important;
35
- }
36
-
37
- tr.total-row {
38
- td {
39
- color: #4a4a4a;
40
-
41
- span {
42
- color: #a7a7a7;
24
+ thead {
25
+ tr th {
26
+ box-shadow: none !important;
43
27
  }
44
-
45
- background: white;
46
- @include fonts.fonts(Roboto, 0.75rem, normal, bold, normal, normal, 0.3px);
47
- }
48
-
49
- td:nth-of-type(1) {
50
- @include sticky-left(0px, 501);
51
- }
52
-
53
- td:nth-of-type(2) {
54
- box-shadow: inset 1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
55
- padding-left: 37px;
56
- @include sticky-left(62px, 501);
57
- }
58
-
59
- td:nth-of-type(n + 3) {
60
- box-shadow: inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
61
- }
62
-
63
- td:last-of-type {
64
- box-shadow: inset -1px 0 0 0 rgb(0 0 0 / 75%), inset 0 1px 0 0 rgb(0 0 0 / 75%), inset 0 -1px 0 0 rgb(0 0 0 / 75%);
65
- }
66
- }
67
- }
68
-
69
- tbody {
70
- tr {
71
- cursor: pointer;
72
-
73
- td {
74
- background: white;
75
- box-shadow: none !important;
76
-
77
- div:nth-child(1) {
78
- color: #000;
79
- @include ellipsify();
80
- @include fonts.fonts(Roboto, 0.75rem, normal, normal, normal, normal, 0px);
28
+ tr th:nth-child(12) {
29
+ z-index: 101 !important;
81
30
  }
82
31
 
83
- div:nth-child(2) {
84
- color: #a7a7a7;
85
- @include ellipsify();
86
- @include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.3px);
32
+ tr th.mat-column-isOrderStarred,
33
+ tr th.mat-column-payForPerformanceColumnIcon {
34
+ background-color: white !important;
87
35
  }
88
- }
89
-
90
- td:nth-of-type(1) {
91
- @include sticky-left(0px, 102);
92
- }
93
36
 
94
- @for $i from calc($tableStartIndex) through calc($tableEndIndex) {
95
- td:nth-of-type(#{$i}) {
96
- box-shadow: inset 0px -1px 0px 0px #d4d4d4 !important;
97
- }
98
- }
99
-
100
- td:nth-of-type(#{$tableStartIndex}) {
101
- box-shadow: inset 1px -1px 0px 0px #d4d4d4 !important;
102
- }
103
-
104
- td:last-of-type {
105
- box-shadow: inset -1px -1px 0px 0px #d4d4d4 !important;
106
- }
107
-
108
- td.mat-cell:first-of-type {
109
- padding-left: 5px !important;
110
-
111
- i {
112
- font-size: 1.25rem;
113
- cursor: pointer;
114
- position: relative;
115
- bottom: 2px;
37
+ tr.total-row {
38
+ td {
39
+ color: #4a4a4a;
40
+
41
+ span {
42
+ color: #a7a7a7;
43
+ }
44
+
45
+ background: white;
46
+ @include fonts.fonts(Roboto, 0.75rem, normal, bold, normal, normal, 0.3px);
47
+ }
48
+
49
+ td:nth-of-type(1) {
50
+ @include sticky-left(0px, 501);
51
+ }
52
+
53
+ td:nth-of-type(2) {
54
+ box-shadow:
55
+ inset 1px 0 0 0 rgb(0 0 0 / 75%),
56
+ inset 0 1px 0 0 rgb(0 0 0 / 75%),
57
+ inset 0 -1px 0 0 rgb(0 0 0 / 75%);
58
+ padding-left: 37px;
59
+ @include sticky-left(62px, 501);
60
+ }
61
+
62
+ td:nth-of-type(n + 3) {
63
+ box-shadow:
64
+ inset 0 1px 0 0 rgb(0 0 0 / 75%),
65
+ inset 0 -1px 0 0 rgb(0 0 0 / 75%);
66
+ }
67
+
68
+ td:last-of-type {
69
+ box-shadow:
70
+ inset -1px 0 0 0 rgb(0 0 0 / 75%),
71
+ inset 0 1px 0 0 rgb(0 0 0 / 75%),
72
+ inset 0 -1px 0 0 rgb(0 0 0 / 75%);
73
+ }
116
74
  }
75
+ }
117
76
 
118
- i.mdi-star-outline {
119
- color: #e6e6e6;
77
+ tbody {
78
+ tr {
79
+ cursor: pointer;
80
+
81
+ td {
82
+ background: white;
83
+ box-shadow: none !important;
84
+
85
+ div:nth-child(1) {
86
+ color: #000;
87
+ @include ellipsify();
88
+ @include fonts.fonts(Roboto, 0.75rem, normal, normal, normal, normal, 0px);
89
+ }
90
+
91
+ div:nth-child(2) {
92
+ color: #a7a7a7;
93
+ @include ellipsify();
94
+ @include fonts.fonts(Roboto, 0.75rem, normal, 500, normal, normal, 0.3px);
95
+ }
96
+ }
97
+
98
+ td:nth-of-type(1) {
99
+ @include sticky-left(0px, 102);
100
+ }
101
+
102
+ @for $i from calc($tableStartIndex) through calc($tableEndIndex) {
103
+ td:nth-of-type(#{$i}) {
104
+ box-shadow: inset 0px -1px 0px 0px #d4d4d4 !important;
105
+ }
106
+ }
107
+
108
+ td:nth-of-type(#{$tableStartIndex}) {
109
+ box-shadow: inset 1px -1px 0px 0px #d4d4d4 !important;
110
+ }
111
+
112
+ td:last-of-type {
113
+ box-shadow: inset -1px -1px 0px 0px #d4d4d4 !important;
114
+ }
115
+
116
+ td.mat-cell:first-of-type {
117
+ padding-left: 5px !important;
118
+
119
+ i {
120
+ font-size: 1.25rem;
121
+ cursor: pointer;
122
+ position: relative;
123
+ bottom: 2px;
124
+ }
125
+
126
+ i.mdi-star-outline {
127
+ color: #e6e6e6;
128
+ }
129
+
130
+ i.mdi-star {
131
+ color: #ffc107;
132
+ opacity: 0.5;
133
+ }
134
+ }
120
135
  }
121
136
 
122
- i.mdi-star {
123
- color: #ffc107;
124
- opacity: 0.5;
125
- }
126
- }
137
+ @include overrideEmptyTrBorders(3);
127
138
  }
128
139
 
129
- @include overrideEmptyTrBorders(3);
130
- }
131
-
132
- &.no-data-table {
133
- tbody tr:first-of-type {
134
- td:nth-of-type(#{$tableStartIndex}) {
135
- box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
136
- }
140
+ &.no-data-table {
141
+ tbody tr:first-of-type {
142
+ td:nth-of-type(#{$tableStartIndex}) {
143
+ box-shadow: inset 1px 0px 0px 0px #d4d4d4 !important;
144
+ }
137
145
 
138
- td:nth-of-type(#{$tableStartIndex + 1}),
139
- td:nth-of-type(#{$tableStartIndex + 2}) {
140
- box-shadow: none !important
141
- }
146
+ td:nth-of-type(#{$tableStartIndex + 1}),
147
+ td:nth-of-type(#{$tableStartIndex + 2}) {
148
+ box-shadow: none !important;
149
+ }
150
+ }
142
151
  }
143
- }
144
-
145
- &.no-data-table div.horizontal-scroll-for-table-container {
146
- height: calc(157px) !important;
147
- }
148
152
 
149
- .table-container::-webkit-scrollbar {
150
- width: 4px;
151
- height: 4px;
152
- }
153
+ &.no-data-table div.horizontal-scroll-for-table-container {
154
+ height: calc(157px) !important;
155
+ }
153
156
 
154
- .table-container::-webkit-scrollbar-thumb {
155
- border-radius: 4px;
156
- background-color: rgba(0, 0, 0, 0.4) !important;
157
- border: 1px solid rgba(0, 0, 0, 0.2);
158
- }
157
+ .table-container::-webkit-scrollbar {
158
+ width: 4px;
159
+ height: 4px;
160
+ }
159
161
 
160
- .table-container::-webkit-scrollbar-track {
161
- border: 1px solid rgba(0, 0, 0, 0.1) !important;
162
- margin-top: 105px;
163
- }
162
+ .table-container::-webkit-scrollbar-thumb {
163
+ border-radius: 4px;
164
+ background-color: rgba(0, 0, 0, 0.4) !important;
165
+ border: 1px solid rgba(0, 0, 0, 0.2);
166
+ }
164
167
 
165
- }
168
+ .table-container::-webkit-scrollbar-track {
169
+ border: 1px solid rgba(0, 0, 0, 0.1) !important;
170
+ margin-top: 105px;
171
+ }
172
+ }
@@ -11,4 +11,4 @@
11
11
 
12
12
  :host ::ng-deep.ngb-dp-arrow button .ngb-dp-navigation-chevron {
13
13
  color: #000;
14
- }
14
+ }
@@ -1,27 +1,28 @@
1
1
  @import "./colors", "./fonts";
2
2
 
3
3
  #dropdown-trigger {
4
- height: 1.875rem;
5
- background: white;
6
- border-radius: 2px;
7
- border: 1px solid $lightGray-8;
8
- width: 100%;
9
- text-align: left;
10
- display: flex;
11
- align-items: center;
12
- &:disabled{
13
- background-color: $gray74;
14
- opacity: 0.5;
15
- & .placeholder, .icon {
16
- color: #000;
4
+ height: 1.875rem;
5
+ background: white;
6
+ border-radius: 2px;
7
+ border: 1px solid $lightGray-8;
8
+ width: 100%;
9
+ text-align: left;
10
+ display: flex;
11
+ align-items: center;
12
+ &:disabled {
13
+ background-color: $gray74;
14
+ opacity: 0.5;
15
+ & .placeholder,
16
+ .icon {
17
+ color: #000;
18
+ }
17
19
  }
18
- }
19
20
  }
20
21
 
21
22
  .placeholder {
22
- color: $gray74;
23
- width: 100%;
24
- @include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
23
+ color: $gray74;
24
+ width: 100%;
25
+ @include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
25
26
  }
26
27
 
27
28
  // #dropdown-trigger:disabled .placeholder {
@@ -29,79 +30,79 @@
29
30
  // }
30
31
 
31
32
  .icon {
32
- font-size: 1.125rem;
33
- float: right;
34
- margin-left: auto;
33
+ font-size: 1.125rem;
34
+ float: right;
35
+ margin-left: auto;
35
36
  }
36
37
 
37
38
  .search-bar {
38
- margin: 0 7px 8px 7px;
39
- border: 1px solid $pinkSwan;
40
- height: 1.875rem;
41
- border-radius: 2px;
42
- input {
43
- outline: none;
44
- border: none;
45
- position: relative;
46
- bottom: 4px;
47
- width: calc(100% - 29px);
48
- }
49
-
50
- .search-icon {
51
- font-size: 1.125rem;
52
- color: $lightGray-7;
53
- margin: 5px;
54
- }
39
+ margin: 0 7px 8px 7px;
40
+ border: 1px solid $pinkSwan;
41
+ height: 1.875rem;
42
+ border-radius: 2px;
43
+ input {
44
+ outline: none;
45
+ border: none;
46
+ position: relative;
47
+ bottom: 4px;
48
+ width: calc(100% - 29px);
49
+ }
55
50
 
56
- .close-icon{
57
- cursor: pointer;
58
- }
51
+ .search-icon {
52
+ font-size: 1.125rem;
53
+ color: $lightGray-7;
54
+ margin: 5px;
55
+ }
56
+
57
+ .close-icon {
58
+ cursor: pointer;
59
+ }
59
60
  }
60
61
 
61
62
  ul {
62
- overflow-y: auto;
63
- padding-left: 0;
64
- padding-bottom: 0;
65
- margin-bottom: 0;
66
- max-height: calc(50vh - 80px) !important;
63
+ overflow-y: auto;
64
+ padding-left: 0;
65
+ padding-bottom: 0;
66
+ margin-bottom: 0;
67
+ max-height: calc(50vh - 80px) !important;
67
68
  }
68
69
 
69
70
  li {
70
- list-style-type: none;
71
- cursor: pointer;
72
- padding-inline: 10px;
73
- @include fonts(Roboto, 14px, normal, normal, normal, 2.14, normal);
74
- color: #4a4a4a;
75
- @extend .ellipsify;
76
- width: 100%;
71
+ list-style-type: none;
72
+ cursor: pointer;
73
+ padding-inline: 10px;
74
+ @include fonts(Roboto, 14px, normal, normal, normal, 2.14, normal);
75
+ color: #4a4a4a;
76
+ @extend .ellipsify;
77
+ width: 100%;
77
78
  }
78
79
 
79
80
  ul::-webkit-scrollbar {
80
- width: 4px;
81
- height: 4px;
81
+ width: 4px;
82
+ height: 4px;
82
83
  }
83
84
 
84
85
  ul::-webkit-scrollbar-track {
85
- border: 1px solid rgba(0, 0, 0, 0.1);
86
+ border: 1px solid rgba(0, 0, 0, 0.1);
86
87
  }
87
88
 
88
89
  ul::-webkit-scrollbar-thumb {
89
- border-radius: 4px;
90
- background-color: rgba(0, 0, 0, 0.4) !important;
91
- border: 1px solid rgba(0, 0, 0, 0.2);
90
+ border-radius: 4px;
91
+ background-color: rgba(0, 0, 0, 0.4) !important;
92
+ border: 1px solid rgba(0, 0, 0, 0.2);
92
93
  }
93
94
 
94
95
  li:hover {
95
- // color: white;
96
- background: #ebebeb;
96
+ // color: white;
97
+ background: #ebebeb;
97
98
  }
98
99
 
99
100
  li.active {
100
- color: white;
101
- background: $primary-color;
101
+ color: white;
102
+ background: $primary-color;
102
103
  }
103
104
 
104
- span.selected-item{
105
+ span.selected-item {
105
106
  background: transparent;
106
107
  @include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
107
108
  color: #4a4a4a;
@@ -111,12 +112,12 @@ span.selected-item{
111
112
  vertical-align: middle;
112
113
  }
113
114
 
114
- .ellipsify{
115
+ .ellipsify {
115
116
  white-space: nowrap;
116
117
  text-overflow: ellipsis;
117
118
  overflow: hidden;
118
119
  }
119
120
 
120
- ::ng-deep .cdk-overlay-container{
121
- z-index: 1051;
122
- }
121
+ ::ng-deep .cdk-overlay-container {
122
+ z-index: 1051;
123
+ }
@@ -1,18 +1,20 @@
1
1
  .dashboard-heading {
2
- color: #268bff;
3
- font-size: 1rem;
4
- font-weight: 500;
5
- letter-spacing: 2.5px;
2
+ color: #268bff;
3
+ font-size: 1rem;
4
+ font-weight: 500;
5
+ letter-spacing: 2.5px;
6
6
  }
7
7
 
8
8
  @mixin user-card($bgColor) {
9
- background-color: $bgColor;
10
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.24), 0 0 2px 0 rgba(0, 0, 0, 0.12);
11
- cursor: default;
12
- transition: 150ms;
13
- position: relative;
14
- border-radius:0.25rem;
15
- padding: 1.5rem;
9
+ background-color: $bgColor;
10
+ box-shadow:
11
+ 0 2px 2px 0 rgba(0, 0, 0, 0.24),
12
+ 0 0 2px 0 rgba(0, 0, 0, 0.12);
13
+ cursor: default;
14
+ transition: 150ms;
15
+ position: relative;
16
+ border-radius: 0.25rem;
17
+ padding: 1.5rem;
16
18
  }
17
19
 
18
20
  //orderCard issue 2
@@ -22,83 +24,83 @@
22
24
  // }
23
25
 
24
26
  @mixin view_link {
25
- float: right;
26
- color: #268bff;
27
- cursor: pointer;
27
+ float: right;
28
+ color: #268bff;
29
+ cursor: pointer;
28
30
  }
29
31
 
30
32
  @mixin info-box {
31
- background-color: #c7e1ff;
32
- border-radius: $fs-4;
33
- padding: 0.1875rem 0.5rem 0 0.5rem;
34
- @include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
33
+ background-color: #c7e1ff;
34
+ border-radius: $fs-4;
35
+ padding: 0.1875rem 0.5rem 0 0.5rem;
36
+ @include fonts(Roboto, 0.9375rem, normal, 500, normal, 1.25, 0.088rem);
35
37
  }
36
38
 
37
39
  .noData {
38
- background-color: lightgrey;
39
- padding: 0.5em;
40
- width: 40%;
41
- text-align: center;
42
- margin: 12.5em auto;
43
- border-radius: 0.2em;
40
+ background-color: lightgrey;
41
+ padding: 0.5em;
42
+ width: 40%;
43
+ text-align: center;
44
+ margin: 12.5em auto;
45
+ border-radius: 0.2em;
44
46
  }
45
47
 
46
48
  @mixin svg-parent-card($cardHeight, $cardBgColor) {
47
- max-width: 100%;
48
- height: $cardHeight;
49
- width: 100%;
50
- background-color: $cardBgColor;
51
- border: none;
52
- outline: none;
53
- padding-bottom: 0;
54
- margin-bottom: 0;
49
+ max-width: 100%;
50
+ height: $cardHeight;
51
+ width: 100%;
52
+ background-color: $cardBgColor;
53
+ border: none;
54
+ outline: none;
55
+ padding-bottom: 0;
56
+ margin-bottom: 0;
55
57
  }
56
58
 
57
59
  @mixin svg-content-placeholder($backgroundGradient, $clipPath) {
58
- animation: linear 1s placeHolderShimmer infinite;
59
- background: $backgroundGradient;
60
- background-size: 800px 104px;
60
+ animation: linear 1s placeHolderShimmer infinite;
61
+ background: $backgroundGradient;
62
+ background-size: 800px 104px;
61
63
 
62
- width: 100%;
63
- height: 100%;
64
- -webkit-clip-path: url($clipPath);
65
- clip-path: url($clipPath);
66
- // Safari render fix
67
- transform: translateZ(0);
64
+ width: 100%;
65
+ height: 100%;
66
+ -webkit-clip-path: url($clipPath);
67
+ clip-path: url($clipPath);
68
+ // Safari render fix
69
+ transform: translateZ(0);
68
70
  }
69
71
 
70
72
  @keyframes placeHolderShimmer {
71
- 0% {
72
- background-position: -468px 0;
73
- }
74
- 100% {
75
- background-position: 468px 0;
76
- }
73
+ 0% {
74
+ background-position: -468px 0;
75
+ }
76
+ 100% {
77
+ background-position: 468px 0;
78
+ }
77
79
  }
78
80
 
79
81
  :host::ng-deep.btn-secondary {
80
- box-shadow: none;
81
- border: 1px solid lightgray;
82
+ box-shadow: none;
83
+ border: 1px solid lightgray;
82
84
  }
83
85
  :host ::ng-deep .ui-select-match-text {
84
- padding-top: 0;
85
- display: inline-block;
86
- width: 100%;
87
- white-space: nowrap;
88
- overflow: hidden;
89
- text-overflow: ellipsis;
86
+ padding-top: 0;
87
+ display: inline-block;
88
+ width: 100%;
89
+ white-space: nowrap;
90
+ overflow: hidden;
91
+ text-overflow: ellipsis;
90
92
  }
91
93
  @mixin material-icons-and-expand-icon {
92
- color: #268bff;
93
- position: absolute;
94
- float: right;
95
- cursor: pointer;
96
- pointer-events: none;
94
+ color: #268bff;
95
+ position: absolute;
96
+ float: right;
97
+ cursor: pointer;
98
+ pointer-events: none;
97
99
  }
98
100
 
99
101
  @mixin dropdownContainer {
100
- position: relative;
101
- margin:0 0.5625rem 0 0;
102
- display: flex;
103
- flex-direction: column;
102
+ position: relative;
103
+ margin: 0 0.5625rem 0 0;
104
+ display: flex;
105
+ flex-direction: column;
104
106
  }