ngx-sfc-common 0.0.37 → 0.0.38

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": "ngx-sfc-common",
3
- "version": "0.0.37",
3
+ "version": "0.0.38",
4
4
  "description": "Angular common(shared) library for SFC project",
5
5
  "keywords": [
6
6
  "Street Football Club",
@@ -141,6 +141,34 @@
141
141
  }
142
142
  }
143
143
 
144
+ @mixin scroll-hide($selector: "&") {
145
+ #{$selector}::-webkit-scrollbar-thumb {
146
+ background: transparent;
147
+ }
148
+
149
+ #{$selector}::-webkit-scrollbar-track {
150
+ background: transparent;
151
+ }
152
+ }
153
+
154
+ @mixin scroll-show($selector: "&") {
155
+ #{$selector}::-webkit-scrollbar-thumb {
156
+ background: rgb(0 0 0 / 20%);
157
+
158
+ &:hover {
159
+ background: rgb(0 0 0 / 40%);
160
+ }
161
+
162
+ &:active {
163
+ background: rgb(0 0 0 / 60%);
164
+ }
165
+ }
166
+
167
+ #{$selector}::-webkit-scrollbar-track {
168
+ background: $color-4;
169
+ }
170
+ }
171
+
144
172
  @mixin host($cursor: default) {
145
173
  cursor: $cursor;
146
174
  user-select: none;