|
|
@ -73,4 +73,30 @@ |
|
|
|
body { |
|
|
|
@apply bg-background text-foreground; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
/* 优化所有滚动条样式 */ |
|
|
|
::-webkit-scrollbar { |
|
|
|
width: 8px; |
|
|
|
height: 8px; |
|
|
|
} |
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb { |
|
|
|
background: rgba(0,0,0,0.15); |
|
|
|
border-radius: 8px; |
|
|
|
transition: background 0.2s; |
|
|
|
} |
|
|
|
|
|
|
|
::-webkit-scrollbar-thumb:hover { |
|
|
|
background: rgba(0,0,0,0.25); |
|
|
|
} |
|
|
|
|
|
|
|
::-webkit-scrollbar-track { |
|
|
|
background: transparent; |
|
|
|
} |
|
|
|
|
|
|
|
/* Firefox 支持 */ |
|
|
|
* { |
|
|
|
scrollbar-width: thin; |
|
|
|
scrollbar-color: rgba(0,0,0,0.15) transparent; |
|
|
|
} |