@alauda/ui 7.4.1-beta.1 → 7.4.1-beta.10

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": "@alauda/ui",
3
- "version": "7.4.1-beta.1",
3
+ "version": "7.4.1-beta.10",
4
4
  "description": "Angular UI components by Alauda Frontend Team.",
5
5
  "repository": "git+https://github.com/alauda/alauda-ui.git",
6
6
  "author": "Alauda Frontend",
package/theme/_mixin.scss CHANGED
@@ -152,17 +152,21 @@
152
152
  transform: translate(-50%, -50%);
153
153
  }
154
154
 
155
- @mixin scroll-bar($color: #{use-rgba(n-1, 0.2)}) {
155
+ @mixin scroll-bar($color: #{use-rgb(n-7)}, $hover-color: #{use-rgb(n-5)}) {
156
156
  &::-webkit-scrollbar {
157
- width: 4px;
157
+ width: 8px;
158
158
  height: 4px;
159
159
  }
160
160
 
161
161
  &::-webkit-scrollbar-thumb {
162
- border-radius: 2px;
162
+ border-radius: 4px;
163
163
  background-color: $color;
164
164
  }
165
165
 
166
+ &::-webkit-scrollbar-thumb:hover {
167
+ background-color: $hover-color;
168
+ }
169
+
166
170
  &::-webkit-scrollbar-corner {
167
171
  background-color: transparent;
168
172
  }