chore: initial commit
This commit is contained in:
4
src/styles/index.ts
Normal file
4
src/styles/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import 'nprogress/nprogress.css'; // <link rel="stylesheet" href="https://testingcf.jsdelivr.net/npm/nprogress/nprogress.css" />
|
||||
|
||||
//
|
||||
import 'virtual:uno.css';
|
||||
1
src/styles/scss/global.scss
Normal file
1
src/styles/scss/global.scss
Normal file
@@ -0,0 +1 @@
|
||||
@forward 'scrollbar';
|
||||
24
src/styles/scss/scrollbar.scss
Normal file
24
src/styles/scss/scrollbar.scss
Normal file
@@ -0,0 +1,24 @@
|
||||
@mixin scrollbar($size: 7px, $color: rgba(0, 0, 0, 0.5)) {
|
||||
scrollbar-color: $color transparent;
|
||||
scrollbar-width: thin;
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: $color;
|
||||
border-radius: $size;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb:hover {
|
||||
background-color: $color;
|
||||
border-radius: $size;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: $size;
|
||||
height: $size;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track-piece {
|
||||
background-color: rgb(0 0 0 / 0%);
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user