mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-20 05:26:00 +00:00
scrollbar styling
This commit is contained in:
@@ -20,6 +20,28 @@ export default function ThemeHelmet() {
|
||||
body {
|
||||
color: ${theme.main_font1};
|
||||
}
|
||||
|
||||
body *::-webkit-scrollbar {
|
||||
height: 0.8em;
|
||||
width: 0.8em;
|
||||
}
|
||||
body *::-webkit-scrollbar-track {
|
||||
border-radius: 1px;
|
||||
background-color: ${theme.scrollbar_background};
|
||||
}
|
||||
body *::-webkit-scrollbar-corner {
|
||||
border-radius: 1px;
|
||||
background-color: ${theme.scrollbar_background2};
|
||||
}
|
||||
|
||||
body *::-webkit-scrollbar-thumb {
|
||||
border-radius: 1px;
|
||||
background-color: ${theme.scrollbar_background3};
|
||||
}
|
||||
|
||||
body *::-webkit-scrollbar-thumb:hover {
|
||||
background-color: ${theme.scrollbar_background4};
|
||||
}
|
||||
`}</style>
|
||||
</Helmet>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user