feat: add-tool network #9

Merged
typist merged 6 commits from feat/add-tool/network into main 2025-10-29 05:51:12 +08:00
Showing only changes of commit 27d230e501 - Show all commits

View File

@@ -117,4 +117,51 @@
body {
@apply bg-background text-foreground;
}
}
/* 自定义滚动条样式 */
* {
scrollbar-width: thin;
scrollbar-color: oklch(0.551 0.027 264.364 / 0.3) transparent;
}
*::-webkit-scrollbar {
width: 8px;
height: 8px;
}
*::-webkit-scrollbar-track {
background: transparent;
border-radius: 4px;
}
*::-webkit-scrollbar-thumb {
background: oklch(0.551 0.027 264.364 / 0.3);
border-radius: 4px;
transition: background 0.2s ease;
}
*::-webkit-scrollbar-thumb:hover {
background: oklch(0.551 0.027 264.364 / 0.5);
}
*::-webkit-scrollbar-thumb:active {
background: oklch(0.551 0.027 264.364 / 0.6);
}
/* 深色模式下的滚动条 */
.dark *::-webkit-scrollbar-thumb {
background: oklch(0.707 0.022 261.325 / 0.4);
}
.dark *::-webkit-scrollbar-thumb:hover {
background: oklch(0.707 0.022 261.325 / 0.6);
}
.dark *::-webkit-scrollbar-thumb:active {
background: oklch(0.707 0.022 261.325 / 0.7);
}
.dark * {
scrollbar-color: oklch(0.707 0.022 261.325 / 0.4) transparent;
}