@annalib/anna-core 10.0.1 → 10.0.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "10.0.1",
3
+ "version": "10.0.2",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.3",
6
6
  "@angular/common": "^14.3.0",
@@ -134,7 +134,7 @@ div.radio-container {
134
134
  background-color: $filterRadioContainer;
135
135
  // padding: $fs-2 $fs-2 $fs-2 $fs-4;
136
136
  border-radius: $fs-2;
137
- margin: $fs-7 $fs-7 $fs-4 $fs-7;
137
+ margin: 0px $fs-7 $fs-4 $fs-7;
138
138
  div{
139
139
  flex: 1;
140
140
  width: 50%;
@@ -178,7 +178,7 @@ div.radio-container {
178
178
 
179
179
  .buttons-container {
180
180
  display: flex;
181
- margin: 0px auto $fs-7;
181
+ margin: 0px auto 0px;
182
182
  justify-content: center;
183
183
  button:last-of-type {
184
184
  background-color: $primary-color;
@@ -464,6 +464,7 @@ p.filter-tab{
464
464
  padding-inline: 8px;
465
465
  cursor: pointer;
466
466
  overflow: hidden;
467
+ text-align: center;
467
468
  text-overflow: ellipsis;
468
469
  }
469
470
 
@@ -1,132 +0,0 @@
1
- @import "./colors", "./fonts";
2
-
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
- &:disabled{
11
- background-color: $gray74;
12
- opacity: 0.5;
13
- & .placeholder, .icon {
14
- color: #000;
15
- }
16
- }
17
- }
18
-
19
- .placeholder {
20
- color: $gray74;
21
- @include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
22
- }
23
-
24
- // #dropdown-trigger:disabled .placeholder {
25
- // color: #000;
26
- // }
27
-
28
- .icon {
29
- font-size: 1.125rem;
30
- float: right;
31
- margin-left: auto;
32
- }
33
-
34
- .search-bar {
35
- margin: 9px 7px 8px 7px;
36
- border: 1px solid $pinkSwan;
37
- height: 1.875rem;
38
- border-radius: 2px;
39
- input {
40
- outline: none;
41
- border: none;
42
- position: relative;
43
- bottom: 4px;
44
- width: calc(100% - 29px);
45
- }
46
-
47
- .search-icon {
48
- font-size: 1.125rem;
49
- color: $lightGray-7;
50
- margin: 5px;
51
- }
52
-
53
- .close-icon{
54
- cursor: pointer;
55
- }
56
- }
57
-
58
- ul {
59
- overflow-y: auto;
60
- padding-left: 0;
61
- padding-bottom: 0;
62
- margin-bottom: 0;
63
- max-height: calc(50vh - 80px) !important;
64
- }
65
-
66
- li {
67
- list-style-type: none;
68
- cursor: pointer;
69
- padding-inline: 6px;
70
- @include fonts(Roboto, 14px, normal, normal, normal, 2.14, normal);
71
- color: #4a4a4a;
72
- @extend .ellipsify;
73
- width: 100%;
74
- }
75
-
76
- ul::-webkit-scrollbar {
77
- width: 4px;
78
- height: 4px;
79
- }
80
-
81
- ul::-webkit-scrollbar-track {
82
- border: 1px solid rgba(0, 0, 0, 0.1);
83
- }
84
-
85
- ul::-webkit-scrollbar-thumb {
86
- border-radius: 4px;
87
- background-color: rgba(0, 0, 0, 0.4) !important;
88
- border: 1px solid rgba(0, 0, 0, 0.2);
89
- }
90
-
91
- li:hover {
92
- // color: white;
93
- background: #ebebeb;
94
- }
95
-
96
- li.active {
97
- color: white;
98
- background: $primary-color;
99
- }
100
-
101
- span.selected-item{
102
- background: transparent;
103
- @include fonts(Roboto, 14px, normal, normal, normal, normal, normal);
104
- color: #4a4a4a;
105
- @extend .ellipsify;
106
- width: calc(100% - 22px);
107
- display: inline-block;
108
- vertical-align: middle;
109
- }
110
-
111
- .ellipsify{
112
- white-space: nowrap;
113
- text-overflow: ellipsis;
114
- overflow: hidden;
115
- }
116
-
117
- ::ng-deep .cdk-overlay-container{
118
- z-index: 1051;
119
- }
120
-
121
- ::ng-deep .multi-select-dropdown + div .mat-menu-panel,
122
- ::ng-deep .single-select-dropdown + div .mat-menu-panel{
123
- min-width: 100px !important;
124
- max-width: 100%;
125
- min-height: 30px !important;
126
- overflow-y: hidden;
127
- max-height: 50vh;
128
- .mat-menu-content:not(:empty) {
129
- padding-top: 0;
130
- padding-bottom: 0;
131
- }
132
- }