customize scrollbar background color

This commit is contained in:
2023-09-21 15:00:36 +08:00
parent db0a36fc00
commit 70bddc6c1b
2 changed files with 18 additions and 0 deletions

View File

@@ -1,3 +1,7 @@
::-webkit-scrollbar-thumb {
background: rgba(199, 199, 199, 0.8);
}
.layui-bg-blue { .layui-bg-blue {
background-color: #58b7ff !important; background-color: #58b7ff !important;
} }
@@ -132,6 +136,10 @@ section.proxy-list .proxy-info .layui-row .layui-row > div:first-child {
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
::-webkit-scrollbar-thumb {
background: rgba(107, 107, 107, 0.8);
}
.login-title, .login-title,
.login-title a { .login-title a {
color: #99a9bf !important; color: #99a9bf !important;

View File

@@ -1,3 +1,13 @@
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-thumb {
border-radius: 4px;
transition: 0.3s ease-in-out;
}
html, body { html, body {
padding: 0; padding: 0;
word-break: break-all; word-break: break-all;