@annalib/anna-core 10.0.14 → 10.0.16

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.
@@ -1,4 +1,4 @@
1
- import { ActivatedRoute, Router } from '@angular/router';
1
+ import { ActivatedRoute, Router } from "@angular/router";
2
2
  import { Subject } from "rxjs";
3
3
  import { AnnaFilterService } from "./anna-filter.service";
4
4
  import { AnnaSortService } from "./anna-sort.service";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@annalib/anna-core",
3
- "version": "10.0.14",
3
+ "version": "10.0.16",
4
4
  "peerDependencies": {
5
5
  "@angular-slider/ngx-slider": "^2.0.3",
6
6
  "@angular/common": "^14.3.0",
@@ -4,7 +4,7 @@
4
4
  color: #4a4a4a;
5
5
  text-align: left;
6
6
  padding: 8px !important;
7
- border-radius: $fs-2;
7
+ border-radius: 2px;
8
8
  background: white !important;
9
9
  box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.3), 0 2px 2px 0 rgba(0, 0, 0, 0.2);
10
10
  @include fonts(Roboto, 12px, normal, normal, normal, normal, normal);
@@ -82,3 +82,32 @@
82
82
  width: fit-content;
83
83
  }
84
84
  }
85
+
86
+ @mixin common-scrollbar($scrollTop) {
87
+ &::-webkit-scrollbar {
88
+ height: 4px;
89
+ width: 4px;
90
+ }
91
+
92
+ &::-webkit-scrollbar-thumb {
93
+ border-radius: 2px;
94
+ border: solid 1px rgba(0, 0, 0, 0.1);
95
+ background-color: rgba(0, 0, 0, 0.4);
96
+ }
97
+
98
+ &::-webkit-scrollbar-track {
99
+ margin-top: $scrollTop;
100
+ border: 1px solid rgba(0, 0, 0, 0.1) !important
101
+ }
102
+ }
103
+
104
+ @mixin header-fixed($z-index) {
105
+ position: sticky;
106
+ z-index: $z-index;
107
+ }
108
+
109
+ @mixin sub-header($z-index) {
110
+ position: sticky;
111
+ z-index: $z-index;
112
+ }
113
+