mirror of
https://gitee.com/270580156/weiyu.git
synced 2026-05-19 13:48:10 +00:00
update
This commit is contained in:
20
deploy/server/agenticflow/assets/css/scrollbar.css
Normal file
20
deploy/server/agenticflow/assets/css/scrollbar.css
Normal file
@@ -0,0 +1,20 @@
|
||||
/* 美化windows滚动条, TODO: 待完善,参考mac scroll是不占用宽度的,漂浮在上方 */
|
||||
/* https://www.51cto.com/article/716443.html */
|
||||
body {
|
||||
margin: 0;
|
||||
overflow: overlay;
|
||||
}
|
||||
::-webkit-scrollbar {
|
||||
background-color: transparent;
|
||||
width: 12px;
|
||||
}
|
||||
::-webkit-scrollbar-thumb {
|
||||
background-color: transparent;
|
||||
border-radius: 8px;
|
||||
background-clip: content-box;
|
||||
border: 2px solid transparent;
|
||||
}
|
||||
body[scroll]::-webkit-scrollbar-thumb,
|
||||
::-webkit-scrollbar-thumb:hover {
|
||||
background-color: rgba(0, 0, 0, 0.5);
|
||||
}
|
||||
Reference in New Issue
Block a user