好的,今天我们来做菜!
diff --git a/src/styles/index.scss b/src/styles/index.scss
index 41a90e1..deb73fd 100644
--- a/src/styles/index.scss
+++ b/src/styles/index.scss
@@ -25,3 +25,31 @@ a {
.v-leave-to {
opacity: 0;
}
+
+// scrollbar
+::-webkit-scrollbar {
+ width: 8px;
+ height: 8px;
+}
+
+::-webkit-scrollbar-track {
+ border-radius: 2px;
+ background-color: rgba(255, 255, 255, 0.1);
+}
+
+::-webkit-scrollbar-thumb {
+ border-radius: 2px;
+ background-color: rgba(122, 122, 122, 0.3);
+
+ &:window-inactive {
+ background-color: rgba(122, 122, 122, 0.3);
+ }
+
+ &:hover {
+ background-color: rgba(122, 122, 122, 0.7);
+ }
+
+ &:active {
+ background-color: rgba(122, 122, 122, 0.9);
+ }
+}