mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Theming the scrollbar of the body
This commit is contained in:
parent
0ed1b8afc0
commit
64a28a2708
@ -108,3 +108,32 @@ input::-webkit-search-cancel-button
|
|||||||
{
|
{
|
||||||
outline: none;
|
outline: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
main
|
||||||
|
{
|
||||||
|
max-height: calc(100vh - 68px) !important;
|
||||||
|
|
||||||
|
&:last-child
|
||||||
|
{
|
||||||
|
display: block;
|
||||||
|
overflow-y: auto;
|
||||||
|
|
||||||
|
scrollbar-color: #999 transparent;
|
||||||
|
|
||||||
|
&::-webkit-scrollbar
|
||||||
|
{
|
||||||
|
width: 8px;
|
||||||
|
background: transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
&::-webkit-scrollbar-thumb
|
||||||
|
{
|
||||||
|
background-color: #999;
|
||||||
|
|
||||||
|
&:host-context(.hoverEnabled) &:hover
|
||||||
|
{
|
||||||
|
background-color: rgb(134, 127, 127);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user