mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
refactor(projects): 精简版+动态路由权限初步
This commit is contained in:
@ -1,20 +1 @@
|
||||
@import './naive.scss';
|
||||
|
||||
@mixin scrollbar($size:8px, $color:#d9d9d9) {
|
||||
&::-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: rgba(0, 0, 0, 0);
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
||||
@import './scrollbar.scss';
|
||||
|
@ -1,6 +0,0 @@
|
||||
.n-icon-slot {
|
||||
width: auto !important;
|
||||
height: auto !important;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
}
|
18
src/styles/scss/scrollbar.scss
Normal file
18
src/styles/scss/scrollbar.scss
Normal file
@ -0,0 +1,18 @@
|
||||
@mixin scrollbar($size:8px, $color:#d9d9d9) {
|
||||
&::-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: rgba(0, 0, 0, 0);
|
||||
border-radius: 0;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user